]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S/390: Port of lock elision to System/z
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5a414ff7
DV
12014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2 Stefan Liebler <stli@linux.vnet.ibm.com>
3
4 * config.make.in (enable-lock-elision): New Makefile variable.
5 * configure.ac: Likewise.
6 * configure: Regenerate.
7 * sysdeps/s390/configure.ac:
8 Add check for gcc transactions support.
9 * sysdeps/s390/configure: Regenerate.
10 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11 Build elision files if enabled.
12 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13 Add lock elision support for s390.
14 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21 Likewise.
22 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23 Likewise.
24 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25 Likewise.
26 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27 Likewise.
28 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29 (__lll_timedlock_elision, __lll_lock_elision)
30 (__lll_unlock_elision, __lll_trylock_elision)
31 (lll_timedlock_elision, lll_lock_elision)
32 (lll_unlock_elision, lll_trylock_elision): Add.
33 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34 (pthread_mutex_t): Add lock elision support for s390.
35
f63c86fe
WN
362014-05-09 Will Newton <will.newton@linaro.org>
37
38 * sysdeps/arm/armv7/strcmp.S: New file.
39 * NEWS: Mention addition of ARMv7 optimized strcmp.
40
7a1a51b5
RM
412014-05-08 Roland McGrath <roland@hack.frob.com>
42
95afbbe5
RM
43 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44 look for %.ac rather than %.in.
45
46 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48 * sysdeps/mach/hurd/configure: Regenerated.
49 * sysdeps/unix/sysv/linux/configure: Regenerated.
50
7a1a51b5
RM
51 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52
5057ad3b
SE
532014-05-07 Steve Ellcey <sellcey@mips.com>
54
55 [BZ# 16922]
56 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
57 (LONG_SUB): Ditto.
58 (PTR_SUB): Ditto.
59
8dc97517
AS
602014-05-07 Andreas Schwab <schwab@suse.de>
61
62 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
63 when skipping over non-matching result from nscd.
64
ce0c5b8f
OB
652014-05-07 Ondřej Bílka <neleai@seznam.cz>
66
67 [BZ #16876]
68 * nptl/sockperf.c (client): Check socket return value.
8dc97517 69
a1189263
OB
70 [BZ #16877]
71 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
72 nscd security class.
ce0c5b8f 73
0f58d252
RM
742014-05-06 Roland McGrath <roland@hack.frob.com>
75
76 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
77 * sysdeps/arm/unwind.h: ... here.
78
83df9ad0
AJ
792014-05-06 Aurelien Jarno <aurelien@aurel32.net>
80
ce0c5b8f
OB
81 [BZ# 16916]
82 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
83 Define.
83df9ad0 84
f360f94a
VR
852014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
86
87 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
88 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
89 multiarch strncpy for PPC64.
90 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
91 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
92 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
93 multiarch optimizations.
94 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
95 (__libc_ifunc_impl_list): Likewise.
96 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
97 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
98 multiarch stpncpy for PPC64.
99 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
100 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
101
978a41c3
AS
1022014-05-06 Andreas Schwab <schwab@suse.de>
103
104 [BZ #16912]
105 * gmon/mcount.c (_MCOUNT_DECL): Use
106 atomic_compare_and_exchange_bool_acq instead of
107 catomic_compare_and_exchange_bool_acq.
108
eb1ed03d
RM
1092014-05-05 Roland McGrath <roland@hack.frob.com>
110
fe658845
RM
111 * elf/Makefile (others, install-bin): Remove pldd.
112 (pldd-modules): Variable removed.
113 ($(objpfx)pldd): Target removed.
114 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
115 (others, install-bin): Append pldd here.
116 ($(objpfx)pldd): New target.
117
eb1ed03d
RM
118 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
119 to 0, so the first #if test emitted later doesn't see it undefined.
120 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
121 * sysdeps/gnu/errlist.c: Regenerated.
122
19c4bec0
AZ
1232014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
124
125 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
126 [libc_hidden_builtin_def]: Define to empty value.
127 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
128 [libc_hidden_builtin_def]: Likewise.
129 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
130 [libc_hidden_builtin_def]: Likewise.
131 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
132 [libc_hidden_builtin_def]: Likewise.
133 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
134 __redirect_memcpy and define ifunc as default hidden symbol.
135 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
136 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
137
7776e669
AC
1382014-05-04 Adam Conrad <adconrad@0c3.net>
139
140 * locale/iso-4217.def: Reintroduce XDR currency.
141
d69aeb12
AM
1422014-05-04 Allan McRae <allan@archlinux.org>
143
144 * po/eo.po: Update Esperanto translation from translation project.
145
8f1df5cf
CD
1462014-05-02 Carlos O'Donell <carlos@redhat.com>
147
148 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
149 and FEATURE_INDEX_MAX to 1.
150 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
151
13e402e7
SE
1522014-05-01 Steve Ellcey <sellcey@mips.com>
153
154 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
155 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
156 * iconvdata/big5.c (ONE_DIRECTION): Define.
157 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
158 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
159 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
160 * iconvdata/cp932.c (ONE_DIRECTION): Define.
161 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
162 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
163 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
164 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
165 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
166 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
167 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
168 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
169 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
170 * iconvdata/gbk.c (ONE_DIRECTION): Define.
171 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
172 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
173 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
174 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
175 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
176 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
177 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
178 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
179 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
180 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
181 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
182 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
183 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
184 * iconvdata/iso646.c (ONE_DIRECTION): Define.
185 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
186 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
187 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
188 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
189 * iconvdata/johab.c (ONE_DIRECTION): Define.
190 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
191 * iconvdata/sjis.c (ONE_DIRECTION): Define.
192 * iconvdata/t.61.c (ONE_DIRECTION): Define.
193 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
194 * iconvdata/tscii.c (ONE_DIRECTION): Define.
195 * iconvdata/uhc.c (ONE_DIRECTION): Define.
196 * iconvdata/unicode.c (ONE_DIRECTION): Define.
197 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
198 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
199 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
200
c727f032
RM
2012014-05-01 Roland McGrath <roland@hack.frob.com>
202
8f2f08d0
RM
203 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
204 (_IO_JUMPS_OFFSET): Define to 0.
205
c727f032
RM
206 * nptl/sysdeps/pthread/bits/libc-lock.h
207 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
208 (__libc_lock_define_initialized_recursive): Always define using
209 initializer. Modern compilers treat uninitialized (implicit zero) and
210 explicit zero initializers the same (i.e. put the datum in bss).
211
a849e800
AS
2122014-05-01 Andreas Schwab <schwab@linux-m68k.org>
213
214 * nscd/nscd-client.h: Include <string.h>.
215
5331255b
DM
2162014-05-01 David S. Miller <davem@davemloft.net>
217
218 [BZ #16885]
219 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
220 multiple zero bytes exist at the end of a string.
221 Reported by Aurelien Jarno <aurelien@aurel32.net>
222
223 * string/test-strcmp.c (check): Add explicit test for situations where
224 there are multiple zero bytes after the first.
225
4fdfe821
AS
2262014-05-01 Andreas Schwab <schwab@linux-m68k.org>
227
228 [BZ #16890]
229 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
230 when compiling wprintf.
231 * stdio-common/tstdiomisc.c (t3): New function.
232 (main): Call it.
233
0cdddc25
SE
2342014-05-01 Steve Ellcey <sellcey@mips.com>
235
236 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
237 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
238 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
239 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
240
6426d77e
SE
2412014-05-01 Steve Ellcey <sellcey@mips.com>
242
243 * stdlib/longlong.h: Updated from GCC.
244
6d96f5e4
WN
2452014-05-01 Will Newton <will.newton@linaro.org>
246 Bernard Ogden <bernie.ogden@linaro.org>
247
7470db0c
WN
248 * NEWS: Update fixed bug list.
249
6d96f5e4
WN
250 [BZ #15119]
251 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
252
211d653c
DM
2532014-04-30 David S. Miller <davem@davemloft.net>
254
4fa262fa
DM
255 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
256 (libc_feholdexcept_setround_sparc_ctx): New function.
257 (libc_fesetenv_sparc_ctx): Likewise.
258 (libc_feupdateenv_sparc_ctx): Likewise.
259 (libc_feholdsetround_sparc_ctx): Likewise.
260 (libc_feholdexcept_setround_ctx): Define.
261 (libc_feholdexcept_setroundf_ctx): Likewise.
262 (libc_feholdexcept_setroundl_ctx): Likewise.
263 (libc_fesetenv_ctx): Likewise.
264 (libc_fesetenvf_ctx): Likewise.
265 (libc_fesetenvl_ctx): Likewise.
266 (libc_feupdateenv_ctx): Likewise.
267 (libc_feupdateenvf_ctx): Likewise.
268 (libc_feupdateenvl_ctx): Likewise.
269 (libc_feresetround_ctx): Likewise.
270 (libc_feresetroundf_ctx): Likewise.
271 (libc_feresetroundl_ctx): Likewise.
272 (libc_feholdsetround_ctx): Likewise.
273 (libc_feholdsetroundf_ctx): Likewise.
274 (libc_feholdsetroundl_ctx): Likewise.
275
1d3d93ef
DM
276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
277 with __USE_GNU instead of XOPEN cpp guards.
278
8aa583c3
DM
279 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
280 0.
281
211d653c
DM
282 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
283 with XOPEN cpp guards.
284
60c8f1f6
JB
2852014-04-30 Julian Brown <julian@codesourcery.com>
286
287 [BZ #16888]
288 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
289 handling.
290
9a461d46
JM
2912014-04-30 Joseph Myers <joseph@codesourcery.com>
292
d0f5b3f8
JM
293 [BZ #9894]
294 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
295 Change to 2.6.32.
296 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
297 * sysdeps/unix/sysv/linux/configure: Regenerated.
298 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
299 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
300 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
301 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
302 * README: Update reference to required Linux kernel version.
303 * manual/install.texi (Linux): Update reference to required Linux
304 kernel headers version.
305 * INSTALL: Regenerated.
306
9a461d46
JM
307 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
308 header inclusion.
309 [POSIX] (limits.h): Likewise.
310 [POSIX] (math.h): Likewise.
311 [POSIX] (sys/wait.h): Likewise.
312 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
313 function.
314 [POSIX] (stddef.h): Do not allow header inclusion.
315
1775babf
AZ
3162014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317
57f41c40 318 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 319
8f630cca
YY
3202014-04-30 Yang Yingliang <yangyingliang@huawei.com>
321
322 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
323 Return immediately after lll_futex_wake.
324
1cdeb237
SP
3252014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
326
bc8f194c
SP
327 [BZ #16791]
328 * nscd/nscd-client.h (datahead_init_common): Initialize entire
329 structure.
330 (datahead_init_pos): Call datahead_init_common early.
331 (datahead_init_neg): Likewise.
332
1cdeb237
SP
333 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
334 datahead_init_neg): New functions.
335 * nscd/aicache.c (addhstaiX): Use them.
336 * nscd/grpcache.c (cache_addgr): Likewise.
337 * nscd/hstcache.c (cache_addhst): Likewise.
338 * nscd/initgrcache.c (addinitgroupsX): Likewise.
339 * nscd/netgroupcache.c (do_notfound): Likewise.
340 (addgetnetgrentX): Likewise.
341 (addinnetgrX): Likewise.
342 * nscd/pwdcache.c (cache_addpw): Likewise.
343 * nscd/servicescache.c (cache_addserv): Likewise.
344
16b293a7
SP
3452014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
346 Atsushi Onoe <atsushi@onoe.org>
347
348 [BZ #14308]
349 [BZ #12994]
350 [BZ #13651]
351 * resolv/res_query.c (__libc_res_nsearch): Return if at least
352 one response is valid.
353 * resolv/res_send.c (send_dg): Check for validity of other
354 response if the current response is a referral.
355
a28a9b94
SE
3562014-04-29 Steve Ellcey <sellcey@mips.com>
357
358 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
359
2ca180e9
SL
3602014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
361
362 [BZ #16823]
363 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
364 Always divide by positive zero when computing -Inf result.
365 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
366 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
367
18f2945a
AZ
3682014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
369
370 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
371 FPSCR if value do not change.
372 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
373 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
374 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
375 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
376 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
377 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
378 function.
379
5abebba4
CD
3802014-05-29 Carlos O'Donell <carlos@systemhalted.org>
381
382 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
383 * sysdeps/unix/sysv/linux/hppa: Move directory from
384 ports/systeps/unix/sysv/linux/hppa.
385 * README: Update listing for hppa-*-linux-gnu.
386
f7ed60c2
OB
3872014-04-28 Ondřej Bílka <neleai@seznam.cz>
388
fff763a5
OB
389 [BZ #16754]
390 * manual/stdio.texi (Hook functions): Fix types of stream hook
391 functions.
f7ed60c2
OB
392 [BZ #16854]
393 * socket/sys/socket.h: Fix typo in comment.
394
df639d73
WD
3952014-04-28 Wilco <wdijkstr@arm.com>
396
f7ed60c2 397 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
398 * sysdeps/arm/math_private.h: New file.
399 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
400
48332d82
L
4012014-04-25 H.J. Lu <hongjiu.lu@intel.com>
402
403 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
404 with __int128_t.
405 (La_x86_64_retval): Likewise.
406
e5e0d9a4
IB
4072014-04-24 Ian Bolton <ian.bolton@arm.com>
408
409 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
410 fpsr if value didn't change.
411 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
412 to fpcr if value didn't change.
413 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
414 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
415 fpsr or fpcr if value didn't change.
416 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
417 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
418 fpcr if value didn't change.
419 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
420 to fpsr if value didn't change.
421
bacc75f7
SP
4222014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
423
424 * nptl/tst-sem3.c: Use test-skeleton.c
425 (main): Rename to do_test. Use return instead of
426 exit.
427 * nptl/tst-sem4.c: Use test-skeleton.c
428 (main): Rename to do_test.
429
a059d359
DM
4302014-04-22 David S. Miller <davem@davemloft.net>
431
432 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
433 (struct sigaction): New struct member __glibc_reserved0, change
434 type of sa_flags to int.
435
ea6c92f3
YZ
4362014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
437
438 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
439 (COUNT_LEADING_ZEROS_0): Define for AArch64.
440
766c4a36
SP
4412014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
444 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
445
140cc7ab
VK
4462014-04-22 Will Newton <will.newton@linaro.org>
447 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
448
449 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
450 (__longjmp): Add longjmp and longjmp_target SystemTap
451 probes.
452 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
453 (__sigsetjmp): Add setjmp SystemTap probe.
454
c54e5cf7
CD
4552014-04-17 Carlos O'Donell <carlos@redhat.com>
456
457 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
458 match manual order.
459
75ffb047
AZ
4602014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461
462 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
463
2cd925f7
AZ
464 * sysdeps/powerpc/fpu/fenv_private.h
465 (libc_feholdexcept_setroundl_ctx): Define to
466 libc_feholdexcept_setround_ppc_ctx.
467 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
468 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
469 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
470 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
471
39e6cd8d
IB
4722014-04-17 Ian Bolton <ian.bolton@arm.com>
473
474 * sysdeps/aarch64/math-tests.h: New file.
475
f9281df9
SY
4762014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
477
478 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
479 New.
480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
481 Check and set bit_AVX2_Usable.
482 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
483 macro.
484 (bit_AVX2): Likewise.
485 (index_AVX2_Usable): Likewise.
486 (CPUID_AVX2): Likewise.
487 (HAS_AVX2): Likewise.
488
37d35007
WN
4892014-04-17 Will Newton <will.newton@linaro.org>
490
7c677662
WN
491 * manual/setjmp.texi (System V contexts): Add note that
492 calling setcontext on a context created by a call to a
493 signal handler is undefined. Update text to note that
494 setcontext from a signal handler is possible but not
495 recommended.
496
37d35007 497 [BZ #16629]
e04a4e9d
WN
498 * stdlib/tst-setcontext.c: Include signal.h.
499 (main): Check that the signal stack before and
500 after swapcontext is the same.
501
37d35007
WN
502 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
503 Re-implement to restore registers in user code and avoid
504 rt_sigreturn system call.
505
423a7160
W
5062014-04-17 Wilco <wdijkstr@arm.com>
507
508 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
509 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
510 * math/test-fenv.c: Skip exception trap tests on targets which only
511 support non-stop mode.
512
bc93ab29
IB
5132014-04-17 Ian Bolton <ian.bolton@arm.com>
514 Wilco Dijkstra <wilco.dijkstra@arm.com>
515
516 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
517 (libc_feholdsetround_aarch64_ctx)
518 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
519 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
520 (libc_feresetround_ctx, libc_feresetroundf_ctx)
521 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
522 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
523 (libc_feresetround_noexl_ctx): Define.
524
95fc5fa3
RH
5252014-04-16 Richard Henderson <rth@redhat.com>
526
ddb04724
RH
527 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
528
d77c0899
RH
529 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
530 unwind tables.
531
a3df56fc
RH
532 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
533 const from the non-libc, non-ldso copy.
534
95fc5fa3
RH
535 * sysdeps/alpha/libm-test-ulps: Regenerate.
536
7e0b6763
IB
5372014-04-16 Ian Bolton <ian.bolton@arm.com>
538 Wilco Dijkstra <wilco.dijkstra@arm.com>
539
540 * sysdeps/aarch64/fpu/math_private.h: New file.
541
a9ea2e0c
MS
5422014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
543
544 * sysdeps/aarch64/libm-test-ulps: Regenerate.
545
ea8ba7cd
IZ
5462014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
547
548 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
549 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
551 Intel MPX bound registers before _dl_profile_fixup.
552 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
553 registers after _dl_profile_fixup. Save and restore bound
554 registers bnd0/bnd1 when calling _dl_call_pltexit.
555 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
556 (LR_BND_OFFSET): Likewise.
557 (LRV_BND0_OFFSET): Likewise.
558 (LRV_BND1_OFFSET): Likewise.
559
9f2a4fbc
ST
5602014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
561
562 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
563 to...
564 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
565 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
566 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
567 fields.
9f2a4fbc 568
fd15a59b
ST
5692014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
570
571 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
572
f19dfa0a
SL
5732014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
574
575 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
576
4fa8bc3b
SL
5772014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
578
579 [BZ #14770]
580 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
581 * sysdeps/s390/configure: Regenerate.
582
8ea587db
SL
583 [BZ #16824]
584 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
585 Set round-to-nearest internally to reduce error accumulation.
586
aa5f0ff1
AM
5872014-04-16 Alan Modra <amodra@gmail.com>
588
589 [BZ #16740]
590 [BZ #16619]
591 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
592 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 593 * NEWS: Update fixed bug list.
aa5f0ff1 594
bb9c256f
SP
5952014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
596
597 * benchtests/Makefile: Depend on libraries in build directory.
598 (bench-math): Separate out math tests.
599 (bench-pthread): Separate out pthread tests.
600 (bench): Include math and pthread tests.
601
f737dfd0
CD
6022014-04-14 Carlos O'Donell <carlos@redhat.com>
603
604 [BZ #16831]
605 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
606 _dl_debug_initialize.
607
0699f766
CD
608 * configure.ac: Remove SELinux header check.
609 * configure: Regenerate.
610 * nscd/selinux.c (perms): Array of const char* to permission names.
611 (nscd_request_avc_has_perm): Call security_deny_unknown to find
612 default policy. Call string_to_security_class and string_to_av_perm to
613 translate strings. Enforce default policy and call avs_has_perm with
614 results of translated strings.
615
809bd45f
DM
6162014-04-13 David S. Miller <davem@davemloft.net>
617
618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
619
89e691f2
AM
6202014-04-12 Allan McRae <allan@archlinux.org>
621
622 [BZ #16838]
623 * manual/string.texi (Collation Functions): Fix qsort argument
624 order in example.
625 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
626
9c9daaeb
CM
6272014-04-11 Chris Metcalf <cmetcalf@tilera.com>
628
629 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
630 Make the test a no-op if there are no exceptions defined.
631
95561fb9
PP
6322014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
633
fe8d072c 634 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
635 enable-hardcoded-path-in-tests
636
970c602a
WN
6372014-04-11 Will Newton <will.newton@linaro.org>
638
639 * benchtests/Makefile (extra-objs): Add json-lib.o.
640 (bench-func): Tidy up JSON output.
641 * benchtests/bench-skeleton.c: Include json-lib.h.
642 (main): Use JSON library functions to do output of
643 benchmark results.
644 * benchtests/bench-timing-type.c (main): Output the
645 timing type simply, leaving formatting to the user.
646 * benchtests/json-lib.c: New file.
647 * benchtests/json-lib.h: Likewise.
648
36875b06
TR
6492014-04-11 Torvald Riegel <triegel@redhat.com>
650
651 [BZ #15215]
652 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
653 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
654 memory barriers. Add comments.
655 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
656 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
657 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
658 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
659 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
660 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
661
579db35a
SL
6622014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
663
664 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
665 * sysdeps/s390/s390-64/configure.ac: ... this ...
666 * sysdeps/s390/configure.ac: ... to here.
667 * sysdeps/s390/s390-32/configure: Delete file.
668 * sysdeps/s390/s390-64/configure: Delete file.
669 * sysdeps/s390/configure: Regenerate.
670
c12e9f37
JAPH
6712014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
672
673 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
674
439bda32
WN
6752014-04-11 Will Newton <will.newton@linaro.org>
676
677 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
678 to zero if it is not defined elsewhere. (mtrim): Test
679 the value of MALLOC_DEBUG with #if rather than #ifdef.
680
6a5d6ea1
TR
6812014-04-10 Torvald Riegel <triegel@redhat.com>
682
683 * benchtests/pthread_once-inputs: New file.
684 * benchtests/pthread_once-source.c: New file.
685 * benchtests/README: Update documentation.
686
a4c75cfd
IZ
6872014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
688 H.J. Lu <hongjiu.lu@intel.com>
689
690 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
691 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
692 * sysdeps/x86_64/configure: Regenerated.
693 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
694 macro.
695 (REGISTER_SAVE_RAX): Likewise.
696 (REGISTER_SAVE_RCX): Likewise.
697 (REGISTER_SAVE_RDX): Likewise.
698 (REGISTER_SAVE_RSI): Likewise.
699 (REGISTER_SAVE_RDI): Likewise.
700 (REGISTER_SAVE_R8): Likewise.
701 (REGISTER_SAVE_R9): Likewise.
702 (REGISTER_SAVE_BND0): Likewise.
703 (REGISTER_SAVE_BND1): Likewise.
704 (REGISTER_SAVE_BND2): Likewise.
705 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
706 bound registers when calling _dl_fixup.
707
27822ce6
AZ
7082014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
710 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
711 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
712 of its definition.
27822ce6
AZ
713 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
714 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
715 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
716 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
717 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
718 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
719 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
720
a88ddc90
PTB
7212014-04-09 Peter Brett <peter@peter-b.co.uk>
722
723 [BZ #15514]
724 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
725 pathconf(_PC_NAME_MAX).
726
01f8eac2
AZ
7272014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
728
729 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
730 Remove macro usage.
731 (__PTHREAD_SPINS): Move definition to ...
732 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
733 (__PTHREAD_SPINS): ... here.
734 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
735 (__PTHREAD_SPIN): Likewise.
736 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
737 (__PTHREAD_SPIN): Likewise.
738 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
739 (__PTHREAD_SPIN): Likewise.
740 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
741 (__PTHREAD_SPIN): Likewise.
742 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
743 (__PTHREAD_SPIN): Likewise.
744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
745 (__PTHREAD_SPIN): Likewise.
746 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
747 (__PTHREAD_SPIN): Likewise.
748 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
749 (__PTHREAD_SPIN): Likewise.
750 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
751 (__PTHREAD_SPIN): Likewise.
752 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
753 (__PTHREAD_SPIN): Likewise.
754 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
755 (__PTHREAD_SPIN): Likewise.
756 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
757 (__PTHREAD_SPIN): Likewise.
758
de21c33c
AZ
759 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
760 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
761 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
762 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
763 imply folder.
764 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
765 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
766 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
767 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
768 correct imply path.
769 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
770 strlen symbol for non multi-arch builds.
771 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
772 missing hidden_def and weak_alias.
773
862c472e
CD
7742014-04-08 Carlos O'Donell <carlos@redhat.com>
775
776 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
777
8667f90e
WN
7782014-04-07 Will Newton <will.newton@linaro.org>
779
780 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
781 and contents. [!_LIBC] Remove #ifndef and contents.
782 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
783 * string/memccpy.c (__memccpy): Use ANSI prototype.
784 * string/memfrob.c (memfrob): Likewise.
785 * string/strcoll.c (STRCOLL): Likewise.
786 * string/strlen.c (strlen): Likewise.
787 * string/strtok.c (STRTOK): Likewise.
788 * string/strcat.c: Remove unused #include of memcopy.h.
789 (strcat): Use ANSI prototype.
790 * string/strchr.c: Remove unused #include of memcopy.h.
791 (strchr): Use ANSI prototype.
792 * string/strcmp.c: Remove unused #include of memcopy.h.
793 (strcmp): Use ANSI prototype.
794 * string/strcpy.c: Remove unused #include of memcopy.h.
795 (strcpy): Use ANSI prototype.
796
7ffa9423
AZ
7972014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798
799 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
800 * config.make.in (config-extra-cppflags): Set it from
801 libc_extra_cppflags.
802 * configure.ac (libc_extra_cflags): Make it accumulate over
803 configure fragments.
804 (libc_extra_cppflags): New flag.
805 * configure. Regenerate.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
807 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
808 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
810
8bd70862
AZ
811 [BZ #16815]
812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
813 result for FE_DOWNWARD rounding mode.
814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
815 Likewise.
816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
817
d42f3448
CM
8182014-04-04 Chris Metcalf <cmetcalf@tilera.com>
819
820 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
821 in function argument name.
822
1c21d115
DS
8232014-04-03 David Svoboda <svoboda@cert.org>
824
825 [BZ #5666]
826 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
827 explicitly.
828
fcccd512
RM
8292014-04-03 Roland McGrath <roland@hack.frob.com>
830
831 * elf/dl-unmap-segments.h: New file.
832 * sysdeps/generic/ldsodefs.h
833 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
834 * elf/dl-close.c: Include <dl-unmap-segments.h>.
835 * elf/dl-fptr.c: Likewise.
836 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
837 * sysdeps/aarch64/tlsdesc.c: Likewise.
838 * sysdeps/arm/tlsdesc.c: Likewise.
839 * sysdeps/i386/tlsdesc.c: Likewise.
840 * sysdeps/tile/dl-runtime.c: Likewise.
841 * sysdeps/x86_64/tlsdesc.c: Likewise.
842 * elf/dl-load.h: New file.
843 * elf/dl-load.c: Include it.
844 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
845 Macros moved to dl-load.h.
846 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
847 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
848 Use _dl_unmap_segments in place of __munmap.
849 Break out segment-mapping loop into ...
850 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
851
f6488e2b
WN
8522014-04-03 Will Newton <will.newton@linaro.org>
853
854 * elf/dl-lookup.c (do_lookup_x): Remove comment
855 referring to nested function and move variable
856 declarations down to before first use.
857
6f05bafe
JM
8582014-04-02 Joseph Myers <joseph@codesourcery.com>
859
a84e78c8
JM
860 [BZ #16799]
861 [BZ #16800]
862 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
863 with 0 numerator.
864 * math/s_catanf.c (__catanf): Likewise.
865 * math/s_catanh.c (__catanh): Likewise.
866 * math/s_catanhf.c (__catanhf): Likewise.
867 * math/s_catanhl.c (__catanhl): Likewise.
868 * math/s_catanl.c (__catanl): Likewise.
869 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
870 by positive zero when computing -Inf result.
871 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
872 (catanh_test): Likewise.
873 * sysdeps/i386/fpu/libm-test-ulps: Update.
874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
875
6f05bafe
JM
876 [BZ #16789]
877 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
878 instead of using underflowing value in computing result.
879 * math/s_clog10.c (__clog10): Likewise.
880 * math/s_clog10f.c (__clog10f): Likewise.
881 * math/s_clog10l.c (__clog10l): Likewise.
882 * math/s_clogf.c (__clogf): Likewise.
883 * math/s_clogl.c (__clogl): Likewise.
884 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
885 (clog10_test): Likewise.
886 * sysdeps/i386/fpu/libm-test-ulps: Update.
887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
888
b0abbc21
AM
8892014-04-02 Alan Modra <amodra@gmail.com>
890
891 [BZ #16739]
892 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
893 output when value is near a power of two. Use int64_t for lx and
894 remove casts. Use decimal rather than hex exponent constants.
895 Don't use long double multiplication when double will suffice.
896 * math/libm-test.inc (nextafter_test_data): Add tests.
897 * NEWS: Add 16739 and 16786 to bug list.
898
af6b1797
AM
899 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
900
483818d7
AM
901 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
902
f6c55796
WN
9032014-04-01 Will Newton <will.newton@linaro.org>
904
905 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
906 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
907
13f7fe35
FW
9082014-04-01 Florian Weimer <fweimer@redhat.com>
909
910 [BZ #13347]
911 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
912 * nptl/tst-setuid2.c: New file.
913 * nptl/Makefile (xtests): Add tst-setuid2.
914
c859b32e
AM
9152014-04-01 Alan Modra <amodra@gmail.com>
916
917 [BZ #16786]
918 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
919
54fa2475
JM
9202014-03-31 Joseph Myers <joseph@codesourcery.com>
921
8795b4a4
JM
922 [BZ #6803]
923 [BZ #6804]
924 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
925 set errno as appropriate.
926 * math/w_scalbf.c (__scalbf): Likewise.
927 * math/w_scalbl.c (__scalbl): Likewise.
928 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
929 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
930 * math/libm-test.inc (scalb_test_data): Add errno expectations.
931 Add more NaN tests.
932
54fa2475
JM
933 [BZ #16349]
934 * math/w_atan2.c: Include <errno.h>.
935 (__atan2): Set errno for result underflowing to zero.
936 * math/w_atan2f.c: Include <errno.h>.
937 (__atan2f): Set errno for result underflowing to zero.
938 * math/w_atan2l.c: Include <errno.h>.
939 (__atan2l): Set errno for result underflowing to zero.
940 * math/auto-libm-test-in: Don't allow missing errno for some atan2
941 tests.
942 * math/auto-libm-test-out: Regenerated.
943
757d9dd5
AZ
9442014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
946 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
947 Encode instruction correctly in little endian.
948 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
949 Likewise.
950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
951 Likewise.
952 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
953 Likewise.
954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
955 Likewise.
956
d7a68734
JM
9572014-03-31 Joseph Myers <joseph@codesourcery.com>
958
47c5adeb
JM
959 [BZ #9894]
960 * sysdeps/unix/sysv/linux/kernel-features.h
961 [__sparc__ && !__arch64__ && !__sparc_v9__]
962 (__ASSUME_SET_ROBUST_LIST): Do not define.
963 [__sparc__ && !__arch64__ && !__sparc_v9__]
964 (__ASSUME_FUTEX_LOCK_PI): Likewise.
965 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
966 Likewise.
967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
968 (__ASSUME_FUTEX_LOCK_PI): Undefine.
969 (__ASSUME_REQUEUE_PI): Likewise.
970 (__ASSUME_SET_ROBUST_LIST): Likewise.
971 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
972 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
973 Undefine.
974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
975 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
976 Likewise.
977 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
978 Likewise.
979 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
980 Likewise.
981 * sysdeps/unix/sysv/linux/mips/kernel-features.h
982 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
983 Undefine.
984 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
985 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
986 Likewise.
987
d7a68734
JM
988 [BZ #16648]
989 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
990 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
991 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
992
c760f5c2
WN
9932014-03-31 Will Newton <will.newton@linaro.org>
994
995 * benchtests/Makefile (bench): Add ffs and ffsll to list
996 of tests.
997 * benchtests/ffs-inputs: New file.
998 * benchtests/ffsll-inputs: Likewise.
999
ea6029b1
JM
10002014-03-29 Joseph Myers <joseph@codesourcery.com>
1001
1002 [BZ #16770]
1003 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1004 too large before casting to int.
1005 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1006 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1007 * math/libm-test.inc (scalb_test_data): Add more tests.
1008
cf806aff
SP
10092014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1010
56737508
SP
1011 * benchtests/Makefile (DETAILED_OPT): New make option.
1012 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1013 set.
1014 * benchtests/bench-skeleton.c: Include stdbool.h.
1015 (main): Store and print timings per input.
1016 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1017 member to each argument value.
1018 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1019 (_print_arg_data): Initialize per-input timing to 0.
1020
cb5e4aad
SP
1021 * benchtests/Makefile (timing-type): New binary.
1022 (bench-clean): Also remove bench-timing-type.
1023 (bench): New target for timing-type.
1024 (bench-func): Print output in JSON format.
1025 * benchtests/bench-skeleton.c (main): Print output in JSON
1026 format.
1027 * benchtests/bench-timing-type.c: New file.
1028 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1029 (TIMING_PRINT_STATS): Remove.
1030 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1031 name separately.
1032
cf806aff
SP
1033 * benchtests/bench-modf.c: Remove.
1034 * benchtests/modf-inputs: New inputs file.
1035
289e0779
JM
10362014-03-28 Joseph Myers <joseph@codesourcery.com>
1037
1038 [BZ #16362]
1039 * math/s_clog10.c (M_PI_LOG10E): New macro.
1040 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1041 imaginary parts are 0.
1042 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1043 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1044 imaginary parts are 0.
1045 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1046 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1047 imaginary parts are 0.
1048 * math/libm-test.inc (clog10_test_data): Update expected results
1049 for when real and imaginary parts are 0.
1050
277ae3f1
PP
10512014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1052
1053 * elf/dl-load.c: Finish conversion of __builtin_expect into
1054 __glibc_{un}likely.
1055
03a7091f
JM
10562014-03-27 Joseph Myers <joseph@codesourcery.com>
1057
1058 [BZ #16348]
1059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1060 1+x for argument with exponent below -67.
1061 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1062 Likewise.
1063 * math/auto-libm-test-in: Add more tests of exp.
1064 * math/auto-libm-test-out: Regenerated.
1065
ea7d8b95
SP
10662014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1067
dd3022d7
SP
1068 [BZ #16759]
1069 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1070 (nscd_getnetgrent): Use it.
1071
ea7d8b95
SP
1072 [BZ #16760]
1073 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1074 of stpcpy.
1075
df5b85da
AK
10762014-03-27 Andi Kleen <ak@linux.intel.com>
1077
57f41c40
AS
1078 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1079 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1080 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1081 (lll_robust_unlock): Remove out of line section. Use cfi
1082 intrinsics.
df5b85da 1083 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1084 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1085 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1086 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1087 (lll_robust_unlock): Remove out of line section. Use cfi
1088 intrinsics.
df5b85da
AK
1089 (LLL_STUB_UNWIND_INFO*): Remove.
1090
fbd6b5a4
SP
10912014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1092
1093 [BZ #16758]
1094 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1095 blank values.
1096
1b26b855
PP
10972014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1098
1099 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1100
9be36fb8
JM
11012014-03-26 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #16198]
1104 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1105 fnstenv.
1106 * math/test-fenv-preserve.c: New file.
1107 * math/Makefile (tests): Add test-fenv-preserve.
1108
60a2f3c1
WN
11092014-03-26 Will Newton <will.newton@linaro.org>
1110
1111 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1112
a5e5f1e2
RM
11132014-03-25 Roland McGrath <roland@hack.frob.com>
1114
1115 * scripts/versionlist.awk: Partition the version sets and emit all
1116 GLIBC_* (sorted) before all others (sorted).
1117
00f4012a
JM
11182014-03-25 Joseph Myers <joseph@codesourcery.com>
1119
1120 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1121 GLIBC_2.2.5 version.
1122
7bc5a741
AZ
11232014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1124
1125 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1126 calls.
1127
7578473b
AZ
1128 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1129 previous change.
1130
f3f1dab3
AZ
1131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1132
6da36183
AS
11332014-03-25 Andreas Schwab <schwab@suse.de>
1134
1135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1136 label to be used after in6ailist is initialized.
1137
f3f1dab3 11382014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1139
7578473b 1140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1141 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1142
046651c1
JM
11432014-03-25 Joseph Myers <joseph@codesourcery.com>
1144
1145 [BZ #16357]
1146 [BZ #16599]
1147 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1148 min_plus_half.
1149 (fp_formats): Update initializers.
1150 (init_fp_formats): Initialize new field.
1151 (output_for_one_input_case): Allow underflow for results up to
1152 min_plus_half.
1153 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1154 * math/auto-libm-test-in: Don't mark some underflows from asin and
1155 atanh as spurious.
1156 * math/auto-libm-test-out: Regenerated.
1157 * sysdeps/i386/fpu/libm-test-ulps: Update.
1158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1159
003e49ed
AS
11602014-03-25 Andreas Schwab <schwab@suse.de>
1161
1162 * libio/Makefile (tst-ftell-partial-wide-ENV)
1163 (tst-ftell-active-handler-ENV): Define.
1164
de031874
SL
11652014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1166
1167 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1168
55a81e3b
PP
11692014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1170
1171 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1172
f3426898
JM
11732014-03-24 Joseph Myers <joseph@codesourcery.com>
1174
1175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1176 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1177 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1178
a42faf59
PP
11792014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1180
1181 [BZ #16634]
a42faf59 1182 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1183 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1184 (open_path): Change from boolean 'secure' to complete flag 'mode'
1185 (_dl_map_object): Adjust.
a42faf59
PP
1186 * elf/Makefile (tests): Add tst-dlopen-aout.
1187 * elf/tst-dlopen-aout.c: New test.
1188
50936127
SL
11892014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1190
1191 [BZ #16714]
1192 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1193 (struct stat): Rename member pad0 to __glibc_reserved0.
1194
26011b5c
SL
1195 [BZ #16712]
1196 * sysdeps/s390/s390-32/bits/wordsize.h
1197 (__WORDSIZE32_SIZE_ULONG): New define.
1198 * sysdeps/s390/s390-64/bits/wordsize.h
1199 (__WORDSIZE32_SIZE_ULONG): Likewise.
1200 * sysdeps/generic/stdint.h (SIZE_MAX):
1201 Define as UL if __WORDSIZE32_SIZE_ULONG.
1202
a2d86bf1
SL
1203 [BZ #16713]
1204 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1205 (__glibc_reserved0): New variable.
1206 (sa_flags): Change type to int.
1207
78b6eebc
SL
1208 * posix/Makefile (before-compile): Use += before-compile instead
1209 of a :=.
1210
f1399b5a
SL
1211 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1212 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1213
a071766e
AS
12142014-03-20 Andreas Schwab <schwab@suse.de>
1215
1216 [BZ #16743]
1217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1218 non-matching result from nscd.
1219
27c673b8
SP
12202014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1221
1222 * scripts/bench.py: Moved to ...
1223 * benchtests/scripts/bench.py: ... here.
1224 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1225
44152e4b
AS
12262014-03-24 Andreas Schwab <schwab@suse.de>
1227
1228 [BZ #16002]
1229 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1230 alloca_account and account alloca use for struct in6ailist.
1231
b376a11a
JM
12322014-03-24 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #16284]
1235 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1236 rounding mode to recompute results that overflow to infinity or
1237 underflow to zero.
1238 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1239 bug 16284.
1240 * math/auto-libm-test-out: Regenerated.
1241 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1242 (ccosh_test): Likewise.
1243 (csin_test_data): Use plus_oflow.
1244 (csin_test): Use ALL_RM_TEST.
1245 (csinh_test_data): Use plus_oflow.
1246 (csinh_test): Use ALL_RM_TEST.
1247 * sysdeps/i386/fpu/libm-test-ulps: Update.
1248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1249
f7be7376
JM
12502014-03-21 Joseph Myers <joseph@codesourcery.com>
1251
1ca2d03e
JM
1252 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1253 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1254 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1255
f7be7376
JM
1256 [BZ #16731]
1257 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1258 when x - 1 is zero.
1259 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1260 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1261 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1262 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1263 argument is 1.
1264 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1265 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1266 zero.
1267 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1268 * sysdeps/i386/fpu/libm-test-ulps: Update.
1269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1270
fdf4534d
SP
12712014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1272
df26ea53
SP
1273 * scripts/bench.pl: Remove file.
1274 * scripts/bench.py: New benchmark script.
1275 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1276 * benchtests/README: Mention python dependency.
1277 * scripts/pylintrc: New file.
1278 * scripts/pylint: New file.
1279
fdf4534d
SP
1280 * bits/mathdef.h: Use #ifdef instead of #if.
1281 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1282 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1283 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1284 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1285 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1286 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1287
6f23d093
AZ
12882014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1290
1291 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1293 and strpbrk-ppc64 objects.
1294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1295 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1296 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1297 multiarch strpbrk for POWER7.
1298 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1299 multiarch strpbrk for PPC64.
1300 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1301 ifunc selector.
1302 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1303 strpbrk for POWER7.
1304
8c92dfff
JM
13052014-03-20 Joseph Myers <joseph@codesourcery.com>
1306
1307 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1308 (atan_test): Likewise.
1309 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1310 (atanh_test): Use ALL_RM_TEST.
1311 (atan2_test_data): Likewise.
1312 (cabs_test): Likewise.
1313 (cacosh_test): Likewise.
1314 (carg_test): Likewise.
1315 (casin_test): Likewise.
1316 (casinh_test): Likewise.
1317 (cbrt_test): Likewise.
1318 (csqrt_test): Likewise.
1319 (erf_test): Likewise.
1320 (erfc_test): Likewise.
1321 (pow10_test): Likewise.
1322 (exp2_test): Likewise.
1323 (hypot_test): Likewise.
1324 (j0_test): Likewise.
1325 (j1_test): Likewise.
1326 (lgamma_test): Likewise.
1327 (gamma_test): Likewise.
1328 (sincos_test): Likewise.
1329 (tanh_test): Likewise.
1330 (y0_test): Likewise.
1331 (y1_test): Likewise.
1332 * sysdeps/i386/fpu/libm-test-ulps: Update.
1333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1334
6eaf95cb
AZ
13352014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1336
a387428c
SP
1337 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1339 and strcspn-ppc64 objects.
1340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1341 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1342 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1343 multiarch strcspn for POWER7.
1344 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1345 multiarch strcspn for PPC64.
1346 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1347 ifunc selector.
1348 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1349 strcspn for POWER7.
1350
ae3a5dff
JM
13512014-03-20 Joseph Myers <joseph@codesourcery.com>
1352
1353 * math/gen-libm-test.pl (generate_testfile): Expect only function
1354 name as argument to AUTO_TESTS_* and pass results for all rounding
1355 modes to parse_args.
1356 (parse_auto_input): Separate inputs of automatic tests from
1357 outputs before storing in %auto_tests.
1358 * math/libm-test.inc (acos_test_data): Update call to
1359 AUTO_TESTS_f_f.
1360 (acos_test): Use ALL_RM_TEST.
1361 (acos_tonearest_test_data): Remove.
1362 (acos_test_tonearest): Likewise.
1363 (acos_towardzero_test_data): Likewise.
1364 (acos_test_towardzero): Likewise.
1365 (acos_downward_test_data): Likewise.
1366 (acos_test_downward): Likewise.
1367 (acos_upward_test_data): Likewise.
1368 (acos_test_upward): Likewise.
1369 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1370 (asin_test_data): Likewise.
1371 (asin_test): Use ALL_RM_TEST.
1372 (asin_tonearest_test_data): Remove.
1373 (asin_test_tonearest): Likewise.
1374 (asin_towardzero_test_data): Likewise.
1375 (asin_test_towardzero): Likewise.
1376 (asin_downward_test_data): Likewise.
1377 (asin_test_downward): Likewise.
1378 (asin_upward_test_data): Likewise.
1379 (asin_test_upward): Likewise.
1380 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1381 (atan_test_data): Likewise.
1382 (atanh_test_data): Likewise.
1383 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1384 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1385 (carg_test_data): Likewise.
1386 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1387 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1388 (ccosh_test_data): Likewise.
1389 (cexp_test_data): Likewise.
1390 (clog_test_data): Likewise.
1391 (clog10_test_data): Likewise.
1392 (cos_test_data): Update call to AUTO_TESTS_f_f.
1393 (cos_test): Use ALL_RM_TEST.
1394 (cos_tonearest_test_data): Remove.
1395 (cos_test_tonearest): Likewise.
1396 (cos_towardzero_test_data): Likewise.
1397 (cos_test_towardzero): Likewise.
1398 (cos_downward_test_data): Likewise.
1399 (cos_test_downward): Likewise.
1400 (cos_upward_test_data): Likewise.
1401 (cos_test_upward): Likewise.
1402 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1403 (cosh_test): Use ALL_RM_TEST.
1404 (cosh_tonearest_test_data): Remove.
1405 (cosh_test_tonearest): Likewise.
1406 (cosh_towardzero_test_data): Likewise.
1407 (cosh_test_towardzero): Likewise.
1408 (cosh_downward_test_data): Likewise.
1409 (cosh_test_downward): Likewise.
1410 (cosh_upward_test_data): Likewise.
1411 (cosh_test_upward): Likewise.
1412 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1413 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1414 (ctan_test_data): Likewise.
1415 (ctan_test): Use ALL_RM_TEST.
1416 (ctan_tonearest_test_data): Remove.
1417 (ctan_test_tonearest): Likewise.
1418 (ctan_towardzero_test_data): Likewise.
1419 (ctan_test_towardzero): Likewise.
1420 (ctan_downward_test_data): Likewise.
1421 (ctan_test_downward): Likewise.
1422 (ctan_upward_test_data): Likewise.
1423 (ctan_test_upward): Likewise.
1424 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1425 (ctanh_test): Use ALL_RM_TEST.
1426 (ctanh_tonearest_test_data): Remove.
1427 (ctanh_test_tonearest): Likewise.
1428 (ctanh_towardzero_test_data): Likewise.
1429 (ctanh_test_towardzero): Likewise.
1430 (ctanh_downward_test_data): Likewise.
1431 (ctanh_test_downward): Likewise.
1432 (ctanh_upward_test_data): Likewise.
1433 (ctanh_test_upward): Likewise.
1434 (erf_test_data): Update call to AUTO_TESTS_f_f.
1435 (erfc_test_data): Likewise.
1436 (exp_test_data): Likewise.
1437 (exp_test): Use ALL_RM_TEST.
1438 (exp_tonearest_test_data): Remove.
1439 (exp_test_tonearest): Likewise.
1440 (exp_towardzero_test_data): Likewise.
1441 (exp_test_towardzero): Likewise.
1442 (exp_downward_test_data): Likewise.
1443 (exp_test_downward): Likewise.
1444 (exp_upward_test_data): Likewise.
1445 (exp_test_upward): Likewise.
1446 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1447 (exp10_test): Use ALL_RM_TEST.
1448 (exp10_tonearest_test_data): Remove.
1449 (exp10_test_tonearest): Likewise.
1450 (exp10_towardzero_test_data): Likewise.
1451 (exp10_test_towardzero): Likewise.
1452 (exp10_downward_test_data): Likewise.
1453 (exp10_test_downward): Likewise.
1454 (exp10_upward_test_data): Likewise.
1455 (exp10_test_upward): Likewise.
1456 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1457 (expm1_test_data): Likewise.
1458 (expm1_test): Use ALL_RM_TEST.
1459 (expm1_tonearest_test_data): Remove.
1460 (expm1_test_tonearest): Likewise.
1461 (expm1_towardzero_test_data): Likewise.
1462 (expm1_test_towardzero): Likewise.
1463 (expm1_downward_test_data): Likewise.
1464 (expm1_test_downward): Likewise.
1465 (expm1_upward_test_data): Likewise.
1466 (expm1_test_upward): Likewise.
1467 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1468 (fma_test): Use ALL_RM_TEST.
1469 (fma_towardzero_test_data): Remove.
1470 (fma_test_towardzero): Likewise.
1471 (fma_downward_test_data): Likewise.
1472 (fma_test_downward): Likewise.
1473 (fma_upward_test_data): Likewise.
1474 (fma_test_upward): Likewise.
1475 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1476 (j0_test_data): Update call to AUTO_TESTS_f_f.
1477 (j1_test_data): Likewise.
1478 (jn_test_data): Update call to AUTO_TESTS_if_f.
1479 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1480 (log_test_data): Update call to AUTO_TESTS_f_f.
1481 (log10_test_data): Likewise.
1482 (log1p_test_data): Likewise.
1483 (log2_test_data): Likewise.
1484 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1485 (pow_tonearest_test_data): Likewise.
1486 (sin_test_data): Update call to AUTO_TESTS_f_f.
1487 (sin_test): Use ALL_RM_TEST.
1488 (sin_tonearest_test_data): Remove.
1489 (sin_test_tonearest): Likewise.
1490 (sin_towardzero_test_data): Likewise.
1491 (sin_test_towardzero): Likewise.
1492 (sin_downward_test_data): Likewise.
1493 (sin_test_downward): Likewise.
1494 (sin_upward_test_data): Likewise.
1495 (sin_test_upward): Likewise.
1496 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1497 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1498 (sinh_test): Use ALL_RM_TEST.
1499 (sinh_tonearest_test_data): Remove.
1500 (sinh_test_tonearest): Likewise.
1501 (sinh_towardzero_test_data): Likewise.
1502 (sinh_test_towardzero): Likewise.
1503 (sinh_downward_test_data): Likewise.
1504 (sinh_test_downward): Likewise.
1505 (sinh_upward_test_data): Likewise.
1506 (sinh_test_upward): Likewise.
1507 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1508 (sqrt_test): Use ALL_RM_TEST.
1509 (sqrt_tonearest_test_data): Remove.
1510 (sqrt_test_tonearest): Likewise.
1511 (sqrt_towardzero_test_data): Likewise.
1512 (sqrt_test_towardzero): Likewise.
1513 (sqrt_downward_test_data): Likewise.
1514 (sqrt_test_downward): Likewise.
1515 (sqrt_upward_test_data): Likewise.
1516 (sqrt_test_upward): Likewise.
1517 (tan_test_data): Update call to AUTO_TESTS_f_f.
1518 (tan_test): Use ALL_RM_TEST.
1519 (tan_tonearest_test_data): Remove.
1520 (tan_test_tonearest): Likewise.
1521 (tan_towardzero_test_data): Likewise.
1522 (tan_test_towardzero): Likewise.
1523 (tan_downward_test_data): Likewise.
1524 (tan_test_downward): Likewise.
1525 (tan_upward_test_data): Likewise.
1526 (tan_test_upward): Likewise.
1527 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1528 (tgamma_test_data): Likewise.
1529 (y0_test_data): Likewise.
1530 (y1_test_data): Likewise.
1531 (yn_test_data): Update call to AUTO_TESTS_if_f.
1532 (main): Do not call removed functions.
1533
d71aeee8
JM
15342014-03-19 Joseph Myers <joseph@codesourcery.com>
1535
1536 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1537 (ldexp_test_data): Remove.
1538 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1539 scalbn_test_data.
1540 (scalb_test): Use ALL_RM_TEST.
1541
baaf1ded
AS
15422014-03-19 Andreas Schwab <schwab@suse.de>
1543
1544 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1545
b1115e91
JM
15462014-03-19 Joseph Myers <joseph@codesourcery.com>
1547
1548 [BZ #16649]
1549 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1550 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1551 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1553 (__ASSUME_PREADV): Undefine.
1554 (__ASSUME_PWRITEV): Likewise.
1555
0283ecca
RM
15562014-03-18 Roland McGrath <roland@hack.frob.com>
1557
7d375303
RM
1558 * bits/mman-linux.h: Add comment about non-Linux use.
1559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1560 bits/mman-linux.h resting place.
1561
0283ecca
RM
1562 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1563 * bits/mman-linux.h: ... here.
1564
aebe1003
AZ
15652014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * conform/conformtest.pl: Add standard definition when calling C
1568 preprocessor on data files.
1569 (checknamespace): Remove unused variable.
1570
b29b6bb8
JM
15712014-03-18 Joseph Myers <joseph@codesourcery.com>
1572
1573 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1574 minus_oflow, plus_uflow and minus_uflow in expected results.
1575 * math/libm-test.inc (scalbn_test_data): Add more tests of
1576 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1577 minus_uflow.
1578 (scalbn_test): Use ALL_RM_TEST.
1579 (scalbln_test_data): Add more tests of negative arguments. Use
1580 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1581 (scalbln_test): Use ALL_RM_TEST.
1582
c8f8fa15
RM
15832014-03-18 Roland McGrath <roland@hack.frob.com>
1584
1585 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1586
fede7a5f
WN
15872014-03-18 Will Newton <will.newton@linaro.org>
1588
1589 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1590 inaccurate comment.
1591
80cf0a58
JM
15922014-03-18 Joseph Myers <joseph@codesourcery.com>
1593
1594 * Makerules [!subdir] (check-abi): Exit with error status if a
1595 test failed.
1596
b3620862
JM
15972014-03-17 Joseph Myers <joseph@codesourcery.com>
1598
1599 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1600 for rint. Include results for all rounding modes.
1601 (nearbyint_test): Use ALL_RM_TEST.
1602 (rint_test_data): Include all tests used for nearbyint.
1603
788bba36
WN
16042014-03-17 Will Newton <will.newton@linaro.org>
1605
04ec140a
WN
1606 * nptl/sysdeps/pthread/pthread.h: Revert previous
1607 change.
1608
7579d8d5
WN
1609 * sysdeps/generic/ldsodefs.h: Revert previous
1610 change.
1611
c15cf13a
WN
1612 * libio/genops.c: Revert previous change.
1613 * libio/libioP.h: Likewise.
1614 * stdio-common/vfprintf.c: Likewise.
1615
d0ac1324
WN
1616 * sysdeps/generic/math_private.h: Revert previous
1617 change.
1618
9290130a
WN
1619 * sysdeps/generic/math_private.h: Check whether
1620 HAVE_RM_CTX is defined with #ifdef rather
1621 than #if.
1622
afb466fc
WN
1623 * argp/argp-fmtstream.h: Check whether
1624 __STRICT_ANSI__ is defined with #ifdef rather
1625 than #if.
1626 * argp/argp.h: Likewise.
1627
f7efd7c3
WN
1628 * libio/genops.c: Check whether
1629 _IO_JUMPS_OFFSET is defined with #ifdef rather
1630 than #if.
1631 * libio/libioP.h: Likewise.
1632 * stdio-common/vfprintf.c: Likewise.
1633
53f1bed3
WN
1634 * sysdeps/generic/ldsodefs.h: Check whether
1635 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1636 than #if.
1637
788bba36
WN
1638 * nptl/sysdeps/pthread/pthread.h: Check
1639 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1640 its value.
1641
fcd89ebe
SP
16422014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1643
ae42bbc5
SP
1644 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1645 setting O_APPEND.
1646 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1647 test case.
1648
ea33158c
SP
1649 [BZ #16680]
1650 * libio/fileops.c (_IO_file_open): Seek to end of file but
1651 don't cache the offset.
1652 (get_file_offset): Remove function.
1653 (do_ftell): Use cached offset when available.
1654 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1655 don't cache the offset.
1656 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1657 case.
1658 (do_one_test): Call it.
1659 (do_ftell_test): Fix up expected old offset for a+ mode.
1660 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1661 available.
1662
b1dbb426
SP
1663 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1664 up test status with function return status.
1665 (do_write_test): Likewise.
1666 (do_append_test): Likewise.
1667
fcd89ebe
SP
1668 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1669 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1670 Remove.
1671
9962a2d3
JM
16722014-03-17 Joseph Myers <joseph@codesourcery.com>
1673
1674 * math/gen-libm-test.pl (parse_args): Handle results specified for
1675 each rounding mode separately.
1676 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1677 tests and results from lrint_tonearest_test_data,
1678 lrint_towardzero_test_data, lrint_downward_test_data and
1679 lrint_upward_test_data.
1680 (lrint_test): Use ALL_RM_TEST.
1681 (lrint_tonearest_test_data): Remove.
1682 (lrint_test_tonearest): Likewise.
1683 (lrint_towardzero_test_data): Likewise.
1684 (lrint_test_towardzero): Likewise.
1685 (lrint_downward_test_data): Likewise.
1686 (lrint_test_downward): Likewise.
1687 (lrint_upward_test_data): Likewise.
1688 (lrint_test_upward): Likewise.
1689 (llrint_test_data): Merge in per-rounding-mode tests and results
1690 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1691 llrint_downward_test_data and llrint_upward_test_data.
1692 (llrint_test): Use ALL_RM_TEST.
1693 (llrint_tonearest_test_data): Remove.
1694 (llrint_test_tonearest): Likewise.
1695 (llrint_towardzero_test_data): Likewise.
1696 (llrint_test_towardzero): Likewise.
1697 (llrint_downward_test_data): Likewise.
1698 (llrint_test_downward): Likewise.
1699 (llrint_upward_test_data): Likewise.
1700 (llrint_test_upward): Likewise.
1701 (rint_test_data): Merge in per-rounding-mode tests and results
1702 from rint_tonearest_test_data, rint_towardzero_test_data,
1703 rint_downward_test_data and rint_upward_test_data. Add
1704 per-rounding-mode results for tests not in those arrays.
1705 (rint_test): Use ALL_RM_TEST.
1706 (rint_tonearest_test_data): Remove.
1707 (rint_test_tonearest): Likewise.
1708 (rint_towardzero_test_data): Likewise.
1709 (rint_test_towardzero): Likewise.
1710 (rint_downward_test_data): Likewise.
1711 (rint_test_downward): Likewise.
1712 (rint_upward_test_data): Likewise.
1713 (rint_test_upward): Likewise.
1714 (main): Don't call removed functions.
1715
5006148e
RM
17162014-03-14 Roland McGrath <roland@hack.frob.com>
1717
1718 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1719 "Compiled on ..." crapola. It is anti-useful.
1720
d6fe5e58
JM
17212014-03-14 Joseph Myers <joseph@codesourcery.com>
1722
1723 * scripts/evaluate-test.sh: Handle fourth argument to determine
1724 whether test run should stop on failure.
1725 * Makeconfig (stop-on-test-failure): New variable.
1726 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1727 $(stop-on-test-failure).
1728 * Makefile (tests): Give a summary of results from testing and
1729 exit with failure status if they include an ERROR or FAIL.
1730 (xtests): Likewise.
1731 * manual/install.texi (Configuring and compiling): Mention
1732 stop-on-test-failure=y.
1733 * INSTALL: Regenerated.
1734
498a2233
RM
17352014-03-14 Roland McGrath <roland@hack.frob.com>
1736
22dbc19d
RM
1737 * scripts/versionlist.awk: New file.
1738 * Makerules [$(build-shared) = yes]
1739 (postclean-generated): Add Versions.def, not Versions.def.v and
1740 Versions.def.v.i.
1741 ($(common-objpfx)Versions.def.v.i): Target removed.
1742 ($(common-objpfx)Versions.def): New target.
1743 ($(common-objpfx)Versions.all): Depend on that rather that
1744 $(common-objpfx)Versions.def.v.
1745 * Versions.def: File removed.
1746
498a2233
RM
1747 * Makeconfig (+gccwarn): Add -Wundef.
1748 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1749 a dl-sysdep.h breaking its contract.
1750 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1751 * include/stackinfo.h: New file.
1752 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1753 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1754 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1755 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1756 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1757 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1758 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1759 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1760 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1761 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1762 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1763 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1764 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1765 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1766 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1767
c7de5025
AZ
17682014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769
1770 [BZ #16707]
1771 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1772 implementation.
1773 * math/libm-test.inc (round_test_data): Add more tests.
1774
98fb27a3
AZ
1775 [BZ #16706]
1776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1777 implementation.
1778 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1779
374f7f61
AZ
1780 [BZ #16701]
1781 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1782 implementation.
1783 * math/libm-test.inc (ceil_test_data): Add more tests.
1784
4655c291
AZ
1785 * math/libm-test.inc (trunc_test_data): Add more tests related to
1786 BZ#16414.
1787
d7329d4b
RM
17882014-03-14 Roland McGrath <roland@hack.frob.com>
1789
1790 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1791 with #if rather than #ifdef.
1792 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1793
aa4de9ce
L
17942014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1797 first. Disable AVX-512 GCC support if assembler doesn't support
1798 it.
1799 * sysdeps/x86_64/configure: Regenerated.
1800
2e03fae7
CD
18012014-03-13 Carlos O'Donell <carlos@redhat.com>
1802
1803 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1804 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1805 (__old_pthread_attr_setstack): Likewise.
1806 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1807 [!_STACK_GROWS_DOWN]: Likewise.
1808
43ca83ec
MF
18092014-03-13 Mike Frysinger <vapier@gentoo.org>
1810
1811 * config.make.in (have-bash2): Delete.
1812 * configure.ac (libc_cv_have_bash2): Delete.
1813 * configure: Regenerate.
1814 * elf/Makefile (common-ldd-rewrite): Rename to ...
1815 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1816 (sh-ldd-rewrite): Delete.
1817 (bash-ldd-rewrite): Delete.
1818 (have-bash2): Delete checks.
57f41c40
AS
1819 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1820 ldd-rewrite.
c66e48b4
MF
1821
1822 * config.make.in (have-ksh): Delete.
1823 (KSH): Delete.
1824 * configure.ac (libc_cv_have_ksh): Delete.
1825 * configure: Regenerate.
1826
b93834ef
MF
1827 * elf/Makefile: Delete $(have-ksh) check.
1828 ($(objpfx)sotruss): Change KSH to BASH.
1829 * elf/sotruss.ksh: Rename to ...
1830 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1831 function style to match POSIX. Drop ksh vim mode setting.
1832
f3a4632a
MF
1833 * manual/time.texi (Specifying the Time Zone with TZ): Change
1834 Tuesday to Thursday.
1835
5896c8bd
MF
1836 * debug/tst-longjmp_chk2.c: Update header comment.
1837 (stackoverflow_handler): Add comment. Call assert on pass value.
1838
2d63a517
IZ
18392014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1840
1841 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1842 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1843 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1844 (La_x86_64_vector): Add zmm.
1845 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1846 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1847 ($(objpfx)tst-audit10): New target.
1848 ($(objpfx)tst-audit10.out): Likewise.
1849 (tst-audit10-ENV): New.
1850 (AVX512-CFLAGS): Likewise.
1851 (CFLAGS-tst-audit10.c): Likewise.
1852 (CFLAGS-tst-auditmod10a.c): Likewise.
1853 (CFLAGS-tst-auditmod10b.c): Likewise.
1854 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1855 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1856 * sysdeps/x86_64/configure: Regenerated.
1857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1858 AVX-512 zmm register support.
1859 (_dl_x86_64_save_sse): Likewise.
1860 (_dl_x86_64_restore_sse): Likewise.
1861 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1862 size vector registers.
1863 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1864 (ZMM_SIZE): Likewise.
1865 * sysdeps/x86_64/tst-audit10.c: New file.
1866 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1867 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1868
44c4e5d5
RM
18692014-03-13 Roland McGrath <roland@hack.frob.com>
1870
1871 * configure.ac (HAVE_EHDR_START): New check.
1872 * configure: Regenerated.
1873 * config.h.in (HAVE_EHDR_START): New #undef.
1874 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1875 assuming the lowest-addressed segment maps the start of the file.
1876
acd6e389
JM
18772014-03-13 Joseph Myers <joseph@codesourcery.com>
1878
1879 * INSTALL: Regenerated.
1880
6f918f36
WN
18812014-03-13 Will Newton <will.newton@linaro.org>
1882
1883 * manual/setjmp.texi (System V contexts): Improve
1884 clarity and grammar of documentation.
1885
798212a0
PP
18862014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1887
1888 [BZ #16381]
798212a0 1889 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1890 (tests-pie): Add tst-pie2.
798212a0
PP
1891 * elf/tst-pie2.c: New file.
1892 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1893 for ET_EXEC.
1894 * elf/rtld.c (map_doit): Load executable as lt_executable.
1895 (dl_main): Likewise.
1896
abe6d90c
JM
18972014-03-12 Joseph Myers <joseph@codesourcery.com>
1898
1899 [BZ #16642]
1900 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1901 (__ASSUME_PSELECT): Undefine.
1902
dd3946c6
AZ
19032014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904
1905 [BZ #16689]
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1907 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1908 static build.
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1910 selector for static builds.
1911
c44496df
SP
19122014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1913
1914 [BZ #16695]
1915 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1916 key in the buffer.
1917
27c7220a
AZ
19182014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919
57f41c40
AS
1920 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1921 IFUNC selector for static builds.
27c7220a 1922
600fa361
JM
19232014-03-11 Joseph Myers <joseph@codesourcery.com>
1924
76c96cf7
JM
1925 * sysdeps/mips/math_private.h [__mips_hard_float]
1926 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1927 libc_feresetround_mips_ctx.
1928 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1929 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1930 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1931
600fa361
JM
1932 [BZ #16677]
1933 * math/s_nextafter.c (__nextafter): Do not return value from
1934 overflowing computation.
1935 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1936 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1937 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1938 Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1940 Likewise.
1941 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1942 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1943
d7706c32
RM
19442014-03-11 Roland McGrath <roland@hack.frob.com>
1945
1946 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1947 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1948 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1949 the new mov targetting sp.
1950
4facea47
AZ
19512014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1952
1953 [BZ #16683]
1954 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1955 Define it for static builds as well.
1956 (NO_BZERO_IMPL): Likewise.
1957
e65caf1f
VR
19582014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1959
1960 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1961 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1962 multiarch strspn for PPC64.
1963 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1964 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1966 (__libc_ifunc_impl_list): Likewise.
1967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1968 multiarch optimizations
1969 * string/strspn.c (strspn): Using macro to redefine symbol name.
1970
ba9cc071
AZ
19712014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1972 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1973
1974 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1975 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1976 multiarch strncat for PPC64.
1977 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1978 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1980 (__libc_ifunc_impl_list): Likewise.
1981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1982 multiarch optimizations
1983
8b4ff974
SP
19842014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1985
1986 [BZ #16639]
1987 * nscd/nscd.service: Make service type forking.
1988
54b46a4b
AZ
19892014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1990
1991 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1992 sign in non default rounding modes.
1993 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1994
e9996ef7
JM
19952014-03-08 Joseph Myers <joseph@codesourcery.com>
1996
1997 * math/libm-test.inc (ALL_RM_TEST): New macro.
1998 (ceil_test): Use ALL_RM_TEST.
1999 (cimag_test): Likewise.
2000 (conj_test): Likewise.
2001 (copysign_test): Likewise.
2002 (cproj_test): Likewise.
2003 (creal_test): Likewise.
2004 (fabs_test): Likewise.
2005 (floor_test): Likewise.
2006 (fmax_test): Likewise.
2007 (fmin_test): Likewise.
2008 (fmod_test): Likewise.
2009 (fpclassify_test): Likewise.
2010 (frexp_test): Likewise.
2011 (ilogb_test): Likewise.
2012 (isfinite_test): Likewise.
2013 (finite_test): Likewise.
2014 (isgreater_test): Likewise.
2015 (isgreaterequal_test): Likewise.
2016 (isinf_test): Likewise.
2017 (isless_test): Likewise.
2018 (islessequal_test): Likewise.
2019 (islessgreater_test): Likewise.
2020 (isnan_test): Likewise.
2021 (isnormal_test): Likewise.
2022 (issignaling_test): Likewise.
2023 (isunordered_test): Likewise.
2024 (logb_test): Likewise.
2025 (logb_downward_test_data): Remove.
2026 (logb_test_downward): Likewise.
2027 (lround_test): Use ALL_RM_TEST.
2028 (llround_test): Likewise.
2029 (modf_test): Likewise.
2030 (nexttoward_test): Likewise.
2031 (remainder_test): Likewise.
2032 (drem_test): Likewise.
2033 (remainder_tonearest_test_data): Likewise.
2034 (remainder_test_tonearest): Likewise.
2035 (drem_test_tonearest): Likewise.
2036 (remainder_towardzero_test_data): Likewise.
2037 (remainder_test_towardzero): Likewise.
2038 (drem_test_towardzero): Likewise.
2039 (remainder_downward_test_data): Likewise.
2040 (remainder_test_downward): Likewise.
2041 (drem_test_downward): Likewise.
2042 (remainder_upward_test_data): Likewise.
2043 (remainder_test_upward): Likewise.
2044 (drem_test_upward): Likewise.
2045 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2046 (round_test): Use ALL_RM_TEST.
2047 (signbit_test): Likewise.
2048 (trunc_test): Likewise.
2049 (significand_test): Likewise.
2050 (main): Don't call removed functions.
2051
bc61d27c
JM
20522014-03-07 Joseph Myers <joseph@codesourcery.com>
2053
5c780849
JM
2054 [BZ #16674]
2055 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2056 || __USE_XOPEN2K8].
2057 (ILL_ILLOPN): Likewise.
2058 (ILL_ILLADR): Likewise.
2059 (ILL_ILLTRP): Likewise.
2060 (ILL_PRVOPC): Likewise.
2061 (ILL_PRVREG): Likewise.
2062 (ILL_COPROC): Likewise.
2063 (ILL_BADSTK): Likewise.
2064 (FPE_INTDIV): Likewise.
2065 (FPE_INTOVF): Likewise.
2066 (FPE_FLTDIV): Likewise.
2067 (FPE_FLTOVF): Likewise.
2068 (FPE_FLTUND): Likewise.
2069 (FPE_FLTRES): Likewise.
2070 (FPE_FLTINV): Likewise.
2071 (FPE_FLTSUB): Likewise.
2072 (SEGV_MAPERR): Likewise.
2073 (SEGV_ACCERR): Likewise.
2074 (BUS_ADRALN): Likewise.
2075 (BUS_ADRERR): Likewise.
2076 (BUS_OBJERR): Likewise.
2077 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2078 (TRAP_TRACE): Likewise.
2079 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2080 __USE_XOPEN2K8].
2081 (CLD_KILLED): Likewise.
2082 (CLD_DUMPED): Likewise.
2083 (CLD_TRAPPED): Likewise.
2084 (CLD_STOPPED): Likewise.
2085 (CLD_CONTINUED): Likewise.
2086 (POLL_IN): Likewise.
2087 (POLL_OUT): Likewise.
2088 (POLL_MSG): Likewise.
2089 (POLL_ERR): Likewise.
2090 (POLL_PRI): Likewise.
2091 (POLL_HUP): Likewise.
2092 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2093 Likewise.
2094 (ILL_ILLOPN): Likewise.
2095 (ILL_ILLADR): Likewise.
2096 (ILL_ILLTRP): Likewise.
2097 (ILL_PRVOPC): Likewise.
2098 (ILL_PRVREG): Likewise.
2099 (ILL_COPROC): Likewise.
2100 (ILL_BADSTK): Likewise.
2101 (FPE_INTDIV): Likewise.
2102 (FPE_INTOVF): Likewise.
2103 (FPE_FLTDIV): Likewise.
2104 (FPE_FLTOVF): Likewise.
2105 (FPE_FLTUND): Likewise.
2106 (FPE_FLTRES): Likewise.
2107 (FPE_FLTINV): Likewise.
2108 (FPE_FLTSUB): Likewise.
2109 (SEGV_MAPERR): Likewise.
2110 (SEGV_ACCERR): Likewise.
2111 (BUS_ADRALN): Likewise.
2112 (BUS_ADRERR): Likewise.
2113 (BUS_OBJERR): Likewise.
2114 (BUS_MCEERR_AR): Likewise.
2115 (BUS_MCEERR_AO): Likewise.
2116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2117 (TRAP_TRACE): Likewise.
2118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2119 __USE_XOPEN2K8].
2120 (CLD_KILLED): Likewise.
2121 (CLD_DUMPED): Likewise.
2122 (CLD_TRAPPED): Likewise.
2123 (CLD_STOPPED): Likewise.
2124 (CLD_CONTINUED): Likewise.
2125 (POLL_IN): Likewise.
2126 (POLL_OUT): Likewise.
2127 (POLL_MSG): Likewise.
2128 (POLL_ERR): Likewise.
2129 (POLL_PRI): Likewise.
2130 (POLL_HUP): Likewise.
2131 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2132 (ILL_ILLOPN): Likewise.
2133 (ILL_ILLADR): Likewise.
2134 (ILL_ILLTRP): Likewise.
2135 (ILL_PRVOPC): Likewise.
2136 (ILL_PRVREG): Likewise.
2137 (ILL_COPROC): Likewise.
2138 (ILL_BADSTK): Likewise.
2139 (FPE_INTDIV): Likewise.
2140 (FPE_INTOVF): Likewise.
2141 (FPE_FLTDIV): Likewise.
2142 (FPE_FLTOVF): Likewise.
2143 (FPE_FLTUND): Likewise.
2144 (FPE_FLTRES): Likewise.
2145 (FPE_FLTINV): Likewise.
2146 (FPE_FLTSUB): Likewise.
2147 (SEGV_MAPERR): Likewise.
2148 (SEGV_ACCERR): Likewise.
2149 (BUS_ADRALN): Likewise.
2150 (BUS_ADRERR): Likewise.
2151 (BUS_OBJERR): Likewise.
2152 (BUS_MCEERR_AR): Likewise.
2153 (BUS_MCEERR_AO): Likewise.
2154 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2155 (TRAP_TRACE): Likewise.
2156 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2157 __USE_XOPEN2K8].
2158 (CLD_KILLED): Likewise.
2159 (CLD_DUMPED): Likewise.
2160 (CLD_TRAPPED): Likewise.
2161 (CLD_STOPPED): Likewise.
2162 (CLD_CONTINUED): Likewise.
2163 (POLL_IN): Likewise.
2164 (POLL_OUT): Likewise.
2165 (POLL_MSG): Likewise.
2166 (POLL_ERR): Likewise.
2167 (POLL_PRI): Likewise.
2168 (POLL_HUP): Likewise.
2169 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2170 Likewise.
2171 (ILL_ILLOPN): Likewise.
2172 (ILL_ILLADR): Likewise.
2173 (ILL_ILLTRP): Likewise.
2174 (ILL_PRVOPC): Likewise.
2175 (ILL_PRVREG): Likewise.
2176 (ILL_COPROC): Likewise.
2177 (ILL_BADSTK): Likewise.
2178 (ILL_BADIADDR): Likewise.
2179 (ILL_BREAK): Likewise.
2180 (FPE_INTDIV): Likewise.
2181 (FPE_INTOVF): Likewise.
2182 (FPE_FLTDIV): Likewise.
2183 (FPE_FLTOVF): Likewise.
2184 (FPE_FLTUND): Likewise.
2185 (FPE_FLTRES): Likewise.
2186 (FPE_FLTINV): Likewise.
2187 (FPE_FLTSUB): Likewise.
2188 (FPE_DECOVF): Likewise.
2189 (FPE_DECDIV): Likewise.
2190 (FPE_DECERR): Likewise.
2191 (FPE_INVASC): Likewise.
2192 (FPE_INVDEC): Likewise.
2193 (SEGV_MAPERR): Likewise.
2194 (SEGV_ACCERR): Likewise.
2195 (SEGV_PSTKOVF): Likewise.
2196 (BUS_ADRALN): Likewise.
2197 (BUS_ADRERR): Likewise.
2198 (BUS_OBJERR): Likewise.
2199 (BUS_MCEERR_AR): Likewise.
2200 (BUS_MCEERR_AO): Likewise.
2201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2202 (TRAP_TRACE): Likewise.
2203 (TRAP_BRANCH): Likewise.
2204 (TRAP_HWBKPT): Likewise.
2205 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2206 __USE_XOPEN2K8].
2207 (CLD_KILLED): Likewise.
2208 (CLD_DUMPED): Likewise.
2209 (CLD_TRAPPED): Likewise.
2210 (CLD_STOPPED): Likewise.
2211 (CLD_CONTINUED): Likewise.
2212 (POLL_IN): Likewise.
2213 (POLL_OUT): Likewise.
2214 (POLL_MSG): Likewise.
2215 (POLL_ERR): Likewise.
2216 (POLL_PRI): Likewise.
2217 (POLL_HUP): Likewise.
2218 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2219 (ILL_ILLOPN): Likewise.
2220 (ILL_ILLADR): Likewise.
2221 (ILL_ILLTRP): Likewise.
2222 (ILL_PRVOPC): Likewise.
2223 (ILL_PRVREG): Likewise.
2224 (ILL_COPROC): Likewise.
2225 (ILL_BADSTK): Likewise.
2226 (FPE_INTDIV): Likewise.
2227 (FPE_INTOVF): Likewise.
2228 (FPE_FLTDIV): Likewise.
2229 (FPE_FLTOVF): Likewise.
2230 (FPE_FLTUND): Likewise.
2231 (FPE_FLTRES): Likewise.
2232 (FPE_FLTINV): Likewise.
2233 (FPE_FLTSUB): Likewise.
2234 (SEGV_MAPERR): Likewise.
2235 (SEGV_ACCERR): Likewise.
2236 (BUS_ADRALN): Likewise.
2237 (BUS_ADRERR): Likewise.
2238 (BUS_OBJERR): Likewise.
2239 (BUS_MCEERR_AR): Likewise.
2240 (BUS_MCEERR_AO): Likewise.
2241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2242 (TRAP_TRACE): Likewise.
2243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2244 __USE_XOPEN2K8].
2245 (CLD_KILLED): Likewise.
2246 (CLD_DUMPED): Likewise.
2247 (CLD_TRAPPED): Likewise.
2248 (CLD_STOPPED): Likewise.
2249 (CLD_CONTINUED): Likewise.
2250 (POLL_IN): Likewise.
2251 (POLL_OUT): Likewise.
2252 (POLL_MSG): Likewise.
2253 (POLL_ERR): Likewise.
2254 (POLL_PRI): Likewise.
2255 (POLL_HUP): Likewise.
2256 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2257 (ILL_ILLOPN): Likewise.
2258 (ILL_ILLADR): Likewise.
2259 (ILL_ILLTRP): Likewise.
2260 (ILL_PRVOPC): Likewise.
2261 (ILL_PRVREG): Likewise.
2262 (ILL_COPROC): Likewise.
2263 (ILL_BADSTK): Likewise.
2264 (FPE_INTDIV): Likewise.
2265 (FPE_INTOVF): Likewise.
2266 (FPE_FLTDIV): Likewise.
2267 (FPE_FLTOVF): Likewise.
2268 (FPE_FLTUND): Likewise.
2269 (FPE_FLTRES): Likewise.
2270 (FPE_FLTINV): Likewise.
2271 (FPE_FLTSUB): Likewise.
2272 (SEGV_MAPERR): Likewise.
2273 (SEGV_ACCERR): Likewise.
2274 (BUS_ADRALN): Likewise.
2275 (BUS_ADRERR): Likewise.
2276 (BUS_OBJERR): Likewise.
2277 (BUS_MCEERR_AR): Likewise.
2278 (BUS_MCEERR_AO): Likewise.
2279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2280 (TRAP_TRACE): Likewise.
2281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2282 __USE_XOPEN2K8].
2283 (CLD_KILLED): Likewise.
2284 (CLD_DUMPED): Likewise.
2285 (CLD_TRAPPED): Likewise.
2286 (CLD_STOPPED): Likewise.
2287 (CLD_CONTINUED): Likewise.
2288 (POLL_IN): Likewise.
2289 (POLL_OUT): Likewise.
2290 (POLL_MSG): Likewise.
2291 (POLL_ERR): Likewise.
2292 (POLL_PRI): Likewise.
2293 (POLL_HUP): Likewise.
2294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2295 (ILL_ILLOPN): Likewise.
2296 (ILL_ILLADR): Likewise.
2297 (ILL_ILLTRP): Likewise.
2298 (ILL_PRVOPC): Likewise.
2299 (ILL_PRVREG): Likewise.
2300 (ILL_COPROC): Likewise.
2301 (ILL_BADSTK): Likewise.
2302 (FPE_INTDIV): Likewise.
2303 (FPE_INTOVF): Likewise.
2304 (FPE_FLTDIV): Likewise.
2305 (FPE_FLTOVF): Likewise.
2306 (FPE_FLTUND): Likewise.
2307 (FPE_FLTRES): Likewise.
2308 (FPE_FLTINV): Likewise.
2309 (FPE_FLTSUB): Likewise.
2310 (SEGV_MAPERR): Likewise.
2311 (SEGV_ACCERR): Likewise.
2312 (BUS_ADRALN): Likewise.
2313 (BUS_ADRERR): Likewise.
2314 (BUS_OBJERR): Likewise.
2315 (BUS_MCEERR_AR): Likewise.
2316 (BUS_MCEERR_AO): Likewise.
2317 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2318 (TRAP_TRACE): Likewise.
2319 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2320 __USE_XOPEN2K8].
2321 (CLD_KILLED): Likewise.
2322 (CLD_DUMPED): Likewise.
2323 (CLD_TRAPPED): Likewise.
2324 (CLD_STOPPED): Likewise.
2325 (CLD_CONTINUED): Likewise.
2326 (POLL_IN): Likewise.
2327 (POLL_OUT): Likewise.
2328 (POLL_MSG): Likewise.
2329 (POLL_ERR): Likewise.
2330 (POLL_PRI): Likewise.
2331 (POLL_HUP): Likewise.
2332 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2333 (ILL_ILLOPN): Likewise.
2334 (ILL_ILLADR): Likewise.
2335 (ILL_ILLTRP): Likewise.
2336 (ILL_PRVOPC): Likewise.
2337 (ILL_PRVREG): Likewise.
2338 (ILL_COPROC): Likewise.
2339 (ILL_BADSTK): Likewise.
2340 (ILL_DBLFLT): Likewise.
2341 (ILL_HARDWALL): Likewise.
2342 (FPE_INTDIV): Likewise.
2343 (FPE_INTOVF): Likewise.
2344 (FPE_FLTDIV): Likewise.
2345 (FPE_FLTOVF): Likewise.
2346 (FPE_FLTUND): Likewise.
2347 (FPE_FLTRES): Likewise.
2348 (FPE_FLTINV): Likewise.
2349 (FPE_FLTSUB): Likewise.
2350 (SEGV_MAPERR): Likewise.
2351 (SEGV_ACCERR): Likewise.
2352 (BUS_ADRALN): Likewise.
2353 (BUS_ADRERR): Likewise.
2354 (BUS_OBJERR): Likewise.
2355 (BUS_MCEERR_AR): Likewise.
2356 (BUS_MCEERR_AO): Likewise.
2357 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2358 (TRAP_TRACE): Likewise.
2359 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2360 __USE_XOPEN2K8].
2361 (CLD_KILLED): Likewise.
2362 (CLD_DUMPED): Likewise.
2363 (CLD_TRAPPED): Likewise.
2364 (CLD_STOPPED): Likewise.
2365 (CLD_CONTINUED): Likewise.
2366 (POLL_IN): Likewise.
2367 (POLL_OUT): Likewise.
2368 (POLL_MSG): Likewise.
2369 (POLL_ERR): Likewise.
2370 (POLL_PRI): Likewise.
2371 (POLL_HUP): Likewise.
2372 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2373 (ILL_ILLOPN): Likewise.
2374 (ILL_ILLADR): Likewise.
2375 (ILL_ILLTRP): Likewise.
2376 (ILL_PRVOPC): Likewise.
2377 (ILL_PRVREG): Likewise.
2378 (ILL_COPROC): Likewise.
2379 (ILL_BADSTK): Likewise.
2380 (FPE_INTDIV): Likewise.
2381 (FPE_INTOVF): Likewise.
2382 (FPE_FLTDIV): Likewise.
2383 (FPE_FLTOVF): Likewise.
2384 (FPE_FLTUND): Likewise.
2385 (FPE_FLTRES): Likewise.
2386 (FPE_FLTINV): Likewise.
2387 (FPE_FLTSUB): Likewise.
2388 (SEGV_MAPERR): Likewise.
2389 (SEGV_ACCERR): Likewise.
2390 (BUS_ADRALN): Likewise.
2391 (BUS_ADRERR): Likewise.
2392 (BUS_OBJERR): Likewise.
2393 (BUS_MCEERR_AR): Likewise.
2394 (BUS_MCEERR_AO): Likewise.
2395 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2396 (TRAP_TRACE): Likewise.
2397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2398 __USE_XOPEN2K8].
2399 (CLD_KILLED): Likewise.
2400 (CLD_DUMPED): Likewise.
2401 (CLD_TRAPPED): Likewise.
2402 (CLD_STOPPED): Likewise.
2403 (CLD_CONTINUED): Likewise.
2404 (POLL_IN): Likewise.
2405 (POLL_OUT): Likewise.
2406 (POLL_MSG): Likewise.
2407 (POLL_ERR): Likewise.
2408 (POLL_PRI): Likewise.
2409 (POLL_HUP): Likewise.
2410 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2411 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2412
bc61d27c
JM
2413 [BZ #16670]
2414 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2415 before #include of <time.h>.
2416 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2417 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2418 (test-xfail-UNIX98/sched.h/conform): Likewise.
2419
302949e2
MS
24202014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2421
2422 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2423 error absence of trapping exception support.
2424 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2425
a00f522a
JM
24262014-03-07 Joseph Myers <joseph@codesourcery.com>
2427
6f99f280
JM
2428 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2429 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2430 * timezone/Makefile (testdata): Move definition above include of
2431 Rules.
2432 (test-zones): New variable.
2433 (tests-special): Add zone files.
2434 (build-testdata): Use $(evaluate-test).
2435
0b20a9e8
JM
2436 * elf/Makefile (tests-special): Rename tests to end with .out.
2437 ($(objpfx)noload-mem): Likewise.
2438 ($(objpfx)tst-leaks1-mem): Likewise.
2439 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2440 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2441 $(objpfx)test-iconvconfig.out.
2442 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2443 set -e inside subshell and redirect output to file.
2444 * iconvdata/Makefile (generated): Rename tests to end with .out.
2445 Correct type.
2446 (tests-special): Rename tests to end with .out.
2447 ($(objpfx)mtrace-tst-loading): Likewise.
2448 * intl/Makefile (generated): Likewise.
2449 (tests-special): Likewise.
2450 ($(objpfx)mtrace-tst-gettext): Likewise.
2451 * misc/Makefile (generated): Likewise.
2452 (tests-special): Likewise.
2453 ($(objpfx)tst-error1-mem): Likewise.
2454 * nptl/Makefile (tests-special): Likewise.
2455 ($(objpfx)tst-stack3-mem): Likewise.
2456 (generated): Likewise.
2457 * posix/Makefile (generated): Likewise.
2458 (tests-special): Likewise.
2459 (xtests-special): Likewise.
2460 ($(objpfx)tst-fnmatch-mem): Likewise.
2461 ($(objpfx)bug-regex2-mem): Likewise.
2462 ($(objpfx)bug-regex14-mem): Likewise.
2463 ($(objpfx)bug-regex21-mem): Likewise.
2464 ($(objpfx)bug-regex31-mem): Likewise.
2465 ($(objpfx)tst-vfork3-mem): Likewise.
2466 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2467 ($(objpfx)tst-pcre-mem): Likewise.
2468 ($(objpfx)tst-boost-mem): Likewise.
2469 ($(objpfx)bug-ga2-mem): Likewise.
2470 ($(objpfx)bug-glob2-mem): Likewise.
2471 * resolv/Makefile (generate): Likewise.
2472 (tests-special): Likewise.
2473 (xtests-special): Likewise.
2474 (generated): Likewise.
2475 ($(objpfx)mtrace-tst-leaks): Likewise.
2476 ($(objpfx)mtrace-tst-leaks2): Likewise.
2477
265d52ab
JM
2478 * scripts/merge-test-results.sh: New file.
2479 * Makefile (tests-special-notdir): New variable.
2480 (tests): Run merge-test-results.sh.
2481 (xtests): Likewise.
2482 * Rules (tests-special-notdir): New variable.
2483 (xtests-special-notdir): Likewise.
2484 (tests): Run merge-test-results.sh
2485 (xtests): Likewise.
2486
54ee292d
JM
2487 * Makeconfig (test-xfail-name): New variable.
2488 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2489 compute variable name for expected failures.
2490 * conform/Makefile (conformtest-headers-data): New variable.
2491 (conformtest-standards): Likewise.
2492 (conformtest-headers-ISO): Likewise.
2493 (conformtest-headers-ISO99): Likewise.
2494 (conformtest-headers-ISO11): Likewise.
2495 (conformtest-headers-POSIX): Likewise.
2496 (conformtest-headers-XPG3): Likewise.
2497 (conformtest-headers-XPG4): Likewise.
2498 (conformtest-headers-UNIX98): Likewise.
2499 (conformtest-headers-XOPEN2K): Likewise.
2500 (conformtest-headers-POSIX2008): Likewise.
2501 (conformtest-headers-XOPEN2K8): Likewise.
2502 (conformtest-header-list-base): Likewise.
2503 (conformtest-header-list-tests): Likewise.
2504 (conformtest-header-base): Likewise.
2505 (conformtest-header-tests): Likewise.
2506 (tests-special): Add $(conformtest-header-list-tests). If
2507 [$(fast-check) && !$(cross-compiling)], add
2508 $(conformtest-header-tests) instead of
2509 $(objpfx)run-conformtest.out.
2510 (generated): Add $(conformtest-header-list-base). If
2511 [$(fast-check) && !$(cross-compiling)], add
2512 $(conformtest-header-base). Remove previous setting.
2513 ($(conformtest-header-list-tests)): New target.
2514 (test-xfail-run-conformtest): Remove variable.
2515 ($(objpfx)run-conformtest.out): Remove target.
2516 (test-xfail-ISO11/complex.h/conform): New variable.
2517 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2518 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2519 (test-xfail-XPG3/varargs.h/conform): Likewise.
2520 (test-xfail-XPG4/varargs.h/conform): Likewise.
2521 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2522 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2523 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2524 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2525 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2526 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2527 (test-xfail-XPG3/ftw.h/conform): Likewise.
2528 (test-xfail-XPG3/grp.h/conform): Likewise.
2529 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2530 (test-xfail-XPG3/limits.h/conform): Likewise.
2531 (test-xfail-XPG3/pwd.h/conform): Likewise.
2532 (test-xfail-XPG3/search.h/conform): Likewise.
2533 (test-xfail-XPG3/signal.h/conform): Likewise.
2534 (test-xfail-XPG3/stdio.h/conform): Likewise.
2535 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2536 (test-xfail-XPG3/string.h/conform): Likewise.
2537 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2538 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2539 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2540 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2541 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2542 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2543 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2544 (test-xfail-XPG3/termios.h/conform): Likewise.
2545 (test-xfail-XPG3/time.h/conform): Likewise.
2546 (test-xfail-XPG3/unistd.h/conform): Likewise.
2547 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2548 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2549 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2550 (test-xfail-XPG4/netdb.h/conform): Likewise.
2551 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2552 (test-xfail-XPG4/signal.h/conform): Likewise.
2553 (test-xfail-XPG4/stdio.h/conform): Likewise.
2554 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2555 (test-xfail-XPG4/stropts.h/conform): Likewise.
2556 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2557 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2558 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2559 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2560 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2561 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2562 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2563 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2564 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2565 (test-xfail-XPG4/termios.h/conform): Likewise.
2566 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2567 (test-xfail-XPG4/unistd.h/conform): Likewise.
2568 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2569 (test-xfail-POSIX/sched.h/conform): Likewise.
2570 (test-xfail-POSIX/signal.h/conform): Likewise.
2571 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2572 (test-xfail-POSIX/tar.h/conform): Likewise.
2573 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2574 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2575 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2576 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2577 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2578 (test-xfail-UNIX98/sched.h/conform): Likewise.
2579 (test-xfail-UNIX98/signal.h/conform): Likewise.
2580 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2581 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2582 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2583 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2584 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2585 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2586 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2587 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2588 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2589 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2590 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2591 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2592 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2593 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2594 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2595 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2596 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2597 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2598 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2599 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2600 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2601 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2602 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2603 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2604 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2605 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2606 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2607 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2608 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2609 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2610 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2611 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2612 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2613 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2614 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2615 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2616 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2617 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2618 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2619 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2620 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2621 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2622 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2623 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2624 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2625 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2626 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2627 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2628 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2629 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2630 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2631 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2632 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2633 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2634 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2635 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2636 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2637 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2638 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2639 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2640 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2641 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2642 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2643 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2644 (conformtest-cc-flags): Likewise.
2645 ($(conformtest-header-tests): New target.
2646 * conform/check-header-lists.sh: New file.
2647 * conform/run-conformtest.sh: Remove.
2648
a00f522a
JM
2649 * conform/conformtest.pl: Allow ' and \ in values given for
2650 constants.
2651 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2652 inclusion.
2653 [POSIX] (sys/types.h): Likewise.
2654 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2655 inclusion.
2656 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2657 inclusion.
2658 * conform/data/signal.h-data (SIGIO): Remove expectation.
2659 [XPG3] (SIGBUS): Do not expect.
2660 [POSIX || XPG3] (SIGPOLL): Likewise.
2661 [POSIX || XPG3] (SIGPROF): Likewise.
2662 [POSIX || XPG3] (SIGSYS): Likewise.
2663 [XPG3] (SIGTRAP): Likewise.
2664 [POSIX || XPG3] (SIGURG): Likewise.
2665 [POSIX || XPG3] (SIGVTALRM): Likewise.
2666 [POSIX || XPG3] (SIGXCPU): Likewise.
2667 [POSIX || XPG3] (SIGXFSZ): Likewise.
2668 [POSIX] (SA_SIGINFO): Expect.
2669 [XPG3] (siginfo_t): Do not expect type or contents.
2670 [POSIX] (si_pid): Do not expect element.
2671 [POSIX] (si_uid): Likewise.
2672 [POSIX] (si_addr): Likewise.
2673 [POSIX] (si_status): Likewise.
2674 [POSIX] (si_band): Likewise.
2675 [XPG4] (si_value): Likewise.
2676 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2677 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2678 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2679 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2680 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2681 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2682 [POSIX || XPG3] (ILL_COPROC): Likewise.
2683 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2684 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2685 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2686 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2687 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2688 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2689 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2690 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2691 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2692 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2693 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2694 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2695 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2696 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2697 [POSIX || XPG3] (CLD_EXITED): Likewise.
2698 [POSIX || XPG3] (CLD_KILLED): Likewise.
2699 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2700 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2701 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2702 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2703 [POSIX || XPG3] (POLL_IN): Likewise.
2704 [POSIX || XPG3] (POLL_OUT): Likewise.
2705 [POSIX || XPG3] (POLL_MSG): Likewise.
2706 [POSIX || XPG3] (POLL_ERR): Likewise.
2707 [POSIX || XPG3] (POLL_PRI): Likewise.
2708 [POSIX || XPG3] (POLL_HUP): Likewise.
2709 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2710 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2711 (SIG*): Do not allow.
2712 [XPG3] (si_*): Likewise.
2713 [XPG3] (SI_*): Likewise.
2714 [XPG3 || XPG4] (sigev_*): Likewise.
2715 [XPG3 || XPG4] (SIGEV_*): Likewise.
2716 [XPG3 || XPG4] (sival_*): Likewise.
2717 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2718 [POSIX || XPG3] (BUS_*): Likewise.
2719 [POSIX || XPG3] (CLD_*): Likewise.
2720 [POSIX || XPG3] (FPE_*): Likewise.
2721 [POSIX || XPG3] (ILL_*): Likewise.
2722 [POSIX || XPG3] (POLL_*): Likewise.
2723 [POSIX || XPG3] (SEGV_*): Likewise.
2724 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2725 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2726 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2727 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2728 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2729 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2730 Specify type and value.
2731 (TVERSLEN): Likewise.
2732 (REGTYPE): Likewise.
2733 (AREGTYPE): Likewise.
2734 (LNKTYPE): Likewise.
2735 (SYMTYPE): Likewise.
2736 (CHRTYPE): Likewise.
2737 (BLKTYPE): Likewise.
2738 (DIRTYPE): Likewise.
2739 (FIFOTYPE): Likewise.
2740 (CONTTYPE): Likewise.
2741 (TSUID): Likewise.
2742 (TSGID): Likewise.
2743 (TSVTX): Likewise.
2744 (TUREAD): Likewise.
2745 (TUWRITE): Likewise.
2746 (TUEXEC): Likewise.
2747 (TGREAD): Likewise.
2748 (TGWRITE): Likewise.
2749 (TGEXEC): Likewise.
2750 (TOREAD): Likewise.
2751 (TOWRITE): Likewise.
2752 (TOEXEC): Likewise.
2753 [POSIX] (TSVTX): Expect constant.
2754
aa97dee1
JM
27552014-03-06 Joseph Myers <joseph@codesourcery.com>
2756
f214606a
JM
2757 * Makefile (tests): Change dependencies to ....
2758 (tests-special): ... additions to this variable.
2759 (tests): Depend on $(tests-special).
2760 * Makerules (check-abi-list): New variable.
2761 (check-abi): Depend on $(check-abi-list).
2762 [$(subdir) = elf] (tests-special): Add
2763 $(objpfx)check-abi-libc.out.
2764 [$(build-shared) = yes && subdir] (tests-special): Add
2765 $(check-abi-list).
2766 [$(build-shared) = yes && subdir] (tests): Do not depend on
2767 check-abi.
2768 * Rules (tests): Depend on $(tests-special).
2769 (xtests): Depend on $(xtests-special).
2770 * catgets/Makefile (tests): Change dependencies to ....
2771 (tests-special): ... additions to this variable.
2772 * conform/Makefile (tests): Change dependencies to ....
2773 (tests-special): ... additions to this variable.
2774 * elf/Makefile (tests): Change dependencies to ....
2775 (tests-special): ... additions to this variable.
2776 * grp/Makefile (tests): Change dependencies to ....
2777 (tests-special): ... additions to this variable.
2778 * iconv/Makefile (xtests): Change dependencies to ....
2779 (xtests-special): ... additions to this variable.
2780 * iconvdata/Makefile (tests): Change dependencies to ....
2781 (tests-special): ... additions to this variable.
2782 * intl/Makefile (tests): Change dependencies to ....
2783 (tests-special): ... additions to this variable. Also add
2784 $(objpfx)tst-gettext.out.
2785 * io/Makefile (tests): Change dependencies to ....
2786 (tests-special): ... additions to this variable.
2787 * libio/Makefile (tests): Change dependencies to ....
2788 (tests-special): ... additions to this variable.
2789 * malloc/Makefile (tests): Change dependencies to ....
2790 (tests-special): ... additions to this variable.
2791 * misc/Makefile (tests): Change dependencies to ....
2792 (tests-special): ... additions to this variable.
2793 * nptl/Makefile (tests): Change dependencies to ....
2794 (tests-special): ... additions to this variable.
2795 * nptl_db/Makefile (tests): Change dependencies to ....
2796 (tests-special): ... additions to this variable.
2797 * posix/Makefile (tests): Change dependencies to ....
2798 (tests-special): ... additions to this variable.
2799 (xtests): Change dependencies to ....
2800 (xtests-special): ... additions to this variable.
2801 * resolv/Makefile (tests): Change dependencies to ....
2802 (tests-special): ... additions to this variable.
2803 (xtests): Change dependencies to ....
2804 (xtests-special): ... additions to this variable.
2805 * stdio-common/Makefile (tests): Change dependencies to ....
2806 (tests-special): ... additions to this variable.
2807 (do-tst-unbputc): Remove target.
2808 (do-tst-printf): Likewise.
2809 * stdlib/Makefile (tests): Change dependencies to ....
2810 (tests-special): ... additions to this variable.
2811 * string/Makefile (tests): Change dependencies to ....
2812 (tests-special): ... additions to this variable.
2813 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2814 (tests-special): ... additions to this variable.
2815
81700b53
JM
2816 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2817 whole file.
2818 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2819 whole file.
2820 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2821 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2822
2ea18461
JM
2823 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2824 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2825 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2826 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2827 * conform/data/libgen.h-data [XPG3]: Likewise.
2828 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2829 * conform/data/ndbm.h-data [XPG3]: Likewise.
2830 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2831 * conform/data/netdb.h-data [XPG3]: Likewise.
2832 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2833 * conform/data/poll.h-data [XPG3]: Likewise.
2834 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2835 * conform/data/strings.h-data [XPG3]: Likewise.
2836 * conform/data/stropts.h-data [XPG3]: Likewise.
2837 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2838 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2839 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2840 Likewise.
2841 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2842 * conform/data/sys/time.h-data [XPG3]: Likewise.
2843 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2844 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2845 * conform/data/sys/un.h-data [XPG3]: Likewise.
2846 * conform/data/syslog.h-data [XPG3]: Likewise.
2847 * conform/data/ucontext.h-data [XPG3]: Likewise.
2848 * conform/data/utmpx.h-data [XPG3]: Likewise.
2849 * conform/data/varargs.h-data [UNIX98]: Enable file.
2850
355bc986
JM
2851 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2852
215db402
JM
2853 * math/libm-test.inc (struct test_f_f_data): Move expected results
2854 into structure for each rounding mode.
2855 (struct test_ff_f_data): Likewise.
2856 (struct test_ff_f_data_nexttoward): Likewise.
2857 (struct test_fi_f_data): Likewise.
2858 (struct test_fl_f_data): Likewise.
2859 (struct test_if_f_data): Likewise.
2860 (struct test_fff_f_data): Likewise.
2861 (struct test_c_f_data): Likewise.
2862 (struct test_f_f1_data): Likewise.
2863 (struct test_fF_f1_data): Likewise.
2864 (struct test_ffI_f1_data): Likewise.
2865 (struct test_c_c_data): Likewise.
2866 (struct test_cc_c_data): Likewise.
2867 (struct test_f_i_data): Likewise.
2868 (struct test_ff_i_data): Likewise.
2869 (struct test_f_l_data): Likewise.
2870 (struct test_f_L_data): Likewise.
2871 (struct test_fFF_11_data): Likewise.
2872 (RM_): New macro.
2873 (RM_FE_DOWNWARD): Likewise.
2874 (RM_FE_TONEAREST): Likewise.
2875 (RM_FE_TOWARDZERO): Likewise.
2876 (RM_FE_UPWARD): Likewise.
2877 (RUN_TEST_LOOP_f_f): Update references to expected results.
2878 (RUN_TEST_LOOP_2_f): Likewise.
2879 (RUN_TEST_LOOP_fff_f): Likewise.
2880 (RUN_TEST_LOOP_c_f): Likewise.
2881 (RUN_TEST_LOOP_f_f1): Likewise.
2882 (RUN_TEST_LOOP_fF_f1): Likewise.
2883 (RUN_TEST_LOOP_fI_f1): Likewise.
2884 (RUN_TEST_LOOP_ffI_f1): Likewise.
2885 (RUN_TEST_LOOP_c_c): Likewise.
2886 (RUN_TEST_LOOP_cc_c): Likewise.
2887 (RUN_TEST_LOOP_f_i): Likewise.
2888 (RUN_TEST_LOOP_f_i_tg): Likewise.
2889 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2890 (RUN_TEST_LOOP_f_b): Likewise.
2891 (RUN_TEST_LOOP_f_b_tg): Likewise.
2892 (RUN_TEST_LOOP_f_l): Likewise.
2893 (RUN_TEST_LOOP_f_L): Likewise.
2894 (RUN_TEST_LOOP_fFF_11): Likewise.
2895 * math/gen-libm-test.pl (parse_args): Output four copies of
2896 expected results for each test.
2897
67737b8f
JM
2898 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2899 (__ASSUME_UTIMES): Remove.
2900 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2901 (__ASSUME_UTIMES): Likewise.
2902
aa97dee1
JM
2903 * math/gen-auto-libm-tests.c: Update comment on output format.
2904 (output_for_one_input_case): Generate before-rounding and
2905 after-rounding information as conditions on output flags not
2906 floating-point format.
2907 * math/auto-libm-test-out: Regenerated.
2908 * math/gen-libm-test.pl (cond_value): New function.
2909 (or_cond_value): Use cond_value.
2910 (generate_testfile): Handle conditional exceptions.
2911
e6b6a857
JM
29122014-03-05 Joseph Myers <joseph@codesourcery.com>
2913
2f0a0f44
JM
2914 * math/libm-test.inc (max_valid_error): New variable.
2915 (init_max_error): Take new argument specifying whether function
2916 results are exactly determined. Set max_valid_error and bound
2917 other variables for errors based on this argument.
2918 (set_max_error): Do not record results above max_valid_error.
2919 (check_float_internal): Only accept errors of up to 0.5ulps if
2920 also at most max_valid_error.
2921 (START): Take new argument EXACT and pass it to init_max_error.
2922 (acos_test): Update call to START.
2923 (acos_test_tonearest): Likewise.
2924 (acos_test_towardzero): Likewise.
2925 (acos_test_downward): Likewise.
2926 (acos_test_upward): Likewise.
2927 (acosh_test): Likewise.
2928 (asin_test): Likewise.
2929 (asin_test_tonearest): Likewise.
2930 (asin_test_towardzero): Likewise.
2931 (asin_test_downward): Likewise.
2932 (asin_test_upward): Likewise.
2933 (asinh_test): Likewise.
2934 (atan_test): Likewise.
2935 (atanh_test): Likewise.
2936 (atan2_test): Likewise.
2937 (cabs_test): Likewise.
2938 (cacos_test): Likewise.
2939 (cacosh_test): Likewise.
2940 (carg_test): Likewise.
2941 (casin_test): Likewise.
2942 (casinh_test): Likewise.
2943 (catan_test): Likewise.
2944 (catanh_test): Likewise.
2945 (cbrt_test): Likewise.
2946 (ccos_test): Likewise.
2947 (ccosh_test): Likewise.
2948 (ceil_test): Likewise.
2949 (cexp_test): Likewise.
2950 (cimag_test): Likewise.
2951 (clog_test): Likewise.
2952 (clog10_test): Likewise.
2953 (conj_test): Likewise.
2954 (copysign_test): Likewise.
2955 (cos_test): Likewise.
2956 (cos_test_tonearest): Likewise.
2957 (cos_test_towardzero): Likewise.
2958 (cos_test_downward): Likewise.
2959 (cos_test_upward): Likewise.
2960 (cosh_test): Likewise.
2961 (cosh_test_tonearest): Likewise.
2962 (cosh_test_towardzero): Likewise.
2963 (cosh_test_downward): Likewise.
2964 (cosh_test_upward): Likewise.
2965 (cpow_test): Likewise.
2966 (cproj_test): Likewise.
2967 (creal_test): Likewise.
2968 (csin_test): Likewise.
2969 (csinh_test): Likewise.
2970 (csqrt_test): Likewise.
2971 (ctan_test): Likewise.
2972 (ctan_test_tonearest): Likewise.
2973 (ctan_test_towardzero): Likewise.
2974 (ctan_test_downward): Likewise.
2975 (ctan_test_upward): Likewise.
2976 (ctanh_test): Likewise.
2977 (ctanh_test_tonearest): Likewise.
2978 (ctanh_test_towardzero): Likewise.
2979 (ctanh_test_downward): Likewise.
2980 (ctanh_test_upward): Likewise.
2981 (erf_test): Likewise.
2982 (erfc_test): Likewise.
2983 (exp_test): Likewise.
2984 (exp_test_tonearest): Likewise.
2985 (exp_test_towardzero): Likewise.
2986 (exp_test_downward): Likewise.
2987 (exp_test_upward): Likewise.
2988 (exp10_test): Likewise.
2989 (exp10_test_tonearest): Likewise.
2990 (exp10_test_towardzero): Likewise.
2991 (exp10_test_downward): Likewise.
2992 (exp10_test_upward): Likewise.
2993 (pow10_test): Likewise.
2994 (exp2_test): Likewise.
2995 (expm1_test): Likewise.
2996 (expm1_test_tonearest): Likewise.
2997 (expm1_test_towardzero): Likewise.
2998 (expm1_test_downward): Likewise.
2999 (expm1_test_upward): Likewise.
3000 (fabs_test): Likewise.
3001 (fdim_test): Likewise.
3002 (floor_test): Likewise.
3003 (fma_test): Likewise.
3004 (fma_test_towardzero): Likewise.
3005 (fma_test_downward): Likewise.
3006 (fma_test_upward): Likewise.
3007 (fmax_test): Likewise.
3008 (fmin_test): Likewise.
3009 (fmod_test): Likewise.
3010 (fpclassify_test): Likewise.
3011 (frexp_test): Likewise.
3012 (hypot_test): Likewise.
3013 (ilogb_test): Likewise.
3014 (isfinite_test): Likewise.
3015 (finite_test): Likewise.
3016 (isgreater_test): Likewise.
3017 (isgreaterequal_test): Likewise.
3018 (isinf_test): Likewise.
3019 (isless_test): Likewise.
3020 (islessequal_test): Likewise.
3021 (islessgreater_test): Likewise.
3022 (isnan_test): Likewise.
3023 (isnormal_test): Likewise.
3024 (issignaling_test): Likewise.
3025 (isunordered_test): Likewise.
3026 (j0_test): Likewise.
3027 (j1_test): Likewise.
3028 (jn_test): Likewise.
3029 (ldexp_test): Likewise.
3030 (lgamma_test): Likewise.
3031 (gamma_test): Likewise.
3032 (lrint_test): Likewise.
3033 (lrint_test_tonearest): Likewise.
3034 (lrint_test_towardzero): Likewise.
3035 (lrint_test_downward): Likewise.
3036 (lrint_test_upward): Likewise.
3037 (llrint_test): Likewise.
3038 (llrint_test_tonearest): Likewise.
3039 (llrint_test_towardzero): Likewise.
3040 (llrint_test_downward): Likewise.
3041 (llrint_test_upward): Likewise.
3042 (log_test): Likewise.
3043 (log10_test): Likewise.
3044 (log1p_test): Likewise.
3045 (log2_test): Likewise.
3046 (logb_test): Likewise.
3047 (logb_test_downward): Likewise.
3048 (lround_test): Likewise.
3049 (llround_test): Likewise.
3050 (modf_test): Likewise.
3051 (nearbyint_test): Likewise.
3052 (nextafter_test): Likewise.
3053 (nexttoward_test): Likewise.
3054 (pow_test): Likewise.
3055 (pow_test_tonearest): Likewise.
3056 (pow_test_towardzero): Likewise.
3057 (pow_test_downward): Likewise.
3058 (pow_test_upward): Likewise.
3059 (remainder_test): Likewise.
3060 (drem_test): Likewise.
3061 (remainder_test_tonearest): Likewise.
3062 (drem_test_tonearest): Likewise.
3063 (remainder_test_towardzero): Likewise.
3064 (drem_test_towardzero): Likewise.
3065 (remainder_test_downward): Likewise.
3066 (drem_test_downward): Likewise.
3067 (remainder_test_upward): Likewise.
3068 (drem_test_upward): Likewise.
3069 (remquo_test): Likewise.
3070 (rint_test): Likewise.
3071 (rint_test_tonearest): Likewise.
3072 (rint_test_towardzero): Likewise.
3073 (rint_test_downward): Likewise.
3074 (rint_test_upward): Likewise.
3075 (round_test): Likewise.
3076 (scalb_test): Likewise.
3077 (scalbn_test): Likewise.
3078 (scalbln_test): Likewise.
3079 (signbit_test): Likewise.
3080 (sin_test): Likewise.
3081 (sin_test_tonearest): Likewise.
3082 (sin_test_towardzero): Likewise.
3083 (sin_test_downward): Likewise.
3084 (sin_test_upward): Likewise.
3085 (sincos_test): Likewise.
3086 (sinh_test): Likewise.
3087 (sinh_test_tonearest): Likewise.
3088 (sinh_test_towardzero): Likewise.
3089 (sinh_test_downward): Likewise.
3090 (sinh_test_upward): Likewise.
3091 (sqrt_test): Likewise.
3092 (sqrt_test_tonearest): Likewise.
3093 (sqrt_test_towardzero): Likewise.
3094 (sqrt_test_downward): Likewise.
3095 (sqrt_test_upward): Likewise.
3096 (tan_test): Likewise.
3097 (tan_test_tonearest): Likewise.
3098 (tan_test_towardzero): Likewise.
3099 (tan_test_downward): Likewise.
3100 (tan_test_upward): Likewise.
3101 (tanh_test): Likewise.
3102 (tgamma_test): Likewise.
3103 (trunc_test): Likewise.
3104 (y0_test): Likewise.
3105 (y1_test): Likewise.
3106 (yn_test): Likewise.
3107 (significand_test): Likewise.
3108
e6b6a857
JM
3109 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3110 individual tests in comment.
3111 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3112 (prev_max_error): New variable.
3113 (prev_real_max_error): Likewise.
3114 (prev_imag_max_error): Likewise.
3115 (compare_ulp_data): Don't refer to test names in comment.
3116 (find_test_ulps): Remove function.
3117 (find_function_ulps): Likewise.
3118 (find_complex_function_ulps): Likewise.
3119 (init_max_error): Take function name as argument. Look up ulps
3120 for that function.
3121 (print_ulps): Remove function.
3122 (print_max_error): Use prev_max_error instead of calling
3123 find_function_ulps.
3124 (print_complex_max_error): Use prev_real_max_error and
3125 prev_imag_max_error instead of calling find_complex_function_ulps.
3126 (check_float_internal): Take max_ulp parameter instead of calling
3127 find_test_ulps. Don't call print_ulps.
3128 (check_float): Update call to check_float_internal.
3129 (check_complex): Update calls to check_float_internal.
3130 (START): Pass argument to init_max_error.
3131 * math/gen-libm-test.pl (%results): Don't include "kind"
3132 information.
3133 (parse_ulps): Don't handle ulps of individual tests.
3134 (print_ulps_file): Likewise.
3135 (output_ulps): Likewise.
3136 * math/README.libm-test: Update.
3137 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3138 individual tests.
3139 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3140 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3141 * sysdeps/arm/libm-test-ulps: Likewise.
3142 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3143 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3144 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3145 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3146 * sysdeps/microblaze/libm-test-ulps: Likewise.
3147 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3148 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3150 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3152 * sysdeps/sh/libm-test-ulps: Likewise.
3153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3154 * sysdeps/tile/libm-test-ulps: Likewise.
3155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3156
45adef3c
JM
31572014-03-04 Joseph Myers <joseph@codesourcery.com>
3158
3159 * math/libm-test.inc (print_complex_max_error): Check separately
3160 whether real and imaginary errors are within allowed range and
3161 pass 0 to print_complex_function_ulps instead of value within
3162 allowed range.
3163
000232b9
SP
31642014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3165
d4b17258
SP
3166 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3167 formatting.
3168 (get_handles_fopen): Likewise.
3169 (do_write_test): Likewise.
3170
091eff71
SP
3171 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3172
fa3cd248
SP
3173 * libio/fileops.c (do_ftell): Use cached offset when
3174 available.
3175 * libio/iofwide.c (do_ftell_wide): Likewise.
3176 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3177 _IO_file_attach.
3178 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3179
000232b9
SP
3180 [BZ #16532]
3181 * libio/libioP.h (get_file_offset): New function.
3182 * libio/fileops.c (get_file_offset): Likewise.
3183 (do_ftell): Likewise.
3184 (_IO_new_file_seekoff): Split out ftell logic.
3185 * libio/wfileops.c (do_ftell_wide): Likewise.
3186 (_IO_wfile_seekoff): Split out ftell logic.
3187 * libio/tst-ftell-active-handler.c: New test case.
3188 * libio/Makefile (tests): Add it.
3189
116f4d1a
RM
31902014-03-03 Roland McGrath <roland@hack.frob.com>
3191
3192 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3193 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3194
532a6035
SP
31952014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3196
3197 [BZ #16639]
3198 * nscd/connections.c (nscd_init): Call do_exit.
3199 (start_threads): Call do_exit and notify_parent.
3200 (begin_drop_privileges): Call do_exit.
3201 (finish_drop_privileges): Likewise.
3202 * nscd/selinux.c (preserve_capabilities): Likewise.
3203 (install_real_capabilities): Likewise.
3204 (nscd_selinux_enabled): Likewise.
3205 (avc_create_thread): Likewise.
3206 (avc_alloc_lock): Likewise.
3207 (nscd_avc_init): Likewise.
3208 * nscd/nscd.c (parent_fd): New static variable.
3209 (main): Create a pipe between parent and child processes.
3210 Skip closing parent_fd.
3211 (monitor_child): New function.
3212 (do_exit): Likewise.
3213 (notify_parent): Likewise.
3214 * nscd/nscd.h (notify_parent): Likewise.
3215 (do_exit): Likewise.
3216
d6285c9f
CD
32172014-03-03 Carlos O'Donell <carlos@redhat.com>
3218
3219 * malloc/malloc.c (__libc_calloc): Revert last change.
3220
2b85d2a0
AZ
32212014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222
3223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3224
c7debbdf
RS
32252014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3226
3227 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3229 implementation.
3230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3231 (__libc_ifunc_impl_list): Likewise.
3232 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3233 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3234 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3235 * string/strrchr.c: Define STRRCHR.
3236
235eed86
OB
32372014-02-28 Ondřej Bílka <neleai@seznam.cz>
3238
3239 * benchtest/bench-strtok.c (simple_strtok): Delete.
3240 (strtok_string): Use as benchmark.
3241 * string/strtok (STRTOK): New macro.
3242
8e25d1e7
CD
32432014-02-28 Carlos O'Donell <carlos@redhat.com>
3244
ef563f92
CD
3245 * manual/threads.texi: Add header and standard comments to all
3246 functions.
3247
8e25d1e7
CD
3248 * elf/dl-lookup.c (check_match): New function.
3249 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3250 (do_lookup_x): Remove nested function check_match. Use non-nested
3251 function check_match.
3252
ff71cc37
RM
32532014-02-28 Roland McGrath <roland@hack.frob.com>
3254
f08e9a26
RM
3255 * csu/Makefile (generated, before-compile): Use += rather than =.
3256 * catgets/Makefile (generated, generated-dirs): Likewise.
3257 * debug/Makefile (generated): Likewise.
3258 * dlfcn/Makefile (generated): Likewise.
3259 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3260 * iconvdata/Makefile (before-compile, generated): Likewise.
3261 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3262 * libio/Makefile (generated): Likewise.
3263 * malloc/Makefile (generated): Likewise.
3264 * manual/Makefile (generated, generated-dirs): Likewise.
3265 * misc/Makefile (generated): Likewise.
3266 * posix/Makefile (generated): Likewise.
3267 * resolv/Makefile (generated): Likewise.
3268 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3269 * timezone/Makefile (generated, generated-dirs): Likewise.
3270
ff71cc37
RM
3271 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3272
fe13a20c
AZ
32732014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3274
57f41c40
AS
3275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3276 power8 implementation.
3277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3278 file: POWER8 llround ifunc implementation.
3279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3280 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3281 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3282 POWER8 llround implementation.
3283
57f41c40
AS
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3285 power8 implementation.
3286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3287 file: POWER8 llrint ifunc implementation.
3288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3289 Add POWER8 implementation.
1ad8950a
AZ
3290 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3291 POWER8 llrint implementation.
3292
57f41c40
AS
3293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3294 power8 implementation.
3295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3296 file: POWER8 finite ifunc implementation.
3297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3298 Add POWER8 implementation.
cac626d6
AZ
3299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3300 Likewise.
3301 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3302 POWER8 finite implementation.
3303 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3304
57f41c40
AS
3305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3306 power8 implementation.
3307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3308 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3310 POWER8 implementation.
3311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3312 Likewise.
57f41c40
AS
3313 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3314 isinf implementation.
4393fc11
AZ
3315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3316
57f41c40
AS
3317 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3318 (INIT_ARCH): Add hwcap2 initialization.
3319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3320 power8 implementation.
3321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3322 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3324 POWER8 implementation.
3325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3326 Likewise.
57f41c40
AS
3327 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3328 isnan implementation.
487972ae
AZ
3329 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3330
7d92b787
JY
33312014-02-27 Joey Ye <joey.ye@arm.com>
3332
3333 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3334 (_FP_NANFRAC_Q): Set to zero.
3335
1cadc858
SP
33362014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3337
3338 [BZ #16623]
3339 * math/auto-libm-test-in: New test inputs.
3340 * math/auto-libm-test-out: Regenerate.
3341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3342 and DA.
3343 (__cos): Likewise.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3345
f8c17e79
JM
33462014-02-27 Joseph Myers <joseph@codesourcery.com>
3347
3348 * scripts/evaluate-test.sh: Take new argument indicating whether
3349 failure is expected.
3350 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3351 indicating whether failure is expected.
3352 * conform/Makefile (test-xfail-run-conformtest): New variable.
3353 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3354 level.
3355 * posix/Makefile (test-xfail-annexc): New variable.
3356 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3357
a5f891ac
JM
33582014-02-26 Joseph Myers <joseph@codesourcery.com>
3359
3360 * argp/Makefile: Include Makeconfig immediately after defining
3361 subdir.
3362 * assert/Makefile: Likewise.
3363 * benchtests/Makefile: Likewise.
3364 * catgets/Makefile: Likewise.
3365 * conform/Makefile: Likewise.
3366 * crypt/Makefile: Likewise.
3367 * csu/Makefile: Likewise.
3368 (all): Remove target.
3369 * ctype/Makefile: Include Makeconfig immediately after defining
3370 subdir.
3371 * debug/Makefile: Likewise.
3372 * dirent/Makefile: Likewise.
3373 * dlfcn/Makefile: Likewise.
3374 * gmon/Makefile: Likewise.
3375 * gnulib/Makefile: Likewise.
3376 * grp/Makefile: Likewise.
3377 * gshadow/Makefile: Likewise.
3378 * hesiod/Makefile: Likewise.
3379 * hurd/Makefile: Likewise.
3380 (all): Remove target.
3381 * iconvdata/Makefile: Include Makeconfig immediately after
3382 defining subdir.
3383 * inet/Makefile: Likewise.
3384 * intl/Makefile: Likewise.
3385 * io/Makefile: Likewise.
3386 * libio/Makefile: Likewise.
3387 (all): Remove target.
3388 * locale/Makefile: Include Makeconfig immediately after defining
3389 subdir.
3390 * login/Makefile: Likewise.
3391 * mach/Makefile: Likewise.
3392 (all): Remove target.
3393 * malloc/Makefile: Include Makeconfig immediately after defining
3394 subdir.
3395 (all): Remove target.
3396 * manual/Makefile: Include Makeconfig immediately after defining
3397 subdir.
3398 * math/Makefile: Likewise.
3399 * misc/Makefile: Likewise.
3400 * nis/Makefile: Likewise.
3401 * nss/Makefile: Likewise.
3402 * po/Makefile: Likewise.
3403 (all): Remove target.
3404 * posix/Makefile: Include Makeconfig immediately after defining
3405 subdir.
3406 * pwd/Makefile: Likewise.
3407 * resolv/Makefile: Likewise.
3408 * resource/Makefile: Likewise.
3409 * rt/Makefile: Likewise.
3410 * setjmp/Makefile: Likewise.
3411 * shadow/Makefile: Likewise.
3412 * signal/Makefile: Likewise.
3413 * socket/Makefile: Likewise.
3414 * soft-fp/Makefile: Likewise.
3415 * stdio-common/Makefile: Likewise.
3416 * stdlib/Makefile: Likewise.
3417 * streams/Makefile: Likewise.
3418 * string/Makefile: Likewise.
3419 * sunrpc/Makefile: Likewise.
3420 (all): Remove target.
3421 * sysvipc/Makefile: Include Makeconfig immediately after defining
3422 subdir.
3423 * termios/Makefile: Likewise.
3424 * time/Makefile: Likewise.
3425 * timezone/Makefile: Likewise.
3426 (all): Remove target.
3427 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3428 subdir.
3429 * wctype/Makefile: Likewise.
3430
5b456e9d
SE
34312014-02-26 Steve Ellcey <sellcey@mips.com>
3432
3433 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3434 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3435 (libc_feholdexcept_setround_mips): Ditto.
3436 (libc_feholdsetround): New.
3437 (libc_feholdsetroundf): New.
3438 (libc_feholdsetroundl): New.
3439 (libc_feupdateenv_test_mips): New.
3440 (libc_feupdateenv_test): New.
3441 (libc_feupdateenv_testf): New.
3442 (libc_feupdateenv_testl): New.
3443 (libc_feresetround): New.
3444 (libc_feresetroundf): New.
3445 (libc_feresetroundl): New.
3446 (libc_fetestexcept_mips): New.
3447 (libc_fetestexcept): New.
3448 (libc_fetestexceptf): New.
3449 (libc_fetestexceptl): New.
3450 (HAVE_RM_CTX): New.
3451 (libc_feholdexcept_setround_mips_ctx): New.
3452 (libc_feholdexcept_setround_ctx): New.
3453 (libc_feholdexcept_setroundf_ctx): New.
3454 (libc_feholdexcept_setroundl_ctx): New.
3455 (libc_fesetenv_mips_ctx): New.
3456 (libc_fesetenv_ctx): New.
3457 (libc_fesetenv_ctxf): New.
3458 (libc_fesetenv_ctxl): New.
3459 (libc_feupdateenv_mips_ctx): New.
3460 (libc_feupdateenv_ctx): New.
3461 (libc_feupdateenvf_ctx): New.
3462 (libc_feupdateenvl_ctx): New.
3463 (libc_feholdsetround_mips_ctx): New.
3464 (libc_feholdsetround_ctx): New.
3465 (libc_feholdsetroundf_ctx): New.
3466 (libc_feholdsetroundl_ctx): New.
3467 (libc_feresetround_mips_ctx): New.
3468 (libc_feresetround_ctx): New.
3469 (libc_feresetroundf_ctx): New.
3470 (libc_feresetroundl_ctx): New.
3471
085d0e35
CD
34722014-02-26 Carlos O'Donell <carlos@redhat.com>
3473
f067bf1f
CD
3474 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3475
085d0e35
CD
3476 * manual/ipc.texi: New file.
3477 * manual/Makefile (chapters): Add ipc.
3478 * manual/job.texi: Add "Inter-Process Communication" to next.
3479 * manual/process.texi: Add "Inter-Process Communication" to prev.
3480
86e58c08
AZ
34812014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3482
3483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3484
4248f0da
OB
34852014-02-26 Ondřej Bílka <neleai@seznam.cz>
3486
3487 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3488
cf822e3c
OB
3489 * manual/arith.texi: Fix spaces after sentences.
3490 * manual/charset.texi: Likewise.
3491 * manual/errno.texi: Likewise.
3492 * manual/install.texi: Likewise.
3493 * manual/llio.texi: Likewise.
3494 * manual/locale.texi: Likewise.
3495 * manual/maint.texi: Likewise.
3496 * manual/math.texi: Likewise.
3497 * manual/memory.texi: Likewise.
3498 * manual/message.texi: Likewise.
3499 * manual/probes.texi: Likewise.
3500 * manual/resource.texi: Likewise.
3501 * manual/signal.texi: Likewise.
3502 * manual/socket.texi: Likewise.
3503 * manual/stdio.texi: Likewise.
3504 * manual/string.texi: Likewise.
3505 * manual/time.texi: Likewise.
3506 * manual/users.texi: Likewise.
3507
ade40b10
CD
35082014-02-25 Carlos O'Donell <carlos@redhat.com>
3509
3510 [BZ #16632]
3511 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3512 _DEFAULT_SOURCE is defined.
3513
d0503676
CD
35142014-02-25 Ulrich Drepper <drepper@gmail.com>
3515 Carlos O'Donell <carlos@redhat.com>
3516
3517 [BZ #16613]
3518 * elf/dl-tls.c (_dl_count_modids): New function.
3519 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3520 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3521 audit library and increment generation counter.
3522 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3523 * elf/tst-audit9.c: New file.
3524 * elf/tst-auditmod9a.c: New file.
3525 * elf/tst-auditmod9b.c: New file.
3526 * elf/Makefile: Add rules to build and run tst-audit9.
3527
4cbf380c
FW
35282014-02-25 Florian Weimer <fweimer@redhat.com>
3529
3530 [BZ #15347]
3531 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3532
80a56cc3
WN
35332014-02-25 Will Newton <will.newton@linaro.org>
3534
3535 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3536 (__longjmp): Restore sp and lr before restoring callee
3537 saved registers. Add longjmp and longjmp_target
3538 SystemTap probe point.
3539 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3540 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3541 Define to zero to match jmpbuf layout.
3542 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3543 (__sigsetjmp): Save sp and lr before saving callee
3544 saved registers. Add setjmp SystemTap probe point.
3545
3ea0f74e
SL
35462014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3547
3548 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3549
b04acb26
AS
35502014-02-24 Andreas Schwab <schwab@suse.de>
3551
3552 [BZ #15804]
3553 * elf/pldd.c (wait_for_ptrace_stop): New function.
3554 (main): Call it after attaching.
3555
098ad55c
RM
35562014-02-22 Roland McGrath <roland@hack.frob.com>
3557
d4ec6ae1
RM
3558 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3559 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3560 Versions files is now verboten.
3561 * hurd/Versions (libc: GLIBC_2.0):
3562 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3563 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3564 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3565 * mach/Versions: Likewise.
3566
098ad55c
RM
3567 * csu/Versions: Remove unused %include.
3568 * resolv/Versions: Likewise.
3569
acd7f096
JM
35702014-02-21 Joseph Myers <joseph@codesourcery.com>
3571
f0881698
JM
3572 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3573 ($(objpfx)check-local-headers.out): Likewise.
3574 ($(objpfx)begin-end-check.out): Likewise.
3575 * Makerules (check-abi-%.out): Likewise.
3576 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3577 ($(objpfx)test2.cat): Likewise.
3578 ($(objpfx)de/libc.cat): Likewise.
3579 ($(objpfx)test-gencat.out): Likewise.
3580 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3581 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3582 ($(objpfx)noload-mem): Likewise.
3583 ($(objpfx)tst-pathopt.out): Likewise.
3584 ($(objpfx)tst-rtld-load-self.out): Likewise.
3585 ($(objpfx)tst-array1-cmp.out): Likewise.
3586 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3587 ($(objpfx)tst-array2-cmp.out): Likewise.
3588 ($(objpfx)tst-array3-cmp.out): Likewise.
3589 ($(objpfx)tst-array4-cmp.out): Likewise.
3590 ($(objpfx)tst-array5-cmp.out): Likewise.
3591 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3592 ($(objpfx)check-textrel.out): Likewise.
3593 ($(objpfx)check-execstack.out): Likewise.
3594 ($(objpfx)check-localplt.out): Likewise.
3595 ($(objpfx)order2-cmp.out): Likewise.
3596 ($(objpfx)tst-leaks1-mem): Likewise.
3597 ($(objpfx)tst-leaks1-static-mem): Likewise.
3598 ($(objpfx)tst-initorder-cmp.out): Likewise.
3599 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3600 ($(objpfx)tst-unused-dep.out): Likewise.
3601 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3602 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3603 * iconv/Makefile (test-iconvconfig): Likewise.
3604 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3605 ($(objpfx)iconv-test.out): Likewise.
3606 ($(objpfx)tst-tables.out): Likewise.
3607 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3608 ($(objpfx)tst-gettext.out): Likewise.
3609 ($(objpfx)tst-translit.out): Likewise.
3610 ($(objpfx)tst-gettext2.out): Likewise.
3611 ($(objpfx)tst-gettext4.out): Likewise.
3612 ($(objpfx)tst-gettext6.out): Likewise.
3613 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3614 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3615 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3616 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3617 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3618 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3619 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3620 ($(objpfx)wordexp-tst.out): Likewise.
3621 ($(objpfx)annexc.out): Likewise.
3622 ($(objpfx)tst-fnmatch-mem): Likewise.
3623 ($(objpfx)bug-regex2-mem): Likewise.
3624 ($(objpfx)bug-regex14-mem): Likewise.
3625 ($(objpfx)bug-regex21-mem): Likewise.
3626 ($(objpfx)bug-regex31-mem): Likewise.
3627 ($(objpfx)tst-vfork3-mem): Likewise.
3628 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3629 ($(objpfx)tst-pcre-mem): Likewise.
3630 ($(objpfx)tst-boost-mem): Likewise.
3631 ($(objpfx)tst-getconf.out): Likewise.
3632 ($(objpfx)bug-ga2-mem): Likewise.
3633 ($(objpfx)bug-glob2-mem): Likewise.
3634 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3635 ($(objpfx)mtrace-tst-leaks2): Likewise.
3636 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3637 ($(objpfx)tst-printf.out): Likewise.
3638 ($(objpfx)tst-setvbuf1.out): Likewise.
3639 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3640 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3641 ($(objpfx)tst-fmtmsg.out): Likewise.
3642 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3643 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3644
acd7f096
JM
3645 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3646 * bits/sigaction.h [__USE_MISC]: Likewise.
3647 * bits/waitstatus.h: Update #endif comments.
3648 * ctype/ctype.h: Likewise.
3649 * dirent/dirent.h: Likewise.
3650 [__USE_MISC]: Remove redundant conditionals.
3651 * grp/grp.h: Update #endif comments.
3652 [__USE_GNU]: Remove redundant conditionals.
3653 [__USE_MISC]: Likewise.
3654 * inet/netinet/in.h [__USE_GNU]: Likewise.
3655 * io/sys/stat.h [__USE_MISC]: Likewise.
3656 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3657 * libio/bits/stdio.h: Update #endif comments.
3658 [__USE_MISC]: Remove redundant conditionals.
3659 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3660 * libio/stdio.h: Update #endif comments.
3661 [__USE_MISC]: Remove redundant conditionals.
3662 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3663 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3664 * math/math.h: Update #else and #endif comments.
3665 [__USE_MISC]: Remove redundant conditionals.
3666 * misc/sys/uio.h: Update #endif comments.
3667 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3668 * posix/glob.h [__USE_MISC]: Likewise.
3669 * posix/sys/types.h: Update #endif comments.
3670 [__USE_MISC]: Remove redundant conditionals.
3671 * posix/sys/wait.h: Update #endif comments.
3672 [__USE_MISC]: Remove redundant conditionals.
3673 * posix/unistd.h: Update #endif comments.
3674 [__USE_MISC]: Remove redundant conditionals.
3675 * pwd/pwd.h [__USE_GNU]: Likewise.
3676 [__USE_MISC]: Likewise.
3677 * resolv/netdb.h [__USE_GNU]: Likewise.
3678 * signal/signal.h: Update #endif comments.
3679 [__USE_MISC]: Remove redundant conditionals.
3680 * stdlib/stdlib.h: Update #else and #endif comments.
3681 [__USE_MISC]: Remove redundant conditionals.
3682 [__USE_GNU]: Likewise.
3683 * string/bits/string2.h [__USE_MISC]: Likewise.
3684 * string/string.h: Update #endif comments.
3685 [__USE_MISC]: Remove redundant conditionals.
3686 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3687 Likewise.
3688 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3689 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3690 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3691 Likewise.
3692 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3695 comments.
3696 [__USE_MISC]: Remove redundant conditionals.
3697 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3698 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3699 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3700 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3701 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3702 Likewise.
3703 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3704 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3705 Likewise.
3706 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3708 Likewise.
3709 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3710 Likewise.
3711 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3712 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3713 Likewise.
3714 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3715 Likewise.
3716 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3717 * sysdeps/x86/bits/string.h: Update #endif comments.
3718 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3719 conditionals.
3720 * time/sys/time.h: Update #endif comments.
3721 * time/time.h: Likewise.
3722 [__USE_MISC]: Remove redundant conditionals.
3723
a5d82e4e
YG
37242014-02-21 Yury Gribov <y.gribov@samsung.com>
3725
3726 [BZ #16600]
3727 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3728
9a80491d
AS
37292014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3730
3731 * Versions.def (librt): Add GLIBC_2.17.
3732
105fa381
AC
37332014-02-21 Adam Conrad <adconrad@0c3.net>
3734
3735 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3736 synonym for _SYS_AUXV_H to allow direct inclusion.
3737 * sysdeps/sparc/bits/hwcap.h: Likewise.
3738 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3739 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3740 * sysdeps/sparc/sysdep.h: Likewise.
3741
b8cd1c4e
SP
37422014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3743
3744 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3745
bd939d23
RS
37462014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3747
3748 * benchtests/bench-strrchr.c: Print length instead of position.
3749
5d7b57ca
JM
37502014-02-20 Joseph Myers <joseph@codesourcery.com>
3751
bc688c10
JM
3752 [BZ #16611]
3753 * sysdeps/unix/sysv/linux/kernel-features.h
3754 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3755 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3756 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3757 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3758 Likewise.
3759 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3760 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3761 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3762 (__ASSUME_SENDMMSG): Define instead of using previous
3763 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3764 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3765 (__ASSUME_SENDMMSG_SYSCALL): Define.
3766 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3767 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3768 Likewise.
3769 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3770 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3771 Likewise.
3772 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3773 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3774 Likewise.
3775 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3776 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3777 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3778 [__ASSUME_SENDMMSG]: Change conditionals to
3779 [__ASSUME_SENDMMSG_SOCKETCALL].
3780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3781 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3782 Define.
3783 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3784 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3785 Likewise.
3786 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3787 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3788 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3789 [!__ASSUME_SENDMMSG]: Change conditional to
3790 [!__ASSUME_SENDMMSG_SOCKETCALL].
3791 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3792 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3793 Define.
3794
0e31b18c
JM
3795 [BZ #16610]
3796 * sysdeps/unix/sysv/linux/kernel-features.h
3797 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3798 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3799 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3800 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3801 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3802 [__i386__ || __sparc__]
3803 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3804 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3805 (__ASSUME_RECVMMSG): Define instead of using previous
3806 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3807 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3808 (__ASSUME_RECVMMSG_SYSCALL): Define.
3809 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3810 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3811 Likewise.
3812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3813 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3814 Likewise.
3815 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3816 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3817 Likewise.
3818 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3819 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3820 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3821 [__ASSUME_RECVMMSG]: Change condition to
3822 [__ASSUME_RECVMMSG_SOCKETCALL].
3823 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3824 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3825 Define.
3826 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3827 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3828 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3829 Likewise.
3830 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3831 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3832 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3833 [!__ASSUME_RECVMMSG]: Change condition to
3834 [!__ASSUME_RECVMMSG_SOCKETCALL].
3835 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3836 (__ASSUME_RECVMMSG_SYSCALL): Define.
3837
dd481ccf
JM
3838 [BZ #16609]
3839 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3840 __powerpc__ || __s390__ || __sh__ || __sparc__]
3841 (__ASSUME_SOCKETCALL): Define.
3842 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3843 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3844 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3845 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3846 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3847 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3848 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3849 (__ASSUME_ACCEPT4): Define instead of using previous
3850 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3851 __powerpc__ || __sparc__ || __s390__)] condition.
3852 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3853 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3854 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3855 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3856 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3857 [!__ASSUME_ACCEPT4]: Change condition to
3858 [!__ASSUME_ACCEPT4_SOCKETCALL].
3859 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3860 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3861 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3862 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3863 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3864 __ASSUME_ACCEPT4_SYSCALL.
3865 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3866 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3867 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3868 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3869 __ASSUME_ACCEPT4_SYSCALL.
3870 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3871 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3872 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3873 [__ASSUME_ACCEPT4]: Change condition to
3874 [__ASSUME_ACCEPT4_SOCKETCALL].
3875 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3876 (__ASSUME_SOCKETCALL): Define.
3877 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3878 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3879 (__ASSUME_SOCKETCALL): Define.
3880 (__ASSUME_ACCEPT4): Remove.
3881 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3882 Define.
3883 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3884 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3885 Likewise.
3886 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3887 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3888
5d7b57ca
JM
3889 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3890 macro.
3891 (HWCAP_ARM_LPAE): Likewise.
3892 (HWCAP_ARM_EVTSTRM): Likewise.
3893 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3894 Add vpfd32, lpae and evtstrm.
3895 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3896 Increase to 22.
3897
63689d61
JM
38982014-02-19 Joseph Myers <joseph@codesourcery.com>
3899
3900 * math/auto-libm-test-in: Add tests of clog10.
3901 * math/auto-libm-test-out: Regenerated.
3902 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3903 * sysdeps/i386/fpu/libm-test-ulps: Update.
3904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3905
ab09bf61
AS
39062014-02-18 Andreas Schwab <schwab@suse.de>
3907
3908 [BZ #16574]
3909 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3910 Store non-zero if the second buffer was newly allocated.
3911 (send_dg): Likewise.
3912 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3913 to send_vc and send_dg.
3914 (res_nsend): Pass NULL for ansp2_malloced.
3915 * resolv/res_query.c (__libc_res_nquery): Add parameter
3916 answerp2_malloced and pass it down to __libc_res_nsend.
3917 (res_nquery): Pass additional NULL to __libc_res_nquery.
3918 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3919 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3920 second answer buffer if answerp2_malloced was set.
3921 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3922 (__libc_res_nquerydomain): Add parameter
3923 answerp2_malloced and pass it down to __libc_res_nquery.
3924 (res_nquerydomain): Pass additional NULL to
3925 __libc_res_nquerydomain.
3926 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3927 additional NULL to __libc_res_nsend and __libc_res_nquery.
3928 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3929 additional NULL to __libc_res_nsearch.
3930 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3931 parameter of __libc_res_nsearch to check for separately allocated
3932 second buffer.
3933 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3934 __libc_res_nquery.
3935 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3936 additional NULL to __libc_res_nquery.
3937 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3938 __libc_res_nsearch.
3939 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3940 * include/resolv.h: Update prototypes of __libc_res_nquery,
3941 __libc_res_nsearch, __libc_res_nsend.
3942
a4fb7861
JM
39432014-02-18 Joseph Myers <joseph@codesourcery.com>
3944
c6af2d89
JM
3945 * math/auto-libm-test-in: Add tests of fma.
3946 * math/auto-libm-test-out: Regenerated.
3947 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3948 (fma_towardzero_test_data): Likewise.
3949 (fma_downward_test_data): Likewise.
3950 (fma_upward_test_data): Likewise.
3951 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3952 mpc_mode.
3953 (rounding_modes): Add values for new field.
3954 (func_calc_method): Add value mpfr_fff_f.
3955 (func_calc_desc): Add mpfr_fff_f union field.
3956 (test_function): Add field exact_args.
3957 (FUNC): Add macro argument EXACT_ARGS.
3958 (FUNC_mpfr_f_f): Update call to FUNC.
3959 (FUNC_mpfr_f_f): Likewise.
3960 (FUNC_mpfr_ff_f): Likewise.
3961 (FUNC_mpfr_if_f): Likewise.
3962 (FUNC_mpc_c_f): Likewise.
3963 (FUNC_mpc_c_c): Likewise.
3964 (test_functions): Add fma. Update calls to FUNC.
3965 (handle_input_arg): Add argument exact_args.
3966 (add_test): Update call to handle_input_arg.
3967 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3968 (output_for_one_input_case): Update call to calc_generic_results.
3969 Recalculate exact zero results in each rounding mode.
3970
a4fb7861
JM
3971 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3972 non-negative before setting low bit.
3973 * math/auto-libm-test-in: Mark one asin test possibly having
3974 spurious underflow.
3975 * math/auto-libm-test-out: Regenerated.
3976 * sysdeps/i386/fpu/libm-test-ulps: Update.
3977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3978
ef114eaf
DH
39792014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3980
2b7f4f2c
SP
3981 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3982 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3983 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3984 * README: Add missing listing for microblaze*-*-linux-gnu.
3985
c70a4b1d
MF
39862014-02-16 Mike Frysinger <vapier@gentoo.org>
3987
3988 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3989 * sysdeps/unix/sysv/linux/ia64: Move directory from
3990 ports/sysdeps/unix/sysv/linux/ia64.
3991 * README: Update listing for ia64-*-linux-gnu.
3992
591aeaf7
TD
39932014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3994 Joseph Myers <joseph@codesourcery.com>
3995
3996 * Makeconfig (test-name): New variable.
3997 (evaluate-test): Likewise.
3998 * Makerules (do-test-clean): Remove .test-result files.
3999 (common-mostlyclean): Likewise.
4000 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4001 * scripts/evaluate-test.sh: New file.
4002
6e89caf1
JM
40032014-02-14 Joseph Myers <joseph@codesourcery.com>
4004
7f98f180
JM
4005 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4006 separate $(objpfx)tst-fopenloc-cmp.out and
4007 $(objpfx)tst-fopenloc-mem.out targets.
4008 (tests): Update dependencies.
4009 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4010 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4011 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4012 (tst-rxspencer-no-utf8-ARGS): New variable.
4013 (tst-rxspencer-no-utf8-ENV): Likewise.
4014 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4015 instead of $(objpfx)tst-rxspencer-mem.
4016 ($(objpfx)tst-rxspencer-mem): Change target to
4017 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4018 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4019 * posix/tst-rxspencer-no-utf8.c: New file.
4020
6e89caf1
JM
4021 * elf/Makefile ($(objpfx)order.out): Remove rule.
4022 [$(run-built-tests) = yes] (tests): Depend on
4023 $(objpfx)order-cmp.out.
4024 ($(objpfx)order-cmp.out): New rule.
4025 [$(run-built-tests) = yes] (tests): Depend on
4026 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4027 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4028 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4029 $(objpfx)tst-array5-static-cmp.out.
4030 ($(objpfx)tst-array1.out): Remove rule.
4031 ($(objpfx)tst-array1-cmp.out): New rule.
4032 ($(objpfx)tst-array1-static.out): Remove rule.
4033 ($(objpfx)tst-array1-static-cmp.out): New rule.
4034 ($(objpfx)tst-array2.out): Remove rule.
4035 ($(objpfx)tst-array2-cmp.out): New rule.
4036 ($(objpfx)tst-array3.out): Remove rule.
4037 ($(objpfx)tst-array3-cmp.out): New rule.
4038 ($(objpfx)tst-array4.out): Remove rule.
4039 ($(objpfx)tst-array4-cmp.out): New rule.
4040 ($(objpfx)tst-array5.out): Remove rule.
4041 ($(objpfx)tst-array5-cmp.out): New rule.
4042 ($(objpfx)tst-array5-static.out): Remove rule.
4043 ($(objpfx)tst-array5-static-cmp.out): New rule.
4044 [$(run-built-tests) = yes] (tests): Depend on
4045 $(objpfx)order2-cmp.out.
4046 ($(objpfx)order2.out): Remove rule.
4047 ($(objpfx)order2-cmp.out): New rule.
4048 ($(objpfx)tst-initorder.out): Remove rule.
4049 [$(run-built-tests) = yes] (tests): Depend on
4050 $(objpfx)tst-initorder-cmp.out.
4051 ($(objpfx)tst-initorder-cmp.out): New rule.
4052 ($(objpfx)tst-initorder2.out): Remove rule.
4053 [$(run-built-tests) = yes] (tests): Depend on
4054 $(objpfx)tst-initorder2-cmp.out.
4055 ($(objpfx)tst-initorder2-cmp.out): New rule.
4056 [$(run-built-tests) = yes] (tests): Depend on
4057 $(objpfx)tst-unused-dep-cmp.out.
4058 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4059 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4060 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4061 on $(objpfx)tst-setvbuf1-cmp.out.
4062 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4063 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4064 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4065 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4066 ($(objpfx)tst-svc.out): Remove rule.
4067 ($(objpfx)tst-svc-cmp.out): New rule.
4068
ed9a38e2
JM
40692014-02-13 Joseph Myers <joseph@codesourcery.com>
4070
4071 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4072 * ctype/ctype.h [__USE_MISC]: Likewise.
4073 * dirent/dirent.h [__USE_MISC]: Likewise.
4074 * grp/grp.h [__USE_MISC]: Likewise.
4075 * io/fcntl.h [__USE_MISC]: Likewise.
4076 * io/sys/stat.h [__USE_MISC]: Likewise.
4077 * libio/stdio.h [__USE_MISC]: Likewise.
4078 * posix/unistd.h [__USE_MISC]: Likewise.
4079 * pwd/pwd.h [__USE_MISC]: Likewise.
4080 * stdlib.h [__USE_MISC]: Likewise.
4081 * string/bits/string2.h [__USE_MISC]: Likewise.
4082 * string/string.h [__USE_MISC]: Likewise.
4083 * time/time.h [__USE_MISC]: Likewise.
4084
d6680619
AS
40852014-02-13 Andreas Schwab <schwab@suse.de>
4086
4087 [BZ #16574]
4088 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4089 second answer buffer if it was separately allocated.
4090
ace614b8
JM
40912014-02-12 Joseph Myers <joseph@codesourcery.com>
4092
743151ae
JM
4093 * sysdeps/mips/math-tests.h: Include <features.h>.
4094 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4095 (ROUNDING_TESTS_long_double): Do not define.
4096 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4097 (EXCEPTION_TESTS_long_double): Likewise.
4098 * sysdeps/mips/mips64/libm-test-ulps: Update.
4099
498afc54
JM
4100 * include/features.h (__USE_BSD): Remove macro definitions.
4101 (__USE_SVID): Likewise.
4102 (_BSD_SOURCE): Likewise.
4103 (_SVID_SOURCE): Likewise.
4104 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4105 from definition of _DEFAULT_SOURCE.
4106 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4107 [_DEFAULT_SOURCE].
4108 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4109 * bits/mman.h [__USE_BSD]: Likewise.
4110 * bits/termios.h [__USE_BSD]: Likewise.
4111 * bits/waitstatus.h [__USE_BSD]: Likewise.
4112 * ctype/ctype.h [__USE_SVID]: Likewise.
4113 * dirent/dirent.h [__USE_BSD]: Likewise.
4114 * grp/grp.h [__USE_SVID]: Likewise.
4115 [__USE_BSD]: Likewise.
4116 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4117 * io/fcntl.h [__USE_BSD]: Likewise.
4118 * io/ftw.h [__USE_BSD]: Likewise.
4119 * io/sys/stat.h [__USE_BSD]: Likewise.
4120 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4121 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4122 * libio/stdio.h [__USE_SVID]: Likewise.
4123 [__USE_BSD]: Likewise.
4124 * math/math.h [__USE_SVID]: Likewise.
4125 [__USE_BSD]: Likewise.
4126 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4127 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4128 * misc/search.h [__USE_SVID]: Likewise.
4129 * misc/sys/mman.h [__USE_BSD]: Likewise.
4130 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4131 * misc/sys/uio.h [__USE_BSD]: Likewise.
4132 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4133 * posix/glob.h [__USE_BSD]: Likewise.
4134 * posix/regex.h [__USE_BSD]: Likewise.
4135 * posix/sys/types.h [__USE_BSD]: Likewise.
4136 [__USE_SVID]: Likewise.
4137 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4138 * posix/sys/wait.h [__USE_BSD]: Likewise.
4139 [__USE_SVID]: Likewise.
4140 * posix/unistd.h [__USE_BSD]: Likewise.
4141 [__USE_SVID]: Likewise.
4142 * pwd/pwd.h [__USE_SVID]: Likewise.
4143 * resolv/netdb.h [__USE_BSD]: Likewise.
4144 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4145 * signal/signal.h [__USE_BSD]: Likewise.
4146 [__USE_SVID]: Likewise.
4147 * socket/sys/socket.h [__USE_BSD]: Likewise.
4148 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4149 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4150 [__USE_SVID]: Likewise.
4151 * string/bits/string2.h [__USE_BSD]: Likewise.
4152 [__USE_SVID]: Likewise.
4153 * string/bits/string3.h [__USE_BSD]: Likewise.
4154 * string/endian.h [__USE_BSD]: Likewise.
4155 * string/string.h [__USE_SVID]: Likewise.
4156 [__USE_BSD]: Likewise.
4157 * string/strings.h [__USE_BSD]: Likewise.
4158 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4159 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4160 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4161 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4162 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4163 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4164 Likewise.
4165 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4166 Likewise.
4167 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4168 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4169 Likewise.
4170 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4171 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4172 Likewise.
4173 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4174 Likewise.
4175 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4176 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4178 Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4180 Likewise.
4181 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4182 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4183 * termios/termios.h [__USE_BSD]: Likewise.
4184 * time/sys/time.h [__USE_BSD]: Likewise.
4185 * time/time.h [__USE_BSD]: Likewise.
4186 [__USE_SVID]: Likewise.
4187
dd7b064c
JM
4188 * Makefile (subdir_targets): Remove subdir_lint.out.
4189
a2c4c199
JM
4190 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4191 (do-tst-printf): Likewise.
4192 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4193 $(objpfx)tst-printf.out.
4194
8756f740
JM
4195 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4196
1b6dd3f1
JM
4197 * Makerules (check-abi-%): Change target to
4198 $(objpfx)check-abi-%.out.
4199 (check-abi target): Update dependencies.
4200 (check-abi-pattern variable): Redirect output of diff to $@.
4201 (check-abi variable): Likewise.
4202 * elf/Makefile (check-abi): Update dependencies.
4203
ace614b8
JM
4204 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4205 unused.
4206 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4207 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4208 subnormal range.
4209 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4210 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4211 value has largest subnormal exponent.
4212 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4213 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4214 * sysdeps/aarch64/soft-fp/sfp-machine.h
4215 (_FP_TININESS_AFTER_ROUNDING): New macro.
4216 * sysdeps/alpha/soft-fp/sfp-machine.h
4217 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4218 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4219 Likewise.
4220 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4221 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4222 * sysdeps/mips/soft-fp/sfp-machine.h
4223 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4224 * sysdeps/powerpc/soft-fp/sfp-machine.h
4225 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4226 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4227 Likewise.
4228 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4229 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4230 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4231 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4232 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4233 Likewise.
4234
fbfdf9cb
DAS
42352014-02-12 Dylan Alex Simon <dylan@dylex.net>
4236
4237 [BZ #16545]
4238 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4239 model 1.
4240
68b7efaa
RH
42412014-02-12 Richard Henderson <rth@redhat.com>
4242
c70a4b1d 4243 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4244 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4245 * sysdeps/unix/sysv/linux/alpha: Move directory from
4246 ports/sysdeps/unix/sysv/linux/alpha.
4247 * README: Update listing for alpha-*-linux-gnu.
4248
cb4a2928
JM
42492014-02-11 Joseph Myers <joseph@codesourcery.com>
4250
c941736c
JM
4251 * include/features.h: Update comment documenting feature test
4252 macros.
4253 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4254 _DEFAULT_SOURCE.
4255 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4256 (_SVID_SOURCE): Likewise.
4257 (_DEFAULT_SOURCE): Update description of default features.
4258 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4259 with _GNU_SOURCE.
4260 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4261 (S_ISVTX): Likewise.
4262 * manual/math.texi (Mathematical Constants): Likewise.
4263 * manual/signal.texi (Interrupted Primitives): Likewise.
4264 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4265 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4266 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4267 Don't refer to _SVID_SOURCE in warning text.
4268
e8d8d7ec
JM
4269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4270
cb4a2928
JM
4271 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4272 already defined.
4273 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4274 * sysdeps/mips/dl-lookup.c: Remove.
4275 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4276
7e6424e3
AK
42772014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4278
4279 [BZ #16447]
4280 * math/auto-libm-test-in: Add testcase for expl.
4281 * math/auto-libm-test-out: Regenerate.
4282 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4283 calculation of unsafe.
4284 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4285
75eff3fe
MS
42862014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4287
4288 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4289 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4290 ports/sysdeps/unix/sysv/linux/aarch64.
4291 * README: Update listing for aarch64*-*-linux-gnu.
4292
d35f1e80
WN
42932014-02-11 Will Newton <will.newton@linaro.org>
4294
4295 * manual/probes.texi (Mathematical Function Probes): Use
4296 "triggered" instead of "hit".
4297
7b3436d4
WN
4298 * manual/probes.texi (Internal Probes): Add documentation
4299 of setjmp, longjmp and longjmp_target probes.
4300
b4f12ca3
WN
4301 * include/stap-probe.h: Add comment about probe argument
4302 format.
4303
c13a72b7
WN
4304 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4305 definition. (tr_where, tr_freehook, tr_mallochook,
4306 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4307
195b8165
DM
43082014-02-11 David S. Miller <davem@davemloft.net>
4309
4310 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4311 processing int_tests.
4312
2ad7600b
JM
43132014-02-10 Joseph Myers <joseph@codesourcery.com>
4314
4315 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4316 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4317 * sysdeps/unix/sysv/linux/mips: Move directory from
4318 ports/sysdeps/unix/sysv/linux/mips.
4319 * README: Update listing for mips-*-linux-gnu and
4320 mips64-*-linux-gnu.
4321
73588a72
AS
43222014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4323
4324 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4325 * sysdeps/unix/sysv/linux/m68k: Move directory from
4326 ports/sysdeps/unix/sysv/linux/m68k.
4327 * README: Update listing for m68k-*-linux-gnu.
4328
4372980f
CM
43292014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4330
4331 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4332 * sysdeps/unix/sysv/linux/generic: Move directory from
4333 ports/sysdeps/unix/sysv/linux/generic.
4334 * sysdeps/unix/sysv/linux/tile: Move directory from
4335 ports/sysdeps/unix/sysv/linux/tile.
4336 * README: Update listing for tile*-*-linux-gnu.
4337
a1ffb40e
OB
43382014-02-10 Ondřej Bílka <neleai@seznam.cz>
4339
57f41c40
AS
4340 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4341 __builtin_expect.
a1ffb40e
OB
4342 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4343 * catgets/open_catalog.c (__open_catalog): Likewise.
4344 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4345 * debug/confstr_chk.c: Likewise.
4346 * debug/fread_chk.c (__fread_chk): Likewise.
4347 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4348 * debug/getgroups_chk.c: Likewise.
4349 * debug/mbsnrtowcs_chk.c: Likewise.
4350 * debug/mbsrtowcs_chk.c: Likewise.
4351 * debug/mbstowcs_chk.c: Likewise.
4352 * debug/memcpy_chk.c: Likewise.
4353 * debug/memmove_chk.c: Likewise.
4354 * debug/mempcpy_chk.c: Likewise.
4355 * debug/memset_chk.c: Likewise.
4356 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4357 * debug/strcat_chk.c (__strcat_chk): Likewise.
4358 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4359 * debug/strncat_chk.c (__strncat_chk): Likewise.
4360 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4361 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4362 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4363 * debug/wcpncpy_chk.c: Likewise.
4364 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4365 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4366 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4367 * debug/wcsncpy_chk.c: Likewise.
4368 * debug/wcsnrtombs_chk.c: Likewise.
4369 * debug/wcsrtombs_chk.c: Likewise.
4370 * debug/wcstombs_chk.c: Likewise.
4371 * debug/wmemcpy_chk.c: Likewise.
4372 * debug/wmemmove_chk.c: Likewise.
4373 * debug/wmempcpy_chk.c: Likewise.
4374 * debug/wmemset_chk.c: Likewise.
4375 * dirent/scandirat.c (SCANDIRAT): Likewise.
4376 * dlfcn/dladdr1.c (dladdr1): Likewise.
4377 * dlfcn/dladdr.c (dladdr): Likewise.
4378 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4379 * dlfcn/dlerror.c (__dlerror): Likewise.
4380 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4381 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4382 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4383 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4384 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4385 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4386 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4387 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4388 Likewise.
4389 * elf/dl-conflict.c: Likewise.
4390 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4391 * elf/dl-dst.h: Likewise.
4392 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4393 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4394 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4395 * elf/dl-init.c (call_init, _dl_init): Likewise.
4396 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4397 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4398 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4399 Likewise.
a1ffb40e
OB
4400 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4401 Likewise.
4402 * elf/dl-minimal.c (__libc_memalign): Likewise.
4403 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4404 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4405 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4406 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4407 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4408 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4409 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4410 * elf/dl-writev.h (_dl_writev): Likewise.
4411 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4412 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4413 (dl_main): Likewise.
a1ffb40e
OB
4414 * elf/setup-vdso.h (setup_vdso): Likewise.
4415 * grp/compat-initgroups.c (compat_call): Likewise.
4416 * grp/fgetgrent.c (fgetgrent): Likewise.
4417 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4418 * grp/putgrent.c (putgrent): Likewise.
4419 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4420 Likewise.
4421 * hurd/hurdinit.c: Likewise.
4422 * iconvdata/8bit-gap.c (struct): Likewise.
4423 * iconvdata/ansi_x3.110.c : Likewise.
4424 * iconvdata/big5.c : Likewise.
4425 * iconvdata/big5hkscs.c : Likewise.
4426 * iconvdata/cp1255.c: Likewise.
4427 * iconvdata/cp1258.c : Likewise.
4428 * iconvdata/cp932.c : Likewise.
4429 * iconvdata/euc-cn.c: Likewise.
4430 * iconvdata/euc-jisx0213.c : Likewise.
4431 * iconvdata/euc-jp.c: Likewise.
4432 * iconvdata/euc-jp-ms.c : Likewise.
4433 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4434 * iconvdata/gb18030.c : Likewise.
4435 * iconvdata/gbbig5.c (const): Likewise.
4436 * iconvdata/gbgbk.c: Likewise.
4437 * iconvdata/gbk.c : Likewise.
4438 * iconvdata/ibm1364.c : Likewise.
4439 * iconvdata/ibm930.c : Likewise.
4440 * iconvdata/ibm932.c: Likewise.
4441 * iconvdata/ibm933.c : Likewise.
4442 * iconvdata/ibm935.c : Likewise.
4443 * iconvdata/ibm937.c : Likewise.
4444 * iconvdata/ibm939.c : Likewise.
4445 * iconvdata/ibm943.c: Likewise.
4446 * iconvdata/iso_11548-1.c: Likewise.
4447 * iconvdata/iso-2022-cn.c : Likewise.
4448 * iconvdata/iso-2022-cn-ext.c : Likewise.
4449 * iconvdata/iso-2022-jp-3.c: Likewise.
4450 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4451 * iconvdata/iso-2022-kr.c : Likewise.
4452 * iconvdata/iso646.c (gconv_end): Likewise.
4453 * iconvdata/iso_6937-2.c : Likewise.
4454 * iconvdata/iso_6937.c : Likewise.
4455 * iconvdata/iso8859-1.c: Likewise.
4456 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4457 * iconvdata/shift_jisx0213.c : Likewise.
4458 * iconvdata/sjis.c : Likewise.
4459 * iconvdata/t.61.c : Likewise.
4460 * iconvdata/tcvn5712-1.c : Likewise.
4461 * iconvdata/tscii.c: Likewise.
4462 * iconvdata/uhc.c : Likewise.
4463 * iconvdata/unicode.c (gconv_end): Likewise.
4464 * iconvdata/utf-16.c (gconv_end): Likewise.
4465 * iconvdata/utf-32.c (gconv_end): Likewise.
4466 * iconvdata/utf-7.c (base64): Likewise.
4467 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4468 * iconv/gconv_close.c (__gconv_close): Likewise.
4469 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4470 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4471 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4472 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4473 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4474 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4475 * iconv/iconv.c (iconv): Likewise.
4476 * iconv/iconv_close.c: Likewise.
4477 * iconv/loop.c (SINGLE): Likewise.
4478 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4479 * include/atomic.h: Likewise.
4480 * inet/inet6_option.c (option_alloc): Likewise.
4481 * intl/bindtextdom.c (set_binding_values): Likewise.
4482 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4483 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4484 * intl/localealias.c (read_alias_file): Likewise.
4485 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4486 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4487 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4488 * libio/fmemopen.c (fmemopen): Likewise.
4489 * libio/iofgets.c (_IO_fgets): Likewise.
4490 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4491 * libio/iofgetws.c (fgetws): Likewise.
4492 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4493 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4494 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4495 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4496 * locale/findlocale.c (_nl_find_locale): Likewise.
4497 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4498 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4499 Likewise.
4500 * locale/setlocale.c (setlocale): Likewise.
4501 * login/programs/pt_chown.c (main): Likewise.
4502 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4503 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4504 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4505 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4506 * math/e_exp2l.c: Likewise.
4507 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4508 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4509 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4510 * math/s_catan.c (__catan): Likewise.
4511 * math/s_catanf.c (__catanf): Likewise.
4512 * math/s_catanh.c (__catanh): Likewise.
4513 * math/s_catanhf.c (__catanhf): Likewise.
4514 * math/s_catanhl.c (__catanhl): Likewise.
4515 * math/s_catanl.c (__catanl): Likewise.
4516 * math/s_ccosh.c (__ccosh): Likewise.
4517 * math/s_ccoshf.c (__ccoshf): Likewise.
4518 * math/s_ccoshl.c (__ccoshl): Likewise.
4519 * math/s_cexp.c (__cexp): Likewise.
4520 * math/s_cexpf.c (__cexpf): Likewise.
4521 * math/s_cexpl.c (__cexpl): Likewise.
4522 * math/s_clog10.c (__clog10): Likewise.
4523 * math/s_clog10f.c (__clog10f): Likewise.
4524 * math/s_clog10l.c (__clog10l): Likewise.
4525 * math/s_clog.c (__clog): Likewise.
4526 * math/s_clogf.c (__clogf): Likewise.
4527 * math/s_clogl.c (__clogl): Likewise.
4528 * math/s_csin.c (__csin): Likewise.
4529 * math/s_csinf.c (__csinf): Likewise.
4530 * math/s_csinh.c (__csinh): Likewise.
4531 * math/s_csinhf.c (__csinhf): Likewise.
4532 * math/s_csinhl.c (__csinhl): Likewise.
4533 * math/s_csinl.c (__csinl): Likewise.
4534 * math/s_csqrt.c (__csqrt): Likewise.
4535 * math/s_csqrtf.c (__csqrtf): Likewise.
4536 * math/s_csqrtl.c (__csqrtl): Likewise.
4537 * math/s_ctan.c (__ctan): Likewise.
4538 * math/s_ctanf.c (__ctanf): Likewise.
4539 * math/s_ctanh.c (__ctanh): Likewise.
4540 * math/s_ctanhf.c (__ctanhf): Likewise.
4541 * math/s_ctanhl.c (__ctanhl): Likewise.
4542 * math/s_ctanl.c (__ctanl): Likewise.
4543 * math/w_pow.c: Likewise.
4544 * math/w_powf.c: Likewise.
4545 * math/w_powl.c: Likewise.
4546 * math/w_scalb.c (sysv_scalb): Likewise.
4547 * math/w_scalbf.c (sysv_scalbf): Likewise.
4548 * math/w_scalbl.c (sysv_scalbl): Likewise.
4549 * misc/error.c (error_tail): Likewise.
4550 * misc/pselect.c (__pselect): Likewise.
4551 * nis/nis_callback.c (__nis_create_callback): Likewise.
4552 * nis/nis_call.c (__nisfind_server): Likewise.
4553 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4554 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4555 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4556 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4557 * nis/nis_lookup.c (nis_lookup): Likewise.
4558 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4559 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4560 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4561 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4562 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4563 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4564 * nis/nss_compat/compat-initgroups.c (add_group)
4565 (internal_getgrent_r): Likewise.
4566 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4567 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4568 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4569 (internal_getspnam_r): Likewise.
4570 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4571 (_nss_nis_getaliasbyname_r): Likewise.
4572 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4573 (_nss_nis_getntohost_r): Likewise.
4574 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4575 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4576 (_nss_nis_getgrgid_r): Likewise.
4577 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4578 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4579 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4580 (_nss_nis_gethostbyname4_r): Likewise.
4581 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4582 (initgroups_netid): Likewise.
a1ffb40e 4583 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4584 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4585 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4586 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4587 (_nss_nis_getprotobynumber_r): Likewise.
4588 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4589 (_nss_nis_getsecretkey): Likewise.
4590 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4591 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4592 (_nss_nis_getpwuid_r): Likewise.
4593 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4594 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4595 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4596 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4597 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4598 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4599 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4600 Likewise.
57f41c40
AS
4601 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4602 (_nss_nisplus_getntohost_r): Likewise.
4603 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4604 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4605 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4606 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4607 Likewise.
57f41c40
AS
4608 * nis/nss_nisplus/nisplus-initgroups.c
4609 (_nss_nisplus_initgroups_dyn): Likewise.
4610 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4611 (_nss_nisplus_getnetbyaddr_r): Likewise.
4612 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4613 (_nss_nisplus_getprotobynumber_r): Likewise.
4614 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4615 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4616 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4617 Likewise.
57f41c40
AS
4618 * nis/nss_nisplus/nisplus-service.c
4619 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4620 (_nss_nisplus_getservbyport_r): Likewise.
4621 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4622 (_nss_nisplus_getspnam_r): Likewise.
4623 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4624 Likewise.
a1ffb40e
OB
4625 * nscd/aicache.c (addhstaiX): Likewise.
4626 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4627 * nscd/connections.c (register_traced_file, send_ro_fd)
4628 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4629 (main_loop_epoll): Likewise.
a1ffb40e
OB
4630 * nscd/grpcache.c (addgrbyX): Likewise.
4631 * nscd/hstcache.c (addhstbyX): Likewise.
4632 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4633 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4634 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4635 (addinnetgrX): Likewise.
4636 * nscd/nscd-client.h (__nscd_acquire_maplock)
4637 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4638 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4639 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4640 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4641 Likewise.
4642 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4644 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4645 (__nscd_get_map_ref): Likewise.
a1ffb40e 4646 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4647 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4648 Likewise.
a1ffb40e
OB
4649 * nscd/pwdcache.c (addpwbyX): Likewise.
4650 * nscd/selinux.c (preserve_capabilities): Likewise.
4651 * nscd/servicescache.c (addservbyX): Likewise.
4652 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4653 * posix/fnmatch.c (fnmatch): Likewise.
4654 * posix/getopt.c (_getopt_internal_r): Likewise.
4655 * posix/glob.c (glob, glob_in_dir): Likewise.
4656 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4657 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4658 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4659 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4660 * resolv/res_init.c: Likewise.
4661 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4662 * resolv/res_query.c (__libc_res_nquery): Likewise.
4663 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4664 Likewise.
4665 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4666 * stdio-common/perror.c (perror): Likewise.
4667 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4668 * stdio-common/tmpnam.c (tmpnam): Likewise.
4669 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4670 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4671 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4672 Likewise.
a1ffb40e
OB
4673 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4674 * stdlib/putenv.c (putenv): Likewise.
4675 * stdlib/setenv.c (__add_to_environ): Likewise.
4676 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4677 * stdlib/strtol_l.c (INTERNAL): Likewise.
4678 * string/memmem.c (memmem): Likewise.
4679 * string/strerror.c (strerror): Likewise.
4680 * string/strnlen.c (__strnlen): Likewise.
4681 * string/test-memmem.c (simple_memmem): Likewise.
4682 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4683 * sunrpc/pm_getport.c (__get_socket): Likewise.
4684 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4685 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4686 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4687 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4688 Likewise.
4689 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4690 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4691 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4692 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4693 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4694 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4695 Likewise.
4696 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4697 Likewise.
a1ffb40e
OB
4698 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4699 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4700 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4701 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4702 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4704 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4705 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4706 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4707 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4708 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4709 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4710 Likewise.
4711 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4712 Likewise.
4713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4714 Likewise.
4715 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4717 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4718 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4719 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4720 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4721 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4727 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4728 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4731 Likewise.
a1ffb40e
OB
4732 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4733 Likewise.
4734 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4735 Likewise.
4736 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4737 Likewise.
4738 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4739 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4740 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4741 Likewise.
4742 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4743 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4744 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4745 * sysdeps/posix/sleep.c: Likewise.
4746 * sysdeps/posix/tempname.c: Likewise.
4747 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4748 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4749 Likewise.
57f41c40
AS
4750 * sysdeps/powerpc/powerpc32/dl-machine.h
4751 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4752 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4754 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4755 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4756 Likewise.
4757 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4758 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4759 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4760 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4761 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4762 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4763 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4764 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4765 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4766 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4768 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4769 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4771 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4772 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4773 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4774 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4775 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4776 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4777 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4778 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4780 Likewise.
4781 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4782 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4783 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4784 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4785 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4786 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4787 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4788 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4789 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4790 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4791 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4792 Likewise.
4793 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4794 (__posix_fallocate64_l64): Likewise.
4795 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4796 (posix_fallocate): Likewise.
57f41c40
AS
4797 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4798 Likewise.
a1ffb40e 4799 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4800 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4801 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4802 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4803 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4804 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4805 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4806 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4807 (__posix_fallocate64_l64): Likewise.
4808 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4809 Likewise.
4810 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4811 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4812 (__get_clockfreq): Likewise.
a1ffb40e
OB
4813 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4814 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4815 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4818 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4819 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4820 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4821 Likewise.
4822 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4823 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4824 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4825 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4826 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4827 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4828 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4829 Likewise.
4830 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4831 (posix_fallocate): Likewise.
4832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4833 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4834 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4835 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4836 (elf_machine_rela, elf_machine_rela_relative)
4837 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4838 * time/asctime.c (asctime_internal): Likewise.
4839 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4840 * time/tzset.c (__tzset_parse_tz): Likewise.
4841 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4842 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4843 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4844 * wcsmbs/wcsmbsload.h: Likewise.
4845
f3d338c9
OB
4846 [BZ #15894]
4847 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4848
57f41c40
AS
4849 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4850 (arena_get2): Remove THREAD_STATS conditionals.
4851 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4852 (__malloc_stats, int): Likewise.
bdfe308a 4853
d674667c
MF
48542014-02-08 Mike Frysinger <vapier@gentoo.org>
4855
4856 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4857 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4858
6349768c
MF
4859 * manual/setjmp.texi: Fix typos/grammar errors.
4860
0b7c7473
MF
4861 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4862 Only return early when n is <= 0. Delete unused return statement.
4863
ac8cc9e3
MF
4864 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4865 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4866 * debug/tst-longjmp_chk3.c: New file.
4867
c5bb8e23
MF
4868 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4869 (test_main): Replace code with set_fortify_handler call.
4870 * debug/test-strcpy_chk.c: Likewise.
4871 * debug/tst-chk1.c: Likewise.
4872 * debug/tst-longjmp_chk.c: Likewise.
4873 * test-skeleton.c: Include fcntl.h & paths.h
4874 (set_fortify_handler): Define.
4875
10444e42
MF
4876 * debug/tst-longjmp_chk.c: Add header comment and include
4877 ../test-skeleton.c.
4878 (do_test): Mark static.
4879 (TEST_FUNCTION): Define.
4880
1e805e8d
MF
4881 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4882 (IP_PMTUDISC_INTERFACE): Likewise.
4883 (IP_MULTICAST_IF): Likewise.
4884 (IP_MULTICAST_TTL): Likewise.
4885 (IP_MULTICAST_LOOP): Likewise.
4886 (IP_ADD_MEMBERSHIP): Likewise.
4887 (IP_DROP_MEMBERSHIP): Likewise.
4888 (IP_UNBLOCK_SOURCE): Likewise.
4889 (IP_BLOCK_SOURCE): Likewise.
4890 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4891 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4892 (IP_MSFILTER): Likewise.
4893 (MCAST_JOIN_GROUP): Likewise.
4894 (MCAST_BLOCK_SOURCE): Likewise.
4895 (MCAST_UNBLOCK_SOURCE): Likewise.
4896 (MCAST_LEAVE_GROUP): Likewise.
4897 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4898 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4899 (MCAST_MSFILTER): Likewise.
4900 (IP_MULTICAST_ALL): Likewise.
4901 (IP_UNICAST_IF): Likewise.
4902
73f79bb7
MF
4903 * timezone/Makefile: Delete $(have-ksh) check.
4904 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4905 * timezone/tzselect.ksh: Add +x mode bits.
4906
8da79b60
MF
4907 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4908 (ANON_INODE_FS_MAGIC): Likewise.
4909 (BDEVFS_MAGIC): Likewise.
4910 (BINFMTFS_MAGIC): Likewise.
4911 (BTRFS_TEST_MAGIC): Likewise.
4912 (CRAMFS_MAGIC_WEND): Likewise.
4913 (DEBUGFS_MAGIC): Likewise.
4914 (ECRYPTFS_SUPER_MAGIC): Likewise.
4915 (EXT3_SUPER_MAGIC): Likewise.
4916 (EXT4_SUPER_MAGIC): Likewise.
4917 (FUTEXFS_SUPER_MAGIC): Likewise.
4918 (HOSTFS_SUPER_MAGIC): Likewise.
4919 (HUGETLBFS_MAGIC): Likewise.
4920 (MINIX3_SUPER_MAGIC): Likewise.
4921 (MTD_INODE_FS_MAGIC): Likewise.
4922 (NILFS_SUPER_MAGIC): Likewise.
4923 (OPENPROM_SUPER_MAGIC): Likewise.
4924 (PIPEFS_MAGIC): Likewise.
4925 (PSTOREFS_MAGIC): Likewise.
4926 (QNX6_SUPER_MAGIC): Likewise.
4927 (RAMFS_MAGIC): Likewise.
4928 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4929 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4930 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4931 (SECURITYFS_MAGIC): Likewise.
4932 (SELINUX_MAGIC): Likewise.
4933 (SMACK_MAGIC): Likewise.
4934 (SOCKFS_MAGIC): Likewise.
4935 (SQUASHFS_MAGIC): Likewise.
4936 (STACK_END_MAGIC): Likewise.
4937 (TMPFS_MAGIC): Likewise.
4938 (USBDEVICE_SUPER_MAGIC): Likewise.
4939 (V9FS_MAGIC): Likewise.
4940 (XENFS_SUPER_MAGIC): Likewise.
4941 (CRAMFS_MAGIC): Fix typo in comment.
4942 (EXT2_SUPER_MAGIC): Update comment.
4943 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4944
464263cc
JM
49452014-02-08 Joseph Myers <joseph@codesourcery.com>
4946
c6bfe5c4
JM
4947 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4948 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4949 * sysdeps/unix/sysv/linux/arm: Move directory from
4950 ports/sysdeps/unix/sysv/linux/arm.
4951 * README: Update listing for arm-*-linux-gnueabi.
4952
464263cc
JM
4953 * README: Remove mention of am33.
4954
32749f6c
RM
49552014-02-07 Roland McGrath <roland@hack.frob.com>
4956
4957 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4958 than the comma operator, to avoid "rhs of comma has no effect"
4959 compiler warnings.
4960 (__sigfillset, __sigandset, __sigorset): Likewise.
4961 * include/signal.h (__sigemptyset): Likewise.
4962 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4963
d5b396c1
AM
49642014-02-07 Allan McRae <allan@archlinux.org>
4965
4966 * version.h (RELEASE): Set to "development".
4967 (VERSION): Set to "2.19.90"
4968 * NEWS: Add 2.20 section.
4969
3bfff2ed
CD
49702014-02-06 Carlos O'Donell <carlos@redhat.com>
4971
4972 [BZ #16529]
4973 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4974
ee7cc385
SP
49752014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4976
4977 * manual/contrib.texi: Update entry for Carlos O'Donell,
4978 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4979
f877c4f2
CD
49802014-02-05 Carlos O'Donell <carlos@rehdat.com>
4981
27e839f6
CD
4982 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4983
f877c4f2
CD
4984 * sysdeps/unix/sysv/linux/kernel-features.h
4985 [__LINUX_KERNEL_VERSION >= 0x020621]
4986 (__ASSUME_PROC_PID_TASK_COMM): Define.
4987
68159946
SP
49882014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4989
ba17cdbd
SP
4990 [BZ #16398]
4991 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4992 conversion when destination buffer does not have enough space.
4993 * libio/tst-ftell-partial-wide.c: New test case.
4994 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4995
68159946
SP
4996 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4997 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4998 Leonard and Allan McRae.
4999
2b528732
DM
50002014-02-04 David S. Miller <davem@davemloft.net>
5001
5002 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5003 32-bit.
5004
0ff82463
AZ
50052014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5006
57f41c40
AS
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5008 New file
c01603f7
AZ
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5010 New file
57f41c40
AS
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5012 New file.
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5014 New file.
c01603f7
AZ
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5016 New file.
57f41c40
AS
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5018 New file.
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5020 New file.
c01603f7
AZ
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5022 New file.
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5024 New file.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5026 New file.
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5028 New file.
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5030 New file.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5032 New file.
5033
50342014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035
0ff82463
AZ
5036 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5037 * shlib-versions: Likewise.
5038
1695c773
AZ
50392014-02-04 Roland McGrath <roland@hack.frob.com>
5040 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5041
5042 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5043 (abilist-pattern): New variable, set to %-le.abilist.
5044
5045 * Makerules (abilist-pattern): New variable.
5046 (vpath): Use $(abilist-pattern) in place of %.abilist.
5047 (check-abi-% pattern rule): Likewise.
5048 (check-abi, update-abi): Likewise.
5049
6c0ce4b4
EW
50502014-02-04 Eric Wong <normalperson@yhbt.net>
5051
5052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5053
481e3524
CD
50542014-02-03 Carlos O'Donell <carlos@redhat.com>
5055
5056 * manual/startup.texi: Add next, previous, and top entries for
5057 the `Program Arguments' and `Environment Variables' nodes.
5058
375592d3
AO
50592014-02-03 Alexandre Oliva <aoliva@redhat.com>
5060
5061 * manual/macros.texi: Add comments before MTASC-safety macros.
5062
f54838ba
AO
5063 * manual/users.texi: Document MTASC-safety properties.
5064
57f41c40
AS
5065 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5066 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5067 @deftypefun, and add @safety note.
5068 * manual/signal.texi: Move comments that analyze the above
5069 functions to their home place.
5070
fd3daba4
AM
50712014-02-03 Allan McRae <allan@archlinux.org>
5072
5073 * po/sl.po: Update Slovenian translation from translation project.
5074
597636d7
AO
50752014-02-02 Alexandre Oliva <aoliva@redhat.com>
5076
5077 * manual/time.texi (timegm): Add missing blank after @c.
5078 Reported by Joseph Myers <joseph@codesourcery.com>.
5079
ee196e3c
AO
50802014-02-01 Alexandre Oliva <aoliva@redhat.com>
5081
5082 * manual/check-safety.sh: New.
5083 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5084
f8d529d5
AO
5085 * manual/terminal.texi: Document MTASC-safety properties.
5086
de55fdf4
AO
5087 * manual/filesys.texi: Document MTASC-safety properties.
5088
c3299c08
AO
5089 * manual/errno.texi: Document MTASC-safety properties.
5090
06e90b14
AO
5091 * manual/intro.texi: Document safety identifiers and
5092 conditionals.
5093
1acd4371
AO
5094 * manual/string.texi (wcstok): Fix prototype.
5095 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5096
23e5b8cb
AO
5097 * manual/time.texi: Document MTASC-safety properties.
5098
11087373
AO
5099 * manual/string.texi: Document MTASC-safety properties.
5100
5da2c93d
AO
5101 * manual/threads.texi: Document MTASC-safety properties.
5102
171e9210
AO
5103 * manual/stdio.texi: Document MTASC-safety properties.
5104
d9e02532
AO
5105 * manual/syslog.texi: Document MTASC-safety properties.
5106
6af8bab7
AO
5107 * manual/sysinfo.texi: Document MTASC-safety properties.
5108
663b02d7
AO
5109 * manual/startup.texi: Document MTASC-safety properties.
5110
973f180b
AO
5111 * manual/socket.texi: Document MTASC-safety properties.
5112
8f3c25c8
AO
5113 * manual/signal.texi: Document MTASC-safety properties.
5114
542210fb
AO
51152014-01-31 Alexandre Oliva <aoliva@redhat.com>
5116
5117 * manual/setjmp.texi: Document MTASC-safety properties.
5118
433c45a2
AO
5119 * manual/search.texi: Document MTASC-safety properties.
5120
c8ce789c
AO
5121 * manual/resource.texi: Document MTASC-safety properties.
5122
19f5d29c
AO
5123 * manual/process.texi: Document MTASC-safety properties.
5124
e2dfb7f4
AO
5125 * manual/platform.texi: Document MTASC-safety properties.
5126
8c1413f5
AO
5127 * manual/pipe.texi: Document MTASC-safety properties.
5128
03483ada
AO
5129 * manual/pattern.texi: Document MTASC-safety properties.
5130
29e7e2df
AO
5131 * manual/message.texi: Document MTASC-safety properties.
5132
9f529d7c
AO
5133 [BZ #12751]
5134 * manual/memory.texi: Document MTASC-safety properties.
5135
27aaa791
AO
5136 * manual/math.texi: Document MTASC-safety properties.
5137
f2d58726
AO
5138 * manual/locale.texi: Document MTASC-safety properties.
5139
2cc3615c
AO
5140 * manual/llio.texi: Document MTASC-safety properties.
5141
d9f0ec97
AO
5142 * manual/libdl.texi: New.
5143
e7c4409a
AO
5144 * manual/lang.texi: Document MTASC-safety properties.
5145
27bdc63c
AO
5146 * manual/job.texi: Document MTASC-safety properties.
5147
a7b90ea9
AO
5148 * manual/getopt.texi: Document MTASC-safety properties.
5149
c49130e3
AO
5150 * manual/ctype.texi: Document MTASC-safety properties.
5151
0d23a5c1
MR
51522014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5153
5154 [BZ #16046]
5155 * csu/libc-tls.c (static_map): Remove variable.
5156 (__libc_setup_tls): Use main executable's link map for TLS data.
5157 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5158 casing for LM_ID_BASE and GL(dl_nns).
5159 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5160 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5161 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5162 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5163 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5164 member.
5165 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5166 l_phnum members.
5167
0037bb60
AO
51682014-01-30 Alexandre Oliva <aoliva@redhat.com>
5169
5170 * manual/debug.texi: Document MTASC-safety properties.
5171
409e00bd
L
51722014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5173
5174 [BZ #16510]
5175 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5176 of __x86_64__ when disabling x87 inline functions.
5177
86e60666
AO
51782014-01-29 Alexandre Oliva <aoliva@redhat.com>
5179
5180 * manual/charset.texi: Document MTASC-safety properties.
5181
76167637
AO
5182 * manual/crypt.texi: Document MTASC-safety properties.
5183
e567f2a0
AO
5184 * manual/conf.texi: Document MTASC-safety properties.
5185
b719dafd
AO
5186 * manual/arith.texi: Document MTASC-safety properties.
5187
4a16c662
AO
5188 * manual/argp.texi: Document MTASC-safety properties.
5189
0a57b83e
AO
5190 * manual/macros.texi: Introduce macros to document multi
5191 thread, asynchronous signal and asynchronous cancellation
5192 safety properties.
5193 * manual/intro.texi: Introduce the properties themselves.
5194
feab2397
KK
51952014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5196
5197 * sysdeps/sh/sh4/Makefile: New file.
5198
1c0d11bc
AS
51992014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5200
5201 * math/gen-libm-test.pl ($srcdir): New variable.
5202 ($auto_input): Use it.
5203
af37a8a3
SP
52042014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5205
d7b00f98
SP
5206 [BZ #16506]
5207 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5208 access beyond array bounds when parsing netgroups file.
5209
af37a8a3
SP
5210 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5211 the old buffer before realloc.
5212
0c00f062
AM
52132014-01-27 Allan McRae <allan@archlinux.org>
5214
5215 * po/fr.po: Update French translation from translation project.
5216
7d69a1b0
KK
52172014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5218
5219 * sysdeps/sh/libm-test-ulps: Regenerate.
5220
6e697ff7
DM
52212014-01-24 David S. Miller <davem@davemloft.net>
5222
5223 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5224
9cadb35c
KK
52252014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5226
5227 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5228 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5229
5d41dadf
SP
52302013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 [BZ #16474]
5233 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5234 string pointers after reallocation.
5235
0bad441c
KK
52362014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5237
5238 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5239 __SH4A__ instead of __SH_FPU_ANY__.
5240
7007c661
KK
52412014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5242
5243 * sysdeps/sh/fpu_control.h: New file.
5244 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5245 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5246 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5247 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5248 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5249 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5250 * sysdeps/sh/sys/ucontext.h: Remove.
5251 * sysdeps/sh/sys: Remove directory.
5252
0f0c35e4
AK
52532014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5254
5255 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5256 s390/sys/ucontext.h.
5257 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5258 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5259
4959e284
L
52602014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5261
5262 [BZ #15605]
5263 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5264
d98720e0
AZ
52652014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5266
5267 [BZ#16431]
5268 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5269 Adjust the vDSO correctly for internal calls.
5270 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5271
91cbd0bc
AM
52722014-01-20 Allan McRae <allan@archlinux.org>
5273
5274 * po/ca.po: Update Catalan translation from translation project.
5275
7a02cfad
MF
52762014-01-16 Mike Frysinger <vapier@gentoo.org>
5277
5278 * sysdeps/s390/sotruss-lib.c: New file.
5279
736c304a
AZ
52802014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5281
5282 [BZ#16430]
6e077ee5 5283 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5284 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5285 local calls issues by not having a PLT stub required for IFUNC calls.
5286 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5287
94d0cea0
JM
52882014-01-16 Joseph Myers <joseph@codesourcery.com>
5289
5290 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5291 * math/test-fpucw-static.c: Likewise.
5292
980cb518
SP
52932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5294
5295 [BZ #16453]
5296 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5297
2393fc01
AZ
52982014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5299
5300 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5301 implementation for powerpc.
5302
d359bcc2
OB
53032014-01-15 Ondřej Bílka <neleai@seznam.cz>
5304
5305 [BZ #14782]
5306 * sysdeps/posix/system.c (__libc_system): Do not enable
5307 asynchronous cancellation.
5308
7beb48cb
AK
53092014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5310
5311 [BZ #16427]
5312 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5313 handling only for numbers special also in the IEEE case.
5314
c20d5bf5
AK
53152014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5316
5317 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5318
e83bd4ee
AM
53192014-01-11 Allan McRae <allan@archlinux.org>
5320
76d0ea69
AM
5321 * po/bg.po: Update Bulgarian translation from translation project.
5322
e83bd4ee
AM
5323 * po/de.po: Update German translation from translation project.
5324
bc2ba20a
RM
53252014-01-10 Roland McGrath <roland@hack.frob.com>
5326
5327 * sysdeps/generic/gcc-compat.h: New file.
5328
649ecea2
SP
53292014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5330
5331 * benchtests/asin-inputs: Correct slow inputs.
5332 * benchtests/acos-inputs: Likewise.
5333
1b19c006
AM
53342014-01-10 Allan McRae <allan@archlinux.org>
5335
a46dab08
AM
5336 * po:sv.po: Update Swedish translation from translation project.
5337
421df74a
AM
5338 * po/vi.po: Update Vietnamese translation from translation project.
5339
d61c51a7
AM
5340 * po/eo.po: Update Esperanto translation from translation project.
5341
0339a319
AM
5342 * po/cs.po: Update Czech translation from translation project.
5343
94ad3e99
AM
5344 * po/nl.po: Update Dutch translation from translation project.
5345
e349ca71
AM
5346 * po/pl.po: Update Polish translation from translation project.
5347
ddf930c1
AM
5348 * po/ru.po: Update Russian translation from translation project.
5349
1b19c006
AM
5350 * po/uk.po: Update Ukrainian translation from translation project.
5351
9f236c49
BM
53522014-01-08 Brooks Moses <bmoses@google.com>
5353
5354 * elf/dl-load.c: Fix comment typo.
5355
cd6701cf
CD
53562014-01-08 Carlos O'Donell <carlos@redhat.com>
5357
5358 * po/header.pot: Rename to...
5359 * po/pot.header: ... this.
5360 * po/Makefile: Use pot.header.
5361
66671c84
YK
53622014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5363 Maxim Kuvyrkov <maxim@kugelworks.com>
5364
5365 [BZ #16394]
cd6701cf
CD
5366 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5367 SRC and DEST against LEN.
66671c84 5368
38f34581
AZ
53692014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5370
5371 [BZ #16414]
5372 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5373 implementation.
5374 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5375
53762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5377
5378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5379
4c327f2a
JM
53802014-01-08 Joseph Myers <joseph@codesourcery.com>
5381
5382 [BZ #16408]
5383 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5384 for large positive arguments.
5385
b821f414
JM
53862014-01-07 Joseph Myers <joseph@codesourcery.com>
5387
1f0f2067
JM
5388 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5389
a5a326f6
JM
5390 * math/auto-libm-test-in: Mark various tests with
5391 xfail-rounding:ldbl-128ibm.
5392 * math/auto-libm-test-out: Regenerated.
5393
b821f414
JM
5394 [BZ #16407]
5395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5396 Increase overflow threshold.
5397
94c8a4bc
OB
53982014-01-07 Ondřej Bílka <neleai@seznam.cz>
5399
5400 [BZ #14286]
5401 * stdio-common/vfprintf.c: Check for integer overflow.
5402
87ded0c3
AK
54032014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5404
5405 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5406 the first argument and return value of __tls_get_addr_internal.
5407
c5eebdd0
AK
54082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5409
5410 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5411 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5412
05d138ef
AK
54132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5414
5415 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5416 * sysdeps/s390/rtld-global-offsets.sym: New file.
5417 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5418 GLIBC_2.19 symbol.
5419 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5420 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5421 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5422 ... this.
5423 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5424 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5425 ... this.
5426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5427 Regenerate.
5428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5429 Regenerate.
5430 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5431 halfs of GPRs for high_gprs contexts.
5432 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5433 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5434 field.
5435 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5436 uc_flags field.
5437 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5438 64 bit versions:
5439 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5440 for high GPRs (uc_high_gprs) and for future extensions
5441 (__reserved).
5442 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5443 for future extensions (__reserved).
5444 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5445 64 bit versions:
5446 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5447 SC_HIGHGPRS offset definition.
5448 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5449 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5450
93a45ff1
AK
5451 * Versions.def: Add GLIBC_2.19 for libpthread.
5452 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5453 siglongjmp for libpthread with GLIBC_2.19 symver.
5454 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5455 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5456 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5457 * sysdeps/s390/__longjmp.c: New file.
5458 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5459 * sysdeps/s390/longjmp.c: New file.
5460 * sysdeps/s390/setjmp.S: New file.
5461 * sysdeps/s390/sigjmp.S: New file.
5462 * sysdeps/s390/v1-longjmp.c: New file.
5463 * sysdeps/s390/v1-setjmp.h: New file.
5464 * sysdeps/s390/v1-sigjmp.c: New file.
5465 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5466 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5467 GLIBC_2.19 version.
5468 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5469 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5470 versioned symbols for ____longjmp_chk.
5471 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5472 Likewise.
5473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5474 Regenerate.
5475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5476 Regenerate.
5477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5478 Regenerate.
5479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5480 Regenerate.
5481 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5482 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5483 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5484 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5485 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5486 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5487 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5488 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5489 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5490 * sysdeps/s390/rtld-__longjmp.c: New file.
5491 * sysdeps/s390/rtld-setjmp.S: New file.
5492
eb3fc44b
JM
54932014-01-06 Joseph Myers <joseph@codesourcery.com>
5494
5495 [BZ #16400]
5496 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5497 Return -__logl (x) for small positive arguments without evaluating
5498 a polynomial.
5499
9341dde4
MF
55002014-01-06 Mike Frysinger <vapier@gentoo.org>
5501
5502 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5503 Rename to ...
5504 (__ptrace_peeksiginfo_args): ... this.
5505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5508
4cff0293
AM
55092014-01-06 Allan McRae <allan@archlinux.org>
5510
5511 * inet/netinet/in.h: Fix typo in comment.
5512
75595dcf
AJ
55132014-01-05 Andreas Jaeger <aj@suse.de>
5514
5515 * sysdeps/i386/fpu/libm-test-ulps: Update.
5516
79c1e109
AM
55172014-01-05 Allan McRae <allan@archlinux.org>
5518
dd804818
AM
5519 * po/libc.pot: Regenerated.
5520
79c1e109
AM
5521 * malloc/memusagestat.c: Fix gettext call formatting.
5522
0c813d1f
SK
55232014-01-04 Sami Kerola <kerolasa@iki.fi>
5524
5525 * nscd/nscd.c: Improve usage() output.
5526
20f4a8d9
MF
55272014-01-04 Mike Frysinger <vapier@gentoo.org>
5528
5529 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5530 * sysdeps/unix/sysv/linux/configure: Regenerated.
5531 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5532 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5533
22562bb2
JM
55342014-01-03 Joseph Myers <joseph@codesourcery.com>
5535
5536 [BZ #16390]
5537 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5538 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5539
d7ad2d9b
AZ
55402014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541
5542 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5543 extra tokens at end of #undef directive.
5544 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5545 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5546 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5547
7dd009d8
JM
55482014-01-03 Joseph Myers <joseph@codesourcery.com>
5549
24db925a
JM
5550 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5551
7dd009d8
JM
5552 * math/auto-libm-test-in: Mark various tests with
5553 xfail-rounding:ldbl-128ibm.
5554 * math/auto-libm-test-out: Regenerated.
5555
396e3ecf
JM
55562014-01-02 Joseph Myers <joseph@codesourcery.com>
5557
819e5d50
JM
5558 [BZ #16386]
5559 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5560 numbers with subnormal high part when calculating exponent.
5561
90b6a1e5
JM
5562 [BZ #16385]
5563 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5564 fabs.
5565
396e3ecf
JM
5566 [BZ #16384]
5567 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5568 M_LN2l.
5569 (__ieee754_acoshl): Use __log1pl not __log1p.
5570
6c8dbf00
OB
55712013-01-02 Ondřej Bílka <neleai@seznam.cz>
5572
57f41c40
AS
5573 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5574 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5575 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5576 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5577 (reused_arena, arena_get2): Convert to GNU style.
5578 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5579 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5580 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5581 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5582 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5583 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5584 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5585 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5586 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5587 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5588 * malloc/malloc.h: Likewise.
57f41c40
AS
5589 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5590 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5591 * malloc/mcheck.h: Likewise.
57f41c40
AS
5592 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5593 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5594 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5595 * malloc/morecore.c (__default_morecore): Likewise.
5596 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5597 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5598 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5599 (print_and_abort): Likewise.
6c8dbf00
OB
5600 * malloc/obstack.h: Likewise.
5601 * malloc/set-freeres.c (__libc_freeres): Likewise.
5602 * malloc/tst-mallocstate.c (main): Likewise.
5603 * malloc/tst-mtrace.c (main): Likewise.
5604 * malloc/tst-realloc.c (do_test): Likewise.
5605
d4124212
SP
56062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5607
9a3c6a6f
SP
5608 [BZ #16366]
5609 * nscd/netgroupcache.c (do_notfound): New function.
5610 (addgetnetgrentX): Use it.
5611
d4124212
SP
5612 [BZ # 16365]
5613 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5614 NSS_STATUS_NOTFOUND.
5615
97b9a009
JM
56162014-01-01 Joseph Myers <joseph@codesourcery.com>
5617
5618 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5620
d4697bc9
AM
56212014-01-01 Allan McRae <allan@archlinux.org>
5622
ddb3687f
AM
5623 * scripts/update-copyrights: Update configure input file suffix.
5624
88726d48
AM
5625 * NEWS: Update copyright year.
5626 * catgets/gencat.c: Likewise.
5627 * csu/version.c: Likewise.
5628 * debug/catchsegv.sh: Likewise.
5629 * debug/pcprofiledump.c: Likewise.
5630 * debug/xtrace.sh: Likewise.
5631 * elf/ldconfig.c: Likewise.
5632 * elf/ldd.bash.in: Likewise.
5633 * elf/pldd.c: Likewise.
5634 * elf/sotruss.ksh: Likewise.
5635 * elf/sprof.c: Likewise.
5636 * iconv/iconv_prog.c: Likewise.
5637 * iconv/iconvconfig.c: Likewise.
5638 * locale/programs/locale.c: Likewise.
5639 * locale/programs/localedef.c: Likewise.
5640 * login/programs/pt_chown.c: Likewise.
5641 * malloc/memusage.sh: Likewise.
5642 * malloc/memusagestat.c: Likewise.
5643 * malloc/mtrace.pl: Likewise.
5644 * manual/libc.texinfo: Likewise.
5645 * nscd/nscd.c: Likewise.
5646 * nss/getent.c: Likewise.
5647 * nss/makedb.c: Likewise.
5648 * posix/getconf.c: Likewise.
5649 * scripts/test-installation.pl: Likewise.
5650
d4697bc9
AM
5651 * All files with FSF copyright notices: Update copyright dates
5652 using scripts/update-copyrights.
5653 * intl/plural.c: Regenerated.
5654 * locale/programs/charmap-kw.h: Likewise.
5655 * locale/programs/locfile-kw.h: Likewise.
5656
c8590f9d
MF
56572013-12-31 Mike Frysinger <vapier@gentoo.org>
5658
5659 * sysdeps/unix/sysv/linux/configure: Regenerated.
5660 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5661 the linux/fanotify.h header.
5662 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5663 HAVE_LINUX_FANOTIFY_H is defined.
5664
b19221b9
SP
56652013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5666
dd1d85e5
SP
5667 * benchtests/cos-inputs: New inputs.
5668 * benchtests/sin-inputs: Likewise.
5669
1acbb90f
SP
5670 * benchtests/atan-inputs: New inputs. Fix name of multiple
5671 precision fallback inputs.
5672
4c012ed3
SP
5673 * benchtests/atanh-inputs: New inputs.
5674 * benchtests/tanh-inputs: Likewise.
5675
eff98324
SP
5676 * benchtests/acosh-inputs: New inputs.
5677 * benchtests/asinh-inputs: Likewise.
5678
ce641152
SP
5679 * benchtests/cosh-inputs: New inputs.
5680 * benchtests/sinh-inputs: Likewise.
5681
b19221b9
SP
5682 * benchtests/acos-inputs: Add more inputs.
5683 * benchtests/asin-inputs: Likewise.
5684
030a4976 56852013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5686
030a4976 5687 [BZ #16375]
9dcc8f11
VS
5688 * manual/arith.texi: Fix spelling.
5689 * manual/charset.texi: Likewise.
5690 * manual/errno.texi: Likewise.
5691 * manual/filesys.texi: Likewise.
5692 * manual/lang.texi: Likewise.
5693 * manual/llio.texi: Likewise.
5694 * manual/locale.texi: Likewise.
5695 * manual/message.texi: Likewise.
5696 * manual/resource.texi: Likewise.
5697 * manual/search.texi: Likewise.
5698 * manual/setjmp.texi: Likewise.
5699 * manual/stdio.texi: Likewise.
5700 * manual/string.texi: Likewise.
5701 * manual/sysinfo.texi: Likewise.
5702 * manual/time.texi: Likewise.
5703
11520a57
CD
57042013-12-27 Carlos O'Donell <carlos@redhat.com>
5705
5706 * po/sl.po: New file.
5707
471103ae
MF
57082013-12-27 Mike Frysinger <vapier@gentoo.org>
5709
5710 * .gitignore: Add core/.gdbinit/.gdb_history.
5711
6c9642ed
AM
57122013-12-27 Allan McRae <allan@archlinux.org>
5713
5714 [BZ #16369]
5715 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5716 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5717
3f637079
BM
57182013-12-24 Brooks Moses <bmoses@google.com>
5719
5720 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5721 all compilers that claim C++98 compliance, not just GCC.
5722 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5723 Likewise.
5724
abc26e99
MK
57252013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5726
5727 * NEWS: Restore accidentally deleted bug-fix entries.
5728
362b47fe
MK
57292013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5730 Ondřej Bílka <neleai@seznam.cz>
5731
5732 [BZ #15073]
5733 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5734 have_lock.
362b47fe 5735
b9bcbbcb
OB
57362013-12-23 Ondřej Bílka <neleai@seznam.cz>
5737
5738 [BZ #12986]
5739 * manual/stdio.texi (String Input Conversions): Clarify that character
5740 classes are not supported.
5741
fb55fcd2
AZ
57422013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5743
5744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5745
ef7344f0
JM
57462013-12-22 Joseph Myers <joseph@codesourcery.com>
5747
4f40e4b3
JM
5748 [BZ #16337]
5749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5750 Calculate results for small negative arguments directly rather
5751 than using reflection formula with special underflow handling.
5752
ef7344f0
JM
5753 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5754 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5755 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5756 (fchflags): Likewise.
5757 (revoke): Likewise.
5758 (setlogin): Likewise.
5759 (sigaltstack): Likewise.
5760 (wait4): Likewise.
5761 (sigblock): Remove.
5762 (sigsetmask): Likewise.
5763 (wait3): Likewise.
5764 (waitpid): Likewise.
5765 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5766 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5767 file.
5768 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5769 * sysdeps/unix/bsd/Makefile: ... here.
5770 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5771 * sysdeps/unix/bsd/Versions: ... here.
5772 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5773 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5774 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5775 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5776 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5777 * sysdeps/unix/bsd/sigblock.c: ... here.
5778 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5779 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5780 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5781 * sysdeps/unix/bsd/sigvec.c: ... here.
5782 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5783 * sysdeps/unix/bsd/tcdrain.c: ... here.
5784 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5785 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5786 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5787 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5788 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5789 * sysdeps/unix/bsd/wait.c: ... here.
5790 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5791 * sysdeps/unix/bsd/wait3.c: ... here.
5792 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5793 * sysdeps/unix/bsd/waitpid.c: ... here.
5794
5b0626b9
JM
57952013-12-21 Joseph Myers <joseph@codesourcery.com>
5796
5797 [BZ #16356]
5798 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5799 round-to-nearest for [!USE_AS_EXPM1L].
5800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5801 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5802 more tests of exp and exp10. Expect some exp10 tests to miss
5803 exceptions or fail in directed rounding modes.
5804 * math/auto-libm-test-out: Regenerated.
5805 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5806 (exp10_test_tonearest): New function.
5807 (exp10_towardzero_test_data): New array.
5808 (exp10_test_towardzero): New function.
5809 (exp10_downward_test_data): New array.
5810 (exp10_test_downward): New function.
5811 (exp10_upward_test_data): New array.
5812 (exp10_test_upward): New function.
5813 (main): Call the new functions.
5814 * sysdeps/i386/fpu/libm-test-ulps: Update.
5815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5816
7fda5682
JM
58172013-12-20 Joseph Myers <joseph@codesourcery.com>
5818
31e3a405
JM
5819 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5820 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5821 * math/auto-libm-test-out: Regenerated.
5822 * math/libm-test.inc (acosh_test_data): Add more tests.
5823 (atanh_test_data): Likewise.
5824 (ceil_test_data): Likewise.
5825 (copysign_test_data): Likewise.
5826 * sysdeps/i386/fpu/libm-test-ulps: Update.
5827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5828
85bff96a
JM
5829 * timezone/checktab.awk: Update from tzcode 2013i.
5830 * timezone/private.h: Likewise.
5831 * timezone/scheck.c: Likewise.
5832 * timezone/tzfile.h: Likewise.
5833 * timezone/tzselect.ksh: Likewise.
5834 * timezone/zdump.c: Likewise.
5835 * timezone/zic.c: Likewise.
5836
b7867a3b
JM
5837 * math/auto-libm-test-in: Add tests of cpow.
5838 * math/auto-libm-test-out: Regenerated.
5839 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5840 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5841 mpc_cc_c.
5842 (func_calc_desc): Add mpc_cc_c union field.
5843 (test_functions): Add cpow.
5844 (special_fill_2pi): New function.
5845 (special_real_inputs): Add 2pi.
5846 (calc_generic_results): Handle mpc_cc_c.
5847 * sysdeps/i386/fpu/libm-test-ulps: Update.
5848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849
7fda5682
JM
5850 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5851 csqrt, ctan and ctanh.
5852 * math/auto-libm-test-out: Regenerated.
5853 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5854 (TEST_COND_x86): Likewise.
5855 (ccos_test_data): Use AUTO_TESTS_c_c.
5856 (ccosh_test_data): Likewise.
5857 (cexp_test_data): Likewise.
5858 (clog_test_data): Likewise.
5859 (csqrt_test_data): Likewise.
5860 (ctan_test_data): Likewise.
5861 (ctan_tonearest_test_data): Likewise.
5862 (ctan_towardzero_test_data): Likewise.
5863 (ctan_downward_test_data): Likewise.
5864 (ctan_upward_test_data): Likewise.
5865 (ctanh_test_data): Likewise.
5866 (ctanh_tonearest_test_data): Likewise.
5867 (ctanh_towardzero_test_data): Likewise.
5868 (ctanh_downward_test_data): Likewise.
5869 (ctanh_upward_test_data): Likewise.
5870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5871 mpc_c_c.
5872 (func_calc_desc): Add mpc_c_c union field.
5873 (FUNC_mpc_c_c): New macro.
5874 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5875 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5876 ctanh.
5877 (special_fill_min_subnorm_p120): New function.
5878 (special_real_inputs): Add min_subnorm_p120.
5879 (calc_generic_results): Handle mpc_c_c.
5880 * sysdeps/i386/fpu/libm-test-ulps: Update.
5881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5882
5ff8d60e
SP
58832013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5884
57f41c40
AS
5885 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5886 (do_sin_slow): New functions.
5887 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5888 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5889
84ba214c
SP
5890 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5891 Use M to change sign of result instead of X. Assume X is
5892 positive.
5893 (csloww1): Likewise.
5894 (__sin): Adjust.
5895 (__cos): Adjust.
5896
975195e4
SP
5897 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5898 arguments A and DA.
5899 (__sin): Adjust.
5900 (__cos): Likewise.
5901
5ff8d60e
SP
5902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5903 (__cos): Likewise.
5904 (sloww1): Don't adjust sign of DX.
5905 (csloww1): Likewise.
5906 (sloww2): Use X directly and don't adjust sign of DX.
5907 (csloww2): Likewise.
5908
eb983568
JM
59092013-12-19 Joseph Myers <joseph@codesourcery.com>
5910
64a17f1a
JM
5911 * math/auto-libm-test-in: Add tests of cabs and carg.
5912 * math/auto-libm-test-out: Regenerated.
5913 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5914 (carg_test_data): Likewise.
5915 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5916 mpc_c_f.
5917 (func_calc_desc): Add mpc_c_f union field.
5918 (test_functions): Add cabs and carg.
5919 (calc_generic_results): Handle mpc_c_f.
5920
eb983568
JM
5921 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5922 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5923 as a macro and a compat symbol.
5924 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5925 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5926 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5927 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5928 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5929 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5930 not use .hidden.
5931 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5932 Likewise.
5933 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5934 Likewise.
5935 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5936 Likewise.
5937 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5938 Likewise.
5939 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5940 Likewise.
5941 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5942 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5943 from GLIBC_2.3.2.
5944
6eeb678a
AZ
59452013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5948
6f6fc482
JM
59492013-12-19 Joseph Myers <joseph@codesourcery.com>
5950
21fea2e2
JM
5951 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5952 trailing whitespace removed.
5953 * scripts/config.guess: Update to version 2013-11-29.
5954 * scripts/config.sub: Update to version 2013-10-01.
5955
6f6fc482
JM
5956 * math/auto-libm-test-in: Add tests of sincos.
5957 * math/auto-libm-test-out: Regenerated.
5958 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5959 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5960 mpfr_f_11.
5961 (func_calc_desc): Add mpfr_f_11 union field.
5962 (test_functions): Add sincos.
5963 (calc_generic_results): Handle mpfr_f_11.
5964 * sysdeps/i386/fpu/libm-test-ulps: Update.
5965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5966
83f5c32d
AS
59672013-12-19 Andreas Schwab <schwab@suse.de>
5968
5969 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5970 CALL_MCOUNT.
5971 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5972 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5973 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5974
c688b419
JM
59752013-12-19 Joseph Myers <joseph@codesourcery.com>
5976
335ee092
JM
5977 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5978 * sysdeps/i386/fpu/libm-test-ulps: Update.
5979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980
f88acd39
JM
5981 [BZ #16293]
5982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5983 round-to-nearest mode when using frndint.
5984 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5985 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5986 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5987 Likewise.
5988 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5989 sinh test to fail.
5990 * math/auto-libm-test-out: Regenerated.
5991 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5992 (TEST_COND_x86): Likewise.
5993 (expm1_tonearest_test_data): New array.
5994 (expm1_test_tonearest): New function.
5995 (expm1_towardzero_test_data): New array.
5996 (expm1_test_towardzero): New function.
5997 (expm1_downward_test_data): New array.
5998 (expm1_test_downward): New function.
5999 (expm1_upward_test_data): New array.
6000 (expm1_test_upward): New function.
6001 (main): Run the new test functions.
6002 * sysdeps/i386/fpu/libm-test-ulps: Update.
6003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6004
c688b419
JM
6005 * include/features.h: Update comment documenting feature test
6006 macros. Mention _DEFAULT_SOURCE in comment.
6007 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6008 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6009 _BSD_SOURCE and _SVID_SOURCE.
6010 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6011 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6012 !_SVID_SOURCE]: Likewise.
6013 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6014 (__USE_POSIX_IMPLICITLY): Define.
6015 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6016 (_POSIX_SOURCE): Undefine and redefine.
6017 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6018 (_POSIX_C_SOURCE): Likewise.
6019 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6020 (Feature Test Macros): Update documentation of default features.
6021
9f6e964c
RS
60222013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6023
6024 * benchtests/Makefile: Add bench-strtok.
6025 * benchtests/bench-strtok.c: New file: strtok benchtest.
6026
ee0a148a
AM
60272013-12-19 Allan McRae <allan@archlinux.org>
6028
6029 * manual/install.texi: Suppress menu for plain text output.
6030 * INSTALL: Regenerated.
6031
b9ab448f
BM
60322013-12-18 Brooks Moses <bmoses@google.com>
6033
6034 [BZ #15846]
6035 * misc/getauxval.c: Include errno.h.
6036 (__getauxval): Set errno to ENOENT if the requested type is not
6037 found.
6038 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6039 don't declare with __attribute_const__.
6040 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6041 * manual/startup.texi: Document that getauxval sets errno.
6042
23776487
JM
60432013-12-18 Joseph Myers <joseph@codesourcery.com>
6044
f889953b
JM
6045 * math/auto-libm-test-in: Add tests of jn and yn.
6046 * math/auto-libm-test-out: Regenerated.
6047 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6048 (yn_test_data): Likewise.
6049 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6050 mpfr_if_f.
6051 (func_calc_desc): Add mpfr_if_f union field.
6052 (FUNC_mpfr_if_f): New macro.
6053 (test_functions): Add jn and yn.
6054 (calc_generic_results): Assert type of second input for
6055 mpfr_ff_f. Handle mpfr_if_f.
6056 (output_for_one_input_case): Disable all checking for arguments
6057 fitting floating-point types in case of an integer argument.
6058 * sysdeps/i386/fpu/libm-test-ulps: Update.
6059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060
23776487
JM
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6062 Don't expect fegetround reference in libm.so.
6063
cb756c6d
MS
60642013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6065
6066 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6067 $(config-cflags-nofma).
6068
2dec468f
JM
60692013-12-18 Joseph Myers <joseph@codesourcery.com>
6070
5953eb3a
JM
6071 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6072 * math/auto-libm-test-out: Regenerated.
6073
2dec468f
JM
6074 [BZ #16338]
6075 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6076 to determine exponent and adjust argument to have exponent of -1.
6077 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6078 log2.
6079 * math/auto-libm-test-out: Regenerated.
6080 * sysdeps/i386/fpu/libm-test-ulps: Update.
6081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6082
4d84e6ad
OB
60832013-12-18 Ondřej Bílka <neleai@seznam.cz>
6084
6085 * manual/probes.texi: Remove cases when per-thread arenas are
6086 disabled.
6087
1818483b
AS
60882013-12-18 Andreas Schwab <schwab@suse.de>
6089
6090 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6091 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6092 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6093 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6094 * sysdeps/i386/i686/multiarch/Makefile: Update.
6095 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6096
25de95bf
JM
60972013-12-17 Joseph Myers <joseph@codesourcery.com>
6098
6099 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6100 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6101
674762d9
PE
61022013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6103
ed27ed83 6104 [BZ #15968]
0748546f
PE
6105 Support TZ transition times < 00:00:00.
6106 This is needed for version-3 tz-format files; it supports time
6107 stamps past 2037 for America/Godthab (the only entry in the tz
6108 database for which this change is relevant).
6109 * manual/time.texi (TZ Variable): Document transition times
6110 from -167:59:59 through -00:00:01.
6111 * time/tzset.c (tz_rule): Time of day is now signed.
6112 (__tzset_parse_tz): Parse negative time of day.
6113
4480e934
PE
6114 Document TZ transition times >= 25:00:00.
6115 * manual/time.texi (TZ Variable): Document transition times from
6116 25:00:00 through 167:59:59. These are already supported, and this
6117 support will help with version-3 tz-format files.
6118
69947401
PE
6119 * manual/time.texi (TZ Variable): Modernize North America example
6120 to reflect current (i.e., 2007-and-later) daylight saving rules.
6121
674762d9
PE
6122 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6123
7011c262
JM
61242013-12-17 Joseph Myers <joseph@codesourcery.com>
6125
2fc6557e
JM
6126 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6127 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6130 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6131 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6132 * sysdeps/unix/bsd/clock.c: Likewise.
6133 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6134 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6135 * sysdeps/unix/bsd/init-posix.c: Likewise.
6136 * sysdeps/unix/bsd/poll.c: Likewise.
6137 * sysdeps/unix/bsd/ptsname.c: Likewise.
6138 * sysdeps/unix/bsd/seekdir.c: Likewise.
6139 * sysdeps/unix/bsd/setegid.c: Likewise.
6140 * sysdeps/unix/bsd/seteuid.c: Likewise.
6141 * sysdeps/unix/bsd/setgid.c: Likewise.
6142 * sysdeps/unix/bsd/setrgid.c: Likewise.
6143 * sysdeps/unix/bsd/setruid.c: Likewise.
6144 * sysdeps/unix/bsd/setsid.c: Likewise.
6145 * sysdeps/unix/bsd/setuid.c: Likewise.
6146 * sysdeps/unix/bsd/sigaction.c: Likewise.
6147 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6148 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6149 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6150 * sysdeps/unix/bsd/telldir.c: Likewise.
6151 * sysdeps/unix/bsd/times.c: Likewise.
6152 * sysdeps/unix/bsd/usleep.c: Likewise.
6153
029c7b25
JM
6154 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6155 ($(objpfx)libbsd-compat.a): Remove rule.
6156
7011c262
JM
6157 * include/features.h (__FAVOR_BSD): Do not define.
6158 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6159 features conflicting with POSIX.
6160 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6161 (_BSD_SOURCE): Remove description of not being a subset of other
6162 feature test macros.
6163 * manual/job.texi (getpgrp): Do not document BSD version.
6164 (getpgid): Do not document by reference to BSD getpgrp.
6165 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6166 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6167 * signal/signal.h [__FAVOR_BSD]: Likewise.
6168 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6169 instead of making contents conditional on [__FAVOR_BSD].
6170 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6171
affb6f78
AZ
61722013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173
6174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6175
c88769dd
JM
61762013-12-17 Joseph Myers <joseph@codesourcery.com>
6177
6432a540
JM
6178 [BZ #16314]
6179 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6180 values below 2**-450, not 2**-500.
6181 * math/auto-libm-test-in: Don't allow spurious underflow from
6182 hypot.
6183 * math/auto-libm-test-out: Regenerated.
6184
c88769dd
JM
6185 [BZ #16316]
6186 [BZ #16330]
6187 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6188 values of ha and hb and sort them after adjusting subnormal
6189 arguments.
6190 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6191 Likewise.
6192 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6193 values of ea and eb and sort them after adjusting subnormal
6194 arguments.
6195 * math/auto-libm-test-in: Do not expect some hypot tests of
6196 subnormals to fail. Add more hypot tests.
6197 * math/auto-libm-test-out: Regenerated.
6198
29618f6b
KK
61992013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6200
6201 [BZ #13304]
6202 * sysdeps/sh/s_fma.c: New file.
6203 * sysdeps/sh/s_fmaf.c: New file.
6204 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6205 version.
6206 * sysdeps/sh/Implies: Add sh/soft-fp.
6207
eacfdfbf
RM
62082013-12-16 Roland McGrath <roland@hack.frob.com>
6209
6210 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6211 level of indirection to members `objname', `errstring', `malloced'.
6212 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6213 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6214 it as the __longjmp argument (just pass 1 instead).
6215 (_dl_catch_error): Initialize C with argument pointers and address of
6216 volatile local ERRCODE rather than copying values out of C at return.
6217
ff362e5b
JM
62182013-12-16 Joseph Myers <joseph@codesourcery.com>
6219
6220 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6221 * math/auto-libm-test-out: Regenerated.
6222 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6223 (hypot_test_data): Likewise.
6224 (pow_test_data): Likewise.
6225 (pow_tonearest_test_data): Likewise.
6226 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6227 mpfr_ff_f.
6228 (func_calc_desc): Add mpfr_ff_f union field.
6229 (FUNC_mpfr_ff_f): New macro.
6230 (test_functions): Add atan2, hypot and pow.
6231 (special_fill_min): New function.
6232 (special_fill_minus_min): Likewise.
6233 (special_fill_min_subnorm): Likewise.
6234 (special_fill_minus_min_subnorm): Likewise.
6235 (special_real_inputs): Add min, -min, min_subnorm and
6236 -min_subnorm.
6237 (calc_generic_results): Handle mpfr_ff_f.
6238 * sysdeps/i386/fpu/libm-test-ulps: Update.
6239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6240
5764c27f
WN
62412013-12-16 Will Newton <will.newton@linaro.org>
6242
6243 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6244 (Aligned Memory Blocks): Add documentation for aligned_alloc
6245 and suggest it as an alternative to posix_memalign.
6246 (Hooks for Malloc): Document __memalign_hook is also called
6247 for aligned_alloc. (Summary of Malloc): Add summary for
6248 aligned alloc. Document __memalign_hook is also called
6249 for aligned_alloc.
6250
0a096e44
WN
62512013-12-16 Will Newton <will.newton@linaro.org>
6252
6253 * manual/memory.texi (Malloc Examples): Clarify default
6254 alignment documentation. Suggest posix_memalign rather
6255 than memalign or valloc.
6256 (Aligned Memory Blocks): Remove suggestion to use memalign
6257 or valloc. Remove obsolete comment about BSD.
6258 Document memalign errno values and mark the function obsolete.
6259 Document posix_memalign returned error codes. Mark valloc
6260 as obsolete. (Hooks for Malloc): __memalign_hook is also
6261 called for posix_memalign and valloc.
6262 (Summary of Malloc): Add posix_memalign to function summary.
6263 __memalign_hook is also called for posix_memalign and valloc.
6264
8d561986
SP
62652013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6266
6267 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6268 TAYLOR_SIN.
6269 (__sin): Adjust.
6270 (__cos): Likewise.
6271 (sloww): Use mynumber union. Expand ternary operator into
6272 if-else statements.
6273 (cslow): use mynumber union.
6274
73616a74
AM
62752013-12-16 Allan McRae <allan@archlinux.org>
6276
9e8ac24b
AM
6277 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6278 * configure: Regenerated.
6279
6f8e37eb
AM
6280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6281
8894bad3
AM
6282 [BZ #14120]
6283 * configure.ac: Added --enable-maintainer-mode. Check for
6284 autoconf when enabled.
6285 * configure: Regenerated.
6286
73616a74
AM
6287 * nscd/nscd.service: New file.
6288 * nscd/nscd.tmpfiles: New file.
6289
584b18eb
OB
62902013-12-14 Ondřej Bílka <neleai@seznam.cz>
6291
6292 [BZ #12100]
6293 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6294 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6295 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6296 (strstr): Add __strstr_sse2_unaligned ifunc.
6297 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6298 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6299 (strcasestr): Remove __strcasestr_sse42 ifunc.
6300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6303
8a5c7897
KK
63042013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6305
6306 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6307 * sysdeps/sh/bits/fenv.h: ... here.
6308 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6309
fd712ef3
AZ
63102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6311
6312 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6313
42fcb46c
AZ
6314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6315 hypotf multiarch implementations.
6316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6318 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6319 multiarch hypot for PPC64.
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6321 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6322 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6323 multiarch hypotf for PPC64.
6324
83efded4
AZ
6325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6326 modff multiarch implementations.
6327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6330 multiarch modf for PPC64.
6331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6334 multiarch modff for PPC64.
6335
43e246d2
AZ
6336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6337 and logl multiarch implementations.
6338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6341 multiarch logb for PPC64.
6342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6345 multiarch logb for PPC64.
6346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6349 multiarch logb for PPC64.
6350
8fdad123
AZ
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6352 isinff multiarch implementation.
6353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6354 file.
6355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6357 multiarch isinf for PPC64.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6359 file.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6361 multiarch isinff for PPC64.
6362
1481d706
AZ
6363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6364 finitef multiarch implementation.
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6366 file.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6369 multiarch finite for PPC64.
6370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6371 file.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6373 multiarch finitef for PPC64.
6374
5ccd5fc8
AZ
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6376 lrint multiarch implementation.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6378 file.
6379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6381 multiarch llrint for PPC64.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6383 multiarch lrint for PPC64.
6384
2568f3fa
AZ
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6386 copysignf multiarch implementation.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6388 file.
6389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6390 file.
6391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6392 multiarch copysign for PPC64.
6393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6394 multiarch copysignf for PPC64.
6395
1cb341fd
AZ
6396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6397 multiarch implementation.
6398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6399 file.
6400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6401 file.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6403 file.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6405 file.
6406 multiarch llround for PPC64.
6407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6408 multiarch trunc for PPC64.
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6410 multiarch truncf for PPC64.
6411
59a3e194
AZ
6412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6413 multiarch implementation.
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6415 file.
6416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6417 file.
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6419 file.
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6421 file.
6422 multiarch llround for PPC64.
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6424 multiarch round for PPC64.
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6426 multiarch roundf for PPC64.
6427
357fd3b4
AZ
6428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6429 multiarch implementation.
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6431 file.
6432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6433 file.
6434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6435 file.
6436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6437 file.
6438 multiarch llround for PPC64.
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6440 multiarch floor for PPC64.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6442 multiarch floorf for PPC64.
6443
96770f12
AZ
6444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6445 multiarch implementation.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6447 file.
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6449 file.
6450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6451 file.
6452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6453 file.
6454 multiarch llround for PPC64.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6456 multiarch ceil for PPC64.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6458 multiarch ceilf for PPC64.
6459
c3627f6e
AZ
6460 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6461 multiarch implementation.
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6463 file.
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6465 file.
6466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6467 file.
6468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6469 multiarch llround for PPC64.
6470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6471 multiarch lround for PPC64.
6472
b2284ad7
AZ
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6474 multiarch implementation.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6478 file.
6479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6482 multiarch isnan for PPC64.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6484 multiarch isnanf for PPC64.
6485
69bbc63d
AZ
6486 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6487 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6488 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6489 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6490 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6492
c24517c9
AZ
6493 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6494 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6496 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6497
a52374e8
AZ
6498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6499 multiarch implementations.
6500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6501 (__libc_ifunc_impl_list): Likewise.
6502 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6503 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6504 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6505 multiarch stpcpy for PPC64.
6506
7f5ec113
AZ
6507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6508 multiarch implementations.
6509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6510 (__libc_ifunc_impl_list): Likewise.
6511 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6512 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6513 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6514 multiarch strcpy for PPC64.
6515
e28bcd42
AZ
6516 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6517 redefine function name.
6518 (_wordcopy_fwd_dest_aligned): Likewise.
6519 (_wordcopy_bwd_aligned): Likewise.
6520 (_wordcopy_bwd_dest_aligned): Likewise.
6521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6522 multiarch implementations.
6523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6524 (__libc_ifunc_impl_list): Likewise.
6525 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6526 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6528 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6529 multiarch wcscpy for PPC64.
6530
92cacfce
AZ
6531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6532 multiarch implementations.
6533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6534 (__libc_ifunc_impl_list): Likewise.
6535 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6536 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6537 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6538 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6539 multiarch wcscpy for PPC64.
6540
7b714620
AZ
6541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6542 multiarch implementations.
6543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6544 (__libc_ifunc_impl_list): Likewise.
6545 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6546 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6547 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6548 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6549 multiarch wcsrchr for PPC64.
6550
16fd2ae3
AZ
6551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6552 multiarch implementations.
6553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6554 (__libc_ifunc_impl_list): Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6556 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6557 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6558 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6559 multiarch wcschr for PPC64.
6560
9ee2969b
AZ
6561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6562 multiarch implementations.
6563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6564 (__libc_ifunc_impl_list): Likewise.
6565 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6566 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6567 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6568 multiarch strchrnul for PPC64.
6569
372dc060
AZ
6570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6571 implementations.
6572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6573 (__libc_ifunc_impl_list): Likewise.
6574 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6575 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6576 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6577 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6578 strchr for PPC64.
6579
24c2c3b9
AZ
6580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6581 implementations.
6582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6583 (__libc_ifunc_impl_list): Likewise.
6584 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6586 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6587 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6588 strncmp for PPC64.
6589
1c92d9a0
AZ
6590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6591 multiarch implementations.
6592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6593 (__libc_ifunc_impl_list): Likewise.
6594 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6595 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6596 strncasecmp for PPC64.
6597 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6598 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6599 multiarch strncasecmp_l for PPC64.
6600
17de3ee3
AZ
6601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6602 multiarch implementations.
6603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6604 (__libc_ifunc_impl_list): Likewise.
6605 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6606 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6607 multiarch strcasecmp for PPC64.
6608 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6609 file.
6610 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6611 multiarch strcasecmp_l for PPC64.
6612
62982bf9
AZ
6613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6614 implementations.
6615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6616 (__libc_ifunc_impl_list): Likewise.
6617 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6618 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6619 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6620 strnlen for PPC64.
6621
a65f4904
AZ
6622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6623 implementations.
6624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6625 (__libc_ifunc_impl_list): Likewise.
6626 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6627 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6628 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6629 strlen for PPC64.
6630
1fd005ad
AZ
6631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6632 implementations.
6633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6634 (__libc_ifunc_impl_list): Likewise.
6635 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6636 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6637 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6638 rawmemrchr for PPC64.
6639
cd05ba91
AZ
6640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6641 implementation.
6642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6643 (__libc_ifunc_impl_list): Likewise.
6644 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6645 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6646 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6647 memrchr for PPC64.
6648
870f8676
AZ
6649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6650 implementation.
6651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6652 (__libc_ifunc_impl_list): Likewise.
6653 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6654 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6655 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6656 memchr for PPC64.
6657
f00be62b
AZ
6658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6659 implementation.
6660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6661 (__libc_ifunc_impl_list): Likewise.
6662 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6663 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6664 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6665 mempcpy for PPC64.
6666
8a29a3d0
AZ
6667 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6668 avoid cretion of __bzero symbol.
6669 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6670 Likewise.
6671 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6672 Likewise.
6673 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6674 Likewise.
6675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6676 multiarch implementations.
6677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6678 (__libc_ifunc_impl_list): Likewise.
6679 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6680 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6681 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6682 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6683 bzero for PPC32.
6684 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6685 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6686 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6687 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6688 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6689 memset for PPC64.
6690 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6691
07253fcf
AZ
6692 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6694 implementations.
6695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6696 (__libc_ifunc_impl_list): Likewise.
6697 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6698 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6699 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6700 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6701 memcmp for PPC64.
6702
b5beafbc
AZ
6703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6704 multiarch for POWER/PPC64.
6705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6712 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6713 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6714 memcpy for PPC64.
6715
5e6a4d4b
AZ
6716 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6717 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6718 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6719 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6720 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6721 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6722 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6723 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6724 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6725 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6726 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6727 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6728 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6729 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6730 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6738
ddfab6dc
KK
67392013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6740
6741 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6742
19b5525e
SP
67432013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6744
6745 * benchtests/Makefile (bench): Add exp2 and log2.
6746 (LDLIBS-bench-exp2): Add -lm.
6747 (LDLIBS-bench-log2): Likewise.
6748 * benchtests/exp2-inputs: New inputs file.
6749 * benchtests/log2-inputs: New inputs file.
6750 * benchtests/log-inputs: Add new inputs.
6751 * benchtests/tan-inputs: Likewise.
6752
196f7f5d
SP
67532013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6754
7a74607f
SP
6755 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6756 definition...
57f41c40
AS
6757 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6758 (csloww2): ... from here.
7a74607f 6759
196f7f5d
SP
6760 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6761 instead of structures.
6762 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6763 (POLYNOMIAL): Likewise.
6764 (TAYLOR_SLOW): Likewise.
6765 (__sin): Likewise.
6766 (__cos): Likewise.
6767 (slow1): Likewise.
6768 (slow2): Likewise.
6769 (sloww): Likewise.
6770 (sloww1); Likewise.
6771 (sloww2): Likewise.
6772 (bsloww1): Likewise.
6773 (bsloww2): Likewise.
6774 (cslow2): Likewise.
6775 (csloww): Likewise.
6776 (csloww1): Likewise.
6777 (csloww2): Likewise.
6778
0dfa665c
OB
67792013-12-10 Ondřej Bílka <neleai@seznam.cz>
6780
6781 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6782 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6783 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6784 * malloc/hooks.c (realloc_check): Likewise.
6785
5782a80f
OB
6786 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6787 * malloc/arena.c: Remove PER_THREAD conditional.
6788 [!PER_THREAD]: Remove code.
6789 (ptmalloc_unlock_all2): Likewise.
6790 (ptmalloc_init): Likewise.
6791 (_int_new_arena): Likewise.
6792 (arena_get2): Likewise.
6793 * malloc/hooks.c (__malloc_get_state): Likewise.
6794 (__malloc_set_state): Likewise.
6795 * malloc/malloc.c: Likewise.
6796 (struct malloc_state): Likewise.
6797 (struct malloc_par): Likewise.
6798 (__libc_realloc): Likewise.
6799 (__libc_mallopt): Likewise.
6800
aeb95445
AZ
68012013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6802
6803 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6804
e8349efd
OB
68052013-12-09 Ondřej Bílka <neleai@seznam.cz>
6806
6807 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6808 macro to a function. Check for zero perturb_byte.
6809 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6810
f3eeb3fc 6811 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6812 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6813 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6814 force_reg by atomic_forced_read.
6815 * malloc/arena.c (ptmalloc_init): Likewise.
6816 * malloc/hooks.c (top_check): Likewise.
6817
be2f9009
AZ
68182013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6819
6820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6821
e7b914bd
MT
68222013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6823
6824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6825
9f0be4f8
JM
68262013-12-08 Joseph Myers <joseph@codesourcery.com>
6827
6828 * math/auto-libm-test-in: Add tests of lgamma.
6829 * math/auto-libm-test-out: Regenerated.
6830 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6831 (M_LOG_2_SQRT_PIl): Likewise.
6832 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6833 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6834 mpfr_f_f1.
6835 (func_calc_desc): Add mpfr_f_f1 union field.
6836 (ARGS1): New macro.
6837 (ARGS2): Likewise.
6838 (ARGS3): Likewise.
6839 (ARGS4): Likewise.
6840 (RET1): Likewise.
6841 (RET2): Likewise.
6842 (CALC): Likewise.
6843 (FUNC): Likewise.
6844 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6845 (test_functions): Add lgamma.
6846 (calc_generic_results): Handle mpfr_f_f1.
6847 * sysdeps/i386/fpu/libm-test-ulps: Update.
6848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849
24eeafdb
AZ
68502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6851
6852 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6853 __mpn_add_n for PowerPC64/POWER7.
6854 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6855 __mpn_sub_n for PowerPC64/POWER7.
6856
4a2c0fd4
AZ
6857 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6858 __mpn_addmul_1 for PowerPC64.
6859 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6860 __mpn_submul_1 for PowerPC64.
6861 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6862 for PowerPC64.
6863 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6864 for PowerPC64.
6865
4b5b548c
FS
68662013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6867
6868 [BZ #15089]
6869 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6870
0a3ac0aa
AZ
68712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872
6873 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6874
ccdc8438
AZ
6875 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6876 add multiarch folders.
6877 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6878 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6879 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6880 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6881 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6882 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6883 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6884 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6885 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6886 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6887 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6894
2e973d99
AZ
6895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6896 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6898 New file.
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6900 New file.
6901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6902 multiarch __ieee754_hypot for PowerPC32.
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6904 New file.
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6906 New file.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6908 multiarch __ieee754_hypotf for PowerPC32.
6909
2d9470b2
AZ
6910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6911 long_double_symbol only if __logbl is defined.
6912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6913 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6915 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6917 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6918 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6919 path for implementation.
6920 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6921 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6923 logb, and logbl multiarch implementations for PowerPC32.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6925 file.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6927 file.
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6929 multiarch logb for PowerPC32.
6930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6931 file.
6932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6933 file.
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6935 multiarch logbf for PowerPC32.
6936 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6938 file.
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6940 multiarch logbl implementation for PowerPC32.
6941
5212ffce
AZ
6942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6943 and modff multiarch implementations.
6944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6945 New file.
6946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6947 New file.
6948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6949 multiarch modf for PowerPC32.
6950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6951 New file.
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6953 New file.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6955 multiarch modff for PowerPC32.
6956
79dccf31
AZ
6957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6958 and lrintf multiarch implementations.
6959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6960 New file.
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6962 New file.
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6964 multiarch lrint for PowerPC32.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6966 file: multiarch lrintf for PowerPC32.
6967
deb66480
AZ
6968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6969 and lroundf multiarch implementations.
6970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6971 New file.
6972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6973 New file.
6974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6975 New file.
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6977 multiarch lround for PowerPC32.
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6979 file: multiarch lroundf for PowerPC32.
6980
264b036b
AZ
6981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6982 copysign and copysignf multiarch implementations.
6983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6984 New file.
6985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6986 New file.
6987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6988 file: multiarch copysign for PowerPC32.
6989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6990 file: multiarch copysignf for PowerPC32.
6991
d47db6c9
AZ
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6993 and truncf multiarch implementations.
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6995 New file.
6996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6997 file.
6998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6999 multiarch trunc for PowerPC32.
7000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7001 New file.
7002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7003 New file.
7004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7005 multiarch truncf for PowerPC32.
7006
ddb60b5a
AZ
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7008 and roundf multiarch implementations.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7010 New file.
7011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7012 file.
7013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7014 multiarch round for PowerPC32.
7015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7016 New file.
7017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7018 New file.
7019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7020 multiarch roundf for PowerPC32.
7021
bedcf49b
AZ
7022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7023 and floorf multiarch implementations.
7024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7025 New file.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7027 file.
7028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7029 multiarch floor for PowerPC32.
7030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7031 New file.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7033 New file.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7035 multiarch floorf for PowerPC32.
7036
35ae5b40
AZ
7037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7038 and ceilf multiarch implementations.
7039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7040 New file.
7041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7042 file.
7043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7044 multiarch ceil for PowerPC32.
7045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7046 New file.
7047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7048 file.
7049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7050 multiarch ceilf for PowerPC32.
7051
ae1a4cd9
AZ
7052 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7053 is defined.
7054 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7055 FINITEF is defined.
7056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7057 and finitef multiarch implementations.
7058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7059 New file.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7061 file.
7062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7063 multiarch finite for PowerPC32.
7064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7065 New file.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7067 file: multiarch finitef for PowerPC32.
7068
64fffd65
AZ
7069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7070 and isinff multiarch implementations.
7071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7072 file.
7073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7074 file.
7075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7076 multiarch isinf for PowerPC32.
7077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7078 New file.
7079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7080 multiarch isinff for PowerPC32.
7081
8e4e7ba2
AZ
7082 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7083 alias when __isnan is defined.
7084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7085 and isnanf multiarch implementations.
7086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7087 file.
7088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7089 file.
7090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7091 file.
7092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7093 file.
7094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7095 multiarch isnan for PowerPC32.
7096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7097 New file.
7098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7099 New file.
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7101 multiarch isnanf for PowerPC32.
7102
ddba588e
AZ
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7104 and sqrtf multiarch implementations.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7106 file.
7107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7108 file.
7109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7110 multiarch sqrt for PowerPC32.
7111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7112 file.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7114 file.
7115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7116 multiarch sqrtf for PowerPC32.
7117
0f96a2f0
AZ
7118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7119 and llroundf multiarch implementations.
7120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7121 New file.
7122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7123 New file.
7124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7125 New file.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7127 file: multiarch llround for PowerPC32.
7128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7129 file: multiarch llroundf for PowerPC32.
7130
c9b5d79e
AZ
7131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7132 multiarch PowerPC32 fpu implementations.
7133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7134 New file.
7135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7136 New file.
7137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7138 multiarch llrint for PowerPC32.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7140 New file.
7141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7142 New file.
7143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7144 file.
7145
9cbb3aab
AZ
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7147
ea5a72f8
AZ
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7149 file.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7151 file.
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7153 file.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7155 multiarch wordcopy for PPC32.
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7157 wordcopy objects.
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7159 (__libc_ifunc_impl_list): Likewise.
7160 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7161 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7162 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7163 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7164 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7165 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7166
93be09e7
AZ
7167 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7169 file.
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7171 file.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7173 file.
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7175 multiarch wcscpy for PPC32.
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7177 multiarch objects.
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7179 (__libc_ifunc_impl_list): Likewise.
7180 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7181 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7182 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7183 sysdeps/powerpc/power6/wcscpy.c.
7184
bb04e529
AZ
7185 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7187 file.
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7189 file.
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7191 file.
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7193 multiarch wcsrchr for PPC32.
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7195 multiarch objects.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7197 (__libc_ifunc_impl_list): Likewise.
7198 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7199 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7200 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7201 sysdeps/powerpc/power6/wcsrchr.c.
7202
05b5cd1c
AZ
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7204 file.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7206 file.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7209 multiarch wcschr for PPc32.
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7211 multiarch objects.
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7213 (__libc_ifunc_impl_list): Likewise.
7214 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7215 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7216 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7217 sysdeps/powerpc/power6/wcschr.c.
7218
ba964147
AZ
7219 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7221 file.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7223 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7224 file: multiarch strchr for PPC32.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7226 multiarch objects.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7228 (__libc_ifunc_impl_list): Likewise.
7229
31c81aaa
AZ
7230 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7231 name.
7232 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7233 file.
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7235 file.
7236 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7237 multiarch strchrnul for PPC32.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7239 multiarch objects.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7241 (__libc_ifunc_impl_list): Likewise.
7242
0d0607d9
AZ
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7244 file.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7246 multiarch strncasecmp for PPC32.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7248 file.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7250 multiarch strncasecmp_l for PPC32.
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7252 strncasecmp multiarch objects.
7253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7254 (__libc_ifunc_impl_list): Likewise.
7255
4dfd5c86
AZ
7256 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7257 file.
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7259 multiarch strncasecmp for PPC32.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7261 New file.
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7263 multiarch strcasecmp_l for PPC32.
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7265 multiarch objects.
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7267 (__libc_ifunc_impl_list): Likewise.
7268
a19e01a3
AZ
7269 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7270 file.
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7272 file.
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7274 multiarch strncmp for PPC32.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7276 multiarch objects.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7278 (__libc_ifunc_impl_list): Likewise.
7279
ae9cf7a2
AZ
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7281 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7282 file.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7284 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7286 multiarch objects.
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7288 (__libc_ifunc_impl_list): Likewise.
7289
3148bb7d
AZ
7290 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7291 file.
7292 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7293 file.
7294 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7296 multiarch objects.
7297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7298 (__libc_ifunc_impl_list): Likewise.
7299
7af8b946
AZ
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7301 file.
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7303 file.
7304 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7305 multiarch rawmemchr for PPC32.
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7307 multiarch objects.
7308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7309 (__libc_ifunc_impl_list): Likewise.
7310
03a6aa6a
AZ
7311 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7312 file.
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7314 file.
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7316 file: memrchr multiarch for PPC32.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7318 multiarch objects.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7320 (__libc_ifunc_impl_list): Likewise.
7321
1c62e6d9
AZ
7322 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7324 file.
7325 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7327 multiarch memchr for PPC32.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7329 multiarch objects.
7330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7331 (__libc_ifunc_impl_list): Likewise.
7332
87da8bdb
AZ
7333 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7335 file.
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7337 file.
7338 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7339 file: multiarch mempcpy for PPC32.
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7341 multiarch objects.
7342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7343 (__libc_ifunc_impl_list): Likewise.
7344
20ed4714
AZ
7345 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7346 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7347 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7348 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7349 multiarch bzero for PPC32.
7350 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7351 file.
7352 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7353 file.
7354 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7355 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7356 file: multiarch memset for PPC32.
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7359 memset multiarch objects.
7360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7361 (__libc_ifunc_impl_list): Likewise.
7362
ab3e3a46
AZ
7363 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7364 file.
7365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7366 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7367 memcmp for PPC32.
7368 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7370 multiarch objects.
7371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7372 (__libc_ifunc_impl_list): Likewise.
7373
930de6f0
AZ
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7377 file.
7378 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7379 file.
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7381 file.
7382 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7383 multiarch memcpy for PPC32.
7384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7385 multiarch objects.
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7387 (__libc_ifunc_impl_list): Likewise.
7388
4c628e00
AZ
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7390 support multiarch for POWER/PPC32.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7392 Likewise.
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7395 Implies file to make multiarch folder appers before the fpu and
7396 default folder for power4 configuration.
7397
f4479220
SP
73982013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7399
7400 * scripts/bench.pl: Append volatile keyword to type.
7401
8517800f
KK
74022013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7403
7404 * sysdeps/sh/sotruss-lib.c: New file.
7405 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7406
180138f1
AZ
74072013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408
7409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7410
bbf37bdc
JM
74112013-12-05 Joseph Myers <joseph@codesourcery.com>
7412
e47cc4e0
JM
7413 [BZ #6810]
7414 * math/w_tgamma.c: Include <errno.h>.
7415 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7416 * math/w_tgammaf.c: Include <errno.h>.
7417 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7418 * math/w_tgammal.c: Include <errno.h>.
7419 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7420 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7421 underflow. Add more tgamma tests.
7422 * math/auto-libm-test-out: Regenerated.
7423 * sysdeps/i386/fpu/libm-test-ulps: Update.
7424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7425
bbf37bdc
JM
7426 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7427 sin, sinh, tan, tanh, tgamma, y0 and y1.
7428 * math/auto-libm-test-out: Regenerated.
7429 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7430 (TEST_COND_x86): Likewise.
7431 (M_E2l): Remove macro.
7432 (M_E3l): Likewise.
7433 (M_2_SQRT_PIl): Likewise.
7434 (M_SQRT_PIl): Likewise.
7435 (M_1_DIV_El): Likewise.
7436 (log_test_data): Use AUTO_TESTS_f_f.
7437 (log10_test_data): Likewise.
7438 (log1p_test_data): Likewise.
7439 (log2_test_data): Likewise.
7440 (sin_test_data): Likewise.
7441 (sin_tonearest_test_data): Likewise.
7442 (sin_towardzero_test_data): Likewise.
7443 (sin_downward_test_data): Likewise.
7444 (sin_upward_test_data): Likewise.
7445 (sinh_test_data): Likewise.
7446 (sinh_tonearest_test_data): Likewise.
7447 (sinh_towardzero_test_data): Likewise.
7448 (sinh_downward_test_data): Likewise.
7449 (sinh_upward_test_data): Likewise.
7450 (tan_test_data): Likewise.
7451 (tan_tonearest_test_data): Likewise.
7452 (tan_towardzero_test_data): Likewise.
7453 (tan_downward_test_data): Likewise.
7454 (tan_upward_test_data): Likewise.
7455 (tanh_test_data): Likewise.
7456 (tgamma_test_data): Likewise.
7457 (y0_test_data): Likewise.
7458 (y1_test_data): Likewise.
7459 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7460 (special_real_inputs): Add pi/4.
7461 * sysdeps/i386/fpu/libm-test-ulps: Update.
7462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7463
eb5ad6b9
AZ
74642013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7465
7466 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7467 "longjmp_target" static probes.
7468 (__longjmp): Rename to __longjmp_symbol.
7469 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7470 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7471 on which longjmp to generate.
7472 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7473 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7474 probe.
7475 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7476 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7477 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7479 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7480 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7482 __longjmp_symbol based on which __longjmp to generate.
7483 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7484 probe.
7485 (setjmp): Rename to setjmp_symbol.
7486 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7487 (_setjmp): Rename to _setjmp_symbol.
7488 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7489 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7490 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7491 which setjmp to generate.
7492 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7493 "longjmp_target" static probes.
7494
d136c6dc
SP
74952013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7496
9298ecba
SP
7497 * benchtests/README: Add note about output arguments.
7498 * benchtests/bench-sincos.c: Remove file.
7499 * benchtests/sincos-inputs: New file.
7500 * scripts/bench.pl: Identify output arguments and define
7501 static variables for them.
7502
232983e9
SP
7503 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7504
d136c6dc
SP
7505 [BZ #15941]
7506 * Makefile (INSTALL): Add install-plain.texi as the primary
7507 dependency.
7508 * manual/install-plain.texi: New file.
7509 * manual/install.texi: Include node directive only for
7510 non-plaintext output.
7511
699ff837
JM
75122013-12-04 Joseph Myers <joseph@codesourcery.com>
7513
ab07cea8
JM
7514 * stdlib/longlong.h: Update from GCC.
7515
699ff837
JM
7516 [BZ #6807]
7517 [BZ #15901]
7518 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7519 * math/w_j0f.c (y0f): Likewise.
7520 * math/w_j0l.c (__y0l): Likewise.
7521 * math/w_j1.c (y1): Likewise.
7522 * math/w_j1f.c (y1f): Likewise.
7523 * math/w_j1l.c (__y1l): Likewise
7524 * math/w_jn.c (yn): Likewise.
7525 * math/w_jnf.c (ynf): Likewise.
7526 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7527 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7528 value for Bessel function domain errors outside _SVID_ mode.
7529 Adjust sign of return value for yn (negative integer, 0).
7530 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7531 by zero in return for negative x and set sign appropriately for
7532 negative n.
7533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7534 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7535 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7536 expectations in error cases.
7537 (y1_test_data): Likewise.
7538 (yn_test_data): Likewise.
7539 * sysdeps/i386/fpu/libm-test-ulps: Update.
7540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7541
5b118558
UW
75422013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7543
7544 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7545 "64" to "64-v1". Add "64-v2".
7546 (abi-64-options): Rename to ...
7547 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7548 (abi-64-condition): Rename to ...
7549 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7550 (abi-64-ld-soname): Rename to ...
7551 (abi-64-v1-ld-soname): ... this.
7552 (abi-64-v2-options): Define.
7553 (abi-64-v2-condition): Likewise.
7554 (abi-64-v2-ld-soname): Likewise.
7555 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7556 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7560
61cd8fe4
UW
75612013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7562 Alan Modra <amodra@gmail.com>
7563
7564 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7565 New versions for use with the ELFv2 ABI.
7566 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7567 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7568 declaration.
7569 (struct La_ppc64v2_retval): Likewise.
7570 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7571 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7572 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7573 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7574 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7575 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7576 Do not save or restore CR.
7577 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7578 (_dl_profile_resolve): Do no save or restore CR. Support extended
7579 return values for ELFv2 ABI. Fix location of FPR return registers.
7580 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7581 updated values for _CALL_ELF == 2.
7582 (La_regs, La_retval, int_retval): Likewise.
7583
8b8a692c
UW
75842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7585
7586 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7587 (FRAME_MIN_SIZE_PARM): Likewise.
7588 (FRAME_BACKCHAIN): Likewise.
7589 (FRAME_CR_SAVE): Likewise.
7590 (FRAME_LR_SAVE): Likewise.
7591 (FRAME_TOC_SAVE): Likewise.
7592 (FRAME_PARM_SAVE): Likewise.
7593 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7594 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7595 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7596 (call_mcount_parm_offset): New macro.
7597 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7598 (PROF): Use symbolic stack frame offsets.
7599 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7600 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7601 Redefine in terms of FRAME_MIN_SIZE.
7602 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7603 (_dl_profile_resolve): Likewise. Update comment.
7604 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7605 symbols stack frame offsets.
7606 (__sigsetjmp): Likewise.
7607 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7608 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7609 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7610 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7611
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7613 (FRAME_BACKCHAIN): Remove.
7614 (FRAME_CR_SAVE): Likewise.
7615 (FRAME_LR_SAVE): Likewise.
7616 (FRAME_COMPILER_DW): Likewise.
7617 (FRAME_LINKER_DW): Likewise.
7618 (FRAME_TOC_SAVE): Likewise.
7619 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7620 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7621 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7622 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7624 (CHECK_SP): Use symbolic stack frame offsets.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7626 zone" instead of caller's parameter save area for temp storage.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7628 Likewise. Also, use symbolic stack frame offsets.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7630 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7631 our own stack frame instead of the caller's.
7632 (__socket): Use symbolic stack frame offsets.
7633
122b66de
UW
76342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7635 Alan Modra <amodra@gmail.com>
7636
7637 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7638 Define.
57f41c40
AS
7639 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7640 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7641 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7642 New function.
7643 (elf_machine_fixup_plt): Call it.
7644 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7645 reloc arguments.
7646 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7647 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7648 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7649 r2 before calling target.
7650
696caf1d
UW
76512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7652 Alan Modra <amodra@gmail.com>
7653
7654 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7655 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7656 versions of macros to support ELFv2 ABI.
7657 (LOCALENTRY): New macro.
7658 (ENTRY, EALIGN): Use it.
7659 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7660 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7661 fall through into ENTRY entry point.
7662 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7663 Only define if _CALL_ELF != 2.
7664
7665 (elf_machine_matches_host): Verify ABI version matches.
7666 (RTLD_START): Use LOCALENTRY.
7667 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7668 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7669 (PLT_ENTRY_WORDS): New macro.
7670 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7671 (elf_machine_runtime_setup): Support ELFv2 ABI.
7672 (elf_machine_fixup_plt): Likewise.
7673 (elf_machine_plt_conflict): Likewise.
7674 (resolve_ifunc): Likewise.
7675 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7676 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7677 Likewise.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7679 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7681 (makecontext): Support ELFv2 ABI.
7682 * elf/elf.h (EF_PPC64_ABI): Define.
7683
d31beafa
UW
76842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7685
57f41c40
AS
7686 * sysdeps/powerpc/powerpc64/sysdep.h
7687 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7688 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7689 (ENTRY) [ASSEMBLER]: ... but instead here ...
7690 (EALIGN) [ASSEMBLER]: ... and here.
7691 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7692 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7693 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7694 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7695 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7696 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7697 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7698 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7700 Use PPC64_LOAD_FUNCPTR.
7701
b525166b
UW
7702 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7703
7ec07d9a
AM
77042013-12-04 Alan Modra <amodra@gmail.com>
7705
7706 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7707 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7708 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7709 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7710
7711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7712 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7713 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7714 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7715 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7716 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7717
5162e7dd
UW
77182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7719
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7721 (__makecontext): Fix incorrect CFI when backtracing out of
7722 context created via makecontext.
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7724 (__setcontext): Fix incorrect CFI during switch to new context.
7725 (__novec_setcontext): Likewise.
7726
19e3372b
OB
77272013-12-04 Ondřej Bílka <neleai@seznam.cz>
7728
7729 [BZ #4772]
7730 * time/strptime_l.c (__strptime_internal): Allow modifiers
7731 in strptime.
7732 * time/tst-strptime.c (day_tests): Add testcase.
7733
ecaf142d
SP
77342013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7735
7736 * scripts/bench.pl: Skip over blank lines.
7737
fbf964ae
PE
77382013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7739
7740 [BZ #926]
7741 * manual/time.texi (Calendar Time): Clarify what timezone functions
7742 use.
7743
fa60a674
AZ
77442013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7745
7746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7747
d674f0ef
OB
77482013-12-04 Ondřej Bílka <neleai@seznam.cz>
7749
7750 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7751 implementation.
7752 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7753 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7754 * debug/memset_chk.c (__memset_chk): Likewise.
7755 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7756 * debug/strncpy_chk.c: Likewise.
7757
17dea188
JM
77582013-12-03 Joseph Myers <joseph@codesourcery.com>
7759
749008ff
JM
7760 [BZ #15268]
7761 [BZ #15425]
7762 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7763 (__ieee754_exp): For possibly underflowing results, check size of
7764 result and force underflow exception if required.
7765 * math/auto-libm-test-in: Add more tests of exp.
7766 * math/auto-libm-test-out: Regenerated.
7767 * sysdeps/i386/fpu/libm-test-ulps: Update.
7768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7769
17dea188
JM
7770 [BZ #16283]
7771 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7772 * math/w_exp2f.c (__exp2f): Likewise.
7773 * math/w_exp2l.c (__exp2l): Likewise.
7774 * math/auto-libm-test-in: Do not allow missing errno on exp2
7775 underflow.
7776 * math/auto-libm-test-out: Regenerated.
7777
b20de2c3
OB
77782013-12-03 Ondřej Bílka <neleai@seznam.cz>
7779
7780 [BZ #16274]
7781 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7782 handle filename validation.
7783 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7784 (do_open): Delete.
7785
d8e2dbe3
JM
77862013-12-03 Joseph Myers <joseph@codesourcery.com>
7787
34e16df5
JM
7788 [BZ #6786]
7789 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7790 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7791 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7792 <float.h>.
7793 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7794 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7795 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7797 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7798 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7799 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7800 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7801 Add more erfc tests.
7802 * math/auto-libm-test-out: Regenerated.
7803 * sysdeps/i386/fpu/libm-test-ulps: Update.
7804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7805
d8e2dbe3
JM
7806 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7807 exp2, expm1, j0 and j1.
7808 * math/auto-libm-test-out: Regenerated.
7809 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7810 (erfc_test_data): Likewise.
7811 (exp_test_data): Likewise.
7812 (exp_tonearest_test_data): Likewise.
7813 (exp_towardzero_test_data): Likewise.
7814 (exp_downward_test_data): Likewise.
7815 (exp_upward_test_data): Likewise.
7816 (exp10_test_data): Likewise.
7817 (exp2_test_data): Likewise.
7818 (expm1_test_data): Likewise.
7819 (j0_test_data): Likewise.
7820 (j1_test_data): Likewise.
7821 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7822 (input_flag_type): Add flag_xfail_rounding.
7823 (input_flags): Add xfail-rounding.
7824 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7825 (output_for_one_input_case): Handle flag_xfail_rounding.
7826 * sysdeps/i386/fpu/libm-test-ulps: Update.
7827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7828
18d14251
AJ
78292013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7830
3d2e6075 7831 [BZ #16289]
18d14251
AJ
7832 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7833 division by 0.
7834
520d437b
SP
78352013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7836
7837 [BZ #16195]
7838 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7839 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7840 (STAP_PROBE0): New macro.
7841 (STAP_PROBE1): Likewise.
7842 (STAP_PROBE2): Likewise.
7843 (STAP_PROBE3): Likewise.
7844 (STAP_PROBE4): Likewise.
7845
416e0145
OB
78462013-12-02 Ondřej Bílka <neleai@seznam.cz>
7847
7848 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7849
9d17796a
SE
78502013-12-02 Steve Ellcey <sellcey@mips.com>
7851
7852 * benchtests/Makefile (bench): Add sqrt.
7853 (LDLIBS-bench-sqrt): New.
7854 * benchtests/sqrt-input: New.
7855
f524d6a8
PS
78562013-12-02 Pavel Simerda <psimerda@redhat.com>
7857
639a0ef8
PS
7858 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7859 (GAIH_EAI): Likewise.
7860 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7861 (gaih_inet): Likewise.
7862 (getaddrinfo): Don't use GAIH_EAI.
7863
f524d6a8
PS
7864 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7865 (struct gaih): Remove definition.
7866
df3aedaf
SP
78672013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7868
7869 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7870 Use HERRNOP directly.
7871
1ab19dec
AZ
78722013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873
b42ad38d 7874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7875
176b0c79
JM
78762013-11-30 Joseph Myers <joseph@codesourcery.com>
7877
7878 * math/gen-auto-libm-tests.c (test_functions): Add more
7879 single-argument functions.
7880 (special_fill_pi_2): New function.
7881 (special_fill_minus_pi_2): Likewise.
7882 (special_fill_pi_6): Likewise.
7883 (special_fill_minus_pi_6): Likewise.
7884 (special_fill_pi_3): Likewise.
7885 (special_fill_2pi_3): Likewise.
7886 (special_fill_e): Likewise.
7887 (special_fill_1_e): Likewise.
7888 (special_fill_e_minus_1): Likewise.
7889 (special_real_inputs): Add more special inputs.
7890 (output_for_one_input_case): Do not require ERANGE on underflow to
7891 zero if round-to-nearest result does not underflow to zero, unless
7892 exact results required.
7893 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7894 atan, atanh, cbrt, cos and cosh.
7895 * math/auto-libm-test-out: Regenerated.
7896 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7897 (acos_tonearest_test_data): Likewise.
7898 (acos_towardzero_test_data): Likewise.
7899 (acos_downward_test_data): Likewise.
7900 (acos_upward_test_data): Likewise.
7901 (acosh_test_data): Likewise.
7902 (asin_test_data): Likewise.
7903 (asin_tonearest_test_data): Likewise.
7904 (asin_towardzero_test_data): Likewise.
7905 (asin_upward_test_data): Likewise.
7906 (asinh_test_data): Likewise.
7907 (atan_test_data): Likewise.
7908 (atanh_test_data): Likewise.
7909 (cbrt_test_data): Likewise.
7910 (cos_test_data): Likewise.
7911 (cos_tonearest_test_data): Likewise.
7912 (cos_towardzero_test_data): Likewise.
7913 (cos_downward_test_data): Likewise.
7914 (cos_upward_test_data): Likewise.
7915 (cosh_test_data): Likewise.
7916 (cosh_tonearest_test_data): Likewise.
7917 (cosh_towardzero_test_data): Likewise.
7918 (cosh_downward_test_data): Likewise.
7919 (cosh_upward_test_data): Likewise.
7920 * sysdeps/i386/fpu/libm-test-ulps: Update.
7921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7922
ffb536d0
JM
79232013-11-29 Joseph Myers <joseph@codesourcery.com>
7924
2a77a467
JM
7925 [BZ #6787]
7926 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7927 * math/w_exp10f.c (__exp10f): Likewise.
7928 * math/w_exp10l.c (__exp10l): Likewise.
7929 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7930 errno settings in existing tests.
7931
ea3bc4e8
JM
7932 [BZ #14032]
7933 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7934 precision control set to double precision.
7935 * sysdeps/i386/fpu/w_sqrt.c: New file.
7936 * math/auto-libm-test-in: Add more tests.
7937 * math/auto-libm-test-out: Update.
7938
0712c9d8
JM
7939 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7940 (sqrt_test_tonearest): New function.
7941 (sqrt_towardzero_test_data): New variable.
7942 (sqrt_test_towardzero): New function.
7943 (sqrt_downward_test_data): New variable.
7944 (sqrt_test_downward): New function.
7945 (sqrt_upward_test_data): New variable.
7946 (sqrt_test_upward): New function.
7947 (main): Call the new functions.
7948
ffb536d0
JM
7949 * math/gen-auto-libm-tests.c: New file.
7950 * math/auto-libm-test-in: Likewise.
7951 * math/auto-libm-test-out: New generated file.
7952 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7953 variables.
7954 (%beautify): Add generated representations of zero.
7955 (top level): Set $auto_input and call parse_auto_input.
7956 (beautify): Remove trailing "f" from hex float constants.
7957 (parse_args): Handle XFAIL_TEST.
7958 (convert_condition): New function.
7959 (or_value): Likewise.
7960 (or_cond_value): Likewise.
7961 (generate_testfile): Handle AUTO_TESTS_* lines.
7962 (parse_auto_input): New function.
7963 * math/libm-test.inc (XFAIL_TEST): New macro.
7964 (ERRNO_UNCHANGED): Update value.
7965 (ERRNO_EDOM): Likewise.
7966 (ERRNO_ERANGE): Likewise.
7967 (IGNORE_RESULT): Likewise.
7968 (TEST_COND_flt_32): New macro.
7969 (TEST_COND_dbl_64): Likewise.
7970 (TEST_COND_ldbl_96_intel): Likewise.
7971 (TEST_COND_ldbl_96_m68k): Likewise.
7972 (TEST_COND_ldbl_128): Likewise.
7973 (TEST_COND_ldbl_128ibm): Likewise.
7974 (TEST_COND_long32): Likewise.
7975 (TEST_COND_long64): Likewise.
7976 (TEST_COND_before_rounding): Likewise.
7977 (TEST_COND_after_rounding): Likewise.
7978 (enable_test): Handle XFAIL_TEST flag.
7979 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7980 with finite results.
7981 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7982 auto-libm-test-out.
7983
acd98a8e
AK
79842013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7985 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7986
7987 [BZ #16214]
7988 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7989 __tls_get_addr_internal instead of __tls_get_offset in order to
7990 avoid GOT pointer dependency. Make rtld export
7991 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7992 __tls_get_addr since we are a __tls_get_offset platform.
7993 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7994 GOT pointer being set up before.
7995 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7996
3c1c46a6
JM
79972013-11-28 Joseph Myers <joseph@codesourcery.com>
7998
7475aef5
JM
7999 * manual/math.texi (Errors in Math Functions): Document accuracy
8000 goals.
8001
8bca7cd8
JM
8002 [BZ #15004]
8003 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8004 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8006 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8007 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8009 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8010 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8012 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8013 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8014 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8015 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8017 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8018 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8019
91a1f3fe
JM
8020 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8021 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8022 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8023 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8024 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8025 Likewise.
8026 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8027 Likewise.
8028 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8029 Likewise.
8030 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8031 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8032 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8033 atomic-feupdateenv and flt-rounds.
8034 * sysdeps/powerpc/nofpu/Versions (libc): Add
8035 __atomic_feholdexcept, __atomic_feclearexcept,
8036 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8037 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8038 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8039 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8040 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8041 here.
8042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8043 Update.
8044
c5df7609
JM
8045 * manual/arith.texi (FP Exceptions): Document that exceptions may
8046 not be raised when matherr is used.
8047 (Math Error Reporting): Document overflow in directed rounding
8048 modes. Document that errno may not be set when finite values are
8049 returned on overflow. Document intent to set errno on underflow
8050 only for underflow to zero.
8051
3c1c46a6
JM
8052 [BZ #16271]
8053 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8054 round-to-nearest then adjust result for other rounding modes.
8055 * include/fenv.h (fegetround): Use libm_hidden_proto.
8056 * math/fegetround.c (fegetround): Use libm_hidden_def.
8057 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8058 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8059 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8060 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8061 Likewise.
8062 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8063 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8064 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8065 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8066
5a4c6d53
SP
80672013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8068
8069 [BZ #16077]
8070 * nss/Versions (libnss_files): Add
8071 _nss_files_gethostbyname3_r.
8072 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8073 New function.
8074 (HOST_DB_LOOKUP): Remove macro.
8075 (_nss_files_gethostbyname_r): Implement function without the
8076 HOST_DB_LOOKUP macro.
8077 (_nss_files_gethostbyname2_r): Likewise.
8078
897b98ba
OB
80792013-11-28 Ondřej Bílka <neleai@seznam.cz>
8080
8081 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8082
6f476861
UB
80832013-11-26 Uros Bizjak <ubizjak@gmail.com>
8084
8085 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8086 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8087 warning.
8088
bd12ab55
AZ
80892013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8090
8091 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8092 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8093 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8094 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8095 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8096 __fe_nomask_env_priv and attribute_hidden.
8097 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8098 (libc_feupdateenv_test_ppc): Likewise.
8099 (libc_feresetround_ppc): Likewise.
8100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8101 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8102 compat_symbol macro.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8104 (__fe_nomask_env): Likewise.
8105 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8106
52bb6543
OB
81072013-11-26 Ondřej Bílka <neleai@seznam.cz>
8108
8109 * string/Makefile: Remove ifunc tests.
8110 * string/test-string.h: Define TEST_IFUNC.
8111 * string/test-bcopy-ifunc.c: Remove.
8112 * string/test-bzero-ifunc.c: Likewise.
8113 * string/test-memccpy-ifunc.c: Likewise.
8114 * string/test-memchr-ifunc.c: Likewise.
8115 * string/test-memcmp-ifunc.c: Likewise.
8116 * string/test-memcpy-ifunc.c: Likewise.
8117 * string/test-memmem-ifunc.c: Likewise.
8118 * string/test-memmove-ifunc.c: Likewise.
8119 * string/test-mempcpy-ifunc.c: Likewise.
8120 * string/test-memrchr-ifunc.c: Likewise.
8121 * string/test-memset-ifunc.c: Likewise.
8122 * string/test-rawmemchr-ifunc.c: Likewise.
8123 * string/test-stpcpy-ifunc.c: Likewise.
8124 * string/test-stpncpy-ifunc.c: Likewise.
8125 * string/test-strcasecmp-ifunc.c: Likewise.
8126 * string/test-strcasestr-ifunc.c: Likewise.
8127 * string/test-strcat-ifunc.c: Likewise.
8128 * string/test-strchr-ifunc.c: Likewise.
8129 * string/test-strchrnul-ifunc.c: Likewise.
8130 * string/test-strcmp-ifunc.c: Likewise.
8131 * string/test-strcpy-ifunc.c: Likewise.
8132 * string/test-strcspn-ifunc.c: Likewise.
8133 * string/test-strlen-ifunc.c: Likewise.
8134 * string/test-strncasecmp-ifunc.c: Likewise.
8135 * string/test-strncat-ifunc.c: Likewise.
8136 * string/test-strncmp-ifunc.c: Likewise.
8137 * string/test-strncpy-ifunc.c: Likewise.
8138 * string/test-strnlen-ifunc.c: Likewise.
8139 * string/test-strpbrk-ifunc.c: Likewise.
8140 * string/test-strrchr-ifunc.c: Likewise.
8141 * string/test-strspn-ifunc.c: Likewise.
8142 * string/test-strstr-ifunc.c: Likewise.
8143
ab260039 81442013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8145
8146 * benchtests/Makefile: Remove ifunc tests.
8147 * benchtests/bench-string.h: Define TEST_IFUNC.
8148 * benchtests/bench-bcopy-ifunc.c: Remove.
8149 * benchtests/bench-bzero-ifunc.c: Likewise.
8150 * benchtests/bench-memccpy-ifunc.c: Likewise.
8151 * benchtests/bench-memchr-ifunc.c: Likewise.
8152 * benchtests/bench-memcmp-ifunc.c: Likewise.
8153 * benchtests/bench-memcpy-ifunc.c: Likewise.
8154 * benchtests/bench-memmem-ifunc.c: Likewise.
8155 * benchtests/bench-memmove-ifunc.c: Likewise.
8156 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8157 * benchtests/bench-memrchr-ifunc.c: Likewise.
8158 * benchtests/bench-memset-ifunc.c: Likewise.
8159 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8160 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8161 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8162 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8163 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8164 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8165 * benchtests/bench-strcat-ifunc.c: Likewise.
8166 * benchtests/bench-strchr-ifunc.c: Likewise.
8167 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8168 * benchtests/bench-strcmp-ifunc.c: Likewise.
8169 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8170 * benchtests/bench-strcpy-ifunc.c: Likewise.
8171 * benchtests/bench-strcspn-ifunc.c: Likewise.
8172 * benchtests/bench-strlen-ifunc.c: Likewise.
8173 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8174 * benchtests/bench-strncat-ifunc.c: Likewise.
8175 * benchtests/bench-strncmp-ifunc.c: Likewise.
8176 * benchtests/bench-strncpy-ifunc.c: Likewise.
8177 * benchtests/bench-strnlen-ifunc.c: Likewise.
8178 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8179 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8180 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8181 * benchtests/bench-strspn-ifunc.c: Likewise.
8182 * benchtests/bench-strstr-ifunc.c: Likewise.
8183
81842013-11-26 Ondřej Bílka <neleai@seznam.cz>
8185
ab260039
OB
8186 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8187
d1d9eaf4 81882013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8189
d1d9eaf4
OB
8190 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8191 * rt/aio.h: Likewise.
8192 * sysdeps/gnu/bits/utmp.h: Likewise.
8193 * sysdeps/gnu/bits/utmpx.h: Likewise.
8194 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8195 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8196 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8197 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8198 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8199 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8200 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8201 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8202 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8204 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8205 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8208 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8209 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8210 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8211 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8212 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8214 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8215 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8216 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8217 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8218 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8220 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8224 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8227 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8228 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8229 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8230 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8231 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8232 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8233 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8234 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8235 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8236
a7624ed9
CD
82372013-11-25 Carlos O'Donell <carlos@redhat.com>
8238
8239 [BZ #16245]
8240 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8241 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8242
63cfe52b
JM
82432013-11-25 Joseph Myers <joseph@codesourcery.com>
8244
8245 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8246 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8247 Likewise.
8248
41e8926a
AZ
82492013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8250
8251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8252 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8253 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8254 (__fesetround): Remove define.
8255 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8256 rounding and exceptions handling.
8257 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8258 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8259 (__fe_nomask_env): Likewise.
8260 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8261 __fegetround instead of fegetround.
8262 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8263 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8264
6851bd4d
RM
82652013-11-21 Roland McGrath <roland@hack.frob.com>
8266
070906ff
RM
8267 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8268 it's there.
8269
6851bd4d
RM
8270 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8271
84ae135d
MI
82722013-11-21 Meador Inge <meadori@codesourcery.com>
8273
8274 [BZ #11157]
8275 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8276 (encrypt_r): Likewise.
8277 * malloc/obstack.h (obstack_free): Likewise.
8278 * posix/unistd.h (encrypt): Likewise.
8279
daf75146
GM
82802013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8281
8282 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8283 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8284 DL_CALL_DT_FINI() that call the functions directly.
8285 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8286 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8287 * elf/dl-fini.c: Likewise.
8288
10ad46bc
OB
82892013-11-20 Ondřej Bílka <neleai@seznam.cz>
8290
8291 * malloc/hooks.c (memalign_check): Add alignment rounding.
8292 * malloc/malloc.c (_mid_memalign): New function.
8293 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8294 Implement by calling _mid_memalign.
8295 * manual/probes.texi (Memory Allocation Probes): Remove
8296 memory_valloc_retry and memory_pvalloc_retry.
8297
f3fd2628
SP
82982013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8299
4712799f
SP
8300 * locale/programs/locarchive.c (open_archive): Add const
8301 qualifier to ARCHIVEFNAME and copy default fname to
8302 DEFAULT_FNAME.
8303
0417b20f
SP
8304 [BZ #15601]
8305 * libio/tst-widetext.input: Rename Oriya to Odia.
8306 * locale/iso-639.def: Likewise.
8307
f3fd2628
SP
8308 * manual/probes.texi (Mathematical Function Probes): Add
8309 documentation for sin, cos, asin and acos probes.
8310 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8311 (__sin32): Add slowasin probe.
8312 (__cos32): Add slowacos probe.
8313 (__mpsin): Add slowsin probe.
8314 (__mpcos): Add slowcos probe.
8315
73c1ce4f
JM
83162013-11-19 Joseph Myers <joseph@codesourcery.com>
8317
8318 [BZ #15483]
8319 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8320 thread-local __sim_exceptions_thread and global
8321 __sim_exceptions_global.
8322 (__sim_disabled_exceptions): Change to thread-local
8323 __sim_disabled_exceptions_thread and global
8324 __sim_disabled_exceptions_global.
8325 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8326 and global __sim_round_mode_global.
8327 (__simulate_exceptions): Use thread-local floating-point state and
8328 set global state from it as needed.
8329 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8330 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8331 __sim_round_mode_thread.
8332 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8333 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8334 and global __sim_exceptions_global.
8335 (__sim_disabled_exceptions): Change to thread-local
8336 __sim_disabled_exceptions_thread and global
8337 __sim_disabled_exceptions_global.
8338 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8339 and global __sim_round_mode_global.
8340 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8341 (SIM_SET_GLOBAL): Likewise.
8342 * sysdeps/powerpc/soft-fp/sfp-machine.h
8343 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8344 __sim_round_mode_thread.
8345 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8346 __sim_disabled_exceptions_thread.
8347 (__sim_exceptions): Change to __sim_exceptions_thread.
8348 (__sim_disabled_exceptions): Change to
8349 __sim_disabled_exceptions_thread.
8350 (__sim_round_mode): Change to __sim_round_mode_thread.
8351 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8352 thread-local floating-point state and set global state from it as
8353 needed.
8354 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8355 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8356 (__sim_disabled_exceptions): Remove extern declaration.
8357 (feenableexcept): Use thread-local floating-point state and set
8358 global state from it as needed.
8359 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8360 extern declaration.
8361 (__sim_disabled_exceptions): Likewise.
8362 (__sim_round_mode): Likewise.
8363 (__fegetenv): Use thread-local floating-point state.
8364 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8365 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8366 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8367 floating-point state and set global state from it as needed.
8368 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8369 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8370 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8371 Likewise.
8372 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8373 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8374 Likewise.
8375 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8376 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8377 Use __sim_round_mode_thread.
8378 * math/test-fenv-tls.c: New file.
8379 * math/Makefile (tests): Add test-fenv-tls.
8380 ($(objpfx)test-fenv-tls): Depend on
8381 $(common-objpfx)nptl/libpthread.so.
8382
b5449b12
AS
83832013-11-19 Andreas Schwab <schwab@suse.de>
8384
8385 * locale/programs/locale.c (show_info): Decode wordarray elements.
8386 * locale/categories.def (LC_MONETARY): Add element for
8387 _NL_MONETARY_CRNCYSTR.
8388 * locale/C-monetary.c (conversion_rate): New variable.
8389 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8390 element.
8391
e186536b
CM
83922013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8393
8394 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8395 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8396
5c349950
PP
83972013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8398
8399 * elf/Makefile (tst-auxv): New test.
8400 * elf/tst-auxv.c: New
8401 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8402
699df45b
JM
84032013-11-18 Joseph Myers <joseph@codesourcery.com>
8404
8405 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8406 (hidden_proto): Caller changed.
8407 (hidden_tls_proto): New macro.
8408 (libc_hidden_tls_proto): Likewise.
8409 (rtld_hidden_tls_proto): Likewise.
8410 (libm_hidden_tls_proto): Likewise.
8411 (libresolv_hidden_tls_proto): Likewise.
8412 (librt_hidden_tls_proto): Likewise.
8413 (libdl_hidden_tls_proto): Likewise.
8414 (libnss_files_hidden_tls_proto): Likewise.
8415 (libnsl_hidden_tls_proto): Likewise.
8416 (libnss_nisplus_hidden_tls_proto): Likewise.
8417 (libutil_hidden_tls_proto): Likewise.
8418
b7589107
OB
84192013-11-18 Ondřej Bílka <neleai@seznam.cz>
8420
8421 [BZ #10253]
8422 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8423 (decompose_rpath): Defer expansion to fillin_rpath.
8424 (_dl_init_paths): Pass linkmap to fillin_rpath.
8425
250c23bd
RS
84262013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8427
8428 * benchtests/Makefile: Add strsep.
8429 * benchtests/bench-strsep.c: New file: strsep benchtest.
8430 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8431
a7931fcf
AS
84322013-11-18 Andreas Schwab <schwab@suse.de>
8433
8434 * locale/programs/locale.c (show_info) [case byte]: Check for
8435 '\377' instead of '\177'.
8436 * locale/C-monetary.c (not_available): Always use "\377".
8437 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8438 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8439 detect unavailable sign_posn locale elements.
8440 * locale/localeconv.c (__localeconv): For grouping and
8441 mon_grouping handle "\177" and "\377" like no grouping.
8442 (INT_ELEM): New macro. Use it to set all numeric members.
8443 * locale/programs/ld-monetary.c (monetary_read)
8444 <tok_mon_grouping>: Normalize single -1 to the empty string.
8445 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8446 Likewise.
8447
728dab0e
OB
84482013-11-07 Ondřej Bílka <neleai@seznam.cz>
8449
8450 [BZ #16055]
8451 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8452 when we match (nil).
8453 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8454
66294491
JM
84552013-11-16 Joseph Myers <joseph@codesourcery.com>
8456
ce665817
JM
8457 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8458 (NO_TEST_INLINE): Update value.
8459 (ERRNO_UNCHANGED): Likewise.
8460 (ERRNO_EDOM): Likewise.
8461 (ERRNO_ERANGE): Likewise.
8462 (IGNORE_RESULT): Likewise.
8463 (check_float_internal): Check signs of NaN results if
8464 TEST_NAN_SIGN used.
8465 (check_complex): Pass TEST_NAN_SIGN flag through to second
8466 check_float_internal call.
8467 (copysign_test_data): Add tests with quiet NaNs as second
8468 argument. Use TEST_NAN_SIGN.
8469 (fabs_test_data): Add test of negative quiet NaN argument. Use
8470 TEST_NAN_SIGN.
8471 (signbit_test_data): Add tests of quiet NaN argument.
8472 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8473
ee1466a9
JM
8474 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8475 $ignore_result.
8476 (parse_args): Handle function results specified as IGNORE.
8477 * math/libm-test.inc (IGNORE_RESULT): New macro.
8478 (check_float_internal): Do not check numerical result if flag
8479 IGNORE_RESULT set.
8480 (check_complex): Pass through IGNORE_RESULT to second
8481 check_float_internal call.
8482 (check_int): Do not check numerical result if flag IGNORE_RESULT
8483 set.
8484 (check_long): Likewise.
8485 (check_bool): Likewise.
8486 (check_longlong): Likewise.
8487 (lrint_test_data): Add tests of infinite and NaN arguments.
8488 (lrint_tonearest_test_data): Likewise.
8489 (lrint_towardzero_test_data): Likewise.
8490 (lrint_downward_test_data): Likewise.
8491 (lrint_upward_test_data): Likewise.
8492 (llrint_test_data): Likewise.
8493 (llrint_tonearest_test_data): Likewise.
8494 (llrint_towardzero_test_data): Likewise.
8495 (llrint_downward_test_data): Likewise.
8496 (llrint_upward_test_data): Likewise.
8497 (lround_test_data): Likewise.
8498 (llround_test_data): Likewise.
8499
14407b7e
JM
8500 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8501 (ERRNO_UNCHANGED): Update value.
8502 (ERRNO_EDOM): Likewise.
8503 (ERRNO_ERANGE): Likewise.
8504 (NO_TEST_INLINE_FLOAT): New macro.
8505 (NO_TEST_INLINE_DOUBLE): Likewise.
8506 (enable_test): New function.
8507 (RUN_TEST_f_f): Check enable_test before running test.
8508 (RUN_TEST_2_f): Likewise.
8509 (RUN_TEST_fff_f): Likewise.
8510 (RUN_TEST_c_f): Likewise.
8511 (RUN_TEST_f_f1): Likewise.
8512 (RUN_TEST_fF_f1): Likewise.
8513 (RUN_TEST_fI_f1): Likewise.
8514 (RUN_TEST_ffI_f1): Likewise.
8515 (RUN_TEST_c_c): Likewise.
8516 (RUN_TEST_cc_c): Likewise.
8517 (RUN_TEST_f_i): Likewise.
8518 (RUN_TEST_f_i_tg): Likewise.
8519 (RUN_TEST_ff_i_tg): Likewise.
8520 (RUN_TEST_f_b): Likewise.
8521 (RUN_TEST_f_b_tg): Likewise.
8522 (RUN_TEST_f_l): Likewise.
8523 (RUN_TEST_f_L): Likewise.
8524 (RUN_TEST_fFF_11): Likewise.
8525 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8526 conditionals.
8527 (cosh_test_data): Likewise.
8528 (exp_test_data): Likewise.
8529 (expm1_test_data): Likewise.
8530 (hypot_test_data): Likewise.
8531 (pow_test_data): Likewise.
8532 (sinh_test_data): Likewise.
8533 (tanh_test_data): Likewise.
8534 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8535 flags argument.
8536
ca07f197
JM
8537 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8538 tests with quiet NaN input and output.
8539 (acosh_test_data): Likewise.
8540 (asin_test_data): Likewise.
8541 (asinh_test_data): Likewise.
8542 (atan_test_data): Likewise.
8543 (atanh_test_data): Likewise.
8544 (atan2_test_data): Likewise.
8545 (cbrt_test_data): Likewise.
8546 (cos_test_data): Likewise.
8547 (cosh_test_data): Likewise.
8548 (erf_test_data): Likewise.
8549 (erfc_test_data): Likewise.
8550 (exp_test_data): Likewise.
8551 (exp10_test_data): Likewise.
8552 (exp2_test_data): Likewise.
8553 (expm1_test_data): Likewise.
8554 (hypot_test_data): Likewise.
8555 (j0_test_data): Likewise.
8556 (j1_test_data): Likewise.
8557 (jn_test_data): Likewise.
8558 (lgamma_test_data): Likewise.
8559 (log_test_data): Likewise.
8560 (log10_test_data): Likewise.
8561 (log1p_test_data): Likewise.
8562 (log2_test_data): Likewise.
8563 (pow_test_data): Likewise.
8564 (scalb_test_data): Likewise.
8565 (sin_test_data): Likewise.
8566 (sincos_test_data): Likewise.
8567 (sinh_test_data): Likewise.
8568 (tan_test_data): Likewise.
8569 (tanh_test_data): Likewise.
8570 (tgamma_test_data): Likewise.
8571 (y0_test_data): Likewise.
8572 (y1_test_data): Likewise.
8573 (yn_test_data): Likewise.
8574
66294491
JM
8575 [BZ #16167]
8576 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8577 argument being NaN and avoid computations with second argument in
8578 that case.
8579 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8580 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8581 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8582
1820b143
CL
85832013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8584
8585 * locale/iso-639.def: Add Chitwani Tharu (the).
8586
714bd261
AS
85872013-11-14 Andreas Schwab <schwab@suse.de>
8588
8589 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8590 word instead of empty string.
8591
7ab44563
AZ
85922013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8593
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8595 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8597 (__fe_nomask_env): Likewise.
8598
e8470ea2
SE
85992013-11-13 Steve Ellcey <sellcey@mips.com>
8600
8601 * benchtests/bench-timing.h: Include time.h.
8602
17c1d9f0
L
86032013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 [BZ #15997]
8606 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8607 to 3.4.0 for x32.
8608 * sysdeps/unix/sysv/linux/configure: Regenerated.
8609
9310c284
JM
86102013-11-13 Joseph Myers <joseph@codesourcery.com>
8611
8612 [BZ #16151]
8613 * stdlib/strtod_l.c (round_and_return): Do not consider
8614 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8615 exponent one less than half the least subnormal exponent.
8616 * stdlib/test-strtod-round-data: Add more tests.
8617 * stdlib/tst-strtod-round.c (tests): Regenerated.
8618
7a2ad8cf
AZ
86192013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8620
8621 [BZ #14143]
8622 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8623 (__fe_mask_env): Likewise.
8624 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8625 libm_hidden_proto and add function prototype.
8626 (__fe_mask_env): Add function prototype.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8628 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8630 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8632 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8633
50727aa7
MS
86342013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8635
b2f386c1 8636 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8637 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8638
a615be46
MS
86392013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8640
8641 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8642 of htab_find_slot().
8643
7ddace62
DM
86442013-11-11 David S. Miller <davem@davemloft.net>
8645
8646 [BZ #16150]
8647 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8648 symbol in the non-vis3 case in static builds.
8649 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8650 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8651 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8652 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8653
9182aa67
JK
86542013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8655
8656 [BZ #387]
8657 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8658 it is empty.
8659
450a2e2d
AZ
86602013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8661
b2f386c1
SP
8662 * benchtests/Makefile: Add bench-strtod.
8663 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8664
8ec3f656
AS
86652013-11-11 Andreas Schwab <schwab@suse.de>
8666
8667 [BZ #16153]
8668 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8669 terminating NUL in key length.
8670
76a9b998
AZ
86712013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8672
8673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8674 Add artificial ODP entry for vDSO symbol for PPC64.
8675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8676 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8677
e4368156
OB
86782013-11-07 Ondřej Bílka <neleai@seznam.cz>
8679
8680 [BZ #15374]
8681 * nss/getent.c (services_keys): Recognize services starting with digit.
8682
8d6bb57c
DM
86832013-11-06 David S. Miller <davem@davemloft.net>
8684
8685 [BZ #15985]
8686 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8687 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8688
e256c421
WN
86892013-11-06 Will Newton <will.newton@linaro.org>
8690
8691 * manual/memory.texi (Malloc Examples): Remove register
8692 keyword from examples.
8693
f6e12daa 86942013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8695
f6e12daa 8696 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8697
9d880655
AS
86982013-11-04 Joseph Myers <joseph@codesourcery.com>
8699
fd2f9486 8700 [BZ #6981]
9d880655
AS
8701 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8702 depending on [__GCC_IEC_559 > 0].
8703 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8704 depending on [__GCC_IEC_559_COMPLEX > 0].
8705
ae129d3c
CL
87062013-11-03 Chris Leonard <cjl@sugarlabs.org>
8707
8708 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8709 to iso-639.def.
8710
4a15c2a4 87112013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8712
8713 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8714
8b35e35d
OB
87152013-11-01 Ondřej Bílka <neleai@seznam.cz>
8716
8717 [BZ #16112]
8718 * malloc/malloc (malloc_info): Do not handle first bin as
8719 special case.
8720
1d70fd6c
CL
87212013-11-01 Chris Leonard <cjl@sugarlabs.org>
8722
8723 * locale/iso-639.def: Add Central Nahuatl (nhn).
8724
8c5c2600
BH
87252013-11-01 Bruno Haible <bruno@clisp.org>
8726
8727 [BZ #7003]
8728 * manual/math.texi (BSD Random): Specify range upper bound as
8729 in POSIX.
8730
da5579c2
CL
87312013-10-31 Chris Leonard <cjl@sugarlabs.org>
8732
8733 * locale/iso-639.def: Add Meadow Mari (mhr).
8734
5d30d853
OB
87352013-10-31 Ondřej Bílka <neleai@seznam.cz>
8736
8737 [BZ #14752], [BZ #15763]
8738 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8739 Validate name.
8740 * rt/tst_shm.c: Add test for escaping directory.
8741
a4966c61
AS
87422013-10-31 Andreas Schwab <schwab@suse.de>
8743
8a43e768 8744 [BZ #15917]
a4966c61
AS
8745 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8746 followed by 'x' as part of digit sequence.
8747 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8748
28d708c4
MAP
87492013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8750
8751 [BZ #16037]
8752 * configure.ac: allow GNU Make 4.0 and greater.
8753 * configure: Regenerated.
8754
a56ee40b
WN
87552013-10-30 Will Newton <will.newton@linaro.org>
8756
8757 [BZ #16038]
8758 * malloc/hooks.c (memalign_check): Limit alignment to the
8759 maximum representable power of two.
8760 * malloc/malloc.c (__libc_memalign): Likewise.
8761 * malloc/tst-memalign.c (do_test): Add test for very
8762 large alignment values.
8763 * malloc/tst-posix_memalign.c (do_test): Likewise.
8764
c6e4925d
OB
87652013-10-30 Ondřej Bílka <neleai@seznam.cz>
8766
8767 [BZ #11087]
8768 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8769 (munmap_chunk): Likewise.
8770 (mremap_chunk): Likewise.
8771
87722013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8773
8a43e768 8774 [BZ #15799]
bbea82f7
OB
8775 * stdlib/div.c (div): Remove obsolete code.
8776 * stdlib/ldiv.c (ldiv): Likewise.
8777 * stdlib/lldiv.c (lldiv): Likewise.
8778
977f4b31
SP
87792013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8780
8781 [BZ #16071]
8782 * nss/nss_files/files-XXX.c (get_contents_ret): New
8783 enumerator.
8784 (get_contents): New function.
8785 (internal_getent): Use it. Expand size of LINEBUFLEN.
8786
cb8a6dbd
MF
87872013-10-30 Mike Frysinger <vapier@gentoo.org>
8788
8789 * configure.in: Moved to ...
8790 * configure.ac: ... here. Change reference to configure.in
8791 to configure.ac.
8792 * sysdeps/arm/preconfigure.ac: ... here.
8793 configure.in to configure.ac.
8794 * sysdeps/gnu/configure.in: Moved to ...
8795 * sysdeps/gnu/configure.ac: ... here.
8796 * sysdeps/i386/configure.in: Moved to ...
8797 * sysdeps/i386/configure.ac: ... here.
8798 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8799 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8800 * sysdeps/mach/configure.in: Moved to ...
8801 * sysdeps/mach/configure.ac: ... here.
8802 * sysdeps/mach/hurd/configure.in: Moved to ...
8803 * sysdeps/mach/hurd/configure.ac: ... here.
8804 * sysdeps/powerpc/configure.in: Moved to ...
8805 * sysdeps/powerpc/configure.ac: ... here.
8806 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8807 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8808 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8809 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8810 * sysdeps/s390/s390-32/configure.in: Moved to ...
8811 * sysdeps/s390/s390-32/configure.ac: ... here.
8812 * sysdeps/s390/s390-64/configure.in: Moved to ...
8813 * sysdeps/s390/s390-64/configure.ac: ... here.
8814 * sysdeps/sh/configure.in: Moved to ...
8815 * sysdeps/sh/configure.ac: ... here.
8816 * sysdeps/sparc/configure.in: Moved to ...
8817 * sysdeps/sparc/configure.ac: ... here.
8818 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8819 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8820 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8821 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8822 * sysdeps/x86_64/configure.in: Moved to ...
8823 * sysdeps/x86_64/configure.ac: ... here.
8824 * sysdeps/x86_64/preconfigure.in: Moved to ...
8825 * sysdeps/x86_64/preconfigure.ac: ... here.
8826 * aclocal.m4: Change reference to configure.in to configure.ac.
8827 * config.h.in: Likewise.
8828 * manual/install.texi: Likewise.
8829 * manual/maint.texi: Likewise.
8830 * Makefile: Likewise.
8831 * malloc/Makefile: Likewise.
8832 * nscd/Makefile: Likewise.
8833 * Makeconfig: Change reference to configure.in and
8834 preconfigure.in to configure.ac and preconfigure.ac
8835 respectively.
8836 * INSTALL: Regenerated.
8837 * configure: Likewise.
8838 * sysdeps/gnu/configure: Likewise.
8839 * sysdeps/i386/configure: Likewise.
8840 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8841 * sysdeps/mach/configure: Likewise.
8842 * sysdeps/mach/hurd/configure: Likewise.
8843 * sysdeps/powerpc/configure: Likewise.
8844 * sysdeps/powerpc/powerpc32/configure: Likewise.
8845 * sysdeps/powerpc/powerpc64/configure: Likewise.
8846 * sysdeps/s390/s390-32/configure: Likewise.
8847 * sysdeps/s390/s390-64/configure: Likewise.
8848 * sysdeps/sh/configure: Likewise.
8849 * sysdeps/sparc/configure: Likewise.
8850 * sysdeps/unix/sysv/linux/configure: Likewise.
8851 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8852 * sysdeps/x86_64/configure: Likewise.
8853 * sysdeps/x86_64/preconfigure: Likewise.
8854
36a4953a
AS
88552013-10-29 Andreas Schwab <schwab@suse.de>
8856
8857 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8858
c79a1204
SP
88592013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8860
dfa1b402
SP
8861 * benchtests/pow-inputs: Add new inputs.
8862
54f73d9c
SP
8863 * benchtests/exp-inputs: Add new inputs.
8864
c79a1204
SP
8865 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8866 conditional check for return value.
8867 (__cos32): Likewise.
8868
67beb545 88692013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8870
8871 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8872 to provide a boost for large inputs with word alignment.
8873 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8874 implementation based on optimized PPC64 strcpy.
8875 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8876 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8877 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8878 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8879
151659f6
OB
88802013-10-25 Ondřej Bílka <neleai@seznam.cz>
8881
482a077e 8882 [BZ #2801]
151659f6
OB
8883 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8884
10b0f26b
OB
88852013-10-25 Ondřej Bílka <neleai@seznam.cz>
8886
8887 [BZ #14876]
8888 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8889 * time/tst-strptime.c (day_tests): Add testcase.
8890
ca42d35e
OB
88912013-10-25 Ondřej Bílka <neleai@seznam.cz>
8892
482a077e 8893 [BZ #14029]
ca42d35e
OB
8894 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8895
52e6d801
FB
88962013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8897
8898 [BZ #16074]
8899 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8900 MAP_FAILED on error.
8901
7cbcdb36
SP
89022013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8903
8904 [BZ #16072]
8905 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8906 heap for large requests.
8907
894f3f10
AM
89082013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8909
8910 [BZ #9954]
8911 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8912 result if the result has no associated interface.
8913 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8914 interface for all 127.X.Y.Z addresses.
8915
b85545a6
CL
89162013-10-24 Chris Leonard <cjl@sugarlabs.org>
8917
8918 * locale/iso-639.def: Add Ligurian (lij)
8919
d1f23d46
OB
89202013-10-21 Ondřej Bílka <neleai@seznam.cz>
8921
8922 [BZ #15825]
8923 * sunrpc/rpc_main.c: Document rpcgen -5.
8924
4db5b08f
MS
89252013-10-19 Michael Stahl <mstahl@redhat.com>
8926
8927 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8928
a471e96a
OB
89292013-10-19 Ondřej Bílka <neleai@seznam.cz>
8930
d1f23d46 8931 [BZ #10278]
a471e96a
OB
8932 * posix/glob.c: Match only directories when trailing slash is present.
8933 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8934 (main): Add testcase.
8935
45c30c61
OB
89362013-10-19 Ondřej Bílka <neleai@seznam.cz>
8937
8938 [BZ #15670]
8939 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8940
484c12fb
CD
89412013-10-18 Carlos O'Donell <carlos@redhat.com>
8942
3d7dc513
CD
8943 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8944 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8945 AUTH_DES and cindex for FIPS 140-2.
8946 (DES Encryption): Add cindex FIPS 46-3.
8947
484c12fb
CD
8948 * locale/locarchive.h (struct locarhandle): Add fname.
8949 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8950 if an optional argument was specified to --list-archive,
8951 otherwise NULL.
8952 * locale/programs/locarchive.c (show_archive_content): Take new
8953 argument fname and pass it via ah.fname to open_archive.
8954 * locale/programs/localedef.h: Update decl.
8955 (open_archive): If AH->fname is non-null, open that file
8956 rather than the default file name, and don't ignore ENOENT.
8957 (create_archive): Set AH.fname to NULL.
8958 (delete_locales_from_archive): Likewise.
8959 (add_locales_to_archive): Likewise.
8960 * locale/programs/locfile.c (write_all_categories): Likewise.
8961
3c8325fb
JM
89622013-10-18 Joseph Myers <joseph@codesourcery.com>
8963 Aldy Hernandez <aldyh@redhat.com>
8964
8965 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8966 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8967 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8968 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8969 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8970 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8971 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8972 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8973 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8974 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8975 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8976 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8977 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8978 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8979 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8980 Likewise.
8981 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8982 Likewise.
8983 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8984 Likewise.
8985 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8986 Likewise.
8987 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8988 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8989 Likewise.
8990 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8991 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8992 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8993 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8994 Likewise.
8995 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8996 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8997 * sysdeps/powerpc/preconfigure: Likewise.
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8999 Likewise.
9000 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9001 Replace contents of file by #include of <fenv_libc.h>.
9002 * sysdeps/powerpc/soft-fp/sfp-machine.h
9003 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9004 and <sys/prctl.h>.
9005 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9013 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9018 Allow copysignl PLT reference to be missing.
9019
5abe0682
RS
90202013-10-18 Richard Sandiford <richard@codesourcery.com>
9021 Joseph Myers <joseph@codesourcery.com
9022
9023 [BZ #15948]
9024 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9025 single character.
9026 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9027
c7738d08
SP
90282013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9029
9030 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9031 * elf/tst-tls1.c: Likewise.
9032 * elf/tst-tls10.h: Likewise.
9033 * elf/tst-tls14.c: Likewise.
9034 * elf/tst-tls2.c: Likewise.
9035 * elf/tst-tls3.c: Likewise.
9036 * elf/tst-tls4.c: Likewise.
9037 * elf/tst-tls5.c: Likewise.
9038 * elf/tst-tls6.c: Likewise.
9039 * elf/tst-tls7.c: Likewise.
9040 * elf/tst-tls8.c: Likewise.
9041 * elf/tst-tls9.c: Likewise.
9042 * elf/tst-tlsmod1.c: Likewise.
9043 * elf/tst-tlsmod13.c: Likewise.
9044 * elf/tst-tlsmod13a.c: Likewise.
9045 * elf/tst-tlsmod14a.c: Likewise.
9046 * elf/tst-tlsmod16a.c: Likewise.
9047 * elf/tst-tlsmod16b.c: Likewise.
9048 * elf/tst-tlsmod2.c: Likewise.
9049 * elf/tst-tlsmod3.c: Likewise.
9050 * elf/tst-tlsmod4.c: Likewise.
9051 * elf/tst-tlsmod5.c: Likewise.
9052 * elf/tst-tlsmod6.c: Likewise.
9053
0bfcf2c7
OB
90542013-10-18 Ondřej Bílka <neleai@seznam.cz>
9055
9056 [BZ #12486]
9057 * malloc/malloc.c: remove checks for statistics.
9058
264aad1e
OB
90592013-10-17 Ondřej Bílka <neleai@seznam.cz>
9060
9061 [BZ #15277]
9062 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9063 * inet/tst-network.c: Add testcase.
9064
b957ced8
AS
90652013-10-17 Andreas Schwab <schwab@suse.de>
9066
9067 [BZ #15218]
9068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9069 to determine canonical name.
9070
c5d5d574
OB
90712013-10-17 Ondřej Bílka <neleai@seznam.cz>
9072
9073 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9074 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9096 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9097 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9098 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9099 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9101 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9102 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9103 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9131
e5c2c2d0
JM
91322013-10-17 Joseph Myers <joseph@codesourcery.com>
9133
9134 [BZ #16041]
9135 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9136 make result into a quiet NaN.
9137
51ca9e29
JM
91382013-10-16 Joseph Myers <joseph@codesourcery.com>
9139
9140 * soft-fp/adddf3.c: Fix horizontal whitespace.
9141 * soft-fp/addsf3.c: Likewise.
9142 * soft-fp/addtf3.c: Likewise.
9143 * soft-fp/divdf3.c: Likewise.
9144 * soft-fp/divsf3.c: Likewise.
9145 * soft-fp/divtf3.c: Likewise.
9146 * soft-fp/double.h: Likewise.
9147 * soft-fp/eqdf2.c: Likewise.
9148 * soft-fp/eqsf2.c: Likewise.
9149 * soft-fp/eqtf2.c: Likewise.
9150 * soft-fp/extenddftf2.c: Likewise.
9151 * soft-fp/extended.h: Likewise.
9152 * soft-fp/extendsfdf2.c: Likewise.
9153 * soft-fp/extendsftf2.c: Likewise.
9154 * soft-fp/extendxftf2.c: Likewise.
9155 * soft-fp/fixdfdi.c: Likewise.
9156 * soft-fp/fixdfsi.c: Likewise.
9157 * soft-fp/fixdfti.c: Likewise.
9158 * soft-fp/fixsfdi.c: Likewise.
9159 * soft-fp/fixsfsi.c: Likewise.
9160 * soft-fp/fixsfti.c: Likewise.
9161 * soft-fp/fixtfdi.c: Likewise.
9162 * soft-fp/fixtfsi.c: Likewise.
9163 * soft-fp/fixtfti.c: Likewise.
9164 * soft-fp/fixunsdfdi.c: Likewise.
9165 * soft-fp/fixunsdfsi.c: Likewise.
9166 * soft-fp/fixunsdfti.c: Likewise.
9167 * soft-fp/fixunssfdi.c: Likewise.
9168 * soft-fp/fixunssfsi.c: Likewise.
9169 * soft-fp/fixunssfti.c: Likewise.
9170 * soft-fp/fixunstfdi.c: Likewise.
9171 * soft-fp/fixunstfsi.c: Likewise.
9172 * soft-fp/fixunstfti.c: Likewise.
9173 * soft-fp/floatdidf.c: Likewise.
9174 * soft-fp/floatdisf.c: Likewise.
9175 * soft-fp/floatditf.c: Likewise.
9176 * soft-fp/floatsidf.c: Likewise.
9177 * soft-fp/floatsisf.c: Likewise.
9178 * soft-fp/floatsitf.c: Likewise.
9179 * soft-fp/floattidf.c: Likewise.
9180 * soft-fp/floattisf.c: Likewise.
9181 * soft-fp/floattitf.c: Likewise.
9182 * soft-fp/floatundidf.c: Likewise.
9183 * soft-fp/floatundisf.c: Likewise.
9184 * soft-fp/floatunditf.c: Likewise.
9185 * soft-fp/floatunsidf.c: Likewise.
9186 * soft-fp/floatunsisf.c: Likewise.
9187 * soft-fp/floatunsitf.c: Likewise.
9188 * soft-fp/floatuntidf.c: Likewise.
9189 * soft-fp/floatuntisf.c: Likewise.
9190 * soft-fp/floatuntitf.c: Likewise.
9191 * soft-fp/fmadf4.c: Likewise.
9192 * soft-fp/fmasf4.c: Likewise.
9193 * soft-fp/fmatf4.c: Likewise.
9194 * soft-fp/gedf2.c: Likewise.
9195 * soft-fp/gesf2.c: Likewise.
9196 * soft-fp/getf2.c: Likewise.
9197 * soft-fp/ledf2.c: Likewise.
9198 * soft-fp/lesf2.c: Likewise.
9199 * soft-fp/letf2.c: Likewise.
9200 * soft-fp/muldf3.c: Likewise.
9201 * soft-fp/mulsf3.c: Likewise.
9202 * soft-fp/multf3.c: Likewise.
9203 * soft-fp/negdf2.c: Likewise.
9204 * soft-fp/negsf2.c: Likewise.
9205 * soft-fp/negtf2.c: Likewise.
9206 * soft-fp/op-1.h: Likewise.
9207 * soft-fp/op-2.h: Likewise.
9208 * soft-fp/op-4.h: Likewise.
9209 * soft-fp/op-8.h: Likewise.
9210 * soft-fp/op-common.h: Likewise.
9211 * soft-fp/quad.h: Likewise.
9212 * soft-fp/single.h: Likewise.
9213 * soft-fp/soft-fp.h: Likewise.
9214 * soft-fp/sqrtdf2.c: Likewise.
9215 * soft-fp/sqrtsf2.c: Likewise.
9216 * soft-fp/sqrttf2.c: Likewise.
9217 * soft-fp/subdf3.c: Likewise.
9218 * soft-fp/subsf3.c: Likewise.
9219 * soft-fp/subtf3.c: Likewise.
9220 * soft-fp/truncdfsf2.c: Likewise.
9221 * soft-fp/trunctfdf2.c: Likewise.
9222 * soft-fp/trunctfsf2.c: Likewise.
9223 * soft-fp/trunctfxf2.c: Likewise.
9224 * soft-fp/unorddf2.c: Likewise.
9225 * soft-fp/unordsf2.c: Likewise.
9226 * soft-fp/unordtf2.c: Likewise.
9227
9ebb0332
JM
92282013-10-15 Joseph Myers <joseph@codesourcery.com>
9229
9230 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9231 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9232
4b1a6d8b
OB
92332013-10-15 Ondřej Bílka <neleai@seznam.cz>
9234
9235 * elf/dl-libc.c: Clear initfini list after freeing.
9236
1e145589
JM
92372013-10-14 Joseph Myers <joseph@codesourcery.com>
9238
9239 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9240 * soft-fp/addsf3.c: Likewise.
9241 * soft-fp/addtf3.c: Likewise.
9242 * soft-fp/divdf3.c: Likewise.
9243 * soft-fp/divsf3.c: Likewise.
9244 * soft-fp/divtf3.c: Likewise.
9245 * soft-fp/double.h: Likewise.
9246 * soft-fp/eqdf2.c: Likewise.
9247 * soft-fp/eqsf2.c: Likewise.
9248 * soft-fp/eqtf2.c: Likewise.
9249 * soft-fp/extenddftf2.c: Likewise.
9250 * soft-fp/extended.h: Likewise.
9251 * soft-fp/extendsfdf2.c: Likewise.
9252 * soft-fp/extendsftf2.c: Likewise.
9253 * soft-fp/extendxftf2.c: Likewise.
9254 * soft-fp/fixdfdi.c: Likewise.
9255 * soft-fp/fixdfsi.c: Likewise.
9256 * soft-fp/fixdfti.c: Likewise.
9257 * soft-fp/fixsfdi.c: Likewise.
9258 * soft-fp/fixsfsi.c: Likewise.
9259 * soft-fp/fixsfti.c: Likewise.
9260 * soft-fp/fixtfdi.c: Likewise.
9261 * soft-fp/fixtfsi.c: Likewise.
9262 * soft-fp/fixtfti.c: Likewise.
9263 * soft-fp/fixunsdfdi.c: Likewise.
9264 * soft-fp/fixunsdfsi.c: Likewise.
9265 * soft-fp/fixunsdfti.c: Likewise.
9266 * soft-fp/fixunssfdi.c: Likewise.
9267 * soft-fp/fixunssfsi.c: Likewise.
9268 * soft-fp/fixunssfti.c: Likewise.
9269 * soft-fp/fixunstfdi.c: Likewise.
9270 * soft-fp/fixunstfsi.c: Likewise.
9271 * soft-fp/fixunstfti.c: Likewise.
9272 * soft-fp/floatdidf.c: Likewise.
9273 * soft-fp/floatdisf.c: Likewise.
9274 * soft-fp/floatditf.c: Likewise.
9275 * soft-fp/floatsidf.c: Likewise.
9276 * soft-fp/floatsisf.c: Likewise.
9277 * soft-fp/floatsitf.c: Likewise.
9278 * soft-fp/floattidf.c: Likewise.
9279 * soft-fp/floattisf.c: Likewise.
9280 * soft-fp/floattitf.c: Likewise.
9281 * soft-fp/floatundidf.c: Likewise.
9282 * soft-fp/floatundisf.c: Likewise.
9283 * soft-fp/floatunsidf.c: Likewise.
9284 * soft-fp/floatunsisf.c: Likewise.
9285 * soft-fp/floatuntidf.c: Likewise.
9286 * soft-fp/floatuntisf.c: Likewise.
9287 * soft-fp/floatuntitf.c: Likewise.
9288 * soft-fp/fmadf4.c: Likewise.
9289 * soft-fp/fmasf4.c: Likewise.
9290 * soft-fp/fmatf4.c: Likewise.
9291 * soft-fp/gedf2.c: Likewise.
9292 * soft-fp/gesf2.c: Likewise.
9293 * soft-fp/getf2.c: Likewise.
9294 * soft-fp/ledf2.c: Likewise.
9295 * soft-fp/lesf2.c: Likewise.
9296 * soft-fp/letf2.c: Likewise.
9297 * soft-fp/muldf3.c: Likewise.
9298 * soft-fp/mulsf3.c: Likewise.
9299 * soft-fp/multf3.c: Likewise.
9300 * soft-fp/negdf2.c: Likewise.
9301 * soft-fp/negsf2.c: Likewise.
9302 * soft-fp/negtf2.c: Likewise.
9303 * soft-fp/op-1.h: Likewise.
9304 * soft-fp/op-2.h: Likewise.
9305 * soft-fp/op-4.h: Likewise.
9306 * soft-fp/op-8.h: Likewise.
9307 * soft-fp/op-common.h: Likewise.
9308 * soft-fp/quad.h: Likewise.
9309 * soft-fp/single.h: Likewise.
9310 * soft-fp/soft-fp.h: Likewise.
9311 * soft-fp/sqrtdf2.c: Likewise.
9312 * soft-fp/sqrtsf2.c: Likewise.
9313 * soft-fp/sqrttf2.c: Likewise.
9314 * soft-fp/subdf3.c: Likewise.
9315 * soft-fp/subsf3.c: Likewise.
9316 * soft-fp/subtf3.c: Likewise.
9317 * soft-fp/truncdfsf2.c: Likewise.
9318 * soft-fp/trunctfdf2.c: Likewise.
9319 * soft-fp/trunctfsf2.c: Likewise.
9320 * soft-fp/trunctfxf2.c: Likewise.
9321 * soft-fp/unorddf2.c: Likewise.
9322 * soft-fp/unordsf2.c: Likewise.
9323 * soft-fp/unordtf2.c: Likewise.
9324
17c48a60
OB
93252013-10-14 Ondřej Bílka <neleai@seznam.cz>
9326
9327 [BZ #15672]
9328 * misc/error.c (error_tail): Fix possible buffer overflow.
9329
cabba934
OB
93302013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9331
9332 [BZ #13028]
9333 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9334 address.
9335
94bf958a
PM
93362013-10-14 P. J. McDermott <pj@pehjota.net>
9337
9338 [BZ #832]
9339 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9340 testing pipefail option.
9341
71b4dea7
JM
93422013-10-12 Joseph Myers <joseph@codesourcery.com>
9343
9344 * soft-fp/double.h: Indent preprocessor directives inside #if.
9345 * soft-fp/extended.h: Likewise.
9346 * soft-fp/op-2.h: Likewise.
9347 * soft-fp/op-4.h: Likewise.
9348 * soft-fp/op-common.h: Likewise.
9349 * soft-fp/quad.h: Likewise.
9350 * soft-fp/single.h: Likewise.
9351 * soft-fp/soft-fp.h: Likewise.
9352
55602758
YC
93532013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9354
9355 * iconv/iconv_prog.c: Fix typos.
9356 * stdio-common/psiginfo-data.h: Likewise.
9357
9cd83302
RT
93582013-10-12 Reuben Thomas <rrt@sc3d.org>
9359
9360 [BZ #15764]
9361 * locale/setlocale.c: Fix typo.
9362
99fd9f47
JM
93632013-10-12 Joseph Myers <joseph@codesourcery.com>
9364
b7ea74f0
JM
9365 [BZ #16036]
9366 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9367 signaling NaN arguments.
9368 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9369 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9370
8a509447
JM
9371 [BZ #14910]
9372 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9373 unordered operands.
9374 * soft-fp/gesf2.c (__gesf2): Likewise.
9375 * soft-fp/getf2.c (__getf2): Likewise.
9376 * soft-fp/ledf2.c (__ledf2): Likewise.
9377 * soft-fp/lesf2.c (__lesf2): Likewise.
9378 * soft-fp/letf2.c (__letf2): Likewise.
9379
98998e9f
JM
9380 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9381 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9382 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9383 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9384 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9385 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9386 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9387 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9388 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9389 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9390 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9391 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9392 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9393 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9394 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9395 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9396 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9397 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9398 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9399 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9400 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9401 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9402 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9403 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9404 * soft-fp/floattidf.c (__floattidf): Likewise.
9405 * soft-fp/floattisf.c (__floattisf): Likewise.
9406 * soft-fp/floattitf.c (__floattitf): Likewise.
9407 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9408 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9409 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9410 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9411 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9412 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9413 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9414 * soft-fp/gesf2.c (__gesf2): Likewise.
9415 * soft-fp/getf2.c (__getf2): Likewise.
9416 * soft-fp/ledf2.c (__ledf2): Likewise.
9417 * soft-fp/lesf2.c (__lesf2): Likewise.
9418 * soft-fp/letf2.c (__letf2): Likewise.
9419
8edc4a11
JM
9420 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9421 Undefine and redefine.
9422 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9423 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9424 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9425 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9426 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9427 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9428 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9429 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9430 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9431 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9432 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9433 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9434 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9435 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9436 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9437
8399acaf
JM
9438 [BZ #16032]
9439 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9440 without decrementing exponent if mantissa >= that for the
9441 denominator, not >.
9442 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9443 denominator, not >. Decrement exponent in < case instead of
9444 incrementing in >= case.
9445 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9446 without decrementing exponent if mantissa >= that for the
9447 denominator, not >.
9448
99fd9f47
JM
9449 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9450 computing saturated result for unsigned overflow.
9451
10e1cf6b
SP
94522013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9453 Jeff Law <law@redhat.com>
9454
9455 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9456 (atan2Mp): Add systemtap probe marker.
9457 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9458 (__ieee754_log): Add systemtap probe marker.
9459 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9460 (atanMp): Add systemtap probe marker.
9461 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9462 (tanMp): Add systemtap probe marker.
9463 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9464 (__slowexp): Add systemtap probe marker.
9465 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9466 (__slowpow): Add systemtap probe marker.
9467 * manual/probes.texi: Document probes.
9468
3d110c7c
EB
94692013-10-11 Eric Biggers <ebiggers3@gmail.com>
9470
9471 [BZ #15362]
9472 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9473 written.
9474 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9475 written.
9476 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9477 written to buffer but not flushed.
9478 * libio/iofwrite_u.c: Likewise.
9479 * libio/iopadn.c: Return bytes returned even if EOF was
9480 encountered.
9481 * libio/iowpadn.c: Likewise.
9482 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9483 if _IO_padn does not write the whole buffer.
9484 [!COMPILE_WPRINTF] (PAD): Likewise.
9485
75b4202a
DM
94862013-10-10 David S. Miller <davem@davemloft.net>
9487
9488 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9489 directory block.
9490
6c6352e6
JM
94912013-10-10 Joseph Myers <joseph@codesourcery.com>
9492
33b853c3
JM
9493 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9494 instead of FSF address.
9495 * soft-fp/fixdfti.c: Likewise.
9496 * soft-fp/fixsfti.c: Likewise.
9497 * soft-fp/fixtfti.c: Likewise.
9498 * soft-fp/fixunsdfti.c: Likewise.
9499 * soft-fp/fixunssfti.c: Likewise.
9500 * soft-fp/fixunstfti.c: Likewise.
9501 * soft-fp/floattidf.c: Likewise.
9502 * soft-fp/floattisf.c: Likewise.
9503 * soft-fp/floattitf.c: Likewise.
9504 * soft-fp/floatuntidf.c: Likewise.
9505 * soft-fp/floatuntisf.c: Likewise.
9506 * soft-fp/floatuntitf.c: Likewise.
9507 * soft-fp/trunctfxf2.c: Likewise.
9508
6c6352e6
JM
9509 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9510 * soft-fp/fixdfti.c: Likewise.
9511 * soft-fp/fixsfti.c: Likewise.
9512 * soft-fp/fixtfti.c: Likewise.
9513 * soft-fp/fixunsdfti.c: Likewise.
9514 * soft-fp/fixunssfti.c: Likewise.
9515 * soft-fp/fixunstfti.c: Likewise.
9516 * soft-fp/floattidf.c: Likewise.
9517 * soft-fp/floattisf.c: Likewise.
9518 * soft-fp/floattitf.c: Likewise.
9519 * soft-fp/floatuntidf.c: Likewise.
9520 * soft-fp/floatuntisf.c: Likewise.
9521 * soft-fp/floatuntitf.c: Likewise.
9522 * soft-fp/trunctfxf2.c: Likewise.
9523
3bf78b71
DM
95242013-10-10 David S. Miller <davem@davemloft.net>
9525
9526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9527
6f10289e
JM
95282013-10-10 Joseph Myers <joseph@codsourcery.com>
9529
bd878fc0
JM
9530 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9531 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9532 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9533 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9534 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9535 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9536 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9537
6f10289e
JM
9538 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9539 for NaNs before doing comparisons on argument.
9540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9541 Likewise.
9542
321e2684
WN
95432013-10-10 Will Newton <will.newton@linaro.org>
9544
9545 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9546 passed to _int_memalign does not overflow.
9547
40fefba1
TR
95482013-10-10 Torvald Riegel <triegel@redhat.com>
9549
9550 * scripts/bench.pl: Add include-sources directive.
9551 * benchtests/README: Update documentation.
9552
2ae21ed2
JM
95532013-10-10 Joseph Myers <joseph@codesourcery.com>
9554
dcc2dd3f
JM
9555 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9556 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9557 instead of FP_INIT_ROUNDMODE.
9558 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9559 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9560
2ae21ed2
JM
9561 [BZ #16034]
9562 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9563 copy class of input value.
9564 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9565 not handle exceptions.
9566 * soft-fp/negsf2.c (__negsf2): Likewise.
9567 * soft-fp/negtf2.c (__negtf2): Likewise.
9568 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9569
cb8f9562
JM
95702013-10-09 Joseph Myers <joseph@codesourcery.com>
9571
9572 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9573 semicolon. From Linux kernel.
9574
5b60c59d
AB
95752013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9576
9577 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9578
b86835ca
YC
95792013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9580
9581 [BZ #156]
9582 * manual/socket.texi: Added statement about buffer
9583 for gethostbyname2_r.
9584
e7044ea7
OB
95852013-10-08 Ondřej Bílka <neleai@seznam.cz>
9586
9587 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9588 Use .p2align directive instead, throughout.
9589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9590 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9591 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9594 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9595 * sysdeps/x86_64/strchr.S: Likewise.
9596 * sysdeps/x86_64/strrchr.S: Likewise.
9597
09544cbc
SP
95982013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9599
88576635
SP
9600 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9601
e7b2d1dd
SP
9602 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9603
09544cbc
SP
9604 * sysdeps/generic/math_private.h (__mpsin1): Remove
9605 declaration.
9606 (__mpcos1): Likewise.
9607 (__mpsin): New argument __range_reduce.
9608 (__mpcos): Likewise.
9609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9610 (slow): Use __mpsin and __mpcos.
9611 (slow1): Likewise.
9612 (slow2): Likewise.
9613 (sloww): Likewise.
9614 (sloww1): Likewise.
9615 (sloww2): Likewise.
9616 (bsloww): Likewise.
9617 (bsloww1): Likewise.
9618 (bsloww2): Likewise.
9619 (cslow2): Likewise.
9620 (csloww): Likewise.
9621 (csloww1): Likewise.
9622 (csloww2): Likewise.
9623 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9624 range_reduce. Merge in __mpsin1.
9625 (__mpcos): Likewise.
9626 (__mpsin1): Remove.
9627 (__mpcos1): Likewise.
9628
7602d070
JM
96292013-10-07 Joseph Myers <joseph@codesourcery.com>
9630
9631 * locale/loadlocale.c (_nl_intern_locale_data): Use
9632 LOCFILE_ALIGNED_P.
9633 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9634 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9635 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9636 obstack data is appropriately aligned.
9637 (obstack_int32_grow_fast): Likewise.
9638 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9639 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9640 (add_locale_uint32_array): Likewise.
9641
a357259b
SP
96422013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9643
9644 * benchtests/Makefile: Remove ARGLIST and RET variables.
9645 ($(objpfx)bench-%.c): Pass only function name to the script.
9646 * benchtests/README: Update documentation.
9647 * benchtests/acos-inputs: Add new directives.
9648 * benchtests/acosh-inputs: Likewise.
9649 * benchtests/asin-inputs: Likewise.
9650 * benchtests/asinh-inputs: Likewise.
9651 * benchtests/atan-inputs: Likewise.
9652 * benchtests/atanh-inputs: Likewise.
9653 * benchtests/cos-inputs: Likewise.
9654 * benchtests/cosh-inputs: Likewise.
9655 * benchtests/exp-inputs: Likewise.
9656 * benchtests/log-inputs: Likewise.
9657 * benchtests/pow-inputs: Likewise.
9658 * benchtests/rint-inputs: Likewise.
9659 * benchtests/sin-inputs: Likewise.
9660 * benchtests/sinh-inputs: Likewise.
9661 * benchtests/tan-inputs: Likewise.
9662 * benchtests/tanh-inputs: Likewise.
9663 * scripts/bench.pl: Add support for new directives.
9664
9ec1b13d
AM
96652013-10-07 Alan Modra <amodra@gmail.com>
9666
9667 * README: Fix careless merge.
9668
8b7d57cd
AM
96692013-10-05 Alan Modra <amodra@gmail.com>
9670
9671 * NEWS: Mention powerpc64le support and bugs fixed.
9672 * README: Both big-endian and little-endian powerpc64 supported.
9673
7b7bab13
ST
96742013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9675
57f41c40
AS
9676 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9677 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9678 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9679 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9680
d39baad1
RA
96812013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9682
9683 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9684 match prototype.
9685
cd78f7e7
JM
96862013-10-04 Joseph Myers <joseph@codesourcery.com>
9687
29d73d86
JM
9688 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9689 Move -mhard-float appending from
9690 ports/sysdeps/powerpc/powerpc32/Makefile.
9691 [$(with-fp) = yes] (ASFLAGS): Likewise.
9692 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9693 * sysdeps/powerpc/nofpu: Move directory from
9694 ports/sysdeps/powerpc/nofpu.
9695 * sysdeps/powerpc/soft-fp: Move directory from
9696 ports/sysdeps/powerpc/soft-fp.
9697 * sysdeps/powerpc/powerpc32/405: Move directory from
9698 ports/sysdeps/powerpc/powerpc32/405.
9699 * sysdeps/powerpc/powerpc32/440: Move directory from
9700 ports/sysdeps/powerpc/powerpc32/440.
9701 * sysdeps/powerpc/powerpc32/464: Move directory from
9702 ports/sysdeps/powerpc/powerpc32/464.
9703 * sysdeps/powerpc/powerpc32/476: Move directory from
9704 ports/sysdeps/powerpc/powerpc32/476.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9706 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9708 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9710 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9712 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9714 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9715 * README: Update for powerpc-*-linux-gnu software floating point
9716 support in libc.
9717
e246b347
JM
9718 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9719 case to powerpc/powerpc32*.
9720 * sysdeps/unix/sysv/linux/configure: Regenerated.
9721
89c2003e
JM
9722 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9723 (_FPU_MASK_OM): Define as 0x04.
9724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9726 0x00c10080.
9727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9728 0x0000003c.
9729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9730
cd78f7e7
JM
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9732 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9733 getcontext_e500.
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9735 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9736 setcontext_e500.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9738 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9739 and setcontext_e500.
9740
c755294d
CL
97412013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9742
9743 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9744
e16d221c
SP
97452013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9746
9747 * manual/threads.texi (Default Thread Attributes): Fix typo.
9748
215c7d43
WN
97492013-10-04 Will Newton <will.newton@linaro.org>
9750
9751 * malloc/Makefile: Add tst-memalign.
9752 * malloc/tst-memalign.c: New file.
9753
27d0461b
WN
9754 * malloc/tst-posix_memalign.c: Add comments.
9755 (do_test): Add comments and call free on all potentially
9756 allocated pointers. Add space after cast.
9757
1bc92709
WN
9758 * malloc/tst-pvalloc.c: Add comments.
9759 (do_test): Add comments and call free on all potentially
9760 allocated pointers. Remove duplicate check for NULL pointer.
9761 Add space after cast.
9762
66a9be9d
WN
9763 * malloc/tst-valloc.c: Add comments.
9764 (do_test): Add comments and call free on all potentially
9765 allocated pointers. Remove duplicate check for NULL pointer.
9766 Add space after cast.
9767
4cb81307
AM
97682013-10-04 Alan Modra <amodra@gmail.com>
9769
9770 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9771 Use stdint types in rather than __attribute__((mode())).
9772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9773
f8e3e9f3
AM
97742013-10-04 Alan Modra <amodra@gmail.com>
9775
9776 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9777 Correct handling of unaligned relocs for little-endian.
9778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9779
8f9ebb08
AM
97802013-10-04 Alan Modra <amodra@gmail.com>
9781
9782 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9783 * configure: Regenerate.
9784 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9785 * shlib-versions: Likewise.
9786
0edf96c2
AM
97872013-10-04 Alan Modra <amodra@gmail.com>
9788
9789 * string/tester.c (test_memrchr): Increment reported test cycle.
9790
e0f7a380
AM
97912013-10-04 Alan Modra <amodra@gmail.com>
9792
9793 * string/test-memcpy.c (do_one_test): When reporting errors, print
9794 string address and don't overrun end of string.
9795
466b0393
AM
97962013-10-04 Alan Modra <amodra@gmail.com>
9797
9798 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9799 insrdi. Make better use of reg selection to speed exit slightly.
9800 Schedule entry path a little better. Remove useless "are we done"
9801 checks on entry to main loop. Handle wrapping around zero address.
9802 Correct main loop count. Handle single left-over word from main
9803 loop inline rather than by using loop_small. Remove extra word
9804 case in loop_small caused by wrong loop count. Add little-endian
9805 support.
9806 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9807 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9808 cache hint.
9809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9810 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9811 support. Avoid rlwimi.
9812 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9813
3be87c77
AM
98142013-10-04 Alan Modra <amodra@gmail.com>
9815
9816 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9817 insrdi. Formatting.
3be87c77
AM
9818 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9819 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9820 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9821 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9822 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9823 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9824
759cfef3
AM
98252013-10-04 Alan Modra <amodra@gmail.com>
9826
9827 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9828 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9829 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9830 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9831 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9832 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9833 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9834 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9835 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9836 use of regs. Use power7 mtocrf. Tidy function tails.
9837
fe6e95d7
AM
98382013-10-04 Alan Modra <amodra@gmail.com>
9839
9840 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9841 Formatting. Consistently use rXXX register defines or rN defines.
9842 Use early exit labels that avoid restoring unused non-volatile regs.
9843 Make cr field use more consistent with rWORDn compares. Rename
9844 regs used as shift registers for unaligned loop, using rN defines
9845 for short lifetime/multiple use regs.
9846 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9847 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9848 addi 1,1,64 to pop stack frame. Simplify return value code.
9849 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9850
664318c3
AM
98512013-10-04 Alan Modra <amodra@gmail.com>
9852
9853 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9854 support. Correct typos, formatting. Optimize tail. Use insrdi
9855 rather than rlwimi.
9856 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9857 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9858 little-endian support. Correct typos.
9859 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9860 rather than rlwimi.
9861 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9862 in loop and entry code to keep "and." results.
9863 (strchr): Add little-endian support. Comment. Move cntlzd
9864 earlier in tail.
9865 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9866
43b84013
AM
98672013-10-04 Alan Modra <amodra@gmail.com>
9868
9869 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9870 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9871 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9872 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9873
8a7413f9
AM
98742013-10-04 Alan Modra <amodra@gmail.com>
9875
9876 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9877 (rTMP): Define as r11.
9878 (strcmp): Add little-endian support. Optimise tail.
9879 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9880 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9881 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9882 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9885 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9886
33ee81de
AM
98872013-10-04 Alan Modra <amodra@gmail.com>
9888
9889 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9890 little-endian support. Remove unnecessary "are we done" tests.
9891 Handle "s" wrapping around zero and extremely large "size".
9892 Correct main loop count. Handle single left-over word from main
9893 loop inline rather than by using small_loop. Correct comments.
9894 Delete "zero" tail, use "end_max" instead.
9895 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9896
db9b4570
AM
98972013-10-04 Alan Modra <amodra@gmail.com>
9898
9899 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9900 support. Don't branch over align.
9901 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9902 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9903 support. Rearrange tmp reg use to suit. Comment.
9904 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9905
f7c399cf
AM
99062013-10-04 Alan Modra <amodra@gmail.com>
9907
9908 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9909
0b2c2ace
AM
99102013-10-04 Alan Modra <amodra@gmail.com>
9911
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9913 conditional form of branch and link when obtaining pc.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9915
02f04a6c
AM
99162013-10-04 Alan Modra <amodra@gmail.com>
9917
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9919 HIWORD/LOWORD.
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9922
9b874b2f
AM
99232013-10-04 Alan Modra <amodra@gmail.com>
9924
9925 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9926 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9927 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9928 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9929 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9930 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9931 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9932 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9933 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9934 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9935
be1e5d31
AB
99362013-10-04 Anton Blanchard <anton@au1.ibm.com>
9937 Alistair Popple <alistair@ozlabs.au.ibm.com>
9938 Alan Modra <amodra@gmail.com>
9939
9940 [BZ #15723]
9941 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9942 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9943 _dl_hwcap access for little-endian.
9944 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9945 destroy vmx regs when saving unaligned.
9946 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9947 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9948 destroy vmx regs when saving unaligned.
9949
fef13a78
AM
99502013-10-04 Alan Modra <amodra@gmail.com>
9951
9952 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9953 Don't use a union to pack hi/low value.
9954
76a66d51
AB
99552013-10-04 Anton Blanchard <anton@au1.ibm.com>
9956
9957 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9958 for little-endian.
9959 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9961 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9962 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9963 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9964
6a31fe7f
AM
99652013-10-04 Alan Modra <amodra@gmail.com>
9966
9967 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9968 constants to usual value for .cst8 section, and remove redundant
9969 high address load.
9970 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9971 constant for 0x1p52. Load little-endian words of double from
9972 correct stack offsets.
9973
7b88401f
AM
99742013-10-04 Alan Modra <amodra@gmail.com>
9975
9976 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9977 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9978 words of double from correct stack offsets.
9979 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9980 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9981 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9984 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9986 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9987 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9989 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9990 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9991 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9992 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9993 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9994 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9995 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9996
9c008155
AM
99972013-10-04 Alan Modra <amodra@gmail.com>
9998
9999 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10000 64-bit int/double union.
10001 (_FPU_SETCW): Likewise.
10002 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10003 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10004
da13146d
AM
100052013-10-04 Alan Modra <amodra@gmail.com>
10006
10007 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10008 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10009
603e8410
AM
100102013-10-04 Alan Modra <amodra@gmail.com>
10011
10012 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10013 use vector int constants.
10014 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10015
4a28b3ca
AB
100162013-10-04 Anton Blanchard <anton@au1.ibm.com>
10017
10018 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10019 array with long long.
10020 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10021 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10022 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10023 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10024 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10025 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10026 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10027 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10028 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10029 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10030 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10031 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10032 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10033
2ca85d2b
AB
100342013-10-04 Anton Blanchard <anton@au1.ibm.com>
10035
10036 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10037 (__signbit): Likewise. Correct for little-endian.
10038 (__signbitl): Call __signbit.
10039 (lrint): Correct for little-endian.
10040 (lrintf): Call lrint.
10041
62a728ae
AM
100422013-10-04 Alan Modra <amodra@gmail.com>
10043
10044 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10045 union 32-bit int array member with 64-bit int array.
10046 (t515, tm256): Double rather than long double.
10047 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10048
32c301df
AM
100492013-10-04 Alan Modra <amodra@gmail.com>
10050
10051 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10052 Delete.
10053 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10055 version of math_ldbl.h.
10056
650ef4bd
AM
100572013-10-04 Alan Modra <amodra@gmail.com>
10058
10059 [BZ #15734], [BZ #15735]
10060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10061 all uses of ieee875 long double macros and unions. Simplify test
10062 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10063 ldbl_extract_mantissa value for ix,iy exponents. Properly
10064 normalize after ldbl_extract_mantissa, and don't add hidden bit
10065 already handled. Don't treat low word of ieee854 mantissa like
10066 low word of IBM long double and mask off bit when testing for
10067 zero.
10068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10069 all uses of ieee875 long double macros and unions. Simplify tests
10070 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10071 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10072 two1022, instead use their values. Recognise that tests for large
10073 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10074 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10075 Rewrite all uses of ieee875 long double macros and unions. Simplify
10076 test for 0.0L and nan. Correct negation.
10077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10078 ieee875 long double macros and unions. Correct output for large
10079 magnitude x. Correct absolute value calculation.
10080 (__erfcl): Likewise.
10081 * math/libm-test.inc: Add tests for errors discovered in IBM long
10082 double versions of fmodl, remainderl, erfl and erfcl.
10083
765714ca
AM
100842013-10-04 Alan Modra <amodra@gmail.com>
10085
10086 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10087 all uses of ieee854 long double macros and unions. Simplify tests
10088 for long doubles that are fully specified by the high double.
10089 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10090 Likewise.
10091 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10092 Remove dead code too.
10093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10094 (__ieee754_ynl): Likewise.
10095 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10096 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10097 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10098 Remove dead code too.
10099 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10100 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10101 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10102 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10103 Simplify.
10104 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10105 Simplify.
10106 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10109 Comment on variable precision.
10110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10112 Likewise.
10113 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10116 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10117 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10118
4ebd120c
AM
101192013-10-04 Alan Modra <amodra@gmail.com>
10120
10121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10122 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10123 all uses of ieee854 long double macros and unions.
10124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10127 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10130 Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10133 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10135 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10137 Simplify sign and nan test too.
10138 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10139 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10141 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10142 Likewise.
10143 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10144 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10145 Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10148 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10149 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10152
1b6adf88
AM
101532013-10-04 Alan Modra <amodra@gmail.com>
10154
10155 * stdio-common/printf_size.c (__printf_size): Don't use
10156 union ieee854_long_double in fpnum union.
10157 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10158 signbit macro to retrieve sign from long double.
10159 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10160 retrieve sign from long double.
10161 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10162 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10163 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10164 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10165 * math/test-misc.c (main): Don't use union ieee854_long_double.
10166
4cf69995
AM
101672013-10-04 Alan Modra <amodra@gmail.com>
10168
10169 [BZ #15680]
10170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10171 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10172 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10173 calculation. Remove unnecessary test for denormal exponent.
10174 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10175 Correct handling of denormals. Avoid undefined shift behaviour.
10176 Correct normalisation of low mantissa when low double is denormal.
10177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10178 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10179 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10180 Correct normalisation of low mantissa. Test for overflow of high
10181 mantissa and normalise.
10182 (ldbl_nearbyint): Use more readable constant for two52.
10183 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10184 (__mpn_construct_long_double): Fix test for overflow of high
10185 mantissa and correct normalisation. Avoid undefined shift.
10186
9605ca6c
AM
101872013-10-04 Alan Modra <amodra@gmail.com>
10188
10189 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10190 (union ibm_extended_long_double): Define as an array of ieee754_double.
10191 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10192 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10193 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10194 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10202
975569d0
JM
102032013-10-03 Joseph Myers <joseph@codesourcery.com>
10204
d3d23756
JM
10205 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10206 page size instead of calling getpagesize.
10207
975569d0
JM
10208 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10209 (LOCFILE_ALIGN_MASK): Likewise.
10210 (LOCFILE_ALIGN_UP): Likewise.
10211 (LOCFILE_ALIGNED_P): Likewise.
10212 * locale/programs/ld-collate.c (collate_output): Use the new
10213 macros instead of __alignof__ (int32_t).
10214 * locale/weight.h (findidx): Likewise.
10215
b1fe1f2b
OB
102162013-10-03 Ondřej Bílka <neleai@seznam.cz>
10217
10218 [BZ #431]
10219 * manual/string.texi: Fix strncat and wcsncat.
10220
5f855e35
BM
102212013-10-03 Brooks Moses <bmoses@google.com>
10222
10223 [BZ #15915]
10224 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10225 * Makerules: ...here, and adjust associated comments.
10226
3cef6009
WN
102272013-10-02 Will Newton <will.newton@linaro.org>
10228
10229 * malloc/Makefile: Add tst-pvalloc.
10230 * malloc/tst-pvalloc.c: New file.
10231
7815420b
WN
102322013-10-02 Will Newton <will.newton@linaro.org>
10233
10234 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10235 improve test coverage.
10236
4868b204
WN
102372013-10-02 Will Newton <will.newton@linaro.org>
10238
10239 * malloc/Makefile: Add tst-posix_memalign.
10240 * malloc/tst-posix_memalign.c: New file.
10241
29c793b3
EB
102422013-10-01 Eric Blake <eblake@redhat.com>
10243
10244 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10245 Use __THROWNL rather than __THROW on static functions.
10246
fd967522
PM
102472013-09-30 Petr Machata <pmachata@redhat.com>
10248
10249 * elf/elf.h (R_AARCH64_ABS16): New macro.
10250 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10251 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10252 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10253 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10254 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10255 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10256 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10257 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10258 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10259 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10260 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10261 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10262 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10263 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10264 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10265 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10266 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10267 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10268 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10269 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10270 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10271 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10272 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10273 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10274 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10275 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10276 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10277 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10278 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10279 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10280 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10281 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10282 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10283 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10284 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10285 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10286 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10287 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10288 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10289 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10290 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10291 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10292 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10293 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10294 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10295 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10296 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10297 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10298 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10299 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10300 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10301 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10302 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10303 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10304 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10305 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10306 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10307 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10308 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10309 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10310 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10311 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10312 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10313 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10314 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10315 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10316 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10317 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10318 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10319 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10320 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10321 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10322 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10323 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10324 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10325 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10326 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10327 (R_AARCH64_TLSDESC_LDR): Likewise.
10328 (R_AARCH64_TLSDESC_ADD): Likewise.
10329 (R_AARCH64_TLSDESC_CALL): Likewise.
10330
b2179107
AS
103312013-09-30 Andreas Schwab <schwab@suse.de>
10332
10333 [BZ #15048]
10334 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10335 the nss database lookup.
10336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10338
47f28d0a
MF
103392013-09-28 Mike Frysinger <vapier@gentoo.org>
10340
10341 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10342
103432013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10344
10345 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10346 ${Bash-specific parameter/pattern/string} parameter expansion.
10347 * sysdeps/unix/make-syscalls.sh: Likewise.
10348
f4518a17
KK
103492013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10350
10351 * sysdeps/sh/stackguard-macros.h: New file.
10352
dc1a95c7
OB
103532013-09-26 Ondřej Bílka <neleai@seznam.cz>
10354
10355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10357 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10358 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10360 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10361
5ebbff8f
AZ
103622013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10363
10364 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10365 Fix thread ID register.
10366
4fd2cf9f
JM
103672013-09-25 Joseph Myers <joseph@codesourcery.com>
10368
10369 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10370 [POSIX || UNIX98]: Require rather than permitting all symbols from
10371 <time.h>.
10372 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10373 element of struct sched_param.
10374 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10375 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10376 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10377 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10378 constant.
10379
12c22bc4
OL
103802013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10381
10382 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10383 argument calculation.
10384
a03d8ea7
JM
103852013-09-24 Joseph Myers <joseph@codesourcery.com>
10386
10387 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10388 Expect macro.
10389 [POSIX] (pthread_attr_t): Do not require type.
10390 [POSIX] (pthread_cond_t): Likewise.
10391 [POSIX] (pthread_condattr_t): Likewise.
10392 [POSIX] (pthread_key_t): Likewise.
10393 [POSIX] (pthread_mutex_t): Likewise.
10394 [POSIX] (pthread_mutexattr_t): Likewise.
10395 [POSIX] (pthread_once_t): Likewise.
10396 [POSIX] (pthread_t): Likewise.
10397 [POSIX-based standards] (pthread_atfork): Expect function.
10398
6055173a
JM
103992013-09-24 Joseph Myers <joseph@codesourcery.com>
10400 Richard Sandiford <richard@codesourcery.com>
10401
10402 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10403 (swap_endianness_p): New extern variable.
10404 (set_big_endian): New inline function.
10405 (maybe_swap_uint32): Likewise.
10406 (maybe_swap_uint32_array): Likewise.
10407 (maybe_swap_uint32_obstack): Likewise.
10408 * locale/programs/locfile.c: Include <stdbool.h>.
10409 (swap_endianness_p): New variable.
10410 (add_locale_uint32): Call maybe_swap_uint32.
10411 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10412 (write_locale_data): Call maybe_swap_uint32_array.
10413 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10414 maybe_swap_uint32.
10415 (obstack_int32_grow_fast): Likewise.
10416 (output_weightwc): Call maybe_swap_uint32_obstack.
10417 (collate_output): Likewise.
10418 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10419 (OPT_LITTLE_ENDIAN): Likewise.
10420 (options): Add --little-endian and --big-endian options.
10421 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10422 * locale/programs/locarchive.c: Include "locfile.h".
10423 (GET): New macro.
10424 (SET): Likewise.
10425 (INC): Likewise.
10426 (create_archive): Use the new macros to access fields of
10427 structures directly mapped from or written to locale archives.
10428 (oldlocrecentcmp): Likewise.
10429 (enlarge_archive): Likewise.
10430 (insert_name): Likewise.
10431 (add_alias): Likewise.
10432 (add_locale): Likewise.
10433 (delete_locales_from_archive): Likewise.
10434 (show_archive_content): Likewise.
10435 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10436 locale data.
10437
39bf0bb4
RM
104382013-09-24 Roland McGrath <roland@hack.frob.com>
10439
10440 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10441 http://www.gnu.org/doc/freemanuals.texi.
10442 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10443
f02eed10
WN
104442013-09-24 Will Newton <will.newton@linaro.org>
10445
10446 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10447 macro.
10448
a3a6c312
JM
104492013-09-23 Joseph Myers <joseph@codesourcery.com>
10450
10451 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10452 unsigned char.
10453
107375ac
MR
104542013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10455
10456 * manual/threads.texi (POSIX Threads): Fix a typo.
10457
141f3a77
SP
104582013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10459
303e567a
SP
10460 [BZ #14547]
10461 * string/tst-strcoll-overflow.c: New test case.
10462 * string/Makefile (xtests): Add tst-strcoll-overflow.
10463 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10464 cache if string sizes may cause integer overflow.
10465
141f3a77
SP
10466 [BZ #14547]
10467 * string/strcoll_l.c (coll_seq): New members rule, idx,
10468 save_idx and back_us.
10469 (get_next_seq_nocache): New function.
10470 (do_compare_nocache): New function.
10471 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10472 when malloc fails.
10473
c61b4d41
CD
104742013-09-23 Carlos O'Donell <carlos@redhat.com>
10475
0b1f8e35
CD
10476 [BZ #15754]
10477 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10478 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10479 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10480
c61b4d41
CD
10481 [BZ #15754]
10482 * elf/Makefile (tests): Add tst-ptrguard1.
10483 (tests-static): Add tst-ptrguard1-static.
10484 (tst-ptrguard1-ARGS): Define.
10485 (tst-ptrguard1-static-ARGS): Define.
10486 * elf/tst-ptrguard1.c: New file.
10487 * elf/tst-ptrguard1-static.c: New file.
10488 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10489 * sysdeps/i386/stackguard-macros.h: Likewise.
10490 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10491 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10492 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10493 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10494 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10495 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10496
104972013-09-23 Hector Marco <hecmargi@upv.es>
10498 Ismael Ripoll <iripoll@disca.upv.es>
10499 Carlos O'Donell <carlos@redhat.com>
10500
10501 [BZ #15754]
10502 * sysdeps/generic/stackguard-macros.h: Define
10503 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10504 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10505 Define __pointer_chk_guard_local.
10506 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10507 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10508
f5f4e7b4
VV
105092013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10510
10511 [BZ #15859]
10512 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10513
5bb43a43
AS
105142013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10515
10516 * include/string.h (__ffs): Declare as hidden.
10517 * string/ffs.c (__ffs): Define as hidden.
10518 * sysdeps/i386/ffs.c (__ffs): Likewise.
10519 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10520 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10521 * sysdeps/s390/ffs.c (__ffs): Likewise.
10522 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10523
3ea5be54
AO
105242013-09-20 Alexandre Oliva <aoliva@redhat.com>
10525
ffb89e53
AO
10526 * NEWS: Mention malloc probes.
10527
322dea08
AO
10528 * malloc/arena.c (new_heap): New memory_heap_new probe.
10529 (grow_heap): New memory_heap_more probe.
10530 (shrink_heap): New memory_heap_less probe.
10531 (heap_trim): New memory_heap_free probe.
10532 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10533 (systrim): New memory_sbrk_less probe.
10534 * manual/probes.texi: Document them.
10535
655673f3
AO
10536 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10537 * manual/probes.texi: Document it.
10538
35fed6f1
AO
10539 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10540 (__libc_realloc): Add memory_realloc_retry probe.
10541 (__libc_memalign): Add memory_memalign_retry probe.
10542 (__libc_valloc): Add memory_valloc_retry probe.
10543 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10544 (__libc_calloc): Add memory_calloc_retry probe.
10545 * manual/probes.texi: Document them.
10546
6999d38c
AO
10547 * malloc/arena.c (get_free_list): Add probe
10548 memory_arena_reuse_free_list.
10549 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10550 and memory_arena_reuse.
10551 (arena_get2) [!PER_THREAD]: Likewise.
10552 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10553 memory_arena_reuse_realloc.
10554 * manual/probes.texi: Document them.
10555
0653427f
AO
10556 * malloc/malloc.c (__libc_free): Add
10557 memory_mallopt_free_dyn_thresholds probe.
10558 (__libc_mallopt): Add multiple memory_mallopt probes.
10559 * manual/probes.texi: Document them.
10560
3ea5be54
AO
10561 * malloc/malloc.c: Include stap-probe.h.
10562 (__libc_mallopt): Add memory_mallopt probe.
10563 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10564 * manual/probes.texi: New.
10565 * manual/Makefile (chapters): Add probes.
10566 * manual/threads.texi: Set next node.
10567
e35696c3 105682013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10569
e35696c3
CL
10570 [BZ #15963, #13985]
10571 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10572 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10573 Add `Chinese' to `nan' entry name.
10574
4aafb73c
SP
105752013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10576
10577 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10578 (POLYNOMIAL): Likewise.
10579 (TAYLOR_SINCOS): Likewise.
10580 (TAYLOR_SLOW): Likewise.
10581 (__sin): Use TAYLOR_SINCOS.
10582 (__cos): Likewise.
10583 (slow): Use TAYLOR_SLOW.
10584 (sloww): Likewise.
10585 (bsloww): Likewise.
10586 (csloww): Likewise.
10587
d84f25c7
LD
105882013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10589
10590 * stdlib/strtod_l.c: Fix buffer overrun.
10591
5eea0404
SP
105922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10593
7849ff93
SP
10594 * benchtests/Makefile (bench): Add sincos.
10595 * benchtests/bench-sincos.c: New file.
10596
cfa3c886
SP
10597 * math/libm-test.inc (cos_test_data): New test inputs.
10598 (sin_test_data): Likewise.
10599
b348e1e3
SP
10600 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10601 macro.
10602 (__sin): Use it.
10603 (__cos): Likewise.
10604 (slow1): Likewise.
10605 (slow2): Likewise.
10606 (sloww1): Likewise.
10607 (sloww2): Likewise.
10608 (bsloww1): Likewise.
10609 (bsloww2): Likewise.
10610 (cslow2): Likewise.
10611 (csloww1): Likewise.
10612 (csloww2): Likewise.
10613
6cce25f8
SP
10614 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10615 function.
10616 (__sin): Use it.
10617 (__cos): Likewise.
10618
5eea0404
SP
10619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10620 gotos.
10621 (__cos): Likewise.
10622
9c21573c
MR
106232013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10624
10625 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10626 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10627 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10628 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10629 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10630 * elf/cache.c (print_entry): Handle the new cache flags.
10631
24d22e65
JM
106322013-09-18 Joseph Myers <joseph@codesourcery.com>
10633 Aldy Hernandez <aldyh@redhat.com>
10634
10635 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10636 Change condition to [_SOFT_FLOAT].
10637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10649 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10652 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10653 declaration.
10654
d13ef066
JM
106552013-09-18 Joseph Myers <joseph@codesourcery.com>
10656
2e071de0
JM
10657 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10658 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10659 (__longjmp): Use LOAD_GP to load saved GPRs.
10660 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10661 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10662 (__sigsetjmp): Use SAVE_GP to save GPRs.
10663
d13ef066
JM
10664 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10665 Do not append -msoft-float.
10666 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10667
97a0650b
SP
106682013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10669
10670 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10671
11ca09e9
JM
106722013-09-17 Joseph Myers <joseph@codesourcery.com>
10673
10674 [BZ #15966]
10675 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10676 (_FPU_GETCW): Use initial "__" on variable and field names but not
10677 on macro parameter name.
10678 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10679 parentheses around reference to macro parameter.
10680
08ffcf34
RS
106812013-09-13 Richard Sandiford <richard@codesourcery.com>
10682
10683 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10684 prototype.
10685 (ctype_startup): Use uint32_t in cast and sizeof for
10686 ctype->charnames.
10687
ae7080d3
JL
106882013-09-11 Jia Liu <proljc@gmail.com>
10689
10690 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10691 __daddr_t_defined.
10692 [__FreeBSD__]: Likewise.
10693
5905e7b3
OB
106942013-09-11 Ondřej Bílka <neleai@seznam.cz>
10695
10696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10697 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10698 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10699 (strchr): Remove __strchr_sse42 ifunc selection.
10700 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10701 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10702
b987c776
WN
107032013-09-11 Will Newton <will.newton@linaro.org>
10704
10705 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10706 parameter to RES. Remove hardcoded 1000 value.
10707 * benchtests/bench-skeleton.c (main): Pass RES parameter
10708 to TIMING_INIT and multiply result by 1000.
10709
ddf985af
AZ
107102013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10711
10712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10713
ffdd3181
AS
107142013-09-11 Andreas Schwab <schwab@suse.de>
10715
10716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10717 if not defined.
10718 (O_TMPFILE) [__USE_GNU]: Define.
10719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10720 Define.
10721
b73ed247
WN
107222013-09-11 Will Newton <will.newton@linaro.org>
10723
10724 [BZ #15857]
10725 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10726 does not overflow.
10727
55e17aad
WN
107282013-09-11 Will Newton <will.newton@linaro.org>
10729
10730 [BZ #15856]
10731 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10732 does not overflow.
10733
1159a193
WN
107342013-09-11 Will Newton <will.newton@linaro.org>
10735
10736 [BZ #15855]
10737 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10738 does not overflow.
10739
5905e7b3 107402013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10741
10742 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10743 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10747
cdfc721b
AM
107482013-09-10 Allan McRae <allan@archlinux.org>
10749
aa04af00
AM
10750 [BZ #15748]
10751 * manual/arith.texi (Parsing of Floats): Clarify
10752 cross-reference.
10753
cdfc721b
AM
10754 [BZ #15849]
10755 * manual/install.texi (Running make install): Mention
10756 --enable-pt-chown.
10757 * INSTALL: Regenerated.
10758
95e7cf29
MR
107592013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10760
10761 * csu/init-first.c (_init): Remove the !SHARED condition around
10762 FPU control word initialization.
10763 * elf/dl-support.c (_dl_fpu_control): New variable.
10764 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10765 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10766 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10767 * math/test-fpucw-static.c: New file.
10768 * math/test-fpucw-ieee.c: New file.
10769 * math/test-fpucw-ieee-static.c: New file.
10770 * math/Makefile (tests): Add `test-fpucw-ieee' and
10771 `$(tests-static)'.
10772 (tests-static): New variable.
10773 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10774 dependency to...
10775 [($(build-shared),yes)]
10776 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10777 ... this.
10778 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10779 New dependency.
10780
83e43bf0
AM
107812013-09-09 Allan McRae <allan@archlinux.org>
10782
a9f5ce09
AM
10783 [BZ #15939]
10784 * manual/string.texi (Collation Functions): Fix typo in
10785 strcoll example.
10786 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10787
34829bc2
AM
10788 [BZ #15893]
10789 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10790
3932737d
AM
10791 [BZ #15892]
10792 * libio/memstream.c (open_memstream): Fix memory leak.
10793 * libio/wmemstream.c (open_wmemstream): Likewise.
10794
83e43bf0
AM
10795 [BZ #15895]
10796 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10797
0c66b8e9
WN
107982013-09-09 Will Newton <will.newton@linaro.org>
10799
10800 * malloc/Makefile: Add tst-realloc to tests.
10801 * malloc/tst-realloc.c: New file.
10802
f6b00fd1
AM
108032013-09-09 Allan McRae <allan@archlinux.org>
10804
10805 [BZ #15844]
10806 * COPYING: Update from GNU website to fix FSF address.
10807 * COPYING.LIB: Likewise.
10808
eec55e16
DM
108092013-09-06 David S. Miller <davem@davemloft.net>
10810
10811 * po/zh_TW.po: Update Chinese (traditional) translation from
10812 translation project.
10813
1ecbb381
RS
108142013-09-06 Richard Sandiford <richard@codesourcery.com>
10815 Joseph Myers <joseph@codesourcery.com>
10816
10817 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10818 "localeinfo.h".
10819 (obstack_chunk_alloc): New macro.
10820 (obstack_chunk_free): Likewise.
10821 (record_offset): New function.
10822 (init_locale_data): Likewise.
10823 (align_locale_data): Likewise.
10824 (add_locale_empty): Likewise.
10825 (add_locale_raw_data): Likewise.
10826 (add_locale_raw_obstack): Likewise.
10827 (add_locale_string): Likewise.
10828 (add_locale_wstring): Likewise.
10829 (add_locale_uint32): Likewise.
10830 (add_locale_uint32_array): Likewise.
10831 (add_locale_char): Likewise.
10832 (start_locale_structure): Likewise.
10833 (end_locale_structure): Likewise.
10834 (start_locale_prelude): Likewise.
10835 (end_locale_prelude): Likewise.
10836 (write_locale_data): Take locale_file structure rather than an
10837 iovec.
10838 * locale/programs/locfile.h: Include "obstack.h".
10839 (struct locale_file): Change to store locale file contents instead
10840 of header.
10841 (init_locale_data): New prototype.
10842 (align_locale_data): Likewise.
10843 (add_locale_empty): Likewise.
10844 (add_locale_raw_data): Likewise.
10845 (add_locale_raw_obstack): Likewise.
10846 (add_locale_string): Likewise.
10847 (add_locale_wstring): Likewise.
10848 (add_locale_uint32): Likewise.
10849 (add_locale_uint32_array): Likewise.
10850 (add_locale_char): Likewise.
10851 (start_locale_structure): Likewise.
10852 (end_locale_structure): Likewise.
10853 (start_locale_prelude): Likewise.
10854 (end_locale_prelude): Likewise.
10855 (write_locale_data): Update prototype.
10856 * locale/programs/3level.h (struct TABLE): Remove result field.
10857 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10858 Use new locale_file interface.
10859 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10860 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10861 * locale/programs/ld-address.c (address_output): Use new
10862 locale_file interface.
10863 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10864 NO_ADD_LOCALE.
10865 (collate_finish): Don't call collseq_table_finalize.
10866 (collate_output): Use new locale_file interface.
10867 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10868 in file.
10869 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10870 (TABLE): Move defines earlier in file.
10871 (ELEMENT): Likewise.
10872 (DEFAULT): Likewise.
10873 (wctrans_table_add): Move macro and inline function earlier in
10874 file.
10875 (struct wctype_table): Move type earlier in file.
10876 (add_locale_wctype_table): New static prototype.
10877 (struct locale_ctype_t): Use logical types instead of struct iovec
10878 pointers for members.
10879 (ctype_output): Use new locale_file interface.
10880 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10881 new locale_file interface.
10882 (allocate_arrays): Update for use of new locale_file interface.
10883 * locale/programs/ld-identification.c (identification_output): Use
10884 new locale_file interface.
10885 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10886 * locale/programs/ld-messages.c (messages_output): Likewise.
10887 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10888 * locale/programs/ld-name.c (name_output): Likewise.
10889 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10890 * locale/programs/ld-paper.c (paper_output): Likewise.
10891 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10892 * locale/programs/ld-time.c (time_output): Likewise.
10893
e029e2e5
AZ
108942013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10895
10896 * benchtests/Makefile: Add memrchr benchmark.
10897 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10898 benchmark as memrchr.
10899 * benchtests/bench-memrchr-ifunc.c: New file.
10900 * benchtests/bench-memrchr.c: New file.
10901
bbf6e8e4
WN
109022013-09-06 Will Newton <will.newton@linaro.org>
10903
10904 * benchtests/Makefile (string-bench): Add memcpy.
10905
6c82a2f8
CD
109062013-09-05 Carlos O'Donell <carlos@redhat.com>
10907 Cong Wang <amwang@redhat.com>
10908
e732c5f0 10909 [BZ #15850]
6c82a2f8
CD
10910 * sysdeps/unix/sysv/linux/bits/in.h
10911 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10912 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10913 before __USE_KERNEL_IPV6_DEFS uses.
10914 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10915 IPPROTO_BEETPH.
10916 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10917 sockaddr_in6, or ipv6_mreq.
10918
5430fc65
AZ
109192013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10920
10921 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10922 memory access for final bytes in some large inputs.
10923 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10924
4660856c
AZ
109252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10926
10927 * string/test-memrchr.c: New file.
10928 * string/test-memrchr-ifunc.c: New file.
10929 * string/Makefile: Add new memrchr testcase.
10930
bb8ea713
MF
109312013-09-05 Mike Frysinger <vapier@gentoo.org>
10932
10933 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10934 fanotify_init returns EPERM.
10935
b92a20b5
JM
109362013-09-04 Joseph Myers <joseph@codesourcery.com>
10937
10938 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10939 errors.
10940 (top level): Treat second token from macro or constant entries for
10941 allowed headers as allowed.
10942 * include/complex.h: Condition internal declarations on
10943 [!_ISOMAC].
10944 * include/fenv.h: Condition include of <stdbool.h> and internal
10945 declarations on [!_ISOMAC].
7447ccd9
CL
10946
109472013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10948
3e181dda 10949 [BZ #15923]
7447ccd9
CL
10950 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10951
3f2e46a4
JM
109522013-09-04 Joseph Myers <joseph@codesourcery.com>
10953
10954 * configure.in (--enable-versioning): Remove configure option.
10955 (libc_cv_asm_symver_directive): Remove configure test.
10956 (libc_cv_ld_version_script_option): Likewise.
10957 (VERSIONING): Remove variable and AC_SUBST.
10958 (DO_VERSIONING): Remove AC_DEFINE.
10959 * configure: Regenerated.
10960 * config.h.in (DO_VERSIONING): Remove macro.
10961 * Makerules [$(versioning) = yes]: Change conditionals to
10962 [$(build-shared) = yes].
10963 * config.make.in (versioning): Remove variable.
10964 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10965 [$(build-shared) = yes].
10966 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10967 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10968 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10969 [$(build-shared) = yes].
10970 * extra-lib.mk [$(versioning) = yes]: Likewise.
10971 * hurd/Makefile [$(versioning) = yes]: Likewise.
10972 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10973 [SHARED].
10974 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10975 [SHARED].
10976 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10977 [SHARED && !NO_HIDDEN].
10978 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10979 [SHARED].
10980 [SHARED && DO_VERSIONING]: Likewise..
10981 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10982 [$(build-shared) = yes].
10983 * manual/install.texi (--disable-versioning): Remove
10984 documentation.
10985 * INSTALL: Regenerated.
10986 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10987 to [SHARED].
10988 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10989 [$(build-shared) = yes].
10990 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10991 * sysdeps/i386/i686/multiarch/strstr-c.c
10992 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10993 [SHARED && !NO_HIDDEN].
10994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10995 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10996 * sysdeps/powerpc/powerpc32/dl-machine.c
10997 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10998 * sysdeps/powerpc/powerpc32/sysdep.h
10999 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11000 to [SHARED && PIC && !NO_HIDDEN].
11001 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11002 conditional to [SHARED].
11003
44558701
WN
110042013-09-04 Will Newton <will.newton@linaro.org>
11005
11006 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11007 * benchtests/bench-string.h: Include bench-timing.h instead
11008 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11009 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11010 call to HP_TIMING_DIFF_INIT.
11011 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11012 instead of hp-timing.h macros.
11013 * benchtests/bench-memchr.c: Likewise.
11014 * benchtests/bench-memcmp.c: Likewise.
11015 * benchtests/bench-memcpy.c: Likewise.
11016 * benchtests/bench-memmem.c: Likewise.
11017 * benchtests/bench-memmove.c: Likewise.
11018 * benchtests/bench-memset.c: Likewise.
11019 * benchtests/bench-rawmemchr.c: Likewise.
11020 * benchtests/bench-strcasecmp.c: Likewise.
11021 * benchtests/bench-strcasestr.c: Likewise.
11022 * benchtests/bench-strcat.c: Likewise.
11023 * benchtests/bench-strchr.c: Likewise.
11024 * benchtests/bench-strcmp.c: Likewise.
11025 * benchtests/bench-strcpy.c: Likewise.
11026 * benchtests/bench-strcpy_chk.c: Likewise.
11027 * benchtests/bench-strlen.c: Likewise.
11028 * benchtests/bench-strncasecmp.c: Likewise.
11029 * benchtests/bench-strncat.c: Likewise.
11030 * benchtests/bench-strncmp.c: Likewise.
11031 * benchtests/bench-strncpy.c: Likewise.
11032 * benchtests/bench-strnlen.c: Likewise.
11033 * benchtests/bench-strpbrk.c: Likewise.
11034 * benchtests/bench-strrchr.c: Likewise.
11035 * benchtests/bench-strspn.c: Likewise.
11036 * benchtests/bench-strstr.c: Likewise.
11037
cae16d66
WN
110382013-09-04 Will Newton <will.newton@linaro.org>
11039
11040 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11041
ffa3cd7f
JM
110422013-09-03 Joseph Myers <joseph@codesourcery.com>
11043
11044 [BZ #15427]
11045 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11046 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11047 * math/libm-test.inc (lgamma_test_data): Add more tests.
11048 * sysdeps/i386/fpu/libm-test-ulps: Update.
11049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11050
8f02859f
OB
110512013-09-03 Ondřej Bílka <neleai@seznam.cz>
11052
11053 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11055 Add ifunc.
11056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11057 Add strcmp-sse2-unaligned
11058 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11059
18d43716
MF
110602013-09-02 Mike Frysinger <vapier@gentoo.org>
11061
11062 * Versions.def (libc): Add GLIBC_2.19.
11063
ac444012
MF
110642013-09-02 Mike Frysinger <vapier@gentoo.org>
11065
11066 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11067 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11068
b7835e32
JM
110692013-09-02 Joseph Myers <joseph@codesourcery.com>
11070
11071 [BZ #14155]
11072 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11073 intermediate calculations in recurrence.
11074 (__ieee754_ynf): Likewise.
11075 * math/libm-test.inc (jn_test_data): Do not allow spurious
11076 underflow exception. Add more tests.
11077 (yn_test_data): Add more tests.
11078 * sysdeps/i386/fpu/libm-test-ulps: Update.
11079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11080
8220f4f0
OB
110812013-09-02 Ondřej Bílka <neleai@seznam.cz>
11082
11083 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11084
f24a6d08
OB
110852013-08-30 Ondřej Bílka <neleai@seznam.cz>
11086
11087 * csu/init-first.c: Fix then/than typos.
11088 * locale/programs/ld-collate.c: Likewise.
11089 * locale/programs/linereader.h: Likewise.
11090 * manual/charset.texi: Likewise.
11091 * manual/filesys.texi: Likewise.
11092 * manual/stdio.texi: Likewise.
11093 * manual/string.texi: Likewise.
11094 * stdlib/fmtmsg.c: Likewise.
11095 * sysdeps/i386/stpncpy.S: Likewise.
11096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11097 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11098 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11099 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11100
382466e0
OB
111012013-08-30 Ondřej Bílka <neleai@seznam.cz>
11102
11103 * elf/dl-open.c: Fix typos.
11104 * iconvdata/gbbig5.c: Likewise.
11105 * iconvdata/iso-2022-jp.c: Likewise.
11106 * iconv/gconv_int.h: Likewise.
11107 * iconv/loop.c: Likewise.
11108 * nis/rpcsvc/nis.h: Likewise.
11109 * resolv/ns_name.c: Likewise.
11110 * stdio-common/vfscanf.c: Likewise.
11111 * streams/stropts.h: Likewise.
11112 * sunrpc/rpc_thread.c: Likewise.
11113 * sysdeps/i386/strpbrk.S: Likewise.
11114 * sysdeps/ieee754/k_standard.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11117 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11118 * sysdeps/mach/hurd/profil.c: Likewise.
11119 * sysdeps/s390/dl-procinfo.h: Likewise.
11120 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11121 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11122 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11123 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11125
0186c6e9
OB
111262013-08-30 Ondřej Bílka <neleai@seznam.cz>
11127
11128 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11130
d4e16af1
OB
111312013-08-29 Ondřej Bílka <neleai@seznam.cz>
11132
11133 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11134 aix specific files.
11135 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11136 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11137 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11138 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11140 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11141 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11142 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11143
88335980
TS
111442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11145 Roland McGrath <roland@hack.frob.com>
11146
11147 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11148 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11149
ed479b02
ST
111502013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11151
11152 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11153 __executable_start symbol instead of _start.
11154
f1cc4c86
TS
111552013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11156
d821f07c
TS
11157 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11158 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11159 Move macros to...
11160 * sysdeps/gnu/ldsodefs.h: ... this new file.
11161
c54290cf
TS
11162 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11163 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11164 instead of ELFOSABI_LINUX.
11165
0007fc9b 11166 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11167 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11168 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11169 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11170 Likewise.
11171 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11172 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11174 Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11176 (ibm_extended_long_double): Add ieee_nan member.
11177 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11178 (do_test): New function.
11179
f1cc4c86
TS
11180 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11181 TEST_TRUNC.
11182 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11183 functions, renamed from truncdfsf_test, trunctfsf_test,
11184 trunctfdf_test.
11185 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11186 functions.
11187 (do_test): Run all these.
11188
6f65e668
OB
111892013-08-29 Ondřej Bílka <neleai@seznam.cz>
11190
11191 * argp/argp-help.c: Fix typos.
11192 * argp/argp-parse.c: Likewise.
11193 * debug/backtracesyms.c: Likewise.
11194 * elf/elf.h: Likewise.
11195 * malloc/malloc.c: Likewise.
11196 * nis/nis_print.c: Likewise.
11197 * resolv/res_comp.c: Likewise.
11198 * stdlib/stdlib.h: Likewise.
11199 * sunrpc/clnt_tcp.c: Likewise.
11200 * sunrpc/clnt_udp.c: Likewise.
11201 * sunrpc/clnt_unix.c: Likewise.
11202 * sysdeps/unix/bsd/ptsname.c: Likewise.
11203 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11204 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11206 Likewise.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11208 Likewise.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11210 Likewise.
6f65e668
OB
11211 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11212
3a309239
SP
112132013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11214
11215 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11217
3b813b29
MF
112182013-08-27 Mike Frysinger <vapier@gentoo.org>
11219
11220 [BZ #15897]
11221 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11222 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11223 ($(objpfx)bug-dl-leaf): New rule.
11224 ($(objpfx)bug-dl-leaf.so): Likewise.
11225 ($(objpfx)bug-dl-leaf.out): Likewise.
11226 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11227 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11228 * dlfcn/bug-dl-leaf.c: New test.
11229 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11230 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11231 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11232 (dlclose): Likewise.
11233 (dlmopen): Likewise.
11234
8cc3269f
RM
112352013-08-27 Roland McGrath <roland@hack.frob.com>
11236
7f9d0034
RM
11237 * include/netdb.h [!_ISOMAC]:
11238 Don't include <tls.h>.
11239 (h_errno, __libc_h_errno): Move declaration and macros out of
11240 [_LIBC_REENTRANT].
11241
fb431262
RM
11242 * include/resolv.h [_RESOLV_H_]:
11243 Don't include <tls.h>.
11244 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11245 * resolv/res_libc.c: Don't include <tls.h>.
11246 (_res): Use __attribute__ ((nocommon)) in place of
11247 __attribute__ ((section (".bss"))).
11248
bd81123a
RM
11249 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11250 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11251
c4e42566
RM
11252 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11253
f890a59b
RM
11254 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11255 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11256
11257 * resolv/res_mkquery.c: Include <sys/time.h>.
11258
5d1f0a09
RM
11259 * inet/ifreq.c: Moved to ...
11260 * sysdeps/unix/ifreq.c: ... here.
11261 * inet/ifreq.c: New file, true stub version.
11262
6fcf28b3
RM
11263 * socket/sa_len.c: New file.
11264 * socket/Makefile (aux): Add it.
11265 * sysdeps/unix/sysv/linux/Makefile
11266 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11267 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11268 and #include <socket/sa_len.c>.
11269 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11270 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11271
e041fb8b
RM
11272 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11273 * bits/socket.h: ... here.
11274
8cc3269f
RM
11275 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11276 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11277 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11278
5d228a43
AS
112792013-08-27 Andreas Schwab <schwab@suse.de>
11280
45b8accc
AS
11281 [BZ #15736]
11282 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11283 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11284 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11285 * string/test-strcasecmp.c (test_main): Run tests in several
11286 locales.
11287 * string/test-strncasecmp.c (test_main): Likewise.
11288
5d228a43
AS
11289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11290 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11291 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11293 (__strncasecmp_ssse3) [PIC]: Likewise.
11294
59d112a4
RM
112952013-08-26 Roland McGrath <roland@hack.frob.com>
11296
53234cc3
RM
11297 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11298
59d112a4
RM
11299 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11300 instead of explicitly declaring xdecrypt.
11301 * nis/nss_nis/nis-publickey.c: Likewise.
11302
595aba70
SP
113032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11304
11305 [BZ #15890]
11306 * nscd/aicache.c: Include res_hconf.h.
11307 (addhstaiX): Initialize res_hconf.
11308
ffabd393
AS
113092013-08-26 Andreas Schwab <schwab@suse.de>
11310
11311 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11312 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11313
e0a69f5c
SP
113142013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11315
11316 * nscd/aicache.c (addhstaiX): Fix indentation.
11317
8c12f01d
MF
113182013-08-25 Mike Frysinger <vapier@gentoo.org>
11319
11320 * configure.ac: Quote $build_pt_chown test.
11321 * configure: Regenerated.
11322
8fe89494
JM
113232013-08-23 Joseph Myers <joseph@codesourcery.com>
11324
11325 [BZ #15532]
11326 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11327 * math/s_cexpf.c (__cexpf): Likewise.
11328 * math/s_cexpl.c (__cexpl): Likewise.
11329 * math/libm-test.inc (cexp_test_data): Correct expected return
11330 value for NaN + i0. Add another test.
11331
75b181d6
DM
113322013-08-22 David S. Miller <davem@davemloft.net>
11333
11334 * po/ca.po: Update Catalan translation from translation project.
936241e4 11335 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11336
acd06bb1
JM
113372013-08-21 Joseph Myers <joseph@codesourcery.com>
11338
11339 [BZ #15797]
11340 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11341 is infinite, not alongside NaN test.
11342 * math/s_fdimf.c (__fdimf): Likewise.
11343 * math/s_fdiml.c (__fdiml): Likewise.
11344 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11345 errno is unchanged.
11346
c0c3f78a
OB
113472013-08-21 Ondřej Bílka <neleai@seznam.cz>
11348
11349 * argp/argp-help.c: Fix typos.
11350 * crypt/speeds.c: Likewise.
11351 * csu/check_fds.c: Likewise.
11352 * elf/dl-load.c: Likewise.
11353 * elf/dl-open.c: Likewise.
11354 * elf/reldep3.c: Likewise.
11355 * elf/reldep.c: Likewise.
11356 * elf/sprof.c: Likewise.
11357 * iconv/iconv_charmap.c: Likewise.
11358 * iconv/skeleton.c: Likewise.
11359 * iconv/strtab.c: Likewise.
11360 * io/lockf64.c: Likewise.
11361 * libio/libioP.h: Likewise.
11362 * resolv/gai_notify.c: Likewise.
11363 * resolv/ns_name.c: Likewise.
11364 * resolv/ns_samedomain.c: Likewise.
11365 * resolv/res_send.c: Likewise.
11366 * stdlib/random.c: Likewise.
11367 * sunrpc/rpc/xdr.h: Likewise.
11368 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11370 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11371 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11372 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11376 * sysdeps/mach/hurd/check_fds.c: Likewise.
11377 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11378 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11379 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11380 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11381 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11382 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11383 * sysdeps/pthread/aio_notify.c: Likewise.
11384 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11385 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11386 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11387 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11388 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11389
46ed1038
LD
113902013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11391
11392 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11393 version if bit_Slow_SSE4_2 is set.
11394 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11396
d400dcac
AZ
113972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11398
11399 [BZ #15867]
11400 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11401 trampoline stack frame information.
11402 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11404 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11405 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11406 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11407 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11408 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11409 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11410 sa_flags value.
11411 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11412 interrupting a syscall and set with option SA_SIGINFO.
11413
42c8fdd8
JM
114142013-08-20 Joseph Myers <joseph@codesourcery.com>
11415
c980f2f4
JM
11416 [BZ #15531]
11417 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11418 argument is infinite.
11419 * math/s_cprojf.c (__cprojf): Likewise.
11420 * math/s_cprojl.c (__cprojl): Likewise.
11421 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11422 * math/libm-test.inc (cproj_test_data): Add more tests.
11423
0716c4fc
JM
11424 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11425
42c8fdd8
JM
11426 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11427 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11428 size. Use __ffs to determine corresponding shift.
11429
b31469d0
JM
114302013-08-20 Joseph Myers <joseph@codesourcery.com>
11431 Roland McGrath <roland@hack.frob.com>
11432
11433 * Makefile (INSTALL): Remove trailing blank lines from output of
11434 makeinfo.
11435
4e39af6e
AK
114362013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11437
11438 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11439 Align 32 bit compat elf_greg to 8 bytes.
11440
f315524e
AA
114412013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11442
11443 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11444
1326ba1a
SP
114452013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11446
11447 * string/strcoll_l.c (coll_seq): New structure.
11448 (get_next_seq_cached): New function.
11449 (get_next_seq): New function.
11450 (do_compare): New function.
11451 (STRCOLL): Use GNU style definition. Simplify implementation
11452 by using get_next_seq, get_next_seq_cached and do_compare.
11453
91ce4085
FW
114542013-08-16 Florian Weimer <fweimer@redhat.com>
11455
11456 [BZ #14699]
11457 CVE-2013-4237
11458 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11459 member.
11460 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11461 member.
11462 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11463 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11464 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11465 conditional.
11466 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11467 GETDENTS_64BIT_ALIGNED.
11468 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11469 * manual/filesys.texi (Reading/Closing Directory): Document
11470 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11471 strongly.
11472 * manual/conf.texi (Limits for Files): Add portability note to
11473 NAME_MAX, PATH_MAX.
11474 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11475
ca0a6bc4
AS
114762013-08-13 Andreas Schwab <schwab@suse.de>
11477
11478 [BZ #15749]
11479 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11480 of fabs.
11481 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11482 LDBL_MAX_EXP >= 16384]: Add tests for it.
11483
6c1fd795
DM
114842013-08-12 David S. Miller <davem@davemloft.net>
11485
11486 * version.h (RELEASE): Set to "development".
11487 (VERSION): Set to "2.18.90".
11488 * NEWS: Add 2.19 section.
11489
31ad488d
DM
114902013-08-03 David S. Miller <davem@davemloft.net>
11491
11492 * po/ko.po: Update Korean translation from translation project.
11493
db24e684
DM
114942013-08-01 David S. Miller <davem@davemloft.net>
11495
11496 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11497 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11498 Bilka.
11499
f723285b
DM
115002013-07-30 David S. Miller <davem@davemloft.net>
11501
11502 * po/fr.po: Update French translation from translation project.
11503
3cbc52db
DM
115042013-07-28 David S. Miller <davem@davemloft.net>
11505
30bbc0cc
DM
11506 * po/cs.po: Update Czech translation from translation project.
11507
3cbc52db
DM
11508 * po/sv.po: Update Swedish translation from translation project.
11509
d492e6d0
DM
115102013-07-27 David S. Miller <davem@davemloft.net>
11511
f1a7f492
DM
11512 * po/eo.po: Update Esperanto translation from translation project.
11513
90e62a4a
DM
11514 * po/vi.po: Update Vietnamese translation from translation project.
11515
d492e6d0
DM
11516 * po/de.po: Update German translation from translation project.
11517
d4baa62d
DM
115182013-07-26 David S. Miller <davem@davemloft.net>
11519
641aa7b4
DM
11520 * po/bg.po: Update Bulgarian translation from translation project.
11521
d4baa62d
DM
11522 * po/nl.po: Update Dutch translation from translation project.
11523 * po/pl.po: Update Polish translation from translation project.
11524 * po/ru.po: Update Russian translation from translation project.
11525
61a9dcb9
DM
115262013-07-24 David S. Miller <davem@davemloft.net>
11527
11528 * po/libc.pot: Update.
11529
7b1f8b58
AZ
115302013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11531
11532 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11533 variable page size.
11534 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11536 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11537
a8fc7a03
AK
115382013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11539
11540 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11541
e4608715
CD
115422013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11543 Andreas Schwab <schwab@suse.de>
11544 Roland McGrath <roland@hack.frob.com>
11545 Joseph Myers <joseph@codesourcery.com>
11546 Carlos O'Donell <carlos@redhat.com>
11547
11548 [BZ #15755]
11549 * config.h.in: Define HAVE_PT_CHOWN.
11550 * config.make.in (build-pt-chown): New variable.
11551 * configure.in (--enable-pt_chown): New configure option.
11552 * configure: Regenerate.
11553 * login/Makefile: Include Makeconfig. Build pt_chown only if
11554 build-pt-chown is enabled.
11555 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11556 pt_chown to fix pty ownership.
11557 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11558 CLOSE_ALL_FDS.
11559 * manual/install.texi (Configuring and compiling): Mention
11560 --enable-pt_chown. Add @findex for grantpt.
11561 * INSTALL: Regenerate.
11562
da2d62df
DM
115632013-07-20 David S. Miller <davem@davemloft.net>
11564
11565 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11566 difference between 32-bit and 64-bit.
11567
d7e06450
CD
115682013-07-15 Carlos O'Donell <carlos@redhat.com>
11569
11570 [BZ #15711]
11571 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11572 Avoid system header dependency with -ffreestanding.
11573 ($(objpfx)bits/syscall%d): Likewise.
11574
f959cfd7
DM
115752013-07-13 David S. Miller <davem@davemloft.net>
11576
11577 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11578 underflows from atanl/atan2l due to bug 15319.
11579 (casinh_test_data): Likewise.
11580
c61f8513
DM
115812013-07-07 David S. Miller <davem@davemloft.net>
11582
11583 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11584
72c90ed0
JA
115852013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11586
11587 * sysdeps/i386/fpu/libm-test-ulps: Update.
11588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11589
52dfbe13
SP
115902013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11591
11592 * configure.in (--enable-lock-elision): Fix message text.
11593 * INSTALL: Regenerate.
11594 * configure: Regenerate.
11595
3f169543
AZ
115962013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597
11598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11599
521c6785
AJ
116002013-07-03 Andreas Jaeger <aj@suse.de>
11601
11602 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11603 define.
11604 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11605 (ptrace_peeksiginfo_args): Add.
11606 (__ptrace_peeksiginfo_flags): Add.
11607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11610
d2cc15cb
AM
116112013-07-03 Allan McRae <allan@archlinux.org>
11612
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614
3aaeeca7
DM
116152013-07-02 David S. Miller <davem@davemloft.net>
11616
11617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11618
5314ed1a
MT
116192013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11620
11621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11622
67338156
JM
116232013-07-02 Joseph Myers <joseph@codesourcery.com>
11624
11625 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11627
1717da59
AK
116282013-07-02 Andi Kleen <ak@linux.intel.com>
11629
11630 * config.h.in (ENABLE_LOCK_ELISION): Add.
11631 * configure.in (--enable-lock-elision): Add option.
11632 * manual/install.texi: Document --enable lock elision.
11633 * configure: Regenerate
11634 * INSTALL: Regenerate.
11635
1c81621c
L
116362013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11639 SSE4.2 strcasecmp for libc.a.
11640 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11641
77f01ab5
JM
116422013-07-02 Joseph Myers <joseph@codesourcery.com>
11643
11644 [BZ #13304]
11645 * soft-fp/op-common.h (_FP_FMA): New macro.
11646 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11647 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11648 (_FP_MUL_MEAT_1_imm): ... here.
11649 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11650 (_FP_MUL_MEAT_1_wide): ... here.
11651 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11652 (_FP_MUL_MEAT_1_hard): ... here.
11653 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11654 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11655 (_FP_MUL_MEAT_2_wide): ... here.
11656 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11657 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11658 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11659 (_FP_MUL_MEAT_2_gmp): ... here.
11660 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11661 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11662 (_FP_MUL_MEAT_4_wide): ... here.
11663 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11664 (_FP_MUL_MEAT_4_gmp): ... here.
11665 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11666 (_FP_WFRACBITS_DW_S): Likewise.
11667 (_FP_WFRACXBITS_DW_S): Likewise.
11668 (_FP_HIGHBIT_DW_S): Likewise.
11669 (FP_FMA_S): Likewise.
11670 (_FP_FRAC_HIGH_DW_S): Likewise.
11671 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11672 (_FP_WFRACBITS_DW_D): Likewise.
11673 (_FP_WFRACXBITS_DW_D): Likewise.
11674 (_FP_HIGHBIT_DW_D): Likewise.
11675 (FP_FMA_D): Likewise.
11676 (_FP_FRAC_HIGH_DW_D): Likewise.
11677 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11678 (_FP_WFRACBITS_DW_E): Likewise.
11679 (_FP_WFRACXBITS_DW_E): Likewise.
11680 (_FP_HIGHBIT_DW_E): Likewise.
11681 (FP_FMA_E): Likewise.
11682 (_FP_FRAC_HIGH_DW_E): Likewise.
11683 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11684 (_FP_WFRACBITS_DW_Q): Likewise.
11685 (_FP_WFRACXBITS_DW_Q): Likewise.
11686 (_FP_HIGHBIT_DW_Q): Likewise.
11687 (FP_FMA_Q): Likewise.
11688 (_FP_FRAC_HIGH_DW_Q): Likewise.
11689 * soft-fp/fmasf4.c: New file.
11690 * soft-fp/fmadf4.c: Likewise.
11691 * soft-fp/fmatf4.c: Likewise.
11692
6308fd9a
LD
116932013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11694
11695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11696 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11697 Silvermont.
11698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11699 macro.
11700 (index_Slow_SSE4_2): Likewise.
11701 (index_Prefer_PMINUB_for_stringop): Likewise.
11702 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11703 bit_Slow_SSE4_2 is set.
11704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11705 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11706
89cd9569
RA
117072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11708
11709 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11710 rtld_global._dl_hwcap2.
11711 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11712 POWER8.
11713 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11714 POWER8 feature descriptions defined in _dl_hwcap2.
11715 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11716 string handling for POWER8 feature bits.
11717 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11718 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11719 _dl_powerpc_cap_flags.
11720 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11721 * sysdeps/powerpc/rtld-global-offsets.sym
11722 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11723 _dl_hwcap2 in the rtld_global_ro structure.
11724
1ae8bfe0
RA
117252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11726
11727 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11728 hardware capabilities in support of AT_HWCAP2.
11729 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11730 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11731 GLRO(dl_hwcap2).
11732 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11733 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11734 explicitly the unknown a_type display mechanism is used.
11735 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11736 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11737 struct member.
11738 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11739 to macro prototype for AT_HWCAP2 support.
11740 * sysdeps/i386/dl-procinfo.h: Likewise.
11741 * sysdeps/s390/dl-procinfo.h: Likewise.
11742 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11743 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11744 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11745 return -1 for unknown a_type display fallback.
11746 * sysdeps/sparc/dl-procinfo.h: Likewise.
11747 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11748 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11749
8fbec010
JM
117502013-06-28 Joseph Myers <joseph@codesourcery.com>
11751
11752 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11753 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11754
0432680e
PY
117552013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11756
11757 [BZ #12492]
11758 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11759 mprotect making __stack_prot writable.
11760
ce61a2ad
NF
117612013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11762 Joseph Myers <joseph@codesourcery.com>
11763
11764 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11765 as being properly aligned.
11766
f91f1c0f
MR
117672013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11768
3d0f5d0c
MR
11769 * dlfcn/modstatic5.c: New file.
11770 * dlfcn/tststatic5.c: New file.
11771 * dlfcn/Makefile (tests): Add tststatic5.
11772 (tests-static): Likewise.
11773 (modules-names): Add modstatic5.
11774 (tststatic5-ENV): New variable.
11775 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11776
f91f1c0f
MR
11777 [BZ #15022]
11778 * elf/dl-support.c (_dl_main_map): New variable.
11779 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11780 (_dl_nns, _dl_load_adds): Set to 1.
11781 (_dl_initial_searchlist): Refer to _dl_main_map.
11782 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11783 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11784 call to _dl_get_origin.
11785 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11786 around call_map.
11787 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11788 * dlfcn/modstatic3.c: New file.
11789 * dlfcn/tststatic3.c: New file.
11790 * dlfcn/tststatic4.c: New file.
11791 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11792 (tests-static): Likewise.
11793 (modules-names): Add modstatic3.
11794 (tststatic3-ENV, tststatic4-ENV): New variables.
11795 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11796 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11797
cbe7d24b
JM
117982013-06-26 Joseph Myers <joseph@codesourcery.com>
11799
11800 * configure.in (CC): Require GCC version 4.4 or later.
11801 * configure: Regenerated.
11802 * manual/install.texi (Tools for Compilation): Update GCC version
11803 requirement.
11804 * INSTALL: Regenerated.
11805
11b8a0e1
LD
118062013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11807
11808 [BZ #15674]
bb5bb87c
L
11809 * string/test-memcmp.c (check2): New.
11810 (main): Call check2.
11811
11b8a0e1
LD
11812 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11813
b0037103
MR
118142013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11815
11816 [BZ #15022]
11817 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11818 over to...
11819 (dl_open_worker) [!SHARED]: ... here.
11820
c18c701d
RA
118212013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11822
11823 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11824
1d17fa5f
RH
118252013-06-25 Richard Henderson <rth@redhat.com>
11826
11827 * locale/programs/locarchive.c: Include <libc-internal.h>
11828
8fcb833a
JM
118292013-06-25 Joseph Myers <joseph@codesourcery.com>
11830
11831 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11832 trailing whitespace removed.
11833
17db6e8d
MF
118342013-06-24 Mike Frysinger <vapier@gentoo.org>
11835
11836 [BZ #10283]
17db6e8d
MF
11837 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11838 * locale/programs/locarchive.c: Include libc-mmap.h.
11839 (prepare_address_space): Take two new outputs (the mmap base and len).
11840 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11841 values.
11842 (create_archive): Declare new mmap base and len values for
11843 prepare_address_space, and store the result in ah.
11844 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11845 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11846 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11847 Declare new mmap base and len values for
11848 prepare_address_space, and store the result in new_ah.
11849 (open_archive): Declare new mmap base and len values for
11850 prepare_address_space, and store the result in ah.
11851 (close_archive): If ah->mmap_base is not NULL, use that and
11852 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11853 * sysdeps/generic/libc-mmap.h: New file.
11854
d605071e
MF
118552013-06-24 Mike Frysinger <vapier@gentoo.org>
11856
11857 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11858 (ALIGN_UP): Likewise.
11859 (PTR_ALIGN_DOWN): Likewise.
11860 (PTR_ALIGN_UP): Likewise.
11861
2f063a6e
RA
118622013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11863
11864 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11865 entry mapped to PPC_PLATFORM_POWER8.
11866 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11867 POWER8.
11868 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11869 (_dl_string_platform): Add case for exporting platform position for
11870 POWER8.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11872 search path to sysdeps/powerpc/powerpc32/power8 directory.
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11874 search path to sysdeps/powerpc/powerpc64/power8 directory.
11875 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11876 power7 directories.
11877 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11878 power7 directories.
11879
a31ee4b3
SP
118802013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11881
a74ca98f
SP
11882 * INSTALL: Regenerate.
11883
a31ee4b3
SP
11884 * nscd/connections.c (nscd_init): Fix comment.
11885
695c378f
JM
118862013-06-22 Joseph Myers <joseph@codesourcery.com>
11887
d8412221
JM
11888 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11889
695c378f
JM
11890 [BZ #15667]
11891 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11892 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11893
d1d54715
MR
118942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11895
11896 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11897 DL_DST_REQ_STATIC.
11898 (DL_DST_REQ_STATIC): Remove macro.
11899
8fdda7af
JM
119002013-06-21 Joseph Myers <joseph@codesourcery.com>
11901
11902 [BZ #7006]
11903 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11904 with a shift of 0 bits.
11905
f3bc5e5a
MR
119062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11907
11908 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11909 $(tststatic-ENV).
11910
be09e8c9
KK
119112013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11912
11913 [BZ #15655]
11914 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11915
85c2e611
AZ
119162013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11917
11918 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11919 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11920 accepts -fno-tree-loop-distribute-patterns.
11921 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11922 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11923 recursive call.
11924 * string/memset.c (memset): Likewise.
11925 * string/test-memmove.c (simple_memmove): Disable loop transformation
11926 to library calls.
11927 * string/test-memset.c (simple_memset): Likewise.
11928 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11929 * benchtests/bench-memset.c (simple_memset): Likewise.
11930 * configure: Regenerated.
11931
c91e0825
JM
119322013-06-20 Joseph Myers <joseph@codesourcery.com>
11933
b8c792af
JM
11934 * math/test-misc.c (main): Ignore fesetround failure when failures
11935 of subsequent rounding tests would be ignored.
11936
c91e0825
JM
11937 [BZ #15654]
11938 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11939 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11940 * math/fegetenv.c (__fegetenv): Return 0.
11941 * math/fegetexcept.c (fegetexcept): Return 0.
11942 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11943 FE_TONEAREST.
11944 * math/feholdexcpt.c (feholdexcept): Return 0.
11945 * math/fesetenv.c (__fesetenv): Return 0.
11946 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11947 argument FE_TONEAREST.
11948 * math/feupdateenv.c (__feupdateenv): Return 0.
11949 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11950
bfcacbde
RM
119512013-06-18 Roland McGrath <roland@hack.frob.com>
11952
11953 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11954 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11955 ($(objpfx)rtld-%.os rules): Use them.
11956
e55a9b25
AZ
119572013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11958
11959 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11960 fields.
11961
346d65b3
RM
119622013-06-17 Roland McGrath <roland@hack.frob.com>
11963
12086fb4
RM
11964 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11965 length of target pattern, then descending length of dependency pattern.
11966 * configure.in (AWK): Require gawk 3.1.2 or newer.
11967 * manual/install.texi (Tools for Compilation): Say that we do.
11968 * configure: Regenerated.
11969
346d65b3
RM
11970 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11971 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11972 * scripts/sysd-rules.awk: ... this new script.
11973 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11974 than a glob-style pattern.
11975
1a846317
JM
119762013-06-17 Joseph Myers <joseph@codesourcery.com>
11977
11978 * math/test-misc.c (main): Do not treat incorrectly rounded
11979 conversions as failure unless ROUNDING_TESTS passes.
11980
8fc75e6f
JM
119812013-06-15 Joseph Myers <joseph@codesourcery.com>
11982
3711a167
JM
11983 [BZ #15631]
11984 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11985 restore exception state around main square root computation, then
11986 check for inexactness explicitly.
11987
8fc75e6f
JM
11988 * math/libm-test.inc (fma_test_data): Add another test.
11989
61dd6208
SP
119902013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11991
adf23d2c
SP
11992 * manual/threads.texi (Non-POSIX Extensions): New document
11993 node. Document pthread_getattr_default_np and
11994 pthread_setattr_default_np.
11995
61dd6208
SP
11996 * Versions.def (libpthread): Add GLIBC_2.18.
11997 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11999 Likewise.
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12001 Likewise.
12002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12003 Likewise.
12004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12005 Likewise.
12006 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12007 Likewise.
12008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12009 Likewise.
12010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12011 Likewise.
12012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12013 Likewise.
12014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12015 Likewise.
12016
d086fc7b
LD
120172013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12018
12019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12020 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12021
747ef469
SP
120222013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12023 H.J. Lu <hjl.tools@gmail.com>
12024
12025 [BZ #15627]
12026 * sysdeps/x86_64/rtld-memset.c: Remove file.
12027 * sysdeps/x86_64/rtld-memset.S: New file.
12028
1b2feed2
JM
120292013-06-14 Joseph Myers <joseph@codesourcery.com>
12030
12031 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12032 (test_in_one_mode): Take arguments for whether the rounding mode
12033 is supported for each floating-point type.
12034 (do_test): Pass new arguments to test_in_one_mode using
12035 ROUNDING_TESTS.
12036
a58ad3f8
RM
120372013-06-13 Roland McGrath <roland@hack.frob.com>
12038
12039 * posix/tst-waitid.c (do_test): Distinguish different instances of
12040 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12041 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12042 before entering the kernel for waitpid.
12043
c204ab28
SP
120442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12045
12046 * NEWS: Fix note on clock function precision. Text by Roland
12047 McGrath.
12048
f4a29fba
RM
120492013-06-13 Roland McGrath <roland@hack.frob.com>
12050
12051 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12052 it into place only when and if the sanity check passes.
12053
1f24b9ad
JM
120542013-06-13 Joseph Myers <joseph@codesourcery.com>
12055
12056 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12057 output for whether conversion result is exact. Take argument
12058 indicating whether type is IBM long double.
12059 (round_for_all): Change need_exact field to ibm_ld.
12060 * stdlib/tst-strtod-round.c (struct exactness): New type.
12061 (struct test): Change bool ld_ok field to struct exactness exact.
12062 (TEST): Update all definitions for change to field.
12063 (tests): Regenerate array contents.
12064 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12065 field value. Check for IBM long double here.
12066 (do_test): Update calls to test_in_one_mode.
12067
58206c68
SP
120682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12069
12070 [BZ #12515]
12071 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12072 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12073
2d6f4c5b 120742013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12075
12076 [BZ #15605]
12077 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12078 generated by the compiler on loop optimizations.
12079 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12080 general definitions.
12081
94f2c076
JM
120822013-06-12 Joseph Myers <joseph@codesourcery.com>
12083
12084 * math/bug-nextafter.c: Include <math-tests.h>.
12085 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12086 the relevant type.
12087 * math/bug-nexttoward.c: Include <math-tests.h>.
12088 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12089 the relevant type.
12090 * math/test-misc.c: Include <math-tests.h>.
12091 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12092 the relevant type.
12093
e0e50a0a
AJ
120942013-06-12 Andreas Jaeger <aj@suse.de>
12095
12096 * po/ia.po: Update Interlingua translation from translation
12097 project.
12098
25061094
SP
120992013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12100
12101 * include/fenv.h: Include stdbool.h.
12102 (struct rm_ctx): New structure.
12103 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12104 Define macro.
12105 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12106 (SET_RESTORE_ROUNDF): Likewise.
12107 (SET_RESTORE_ROUNDL): Likewise.
12108 (SET_RESTORE_ROUND_NOEX): Likewise.
12109 (SET_RESTORE_ROUND_NOEXF): Likewise.
12110 (SET_RESTORE_ROUND_NOEXL): Likewise.
12111 (SET_RESTORE_ROUND_53BIT): Likewise.
12112 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12113 (libc_feresetround_noexf_ctx): Likewise.
12114 (libc_feresetround_noexl_ctx): Likewise.
12115 (libc_feholdsetround_53bit_ctx): Likewise.
12116 (libc_feresetround_53bit_ctx): Likewise.
12117 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12118 (libc_feholdexcept_setround_sse_ctx): New function.
12119 (libc_fesetenv_sse_ctx): Likewise.
12120 (libc_feupdateenv_sse_ctx): Likewise.
12121 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12122 (libc_feholdexcept_setround_387_ctx): Likewise.
12123 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12124 (libc_feholdsetround_387_prec_ctx): Likewise.
12125 (libc_feholdsetround_387_ctx): Likewise.
12126 (libc_feholdsetround_387_53bit_ctx): Likewise.
12127 (libc_feholdsetround_sse_ctx): Likewise.
12128 (libc_feresetround_sse_ctx): Likewise.
12129 (libc_feresetround_387_ctx): Likewise.
12130 (libc_feupdateenv_387_ctx): Likewise.
12131 (libc_feholdexcept_setroundf_ctx): Define macro.
12132 (libc_fesetenvf_ctx): Likewise.
12133 (libc_feupdateenvf_ctx): Likewise.
12134 (libc_feholdsetroundf_ctx): Likewise.
12135 (libc_feresetroundf_ctx): Likewise.
12136 (libc_feholdexcept_setround_ctx): Likewise.
12137 (libc_fesetenv_ctx): Likewise.
12138 (libc_feupdateenv_ctx): Likewise.
12139 (libc_feholdsetround_ctx): Likewise.
12140 (libc_feresetround_ctx): Likewise.
12141 (libc_feholdexcept_setroundl_ctx): Likewise.
12142 (libc_feupdateenvl_ctx): Likewise.
12143 (libc_feholdsetroundl_ctx): Likewise.
12144 (libc_feresetroundl_ctx): Likewise.
12145 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12146 (libc_feresetround_53bit_ctx): Likewise.
12147
59b30555
SP
121482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12149
12150 * locale/iso-639.def: Convert to UTF-8.
12151
f1d73d30
JM
121522013-06-11 Joseph Myers <joseph@codesourcery.com>
12153
12154 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12155 (EXCEPTION_TESTS_double): Likewise.
12156 (EXCEPTION_TESTS_long_double): Likewise.
12157 (EXCEPTION_TESTS): Likewise.
12158 * math/libm-test.inc (test_exceptions): Only test exceptions if
12159 EXCEPTION_TESTS (FLOAT).
12160
94aca5e7
SP
121612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12162
12163 * benchtests/Makefile (string-bench): Add strcpy_chk and
12164 stpcpy_chk.
12165 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12166 * benchtests/bench-stpcpy_chk.c: New file.
12167 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12168 * benchtests/bench-strcpy_chk.c: New file.
12169 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12170 code.
12171 (do_test): Likewise.
12172
fac0c5f2
RA
121732013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12174
12175 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12176 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12177 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12178 with tabs where appropriate.
12179 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12180 dl-procinfo.h.
12181 [PPC_PLATFORM_PPC440]: Likewise.
12182 [PPC_PLATFORM_PPC464]: Likewise.
12183 [PPC_PLATFORM_PPC476]: Likewise.
12184 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12185 ppc464, and ppc476 platform strings merging from ports/
12186 dl-procinfo.h.
12187
f22bc486
AS
121882013-06-11 Andreas Schwab <schwab@suse.de>
12189
12190 [BZ #14991]
12191 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12192 (from_ucs4_idx): Regenerate.
12193 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12194 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12195 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12196 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12197 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12198 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12199 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12200 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12201 from FROM_LOOP and TO_LOOP specific macros.
12202 (BODY): Handle combining characters.
12203 * iconvdata/BIG5HKSCS.irreversible: Update.
12204 * iconvdata/BIG5HKSCS.precomposed: New file.
12205 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12206 characters.
12207 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12208
c1f75dc3
SP
122092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12210
4eacded2
SP
12211 * include/sys/time.h: Fix indentation and add copyright header.
12212
fec799f8
SP
12213 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12214 (do_test): Likewise.
12215 * string/test-memchr.c (do_one_test): Likewise.
12216 (do_test): Likewise.
12217 * string/test-memcmp.c (do_one_test): Likewise.
12218 (do_test): Likewise.
12219 * string/test-memcpy.c (do_one_test): Likewise.
12220 (do_test): Likewise.
12221 * string/test-memmem.c (do_one_test): Likewise.
12222 (do_test): Likewise.
12223 (do_random_tests): Likewise.
12224 * string/test-memmove.c (do_one_test): Likewise.
12225 (do_test): Likewise.
12226 * string/test-memset.c (do_one_test): Likewise.
12227 (do_test): Likewise.
12228 * string/test-rawmemchr.c (do_one_test): Likewise.
12229 (do_test): Likewise.
12230 * string/test-strcasecmp.c (do_one_test): Likewise.
12231 (do_test): Likewise.
12232 * string/test-strcasestr.c (do_one_test): Likewise.
12233 (do_test): Likewise.
12234 * string/test-strcat.c (do_one_test): Likewise.
12235 (do_test): Likewise.
12236 * string/test-strchr.c (do_one_test): Likewise.
12237 (do_test): Likewise.
12238 * string/test-strcmp.c (do_one_test): Likewise.
12239 (do_test): Likewise.
12240 * string/test-strcpy.c (do_one_test): Likewise.
12241 (do_test): Likewise.
12242 * string/test-string.h: Likewise.
12243 (test_init): Likewise.
12244 * string/test-strlen.c (do_one_test): Likewise.
12245 (do_test): Likewise.
12246 * string/test-strncasecmp.c (do_one_test): Likewise.
12247 (do_test): Likewise.
12248 * string/test-strncat.c (do_one_test): Likewise.
12249 (do_test): Likewise.
12250 * string/test-strncmp.c (do_one_test): Likewise.
12251 (do_test_limit): Likewise.
12252 (do_test): Likewise.
12253 * string/test-strncpy.c (do_one_test): Likewise.
12254 (do_test): Likewise.
12255 * string/test-strnlen.c (do_one_test): Likewise.
12256 (do_test): Likewise.
12257 * string/test-strpbrk.c (do_one_test): Likewise.
12258 (do_test): Likewise.
12259 * string/test-strrchr.c (do_one_test): Likewise.
12260 (do_test): Likewise.
12261 * string/test-strspn.c (do_one_test): Likewise.
12262 (do_test): Likewise.
12263 * string/test-strstr.c (do_one_test): Likewise.
12264 (do_test): Likewise.
12265
97020474
SP
12266 * benchtests/Makefile (string-bench): Add string benchmarks.
12267 * benchtests/bench-bcopy-ifunc.c: New file.
12268 * benchtests/bench-bcopy.c: New file.
12269 * benchtests/bench-bzero-ifunc.c: New file.
12270 * benchtests/bench-bzero.c: New file.
12271 * benchtests/bench-memccpy-ifunc.c: New file.
12272 * benchtests/bench-memccpy.c: New file.
12273 * benchtests/bench-memchr-ifunc.c: New file.
12274 * benchtests/bench-memchr.c: New file.
12275 * benchtests/bench-memcmp-ifunc.c: New file.
12276 * benchtests/bench-memcmp.c: New file.
12277 * benchtests/bench-memmem-ifunc.c: New file.
12278 * benchtests/bench-memmem.c: New file.
12279 * benchtests/bench-memmove-ifunc.c: New file.
12280 * benchtests/bench-memmove.c: New file.
12281 * benchtests/bench-mempcpy-ifunc.c: New file.
12282 * benchtests/bench-mempcpy.c: New file.
12283 * benchtests/bench-memset-ifunc.c: New file.
12284 * benchtests/bench-memset.c: New file.
12285 * benchtests/bench-rawmemchr-ifunc.c: New file.
12286 * benchtests/bench-rawmemchr.c: New file.
12287 * benchtests/bench-stpcpy-ifunc.c: New file.
12288 * benchtests/bench-stpcpy.c: New file.
12289 * benchtests/bench-stpncpy-ifunc.c: New file.
12290 * benchtests/bench-stpncpy.c: New file.
12291 * benchtests/bench-strcasecmp-ifunc.c: New file.
12292 * benchtests/bench-strcasecmp.c: New file.
12293 * benchtests/bench-strcasestr-ifunc.c: New file.
12294 * benchtests/bench-strcasestr.c: New file.
12295 * benchtests/bench-strcat-ifunc.c: New file.
12296 * benchtests/bench-strcat.c: New file.
12297 * benchtests/bench-strchr-ifunc.c: New file.
12298 * benchtests/bench-strchr.c: New file.
12299 * benchtests/bench-strchrnul-ifunc.c: New file.
12300 * benchtests/bench-strchrnul.c: New file.
12301 * benchtests/bench-strcmp-ifunc.c: New file.
12302 * benchtests/bench-strcmp.c: New file.
12303 * benchtests/bench-strcpy-ifunc.c: New file.
12304 * benchtests/bench-strcpy.c: New file.
12305 * benchtests/bench-strcspn-ifunc.c: New file.
12306 * benchtests/bench-strcspn.c: New file.
12307 * benchtests/bench-strlen-ifunc.c: New file.
12308 * benchtests/bench-strlen.c: New file.
12309 * benchtests/bench-strncasecmp-ifunc.c: New file.
12310 * benchtests/bench-strncasecmp.c: New file.
12311 * benchtests/bench-strncat-ifunc.c: New file.
12312 * benchtests/bench-strncat.c: New file.
12313 * benchtests/bench-strncmp-ifunc.c: New file.
12314 * benchtests/bench-strncmp.c: New file.
12315 * benchtests/bench-strncpy-ifunc.c: New file.
12316 * benchtests/bench-strncpy.c: New file.
12317 * benchtests/bench-strnlen-ifunc.c: New file.
12318 * benchtests/bench-strnlen.c: New file.
12319 * benchtests/bench-strpbrk-ifunc.c: New file.
12320 * benchtests/bench-strpbrk.c: New file.
12321 * benchtests/bench-strrchr-ifunc.c: New file.
12322 * benchtests/bench-strrchr.c: New file.
12323 * benchtests/bench-strspn-ifunc.c: New file.
12324 * benchtests/bench-strspn.c: New file.
12325 * benchtests/bench-strstr-ifunc.c: New file.
12326 * benchtests/bench-strstr.c: New file.
12327
c1f75dc3
SP
12328 * benchtests/Makefile: Disable parallel execution of targets.
12329 (string-bench): Add memcpy.
12330 (benchset): New variable to store a list of benchmark sets.
12331 (bench-func): Renamed from bench.
12332 (bench-set): New target.
12333 (bench): Depend on bench-func and bench-set.
12334 * benchtests/README: Add section on benchmark sets.
12335 * benchtests/bench-memcpy-ifunc.c: New file.
12336 * benchtests/bench-memcpy.c: New file.
12337 * benchtests/bench-string.h: New file.
12338
50fd745b
AS
123392013-06-11 Andreas Schwab <schwab@suse.de>
12340
12341 [BZ #15577]
12342 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12343 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12344 values in the triple.
12345 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12346 terminator in the group key.
12347
3ee7e9fe
AJ
123482013-06-11 Andreas Jaeger <aj@suse.de>
12349
12350 * po/zh_TW.po: Update Chinese (traditional) translation from
12351 translation project.
12352
89fb6835
SP
123532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12354
12355 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12356 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12357 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12358 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12359 (clock_getcpuclockid): Likewise.
12360 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12361 Add weak_alias and libc_hidden_def.
12362 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12363 * rt/clock_gettime.c (clock_gettime): Rename to
12364 __clock_gettime. Add weak_alias and libc_hidden_def.
12365 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12366 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12367 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12368 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12369 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12370 Likewise.
12371 * rt/clock_settime.c (clock_settime): Rename to
12372 __clock_settime. Add weak_alias and libc_hidden_def.
12373 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12374
0efa6f8b
JM
123752013-06-10 Joseph Myers <joseph@codesourcery.com>
12376
b8c61b4b
JM
12377 * mach/err_boot.sub: Remove trailing whitespace.
12378 * mach/err_ipc.sub: Likewise.
12379 * mach/err_mach.sub: Likewise.
12380
0efa6f8b
JM
12381 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12382 (ROUNDING_TESTS_double): Likewise.
12383 (ROUNDING_TESTS_long_double): Likewise.
12384 (ROUNDING_TESTS): Likewise.
12385 * math/libm-test.inc: Include <math-tests.h>.
12386 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12387 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12388 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12389 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12390
50b818bf
SP
123912013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12392
12393 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12394 of assigning.
12395
60d2f8f3
JM
123962013-06-08 Joseph Myers <joseph@codesourcery.com>
12397
4902d2c3
JM
12398 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12399 otherwise empty TRANS lines.
12400 * sysdeps/gnu/errlist.c: Regenerated.
12401
60d2f8f3
JM
12402 * catgets/gencat.c (error_print): Use (void) in function
12403 definition.
12404 * crypt/crypt_util.c (__init_des): Likewise.
12405 * crypt/speeds.c (Stop): Likewise.
12406 (main): Likewise.
12407 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12408 * inet/ruserpass.c (token): Likewise.
12409 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12410 * intl/localealias.c (extend_alias_table): Likewise.
12411 * intl/plural-exp.c (init_germanic_plural): Likewise.
12412 * libio/fcloseall.c (__fcloseall): Likewise.
12413 * libio/genops.c (_IO_flush_all): Likewise.
12414 (_IO_flush_all_linebuffered): Likewise.
12415 (_IO_cleanup): Likewise.
12416 (_IO_iter_begin): Likewise.
12417 (_IO_iter_end): Likewise.
12418 (_IO_list_lock): Likewise.
12419 (_IO_list_unlock): Likewise.
12420 (_IO_list_resetlock): Likewise.
12421 * libio/getchar.c (getchar): Likewise.
12422 * libio/getchar_u.c (getchar_unlocked): Likewise.
12423 * libio/getwchar.c (getwchar): Likewise.
12424 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12425 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12426 * login/getpt.c (__getpt): Likewise.
12427 * login/tst-utmp.c (main): Likewise.
12428 * malloc/hooks.c (__malloc_check_init): Likewise.
12429 * malloc/malloc.c (__malloc_stats): Likewise.
12430 * malloc/mtrace.c (tr_break): Likewise.
12431 (mtrace): Likewise.
12432 (muntrace): Likewise.
12433 * misc/fstab.c (endfsent): Likewise.
12434 * misc/getclktck.c (__getclktck): Likewise.
12435 * misc/getdtsz.c (__getdtablesize): Likewise.
12436 * misc/gethostid.c (gethostid): Likewise.
12437 * misc/getpagesize.c (__getpagesize): Likewise.
12438 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12439 (__get_nprocs): Likewise.
12440 (__get_phys_pages): Likewise.
12441 (__get_avphys_pages): Likewise.
12442 * misc/getttyent.c (getttyent): Likewise.
12443 (setttyent): Likewise.
12444 (endttyent): Likewise.
12445 * misc/getusershell.c (getusershell): Likewise.
12446 (endusershell): Likewise.
12447 (setusershell): Likewise.
12448 (initshells): Likewise.
12449 * misc/hsearch.c (__hdestroy): Likewise.
12450 * misc/sync.c (sync): Likewise.
12451 * misc/syslog.c (closelog_internal): Likewise.
12452 (closelog): Likewise.
12453 * misc/ttyslot.c (ttyslot): Likewise.
12454 * misc/vhangup.c (vhangup): Likewise.
12455 * posix/fork.c (__fork): Likewise.
12456 * posix/getegid.c (__getegid): Likewise.
12457 * posix/geteuid.c (__geteuid): Likewise.
12458 * posix/getgid.c (__getgid): Likewise.
12459 * posix/getpid.c (__getpid): Likewise.
12460 * posix/getppid.c (__getppid): Likewise.
12461 * posix/getuid.c (__getuid): Likewise.
12462 * posix/pause.c (pause): Likewise.
12463 * posix/setpgrp.c (setpgrp): Likewise.
12464 * posix/setsid.c (__setsid): Likewise.
12465 * posix/test-vfork.c (noop): Likewise.
12466 * resolv/gethnamaddr.c (_endhtent): Likewise.
12467 (_gethtent): Likewise.
12468 (ht_endhostent): Likewise.
12469 (gethostent): Likewise.
12470 (dns_service): Likewise.
12471 * stdlib/drand48.c (drand48): Likewise.
12472 * stdlib/lrand48.c (lrand48): Likewise.
12473 * stdlib/mrand48.c (mrand48): Likewise.
12474 * stdlib/rand.c (rand): Likewise.
12475 * stdlib/random.c (__random): Likewise.
12476 * stdlib/setenv.c (clearenv): Likewise.
12477 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12478 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12479 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12480 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12481 (__get_nprocs): Likewise.
12482 (__get_phys_pages): Likewise.
12483 (__get_avphys_pages): Likewise.
12484 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12485 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12486 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12487 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12488 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12489 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12490 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12491 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12492 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12493 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12494 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12495 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12496 * sysdeps/posix/clock.c (clock): Likewise.
12497 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12498 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12499 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12500 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12501 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12503 (__get_nprocs_conf): Likewise.
12504 (__get_phys_pages): Likewise.
12505 (__get_avphys_pages): Likewise.
12506 * time/clock.c (clock): Likewise.
12507 * time/tzset.c (__tzname_max): Likewise.
12508
2e09a79a
JM
125092013-06-07 Joseph Myers <joseph@codesourcery.com>
12510
12511 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12512 (__bswap_32): Do not use "register".
12513 * crypt/crypt.c (_ufc_doit_r): Likewise.
12514 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12515 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12516 * gmon/gmon.c (__monstartup): Likewise.
12517 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12518 * hurd/hurdmalloc.c (more_memory): Likewise.
12519 (malloc): Likewise.
12520 (free): Likewise.
12521 (realloc): Likewise.
12522 (malloc_fork_prepare): Likewise.
12523 (malloc_fork_parent): Likewise.
12524 (malloc_fork_child): Likewise.
12525 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12526 (_svcauth_des): Likewise.
12527 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12528 * inet/inet_net.c (inet_network): Likewise.
12529 * inet/inet_netof.c (inet_netof): Likewise.
12530 * inet/rcmd.c (__validuser2_sa): Likewise.
12531 * io/fts.c (fts_open): Likewise.
12532 (fts_load): Likewise.
12533 (fts_close): Likewise.
12534 (fts_read): Likewise.
12535 (fts_children): Likewise.
12536 (fts_build): Likewise.
12537 (fts_stat): Likewise.
12538 (fts_sort): Likewise.
12539 (fts_alloc): Likewise.
12540 (fts_lfree): Likewise.
12541 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12542 (_IO_file_xsgetn): Likewise.
12543 (_IO_file_xsgetn_mmap): Likewise.
12544 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12545 (_IO_cookie_write): Likewise.
12546 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12547 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12548 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12549 * malloc/obstack.c (_obstack_begin): Likewise.
12550 (_obstack_begin_1): Likewise.
12551 (_obstack_newchunk): Likewise.
12552 (_obstack_allocated_p): Likewise.
12553 (obstack_free): Likewise.
12554 (_obstack_memory_used): Likewise.
12555 * misc/getttyent.c (getttynam): Likewise.
12556 (getttyent): Likewise.
12557 (skip): Likewise.
12558 (value): Likewise.
12559 * misc/getusershell.c (initshells): Likewise.
12560 * misc/syslog.c (__vsyslog_chk): Likewise.
12561 * misc/ttyslot.c (ttyslot): Likewise.
12562 * nis/nis_hash.c (__nis_hash): Likewise.
12563 * posix/fnmatch_loop.c (FCT): Likewise.
12564 * posix/getconf.c (print_all): Likewise.
12565 (main): Likewise.
12566 * posix/getopt.c (exchange): Likewise.
12567 * posix/glob.c (globfree): Likewise.
12568 (prefix_array): Likewise.
12569 (__glob_pattern_type): Likewise.
12570 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12571 (NS_GET32): Likewise.
12572 (NS_PUT16): Likewise.
12573 (NS_PUT32): Likewise.
12574 * resolv/gethnamaddr.c (getanswer): Likewise.
12575 (gethostbyname2): Likewise.
12576 (gethostbyaddr): Likewise.
12577 (_gethtent): Likewise.
12578 (_gethtbyname2): Likewise.
12579 (_gethtbyaddr): Likewise.
12580 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12581 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12582 * resolv/res_init.c (__res_vinit): Likewise.
12583 (net_mask): Likewise.
12584 * resolv/res_mkquery.c (outchar): Likewise.
12585 (PRINT): Likewise.
12586 * stdio-common/printf_fp.c (outchar): Likewise.
12587 (PRINT): Likewise.
12588 * stdio-common/printf_fphex.c (outchar): Likewise.
12589 (PRINT): Likewise.
12590 * stdio-common/printf_size.c (outchar): Likewise.
12591 (PRINT): Likewise.
12592 * stdio-common/test_rdwr.c (main): Likewise.
12593 * stdio-common/tfformat.c (matches): Likewise.
12594 * stdio-common/vfprintf.c (outchar): Likewise.
12595 (printf_unknown): Likewise.
12596 (buffered_vfprintf): Likewise.
12597 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12598 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12599 (ReadFile): Likewise.
12600 * stdlib/qsort.c (SWAP): Likewise.
12601 (_quicksort): Likewise.
12602 * stdlib/setenv.c (__add_to_environ): Likewise.
12603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12604 * stdlib/strtol_l.c (__strtol_l): Likewise.
12605 * stdlib/tst-strtod.c (main): Likewise.
12606 * stdlib/tst-strtol.c (main): Likewise.
12607 * stdlib/tst-strtoll.c (main): Likewise.
12608 * string/bits/string2.h (__strcmp_cc): Likewise.
12609 (__strcmp_cg): Likewise.
12610 (__strcspn_c1): Likewise.
12611 (__strcspn_c2): Likewise.
12612 (__strcspn_c3): Likewise.
12613 (__strspn_c1): Likewise.
12614 (__strspn_c2): Likewise.
12615 (__strspn_c3): Likewise.
12616 (__strsep_1c): Likewise.
12617 (__strsep_2c): Likewise.
12618 (__strsep_3c): Likewise.
12619 * string/memccpy.c (__memccpy): Likewise.
12620 * string/stpcpy.c (__stpcpy): Likewise.
12621 * string/strcmp.c (strcmp): Likewise.
12622 * string/strrchr.c (strrchr): Likewise.
12623 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12624 Likewise.
12625 * sysdeps/mach/hurd/getcwd.c
12626 (_hurd_canonicalize_directory_name_internal): Likewise.
12627 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12628 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12629 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12630 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12631 Likewise, in both definitions.
12632 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12633 definitions.
12634 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12635 64] (__bswap_64): Likewise.
12636 * time/test_time.c (main): Likewise.
12637 * time/tzfile.c (__tzfile_read): Likewise.
12638 (__tzfile_compute): Likewise.
12639 * time/tzset.c (__tzset_parse_tz): Likewise.
12640 (tzset_internal): Likewise.
12641 (compute_change): Likewise.
12642 * wcsmbs/wcscat.c (__wcscat): Likewise.
12643 * wcsmbs/wcschr.c (wcschr): Likewise.
12644 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12645 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12646 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12647 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12648 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12649 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12650 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12651 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12652 * wcsmbs/wmemset.c (wmemset): Likewise.
12653
9e54314b
JM
126542013-06-06 Joseph Myers <joseph@codesourcery.com>
12655
12656 * scripts/config.guess: Update to version 2013-05-16.
12657 * scripts/config.sub: Update to version 2013-04-24.
12658 * scripts/install-sh: Update to version 2011-11-20.07.
12659 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12660 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12661
350635a5
OB
126622013-06-06 Ondřej Bílka <neleai@seznam.cz>
12663
12664 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12665 * elf/sln.c: Likewise.
12666 * hurd/hurd/ioctl.h: Likewise.
12667 * hurd/hurdmalloc.c: Likewise.
12668 * hurd/xattr.c: Likewise.
12669 * include/shlib-compat.h: Likewise.
12670 * inet/ruserpass.c: Likewise.
12671 * libio/iofgets_u.c: Likewise.
12672 * libio/iofgetws_u.c: Likewise.
12673 * locale/programs/ld-identification.c: Likewise.
12674 * locale/programs/ld-time.c: Likewise.
12675 * mach/msg-destroy.c: Likewise.
12676 * nss/nss_files/files-netgrp.c: Likewise.
12677 * resolv/res_data.c: Likewise.
12678 * soft-fp/op-1.h: Likewise.
12679 * soft-fp/op-2.h: Likewise.
12680 * soft-fp/op-4.h: Likewise.
12681 * soft-fp/op-common.h: Likewise.
12682 * stdio-common/printf_fphex.c: Likewise.
12683 * stdlib/strtod_l.c: Likewise.
12684 * sunrpc/rpc/clnt.h: Likewise.
12685 * sysdeps/generic/framestate.c: Likewise.
12686 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12687 * sysdeps/i386/bsd-setjmp.S: Likewise.
12688 * sysdeps/i386/__longjmp.S: Likewise.
12689 * sysdeps/i386/setjmp.S: Likewise.
12690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12708 * sysdeps/ieee754/support.c: Likewise.
12709 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12710 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12711 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12712 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12713 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12714 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12715 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12716 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12717 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12718 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12719 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12720 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12722 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12723 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12724 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12725 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12727
44a988af
OB
127282013-06-05 Ondřej Bílka <neleai@seznam.cz>
12729
25506f09 12730 * posix/transbug.c: Remove executable mode.
44a988af 12731
9c84384c
JM
127322013-06-05 Joseph Myers <joseph@codesourcery.com>
12733
12734 * crypt/speeds.c: Remove trailing whitespace.
12735 * dlfcn/default.c: Likewise.
12736 * elf/ifuncdep2.c: Likewise.
12737 * elf/ifuncmain1.c: Likewise.
12738 * elf/ifuncmain1vis.c: Likewise.
12739 * elf/testobj.h: Likewise.
12740 * elf/tst-stackguard1.c: Likewise.
12741 * gmon/sys/gmon.h: Likewise.
12742 * hurd/hurdmsg.c: Likewise.
12743 * hurd/new-fd.c: Likewise.
12744 * hurd/ports-get.c: Likewise.
12745 * iconvdata/ibm1008_420.c: Likewise.
12746 * inet/tst-getni1.c: Likewise.
12747 * inet/tst-getni2.c: Likewise.
12748 * libio/ioungetc.c: Likewise.
12749 * libio/wfiledoalloc.c: Likewise.
12750 * manual/libm-err-tab.pl: Likewise.
12751 * math/w_dremf.c: Likewise.
12752 * misc/ftruncate.c: Likewise.
12753 * posix/bug-glob2.c: Likewise.
12754 * posix/tst-pcre.c: Likewise.
12755 * posix/wait4.c: Likewise.
12756 * resolv/README: Likewise.
12757 * resolv/res_debug.h: Likewise.
12758 * resolv/tst-inet_ntop.c: Likewise.
12759 * setjmp/bug269-setjmp.c: Likewise.
12760 * soft-fp/extended.h: Likewise.
12761 * soft-fp/op-1.h: Likewise.
12762 * soft-fp/op-2.h: Likewise.
12763 * soft-fp/op-4.h: Likewise.
12764 * soft-fp/op-8.h: Likewise.
12765 * soft-fp/testit.c: Likewise.
12766 * stdio-common/bug16.c: Likewise.
12767 * stdlib/random.c: Likewise.
12768 * sunrpc/rpcsvc/rquota.x: Likewise.
12769 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12774 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12776 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12777 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12778 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12779 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12798 * sysdeps/ieee754/s_lib_version.c: Likewise.
12799 * sysdeps/mach/hurd/check_fds.c: Likewise.
12800 * sysdeps/mach/hurd/getsockname.c: Likewise.
12801 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12802 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12803 * sysdeps/powerpc/bits/link.h: Likewise.
12804 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12805 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12806 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12807 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12808 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12809 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12810 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12811 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12812 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12813 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12814 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12815 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12816 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12817 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12818 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12819 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12822 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12823 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12824 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12825 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12827 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12828 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12829 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12831 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12832 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12837 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12838 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12839 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12840 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12841 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12842 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12843 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12844 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12845 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12846 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12847 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12848 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12849 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12850 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12851 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12852 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12853 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12856 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12857 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12858 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12859 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12860 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12861 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12865 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12866 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12867 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12868 * sysdeps/powerpc/sysdep.h: Likewise.
12869 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12870 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12871 * sysdeps/sh/dl-trampoline.S: Likewise.
12872 * sysdeps/sh/memset.S: Likewise.
12873 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12874 * sysdeps/sh/strlen.S: Likewise.
12875 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12876 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12877 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12878 * sysdeps/sparc/sparc32/rem.S: Likewise.
12879 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12880 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12881 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12882 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12883 * sysdeps/sparc/sparc32/urem.S: Likewise.
12884 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12885 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12886 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12887 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12888 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12889 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12890 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12891 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12892 * sysdeps/unix/bsd/times.c: Likewise.
12893 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12894 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12898 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12899 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12900 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12901 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12902 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12903 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12904 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12905 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12906 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12907 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12908 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12909 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12910 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12911 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12912 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12913 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12914 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12916 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12917 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12918 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12919 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12920 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12921 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12922 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12923 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12924 * sysdeps/x86_64/strcspn.S: Likewise.
12925
869378a5
RA
129262013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12927
12928 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12929 generated file. Regenerate properly from gen-translit.pl.
12930 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12931 locale/C-translit.h.
12932
840e2943
AS
129332013-06-05 Andreas Schwab <schwab@suse.de>
12934
12935 [BZ #15100]
12936 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12937 week as 6 instead of -1.
12938 * time/tst-strptime.c (day_tests): Add test case.
12939
4c60cb0c
SP
129402013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12941
12942 * sysdeps/generic/math_private.h
12943 (libc_feholdexcept_setround_53bit): Replace with
12944 libc_feholdsetround_53bit.
12945 (libc_feupdateenv_53bit): Replace with
12946 libc_feresetround_53bit.
12947 (SET_RESTORE_ROUND_53BIT): Adjust.
12948
d180203e
SP
129492013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12950
96df079a
SP
12951 * string/test-strchrnul.c: Add copyright header.
12952
d180203e
SP
12953 * posix/tst-getaddrinfo4.c: Increase test timeout.
12954
8b0ccb2d
CD
129552013-06-03 Carlos O'Donell <carlos@redhat.com>
12956
12957 [BZ #15536]
12958 * math/libm-test.inc (MAX_EXP): Remove
12959 (MIN_EXP): Define.
12960 (ulp): Use MIN_EXP - MANT_DIG.
12961 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12962
3b3c4d40
CD
129632013-05-31 Carlos O'Donell <carlos@redhat.com>
12964
12965 * po/be.po: Revert last change.
12966 * po/zh_CN.po: Likewise.
12967 * po/header.pot: Likewise.
12968
fab7ce3f
JM
129692013-05-31 Joseph Myers <joseph@codesourcery.com>
12970
12971 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12972 link-libc-deps to empty as target-specific variable.
12973 * Makerules (link-libc-args): New variable.
12974 (libc-for-link): Likewise.
12975 (link-libc-deps): Likewise.
12976 (lib%.so): Depend on $(link-libc-deps). Link with
12977 $(link-libc-args).
12978 (build-module): Link with $(link-libc-args).
12979 (build-module-asneeded): Likewise.
12980 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12981 list of objects.
12982 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12983 target-specific variable.
12984 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12985 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12986 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12987 libc.
12988 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12989 libc and ld.so.
12990 ($(objpfx)libpcprofile.so): Likewise.
12991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12992 libc_nonshared.a.
12993 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12994 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12995 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12996 $(link-libc-deps).
12997 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12998 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12999 * login/Makefile ($(objpfx)libutil.so): Likewise.
13000 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13001 * math/Makefile ($(objpfx)libm.so): Likewise.
13002 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13003 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13004 variable instead of depending directly on libc.
13005 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13006 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13007 $(link-libc-deps).
13008 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13009 libc.
13010 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13011 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13012 ($(objpfx)libanl.so): Likewise.
13013 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13014 ld.so.
13015 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13016 $(link-libc-deps).
13017 * sysdeps/i386/fpu/Makefile: Remove file.
13018 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13019 ($(objpfx)libm.so): Remove dependency on ld.so.
13020
eca5920c
PF
130212013-05-30 Patsy Franklin <pfrankli@redhat.com>
13022
13023 [BZ # 15553]
13024 * nis/yp_xdr.c (XDRMAXNAME): Define.
13025 (XDRMAXRECORD): Define.
13026 (xdr_domainname): Use XDRMAXNAME.
13027 (xdr_mapname): Likewise.
13028 (xdr_peername): Likewise.
13029 (xdr_keydat): Use XDRMAXRECORD.
13030 (xdr_valdat): Likewise.
13031
130322013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13033
13034 [BZ #14256]
13035 * manual/errno.texi (ESTALE): Update to account for more than
13036 just NFS file systems.
13037 * sysdeps/gnu/errlist.c: Regenerated.
13038
b9375348
SP
130392013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13040
13041 [BZ #15465]
13042 * elf/Makefile (tests): Add tst-null-argv.
13043 (modules-names): Add tst-null-argv-lib.
13044 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13045 (tst-null-argv-ENV): Set environment for tst-null-argv.
13046 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13047 (RTLD_PROGNAME): New macro.
13048 * elf/tst-null-argv.c: New test case.
13049 * elf/tst-null-argv-lib.c: Library for test case.
13050 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13051 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13052 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13053 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13054 * elf/dl-init.c (call_init): Likewise.
13055 (_dl_init): Likewise.
13056 * elf/dl-load.c (print_search_path): Likewise.
13057 (_dl_map_object): Likewise.
13058 * elf/dl-lookup.c (do_lookup_x): Likewise.
13059 (add_dependency): Likewise.
13060 (_dl_lookup_symbol_x): Likewise.
13061 (_dl_debug_bindings): Likewise.
13062 * elf/dl-open.c (_dl_show_scope): Likewise.
13063 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13064 * elf/dl-version.c (match_symbol): Likewise.
13065 (_dl_check_map_versions): Likewise.
13066 * elf/rtld.c (dl_main): Likewise.
13067 (print_unresolved): Use RTLD_PROGNAME.
13068 (print_missing_version): Likewise.
13069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13070 (elf_machine_rela): Likewise.
13071 * sysdeps/powerpc/powerpc32/dl-machine.c
13072 (__process_machine_rela): Likewise.
13073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13074 Likewise.
13075 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13076 Likewise.
13077 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13078 Likewise.
13079 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13081 Likewise.
13082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13083 Likewise.
13084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13085
8a9f20c8
CD
130862013-05-28 Carlos O'Donell <carlos@redhat.com>
13087
13088 * po/be.po: Add descriptive title.
13089 * po/zh_CN.po: Likewise.
13090 * po/header.pot: Likewise.
13091
0e60d68e
MF
130922013-05-28 Mike Frysinger <vapier@gentoo.org>
13093
13094 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13095 error message.
13096 (enlarge_archive): Likewise.
13097
56b672e9
BN
130982013-05-28 Ben North <ben@redfrontdoor.org>
13099
13100 * manual/arith.texi (frexp): It is the magnitude of the return
13101 value which lies in [0.5, 1), not the return value itself.
13102
5e056687
AZ
131032013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13104
13105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13106
2b66ef5d
TS
131072013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13108
528c2405
TS
13109 * stdio-common/bug26.c (main): Correct fscanf template.
13110
07b4c13d
TS
13111 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13112 declare _dl_skip_args.
13113
ec9dd97c
TS
13114 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13115 Don't declare.
13116
2b66ef5d
TS
13117 * manual/platform.texi: Add missing @end deftypefun.
13118
4f8dfe27
JM
131192013-05-24 Joseph Myers <joseph@codesourcery.com>
13120
0323d086
JM
13121 [BZ #15529]
13122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13123 bit of mantissa of 2^16382.
13124 * math/libm-test.inc (hypot_test_data): Add more tests.
13125
dd4259b9
JM
13126 * math/libm-test.inc: Add drem and pow10 to list of tested
13127 functions.
13128 (pow10_test): New function.
13129 (drem_test): Likewise.
13130 (drem_test_tonearest): Likewise.
13131 (drem_test_towardzero): Likewise.
13132 (drem_test_downward): Likewise.
13133 (drem_test_upward): Likewise.
13134 (main): Call the new functions.
13135
4f8dfe27
JM
13136 * math/libm-test.inc (finite_test_data): Remove.
13137 (finite_test): Run tests from isfinite_test_data.
13138 (gamma_test_data): Remove.
13139 (gamma_test): Run tests from lgamma_test_data.
13140 * sysdeps/i386/fpu/libm-test-ulps: Update.
13141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13142
d116b7c4
AZ
131432013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13144
13145 * manual/platform.texi: Add PowerPC PPR function set documentation.
13146 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13147 implementation.
13148
e96e3767
CD
131492013-05-24 Carlos O'Donell <carlos@redhat.com>
13150
13151 * math/libm-test.inc (MAX_EXP): Define.
13152 (ULPDIFF): Define.
13153 (ulp): New function.
13154 (check_float_internal): Use ULPDIFF.
13155 (cpow_test): Disable failing test.
13156 (check_ulp): Test ulp() implemetnation.
13157 (main): Call check_ulp before starting tests.
13158
b679a606
JM
131592013-05-24 Joseph Myers <joseph@codesourcery.com>
13160
e8bdba36
JM
13161 * math/gen-libm-test.pl (generate_testfile): Do not handle
13162 START_DATA and END_DATA.
13163 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13164 END_DATA.
13165 (acos_tonearest_test_data): Likewise.
13166 (acos_towardzero_test_data): Likewise.
13167 (acos_downward_test_data): Likewise.
13168 (acos_upward_test_data): Likewise.
13169 (acosh_test_data): Likewise.
13170 (asin_test_data): Likewise.
13171 (asin_tonearest_test_data): Likewise.
13172 (asin_towardzero_test_data): Likewise.
13173 (asin_downward_test_data): Likewise.
13174 (asin_upward_test_data): Likewise.
13175 (asinh_test_data): Likewise.
13176 (atan_test_data): Likewise.
13177 (atanh_test_data): Likewise.
13178 (atan2_test_data): Likewise.
13179 (cabs_test_data): Likewise.
13180 (cacos_test_data): Likewise.
13181 (cacosh_test_data): Likewise.
13182 (carg_test_data): Likewise.
13183 (casin_test_data): Likewise.
13184 (casinh_test_data): Likewise.
13185 (catan_test_data): Likewise.
13186 (catanh_test_data): Likewise.
13187 (cbrt_test_data): Likewise.
13188 (ccos_test_data): Likewise.
13189 (ccosh_test_data): Likewise.
13190 (ceil_test_data): Likewise.
13191 (cexp_test_data): Likewise.
13192 (cimag_test_data): Likewise.
13193 (clog_test_data): Likewise.
13194 (clog10_test_data): Likewise.
13195 (conj_test_data): Likewise.
13196 (copysign_test_data): Likewise.
13197 (cos_test_data): Likewise.
13198 (cos_tonearest_test_data): Likewise.
13199 (cos_towardzero_test_data): Likewise.
13200 (cos_downward_test_data): Likewise.
13201 (cos_upward_test_data): Likewise.
13202 (cosh_test_data): Likewise.
13203 (cosh_tonearest_test_data): Likewise.
13204 (cosh_towardzero_test_data): Likewise.
13205 (cosh_downward_test_data): Likewise.
13206 (cosh_upward_test_data): Likewise.
13207 (cpow_test_data): Likewise.
13208 (cproj_test_data): Likewise.
13209 (creal_test_data): Likewise.
13210 (csin_test_data): Likewise.
13211 (csinh_test_data): Likewise.
13212 (csqrt_test_data): Likewise.
13213 (ctan_test_data): Likewise.
13214 (ctan_tonearest_test_data): Likewise.
13215 (ctan_towardzero_test_data): Likewise.
13216 (ctan_downward_test_data): Likewise.
13217 (ctan_upward_test_data): Likewise.
13218 (ctanh_test_data): Likewise.
13219 (ctanh_tonearest_test_data): Likewise.
13220 (ctanh_towardzero_test_data): Likewise.
13221 (ctanh_downward_test_data): Likewise.
13222 (ctanh_upward_test_data): Likewise.
13223 (erf_test_data): Likewise.
13224 (erfc_test_data): Likewise.
13225 (exp_test_data): Likewise.
13226 (exp_tonearest_test_data): Likewise.
13227 (exp_towardzero_test_data): Likewise.
13228 (exp_downward_test_data): Likewise.
13229 (exp_upward_test_data): Likewise.
13230 (exp10_test_data): Likewise.
13231 (exp2_test_data): Likewise.
13232 (expm1_test_data): Likewise.
13233 (fabs_test_data): Likewise.
13234 (fdim_test_data): Likewise.
13235 (finite_test_data): Likewise.
13236 (floor_test_data): Likewise.
13237 (fma_test_data): Likewise.
13238 (fma_towardzero_test_data): Likewise.
13239 (fma_downward_test_data): Likewise.
13240 (fma_upward_test_data): Likewise.
13241 (fmax_test_data): Likewise.
13242 (fmin_test_data): Likewise.
13243 (fmod_test_data): Likewise.
13244 (fpclassify_test_data): Likewise.
13245 (frexp_test_data): Likewise.
13246 (gamma_test_data): Likewise.
13247 (hypot_test_data): Likewise.
13248 (ilogb_test_data): Likewise.
13249 (isfinite_test_data): Likewise.
13250 (isgreater_test_data): Likewise.
13251 (isgreaterequal_test_data): Likewise.
13252 (isinf_test_data): Likewise.
13253 (isless_test_data): Likewise.
13254 (islessequal_test_data): Likewise.
13255 (islessgreater_test_data): Likewise.
13256 (isnan_test_data): Likewise.
13257 (isnormal_test_data): Likewise.
13258 (issignaling_test_data): Likewise.
13259 (isunordered_test_data): Likewise.
13260 (j0_test_data): Likewise.
13261 (j1_test_data): Likewise.
13262 (jn_test_data): Likewise.
13263 (ldexp_test_data): Likewise.
13264 (lgamma_test_data): Likewise.
13265 (lrint_test_data): Likewise.
13266 (lrint_tonearest_test_data): Likewise.
13267 (lrint_towardzero_test_data): Likewise.
13268 (lrint_downward_test_data): Likewise.
13269 (lrint_upward_test_data): Likewise.
13270 (llrint_test_data): Likewise.
13271 (llrint_tonearest_test_data): Likewise.
13272 (llrint_towardzero_test_data): Likewise.
13273 (llrint_downward_test_data): Likewise.
13274 (llrint_upward_test_data): Likewise.
13275 (log_test_data): Likewise.
13276 (log10_test_data): Likewise.
13277 (log1p_test_data): Likewise.
13278 (log2_test_data): Likewise.
13279 (logb_test_data): Likewise.
13280 (logb_downward_test_data): Likewise.
13281 (lround_test_data): Likewise.
13282 (llround_test_data): Likewise.
13283 (modf_test_data): Likewise.
13284 (nearbyint_test_data): Likewise.
13285 (nextafter_test_data): Likewise.
13286 (nexttoward_test_data): Likewise.
13287 (pow_test_data): Likewise.
13288 (pow_tonearest_test_data): Likewise.
13289 (pow_towardzero_test_data): Likewise.
13290 (pow_downward_test_data): Likewise.
13291 (pow_upward_test_data): Likewise.
13292 (remainder_test_data): Likewise.
13293 (remainder_tonearest_test_data): Likewise.
13294 (remainder_towardzero_test_data): Likewise.
13295 (remainder_downward_test_data): Likewise.
13296 (remainder_upward_test_data): Likewise.
13297 (remquo_test_data): Likewise.
13298 (rint_test_data): Likewise.
13299 (rint_tonearest_test_data): Likewise.
13300 (rint_towardzero_test_data): Likewise.
13301 (rint_downward_test_data): Likewise.
13302 (rint_upward_test_data): Likewise.
13303 (round_test_data): Likewise.
13304 (scalb_test_data): Likewise.
13305 (scalbn_test_data): Likewise.
13306 (scalbln_test_data): Likewise.
13307 (signbit_test_data): Likewise.
13308 (sin_test_data): Likewise.
13309 (sin_tonearest_test_data): Likewise.
13310 (sin_towardzero_test_data): Likewise.
13311 (sin_downward_test_data): Likewise.
13312 (sin_upward_test_data): Likewise.
13313 (sincos_test_data): Likewise.
13314 (sinh_test_data): Likewise.
13315 (sinh_tonearest_test_data): Likewise.
13316 (sinh_towardzero_test_data): Likewise.
13317 (sinh_downward_test_data): Likewise.
13318 (sinh_upward_test_data): Likewise.
13319 (sqrt_test_data): Likewise.
13320 (tan_test_data): Likewise.
13321 (tan_tonearest_test_data): Likewise.
13322 (tan_towardzero_test_data): Likewise.
13323 (tan_downward_test_data): Likewise.
13324 (tan_upward_test_data): Likewise.
13325 (tanh_test_data): Likewise.
13326 (tgamma_test_data): Likewise.
13327 (trunc_test_data): Likewise.
13328 (y0_test_data): Likewise.
13329 (y1_test_data): Likewise.
13330 (yn_test_data): Likewise.
13331 (significand_test_data): Likewise.
13332
b679a606
JM
13333 * math/gen-libm-test.pl (@functions): Remove variable.
13334 (generate_testfile): Don't handle START and END lines.
13335 * math/libm-test.inc (START): New macro.
13336 (END): Likewise.
13337 (END_COMPLEX): Likewise.
13338 (acos_test): Use END macro without arguments.
13339 (acos_test_tonearest): Likewise.
13340 (acos_test_towardzero): Likewise.
13341 (acos_test_downward): Likewise.
13342 (acos_test_upward): Likewise.
13343 (acosh_test): Likewise.
13344 (asin_test): Likewise.
13345 (asin_test_tonearest): Likewise.
13346 (asin_test_towardzero): Likewise.
13347 (asin_test_downward): Likewise.
13348 (asin_test_upward): Likewise.
13349 (asinh_test): Likewise.
13350 (atan_test): Likewise.
13351 (atanh_test): Likewise.
13352 (atan2_test): Likewise.
13353 (cabs_test): Likewise.
13354 (cacos_test): Use END_COMPLEX macro without arguments.
13355 (cacosh_test): Likewise.
13356 (carg_test): Use END macro without arguments.
13357 (casin_test): Use END_COMPLEX macro without arguments.
13358 (casinh_test): Likewise.
13359 (catan_test): Likewise.
13360 (catanh_test): Likewise.
13361 (cbrt_test): Use END macro without arguments.
13362 (ccos_test): Use END_COMPLEX macro without arguments.
13363 (ccosh_test): Likewise.
13364 (ceil_test): Use END macro without arguments.
13365 (cexp_test): Use END_COMPLEX macro without arguments.
13366 (cimag_test): Use END macro without arguments.
13367 (clog_test): Use END_COMPLEX macro without arguments.
13368 (clog10_test): Likewise.
13369 (conj_test): Likewise.
13370 (copysign_test): Use END macro without arguments.
13371 (cos_test): Likewise.
13372 (cos_test_tonearest): Likewise.
13373 (cos_test_towardzero): Likewise.
13374 (cos_test_downward): Likewise.
13375 (cos_test_upward): Likewise.
13376 (cosh_test): Likewise.
13377 (cosh_test_tonearest): Likewise.
13378 (cosh_test_towardzero): Likewise.
13379 (cosh_test_downward): Likewise.
13380 (cosh_test_upward): Likewise.
13381 (cpow_test): Use END_COMPLEX macro without arguments.
13382 (cproj_test): Likewise.
13383 (creal_test): Use END macro without arguments.
13384 (csin_test): Use END_COMPLEX macro without arguments.
13385 (csinh_test): Likewise.
13386 (csqrt_test): Likewise.
13387 (ctan_test): Likewise.
13388 (ctan_test_tonearest): Likewise.
13389 (ctan_test_towardzero): Likewise.
13390 (ctan_test_downward): Likewise.
13391 (ctan_test_upward): Likewise.
13392 (ctanh_test): Likewise.
13393 (ctanh_test_tonearest): Likewise.
13394 (ctanh_test_towardzero): Likewise.
13395 (ctanh_test_downward): Likewise.
13396 (ctanh_test_upward): Likewise.
13397 (erf_test): Use END macro without arguments.
13398 (erfc_test): Likewise.
13399 (exp_test): Likewise.
13400 (exp_test_tonearest): Likewise.
13401 (exp_test_towardzero): Likewise.
13402 (exp_test_downward): Likewise.
13403 (exp_test_upward): Likewise.
13404 (exp10_test): Likewise.
13405 (exp2_test): Likewise.
13406 (expm1_test): Likewise.
13407 (fabs_test): Likewise.
13408 (fdim_test): Likewise.
13409 (finite_test): Likewise.
13410 (floor_test): Likewise.
13411 (fma_test): Likewise.
13412 (fma_test_towardzero): Likewise.
13413 (fma_test_downward): Likewise.
13414 (fma_test_upward): Likewise.
13415 (fmax_test): Likewise.
13416 (fmin_test): Likewise.
13417 (fmod_test): Likewise.
13418 (fpclassify_test): Likewise.
13419 (frexp_test): Likewise.
13420 (gamma_test): Likewise.
13421 (hypot_test): Likewise.
13422 (ilogb_test): Likewise.
13423 (isfinite_test): Likewise.
13424 (isgreater_test): Likewise.
13425 (isgreaterequal_test): Likewise.
13426 (isinf_test): Likewise.
13427 (isless_test): Likewise.
13428 (islessequal_test): Likewise.
13429 (islessgreater_test): Likewise.
13430 (isnan_test): Likewise.
13431 (isnormal_test): Likewise.
13432 (issignaling_test): Likewise.
13433 (isunordered_test): Likewise.
13434 (j0_test): Likewise.
13435 (j1_test): Likewise.
13436 (jn_test): Likewise.
13437 (ldexp_test): Likewise.
13438 (lgamma_test): Likewise.
13439 (lrint_test): Likewise.
13440 (lrint_test_tonearest): Likewise.
13441 (lrint_test_towardzero): Likewise.
13442 (lrint_test_downward): Likewise.
13443 (lrint_test_upward): Likewise.
13444 (llrint_test): Likewise.
13445 (llrint_test_tonearest): Likewise.
13446 (llrint_test_towardzero): Likewise.
13447 (llrint_test_downward): Likewise.
13448 (llrint_test_upward): Likewise.
13449 (log_test): Likewise.
13450 (log10_test): Likewise.
13451 (log1p_test): Likewise.
13452 (log2_test): Likewise.
13453 (logb_test): Likewise.
13454 (logb_test_downward): Likewise.
13455 (lround_test): Likewise.
13456 (llround_test): Likewise.
13457 (modf_test): Likewise.
13458 (nearbyint_test): Likewise.
13459 (nextafter_test): Likewise.
13460 (nexttoward_test): Likewise.
13461 (pow_test): Likewise.
13462 (pow_test_tonearest): Likewise.
13463 (pow_test_towardzero): Likewise.
13464 (pow_test_downward): Likewise.
13465 (pow_test_upward): Likewise.
13466 (remainder_test): Likewise.
13467 (remainder_test_tonearest): Likewise.
13468 (remainder_test_towardzero): Likewise.
13469 (remainder_test_downward): Likewise.
13470 (remainder_test_upward): Likewise.
13471 (remquo_test): Likewise.
13472 (rint_test): Likewise.
13473 (rint_test_tonearest): Likewise.
13474 (rint_test_towardzero): Likewise.
13475 (rint_test_downward): Likewise.
13476 (rint_test_upward): Likewise.
13477 (round_test): Likewise.
13478 (scalb_test): Likewise.
13479 (scalbn_test): Likewise.
13480 (scalbln_test): Likewise.
13481 (signbit_test): Likewise.
13482 (sin_test): Likewise.
13483 (sin_test_tonearest): Likewise.
13484 (sin_test_towardzero): Likewise.
13485 (sin_test_downward): Likewise.
13486 (sin_test_upward): Likewise.
13487 (sincos_test): Likewise.
13488 (sinh_test): Likewise.
13489 (sinh_test_tonearest): Likewise.
13490 (sinh_test_towardzero): Likewise.
13491 (sinh_test_downward): Likewise.
13492 (sinh_test_upward): Likewise.
13493 (sqrt_test): Likewise.
13494 (tan_test): Likewise.
13495 (tan_test_tonearest): Likewise.
13496 (tan_test_towardzero): Likewise.
13497 (tan_test_downward): Likewise.
13498 (tan_test_upward): Likewise.
13499 (tanh_test): Likewise.
13500 (tgamma_test): Likewise.
13501 (trunc_test): Likewise.
13502 (y0_test): Likewise.
13503 (y1_test): Likewise.
13504 (yn_test): Likewise.
13505 (significand_test): Likewise.
13506
bae143d2
OB
135072013-05-24 Ondřej Bílka <neleai@seznam.cz>
13508
13509 [BZ #15381]
13510 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13511
9323d39b
EM
135122013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13513
d4ea44a0 13514 [BZ #14894]
9323d39b
EM
13515 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13516 __ppc_mdoio and __ppc_mdoom.
13517 * manual/platform.texi: Document new functions __ppc_yield,
13518 __ppc_mdoio and __ppc_mdoom.
13519
13e23af7
CD
135202013-05-22 Carlos O'Donell <carlos@redhat.com>
13521
13522 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13523 (main): Mention "tls" pseudo-hwcap is legacy.
13524 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13525
351fe550
JM
135262013-05-22 Joseph Myers <joseph@codesourcery.com>
13527
13528 * math/gen-libm-test.pl (parse_args): Output only string of
13529 arguments as text for test name, not full call or descriptions of
13530 tests for extra outputs.
13531 (generate_testfile): Do not pass function name to parse_args.
13532 Generate this_func variable from START.
13533 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13534 field to arg_str.
13535 (struct test_ff_f_data): Likewise.
13536 (test_ff_f_data_nexttoward): Likewise.
13537 (struct test_fi_f_data): Likewise.
13538 (struct test_fl_f_data): Likewise.
13539 (struct test_if_f_data): Likewise.
13540 (struct test_fff_f_data): Likewise.
13541 (struct test_c_f_data): Likewise.
13542 (struct test_f_f1_data): Likewise. Remove field extra_name.
13543 (struct test_fF_f1_data): Likewise.
13544 (struct test_ffI_f1_data): Likewise.
13545 (struct test_c_c_data): Rename test_name field to arg_str.
13546 (struct test_cc_c_data): Likewise.
13547 (struct test_f_i_data): Likewise.
13548 (struct test_ff_i_data): Likewise.
13549 (struct test_f_l_data): Likewise.
13550 (struct test_f_L_data): Likewise.
13551 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13552 and extra2_name.
13553 (COMMON_TEST_SETUP): New macro.
13554 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13555 (COMMON_TEST_CLEANUP): Likewise.
13556 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13557 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13558 macros.
13559 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13560 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13561 macros.
13562 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13563 (RUN_TEST_fff_f): Take argument string. Call new setup and
13564 cleanup macros.
13565 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13566 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13567 macros.
13568 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13569 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13570 macros.
13571 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13572 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13573 cleanup macros.
13574 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13575 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13576 cleanup macros.
13577 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13578 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13579 cleanup macros.
13580 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13581 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13582 macros.
13583 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13584 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13585 macros.
13586 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13587 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13588 macros.
13589 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13590 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13591 cleanup macros.
13592 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13593 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13594 cleanup macros.
13595 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13596 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13597 macros.
13598 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13599 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13600 cleanup macros.
13601 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13602 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13603 macros.
13604 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13605 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13606 macros.
13607 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13608 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13609 cleanup macros.
13610 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13611
85118d4d
EBM
136122013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13613
13614 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13615 to _sifields.sigfault.
13616 (si_addr_lsb): Define new macro.
13617 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13619 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13620
7a44c18f
CD
136212013-05-03 Carlos O'Donell <carlos at redhat.com>
13622
13623 [BZ #15441]
13624 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13625 returns -1.
13626 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13627 null return -1.
13628 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13629 loading the domain.
13630
b50a7181
JM
136312013-05-22 Joseph Myers <joseph@codesourcery.com>
13632
13633 * math/gen-libm-test.pl (parse_args): Do not include expected
13634 result in test name.
13635 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13636 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13637 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13638 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13639 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13641
051063c8
SP
136422013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13643
3ce9e010
SP
13644 * benchtests/Makefile: Sort function entries.
13645
051063c8
SP
13646 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13647 tanh, asinh, acosh, atanh.
13648 * benchtests/acos-inputs: New file.
13649 * benchtests/acosh-inputs: New file.
13650 * benchtests/asin-inputs: New file.
13651 * benchtests/asinh-inputs: New file.
13652 * benchtests/atanh-inputs: New file.
13653 * benchtests/cosh-inputs: New file.
13654 * benchtests/log-inputs: New file.
13655 * benchtests/sinh-inputs: New file.
13656 * benchtests/tanh-inputs: New file.
13657
47c22455
DL
136582013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13659
13660 [BZ #15339]
13661 * posix/tst-getaddrinfo4.c: New test.
13662 * posix/Makefile (tests): Add it.
13663
3d04f5db
SP
136642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13665
13666 [BZ #15339]
13667 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13668 when no services were used.
13669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13670 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13671
d5dd6189
AS
136722013-05-21 Andreas Schwab <schwab@suse.de>
13673
13674 [BZ #15014]
13675 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13676 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13677 successful.
13678 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13679 redundant variable declarations and reallocation of buffer when
13680 parsing as IPv6 address. Always set NSS status when called from
13681 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13682 buffer too small. Correct computation of needed size.
13683 * nss/Makefile (tests): Add test-digits-dots.
13684 * nss/test-digits-dots.c: New test.
13685
fef94eab
SP
136862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13687
13688 * benchtests/Makefile: Remove instructions for adding
13689 benchmark tests.
13690 * benchtests/README: New file to explain how to execute and
13691 enhance the benchmark tests.
13692
e39adf43
AS
136932013-05-21 Andreas Schwab <schwab@suse.de>
13694
13695 [BZ #15493]
13696 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13697 * setjmp/tst-sigsetjmp.c: New test.
13698
b2b671b6
OB
136992013-05-20 Ondřej Bílka <neleai@seznam.cz>
13700
13701 * sysdeps/x86_64/memset.S (memset): New implementation.
13702 (__bzero): Likewise.
13703 (__memset_tail): New function.
13704
2d48b41c
OB
137052013-05-20 Ondřej Bílka <neleai@seznam.cz>
13706
13707 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13708 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13709 __memcpy_sse2_unaligned ifunc selection.
13710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13711 Add memcpy-sse2-unaligned.S.
13712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13713 Add: __memcpy_sse2_unaligned.
13714
f16cc3eb
JM
137152013-05-19 Joseph Myers <joseph@codesourcery.com>
13716
3e694268
JM
13717 [BZ #15490]
13718 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13719 math_force_eval before restoring floating-point envrionment.
13720 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13722 Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13724 <math_private.h>.
13725 (__nearbyintl): Use math_force_eval before restoring
13726 floating-point environment.
13727 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13728
db62a907
JM
13729 * math/gen-libm-test.pl (special_functions): Remove.
13730 (parse_args): Don't handle TEST_extra. Handle functions with no
13731 return value.
13732 * math/libm-test.inc (struct test_sincos_data): Replace with
13733 struct test_fFF_11_data.
13734 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13735 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13736 (sincos_test_data): Change element type to struct
13737 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13738 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13739 RUN_TEST_LOOP_sincos.
13740 * math/README.libm-test: Don't mention special handling of
13741 individual functions.
13742 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13748
f16cc3eb
JM
13749 * math/gen-libm-test.pl (get_variable): Remove function.
13750 (parse_args): Don't show pointer parameters to call in test
13751 names. Use "extra output N" in test names for extra outputs
13752 rather than naming variables.
13753
3779b5b6
JM
137542013-05-18 Joseph Myers <joseph@codesourcery.com>
13755
2ee094ff
JM
13756 [BZ #15488]
13757 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13758 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13759 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13760 double tests.
13761 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13762 disable.
13763 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13764 check_long_double.
13765
3779b5b6
JM
13766 * math/gen-libm-test.pl (@tests): Remove variable.
13767 ($count): Likewise.
13768 (new_test): Remove function.
13769 (show_exceptions): New function.
13770 (special_functions): Use show_exceptions instead of new_test.
13771 (parse_args): Likewise.
13772 (generate_testfile): Pass only function name in generated call to
13773 print_max_error or print_complex_max_error.
13774 (get_ulps): Do not handle complex tests specially.
13775 (output_test): Rename to ...
13776 (get_all_ulps_for_test): ... this. Return a string rather than
13777 printing to a file. Require ulps to be present.
13778 (output_ulps): Generate arrays rather than #defines.
13779 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13780 (struct ulp_data): New type.
13781 (BUILD_COMPLEX_ULP): Remove macro.
13782 (compare_ulp_data): New function.
13783 (find_ulps): Likewise.
13784 (find_test_ulps): Likewise.
13785 (find_function_ulps): Likewise.
13786 (find_complex_function_ulps): Likewise.
13787 (print_max_error): Determine allowed ulps using
13788 find_function_ulps.
13789 (print_complex_max_error): Determine allowed ulps using
13790 find_complex_function_ulps.
13791 (check_float_internal): Determine max ulps using find_test_ulps.
13792 (check_float): Do not take max_ulp parameter. Update call to
13793 check_float_internal.
13794 (check_complex): Likewise.
13795 (check_int): Do not take max_ulp parameter.
13796 (check_long): Likewise.
13797 (check_bool): Likewise.
13798 (check_longlong): Likewise.
13799 (struct test_f_f_data): Remove max_ulp field.
13800 (struct test_ff_f_data): Likewise.
13801 (struct test_ff_f_data_nexttoward): Likewise.
13802 (struct test_fi_f_data): Likewise.
13803 (struct test_fl_f_data): Likewise.
13804 (struct test_if_f_data): Likewise.
13805 (struct test_fff_f_data): Likewise.
13806 (struct test_c_f_data): Likewise.
13807 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13808 (struct test_fF_f1_data): Likewise.
13809 (struct test_ffI_f1_data): Likewise.
13810 (struct test_c_c_data): Remove max_ulp field.
13811 (struct test_cc_c_data): Likewise.
13812 (struct test_f_i_data): Likewise.
13813 (struct test_ff_i_data): Likewise.
13814 (struct test_f_l_data): Likewise.
13815 (struct test_f_L_data): Likewise.
13816 (struct test_sincos_data): Likewise.
13817 (RUN_TEST_f_f): Do not handle ulps.
13818 (RUN_TEST_LOOP_f_f): Likewise.
13819 (RUN_TEST_2_f): Likewise.
13820 (RUN_TEST_LOOP_2_f): Likewise.
13821 (RUN_TEST_fff_f): Likewise.
13822 (RUN_TEST_LOOP_fff_f): Likewise.
13823 (RUN_TEST_c_f): Likewise.
13824 (RUN_TEST_LOOP_c_f): Likewise.
13825 (RUN_TEST_f_f1): Likewise.
13826 (RUN_TEST_LOOP_f_f1): Likewise.
13827 (RUN_TEST_fF_f1): Likewise.
13828 (RUN_TEST_LOOP_fF_f1): Likewise.
13829 (RUN_TEST_fI_f1): Likewise.
13830 (RUN_TEST_LOOP_fI_f1): Likewise.
13831 (RUN_TEST_ffI_f1): Likewise.
13832 (RUN_TEST_LOOP_ffI_f1): Likewise.
13833 (RUN_TEST_c_c): Likewise.
13834 (RUN_TEST_LOOP_c_c): Likewise.
13835 (RUN_TEST_cc_c): Likewise.
13836 (RUN_TEST_LOOP_cc_c): Likewise.
13837 (RUN_TEST_f_i): Likewise.
13838 (RUN_TEST_LOOP_f_i): Likewise.
13839 (RUN_TEST_f_i_tg): Likewise.
13840 (RUN_TEST_LOOP_f_i_tg): Likewise.
13841 (RUN_TEST_ff_i_tg): Likewise.
13842 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13843 (RUN_TEST_f_b): Likewise.
13844 (RUN_TEST_LOOP_f_b): Likewise.
13845 (RUN_TEST_f_b_tg): Likewise.
13846 (RUN_TEST_LOOP_f_b_tg): Likewise.
13847 (RUN_TEST_f_l): Likewise.
13848 (RUN_TEST_LOOP_f_l): Likewise.
13849 (RUN_TEST_f_L): Likewise.
13850 (RUN_TEST_LOOP_f_L): Likewise.
13851 (RUN_TEST_sincos): Likewise.
13852 (RUN_TEST_LOOP_sincos): Likewise.
13853
8269107f
JM
138542013-05-17 Joseph Myers <joseph@codesourcery.com>
13855
bb38759d
JM
13856 [BZ #15480]
13857 [BZ #15485]
13858 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13859 main case of finite arguments, set rounding mode to FE_TONEAREST
13860 and discard exceptions.
13861 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13862 exceptions.
13863 (remainder_tonearest_test_data): New variable.
13864 (remainder_test_tonearest): New function.
13865 (remainder_towardzero_test_data): New variable.
13866 (remainder_test_towardzero): New function.
13867 (remainder_downward_test_data): New variable.
13868 (remainder_test_downward): New function.
13869 (remainder_upward_test_data): New variable.
13870 (remainder_test_upward): New function.
13871 (main): Call the new test functions.
13872
a00bdcf0
JM
13873 * math/libm-test.inc (struct test_f_f1_data): Remove field
13874 extra_init.
13875 (struct test_fF_f1_data): Likewise.
13876 (struct test_ffI_f1_data): Likewise.
13877 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13878 based on value of EXTRA_EXPECTED.
13879 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13880 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13881 EXTRA_VAR based on value of EXTRA_EXPECTED.
13882 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13883 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13884 EXTRA_VAR based on value of EXTRA_EXPECTED.
13885 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13886 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13887 EXTRA_VAR based on value of EXTRA_EXPECTED.
13888 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13889 * math/gen-libm-test.pl (parse_args): Don't output initializers
13890 for extra output values.
13891
de407f79
JM
13892 * math/libm-test.inc (check_int): Expect result to be exactly
13893 equal to expected value and do not handle ulps.
13894 (check_long): Likewise.
13895 (check_longlong): Likewise.
13896
8269107f
JM
13897 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13898 exceptions.
13899 (cimag_test_data): Likewise.
13900 (conj_test_data): Likewise.
13901 (copysign_test_data): Likewise.
13902 (cproj_test_data): Likewise.
13903 (creal_test_data): Likewise.
13904 (fabs_test_data): Likewise.
13905 (fdim_test_data): Likewise.
13906 (finite_test_data): Likewise.
13907 (floor_test_data): Likewise.
13908 (fmax_test_data): Likewise.
13909 (fmin_test_data): Likewise.
13910 (fmod_test_data): Likewise.
13911 (fpclassify_test_data): Likewise.
13912 (frexp_test_data): Likewise.
13913 (ilogb_test_data): Likewise.
13914 (isfinite_test_data): Likewise.
13915 (isgreater_test_data): Likewise.
13916 (isgreaterequal_test_data): Likewise.
13917 (isinf_test_data): Likewise.
13918 (isless_test_data): Likewise.
13919 (islessequal_test_data): Likewise.
13920 (islessgreater_test_data): Likewise.
13921 (isnan_test_data): Likewise.
13922 (isnormal_test_data): Likewise.
13923 (issignaling_test_data): Likewise.
13924 (isunordered_test_data): Likewise.
13925 (ldexp_test_data): Likewise.
13926 (lrint_test_data): Likewise.
13927 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13928 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13929 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13930 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13931 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13932 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13933 test input.
13934 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13935 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13936 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13937 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13938 that test input.
13939 (lrint_downward_test_data): Test for "inexact" exceptions.
13940 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13941 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13942 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13943 test input.
13944 (lrint_upward_test_data): Test for "inexact" exceptions.
13945 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13946 test input.
13947 (llrint_test_data): Test for "inexact" exceptions.
13948 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13949 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13950 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13951 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13952 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13953 (llrint_downward_test_data): Test for "inexact" exceptions.
13954 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13955 (llrint_upward_test_data): Test for "inexact" exceptions.
13956 (logb_test_data): Likewise.
13957 (logb_downward_test_data): Likewise.
13958 (nextafter_test_data): Likewise.
13959 (nexttoward_test_data): Likewise.
13960 (remainder_test_data): Likewise.
13961 (remquo_test_data): Likewise.
13962 (scalbn_test_data): Likewise.
13963 (scalbln_test_data): Likewise.
13964 (signbit_test_data): Likewise.
13965 (sqrt_test_data): Likewise.
13966 (significand_test_data): Likewise.
13967
48a18de1
SP
139682013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13969
13970 [BZ #15424]
13971 * benchtests/bench-modf.c (struct args): Mark arg0 as
13972 volatile.
13973 * scripts/bench.pl: Mark members of struct args as volatile.
13974
13d3b41a
AZ
139752013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13976
68191c1d 13977 [BZ # 15497]
13d3b41a
AZ
13978 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13979 negative infinity on POWER6 or lower.
13980 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13981
2848b105
MR
139822013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13983
13984 [BZ #15442]
13985 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13986 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13987 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13988 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13989 (_FP_SETQNAN): New macro.
13990 (_FP_SETQNAN_SEMIRAW): Likewise.
13991 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13992 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13993 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13994 (FP_EXTEND): Use _FP_FRAC_SNANP.
13995 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13996 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13997 into account.
13998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13999 New macro.
14000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14001 Likewise.
14002
323e5cb7
JM
140032013-05-16 Joseph Myers <joseph@codesourcery.com>
14004
c58b274f
JM
14005 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14006 with DIVIDE_BY_ZERO_EXCEPTION.
14007 (gamma_test_data): Likewise.
14008 (lgamma_test_data): Likewise.
14009 (log_test_data): Likewise.
14010 (log10_test_data): Likewise.
14011 (log2_test_data): Likewise.
14012 (tgamma_test_data): Likewise.
14013
0ab34904
JM
14014 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14015 (acos_test_tonearest): Likewise.
14016 (acos_test_towardzero): Likewise.
14017 (acos_test_downward): Likewise.
14018 (acos_test_upward): Likewise.
14019 (acosh_test): Likewise.
14020 (asin_test): Likewise.
14021 (asin_test_tonearest): Likewise.
14022 (asin_test_towardzero): Likewise.
14023 (asin_test_downward): Likewise.
14024 (asin_test_upward): Likewise.
14025 (asinh_test): Likewise.
14026 (atan_test): Likewise.
14027 (atanh_test): Likewise.
14028 (atan2_test): Likewise.
14029 (cabs_test): Likewise.
14030 (cacos_test): Likewise.
14031 (cacosh_test): Likewise.
14032 (casin_test): Likewise.
14033 (casinh_test): Likewise.
14034 (catan_test): Likewise.
14035 (catanh_test): Likewise.
14036 (cbrt_test): Likewise.
14037 (ccos_test): Likewise.
14038 (ccosh_test): Likewise.
14039 (cexp_test): Likewise.
14040 (clog_test): Likewise.
14041 (clog10_test): Likewise.
14042 (cos_test): Likewise.
14043 (cos_test_tonearest): Likewise.
14044 (cos_test_towardzero): Likewise.
14045 (cos_test_downward): Likewise.
14046 (cos_test_upward): Likewise.
14047 (cosh_test): Likewise.
14048 (cosh_test_tonearest): Likewise.
14049 (cosh_test_towardzero): Likewise.
14050 (cosh_test_downward): Likewise.
14051 (cosh_test_upward): Likewise.
14052 (cpow_test): Likewise.
14053 (csin_test): Likewise.
14054 (csinh_test): Likewise.
14055 (csqrt_test): Likewise.
14056 (ctan_test): Likewise.
14057 (ctan_test_tonearest): Likewise.
14058 (ctan_test_towardzero): Likewise.
14059 (ctan_test_downward): Likewise.
14060 (ctan_test_upward): Likewise.
14061 (ctanh_test): Likewise.
14062 (ctanh_test_tonearest): Likewise.
14063 (ctanh_test_towardzero): Likewise.
14064 (ctanh_test_downward): Likewise.
14065 (ctanh_test_upward): Likewise.
14066 (erf_test): Likewise.
14067 (erfc_test): Likewise.
14068 (exp_test): Likewise.
14069 (exp_test_tonearest): Likewise.
14070 (exp_test_towardzero): Likewise.
14071 (exp_test_downward): Likewise.
14072 (exp_test_upward): Likewise.
14073 (exp10_test): Likewise.
14074 (exp2_test): Likewise.
14075 (expm1_test): Likewise.
14076 (fmod_test): Likewise.
14077 (gamma_test): Likewise.
14078 (hypot_test): Likewise.
14079 (j0_test): Likewise.
14080 (j1_test): Likewise.
14081 (jn_test): Likewise.
14082 (lgamma_test): Likewise.
14083 (log_test): Likewise.
14084 (log10_test): Likewise.
14085 (log1p_test): Likewise.
14086 (log2_test): Likewise.
14087 (logb_test_downward): Likewise.
14088 (pow_test): Likewise.
14089 (pow_test_tonearest): Likewise.
14090 (pow_test_towardzero): Likewise.
14091 (pow_test_downward): Likewise.
14092 (pow_test_upward): Likewise.
14093 (remainder_test): Likewise.
14094 (remquo_test): Likewise.
14095 (sin_test): Likewise.
14096 (sin_test_tonearest): Likewise.
14097 (sin_test_towardzero): Likewise.
14098 (sin_test_downward): Likewise.
14099 (sin_test_upward): Likewise.
14100 (sincos_test): Likewise.
14101 (sinh_test): Likewise.
14102 (sinh_test_tonearest): Likewise.
14103 (sinh_test_towardzero): Likewise.
14104 (sinh_test_downward): Likewise.
14105 (sinh_test_upward): Likewise.
14106 (sqrt_test): Likewise.
14107 (tan_test): Likewise.
14108 (tan_test_tonearest): Likewise.
14109 (tan_test_towardzero): Likewise.
14110 (tan_test_downward): Likewise.
14111 (tan_test_upward): Likewise.
14112 (tanh_test): Likewise.
14113 (tgamma_test): Likewise.
14114 (y0_test): Likewise.
14115 (y1_test): Likewise.
14116 (yn_test): Likewise.
14117
323e5cb7
JM
14118 * math/gen-libm-test.pl (adjust_arg): Remove function.
14119 (special_function): Remove argument $in_func. Only handle
14120 generating output for tables of tests, not inside functions.
14121 (parse_args): Likewise.
14122 (generate_testfile): Remove variable $in_func. Update call to
14123 parse_args.
14124 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14125 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14126 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14127 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14128 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14129 (MAX_VALUE_INIT): Rename macro to max_value.
14130 (MIN_VALUE_INIT): Rename macro to min_value.
14131 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14132 (plus_zero): Remove variable.
14133 (minus_zero): Likewise.
14134 (plus_infty): Likewise.
14135 (minus_infty): Likewise.
14136 (qnan_value): Likewise.
14137 (max_value): Likewise.
14138 (min_value): Likewise.
14139 (min_subnorm_value): Likewise.
14140
e054f494
RA
141412013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14142
14143 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14144 uint64_t or uint32_t usage.
14145 * crypt/sha256-block.c: Likewise.
14146 * crypt/sha256-crypt.c: Likewise.
14147 * crypt/sha256.c: Likewise.
14148 * crypt/sha512-block.c: Likewise.
14149 * crypt/sha512-crypt.c: Likewise.
14150 * crypt/sha512.c: Likewise.
14151 * debug/backtrace-tst.c: Likewise.
14152 * debug/pcprofiledump.c: Likewise.
14153 * elf/cache.c: Likewise.
14154 * elf/dl-cache.c: Likewise.
14155 * elf/dl-misc.c: Likewise.
14156 * elf/dl-profile.c: Likewise.
14157 * elf/dl-support.c: Likewise.
14158 * elf/ldconfig.c: Likewise.
14159 * elf/sprof.c: Likewise.
14160 * iconv/dummy-repertoire.c: Likewise.
14161 * iconv/iconv_charmap.c: Likewise.
14162 * iconv/skeleton.c: Likewise.
14163 * iconvdata/8bit-generic.c: Likewise.
14164 * iconvdata/cp737.h: Likewise.
14165 * iconvdata/cp775.h: Likewise.
14166 * iconvdata/ibm1008.h: Likewise.
14167 * iconvdata/ibm1025.h: Likewise.
14168 * iconvdata/ibm1046.h: Likewise.
14169 * iconvdata/ibm1097.h: Likewise.
14170 * iconvdata/ibm1112.h: Likewise.
14171 * iconvdata/ibm1122.h: Likewise.
14172 * iconvdata/ibm1123.h: Likewise.
14173 * iconvdata/ibm1124.h: Likewise.
14174 * iconvdata/ibm1129.h: Likewise.
14175 * iconvdata/ibm1130.h: Likewise.
14176 * iconvdata/ibm1132.h: Likewise.
14177 * iconvdata/ibm1133.h: Likewise.
14178 * iconvdata/ibm1137.h: Likewise.
14179 * iconvdata/ibm1140.h: Likewise.
14180 * iconvdata/ibm1141.h: Likewise.
14181 * iconvdata/ibm1142.h: Likewise.
14182 * iconvdata/ibm1143.h: Likewise.
14183 * iconvdata/ibm1144.h: Likewise.
14184 * iconvdata/ibm1145.h: Likewise.
14185 * iconvdata/ibm1146.h: Likewise.
14186 * iconvdata/ibm1147.h: Likewise.
14187 * iconvdata/ibm1148.h: Likewise.
14188 * iconvdata/ibm1149.h: Likewise.
14189 * iconvdata/ibm1153.h: Likewise.
14190 * iconvdata/ibm1154.h: Likewise.
14191 * iconvdata/ibm1155.h: Likewise.
14192 * iconvdata/ibm1156.h: Likewise.
14193 * iconvdata/ibm1157.h: Likewise.
14194 * iconvdata/ibm1158.h: Likewise.
14195 * iconvdata/ibm1160.h: Likewise.
14196 * iconvdata/ibm1161.h: Likewise.
14197 * iconvdata/ibm1162.h: Likewise.
14198 * iconvdata/ibm1163.h: Likewise.
14199 * iconvdata/ibm1164.h: Likewise.
14200 * iconvdata/ibm1166.h: Likewise.
14201 * iconvdata/ibm1167.h: Likewise.
14202 * iconvdata/ibm12712.h: Likewise.
14203 * iconvdata/ibm1390.h: Likewise.
14204 * iconvdata/ibm1399.h: Likewise.
14205 * iconvdata/ibm16804.h: Likewise.
14206 * iconvdata/ibm4517.h: Likewise.
14207 * iconvdata/ibm4899.h: Likewise.
14208 * iconvdata/ibm4909.h: Likewise.
14209 * iconvdata/ibm4971.h: Likewise.
14210 * iconvdata/ibm5347.h: Likewise.
14211 * iconvdata/ibm803.h: Likewise.
14212 * iconvdata/ibm856.h: Likewise.
14213 * iconvdata/ibm901.h: Likewise.
14214 * iconvdata/ibm902.h: Likewise.
14215 * iconvdata/ibm9030.h: Likewise.
14216 * iconvdata/ibm9066.h: Likewise.
14217 * iconvdata/ibm921.h: Likewise.
14218 * iconvdata/ibm922.h: Likewise.
14219 * iconvdata/ibm9448.h: Likewise.
14220 * iconvdata/isiri-3342.h: Likewise.
14221 * iconvdata/jis0201.h: Likewise.
14222 * include/link.h: Likewise.
14223 * include/netdb.h: Likewise.
14224 * inet/check_native.c: Likewise.
14225 * inet/check_pf.c: Likewise.
14226 * inet/getipv4sourcefilter.c: Likewise.
14227 * inet/getnameinfo.c: Likewise.
14228 * inet/getsourcefilter.c: Likewise.
14229 * inet/htonl.c: Likewise.
14230 * inet/setipv4sourcefilter.c: Likewise.
14231 * inet/setsourcefilter.c: Likewise.
14232 * inet/test-inet6_opt.c: Likewise.
14233 * inet/tst-network.c: Likewise.
14234 * locale/C-collate.c: Likewise.
14235 * locale/C-ctype.c: Likewise.
14236 * locale/C-time.c: Likewise.
14237 * locale/C-translit.h: Likewise.
14238 * locale/loadarchive.c: Likewise.
14239 * locale/programs/3level.h: Likewise.
14240 * locale/programs/charmap.c: Likewise.
14241 * locale/programs/charmap.h: Likewise.
14242 * locale/programs/ld-address.c: Likewise.
14243 * locale/programs/ld-collate.c: Likewise.
14244 * locale/programs/ld-ctype.c: Likewise.
14245 * locale/programs/ld-identification.c: Likewise.
14246 * locale/programs/ld-measurement.c: Likewise.
14247 * locale/programs/ld-messages.c: Likewise.
14248 * locale/programs/ld-monetary.c: Likewise.
14249 * locale/programs/ld-name.c: Likewise.
14250 * locale/programs/ld-numeric.c: Likewise.
14251 * locale/programs/ld-paper.c: Likewise.
14252 * locale/programs/ld-telephone.c: Likewise.
14253 * locale/programs/ld-time.c: Likewise.
14254 * locale/programs/linereader.c: Likewise.
14255 * locale/programs/locale.c: Likewise.
14256 * locale/programs/locarchive.c: Likewise.
14257 * locale/programs/locfile.h: Likewise.
14258 * locale/programs/repertoire.c: Likewise.
14259 * locale/programs/simple-hash.c: Likewise.
14260 * locale/programs/simple-hash.h: Likewise.
14261 * malloc/memusage.c: Likewise.
14262 * malloc/memusagestat.c: Likewise.
14263 * nis/nis_defaults.c: Likewise.
14264 * nis/nis_hash.c: Likewise.
14265 * nis/nis_print.c: Likewise.
14266 * nis/nis_xdr.c: Likewise.
14267 * nscd/connections.c: Likewise.
14268 * nscd/hstcache.c: Likewise.
14269 * nscd/nscd_gethst_r.c: Likewise.
14270 * nscd/nscd_getserv_r.c: Likewise.
14271 * nscd/nscd_helper.c: Likewise.
14272 * nscd/servicescache.c: Likewise.
14273 * nss/makedb.c: Likewise.
14274 * nss/nss_db/db-XXX.c: Likewise.
14275 * nss/nss_db/db-initgroups.c: Likewise.
14276 * nss/nss_db/db-netgrp.c: Likewise.
14277 * nss/nss_files/files-network.c: Likewise.
14278 * nss/nss_files/files-parse.c: Likewise.
14279 * posix/bug-regex5.c: Likewise.
14280 * posix/fnmatch_loop.c: Likewise.
14281 * posix/regcomp.c: Likewise.
14282 * posix/regexec.c: Likewise.
14283 * posix/tst-rfc3484-2.c: Likewise.
14284 * posix/tst-rfc3484-3.c: Likewise.
14285 * posix/tst-rfc3484.c: Likewise.
14286 * resolv/nss_dns/dns-canon.c: Likewise.
14287 * resolv/nss_dns/dns-network.c: Likewise.
14288 * resolv/res_init.c: Likewise.
14289 * resolv/res_mkquery.c: Likewise.
14290 * resolv/tst-aton.c: Likewise.
14291 * stdlib/cxa_atexit.c: Likewise.
14292 * stdlib/cxa_finalize.c: Likewise.
14293 * stdlib/gen-fpioconst.c: Likewise.
14294 * stdlib/strtol_l.c: Likewise.
14295 * string/tst-endian.c: Likewise.
14296 * sunrpc/auth_des.c: Likewise.
14297 * sunrpc/clnt_udp.c: Likewise.
14298 * sunrpc/rtime.c: Likewise.
14299 * sunrpc/svcauth_des.c: Likewise.
14300 * sunrpc/xdr.c: Likewise.
14301 * sunrpc/xdr_intXX_t.c: Likewise.
14302 * sunrpc/xdr_rec.c: Likewise.
14303 * sysdeps/generic/ldconfig.h: Likewise.
14304 * sysdeps/generic/ldsodefs.h: Likewise.
14305 * sysdeps/generic/memusage.h: Likewise.
14306 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14307 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14308 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14312 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14316 * sysdeps/posix/getaddrinfo.c: Likewise.
14317 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14318 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14319 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14320 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14321 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14322 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14323 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14324 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14325 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14327 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14328 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14329 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14330 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14331 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14332 * sysdeps/x86_64/dl-tls.h: Likewise.
14333 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14334 * time/alt_digit.c: Likewise.
14335 * time/era.c: Likewise.
14336 * wcsmbs/tst-c16c32-1.c: Likewise.
14337
8c75f674
JM
143382013-05-16 Joseph Myers <joseph@codesourcery.com>
14339
14340 * math/libm-test.inc (struct test_sincos_data): New type.
14341 (RUN_TEST_LOOP_sincos): New macro.
14342 (sincos_test_data): New variable.
14343 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14344
e6e49e59
RH
143452013-05-16 Richard Henderson <rth@redhat.com>
14346
14347 * math/atest-exp2.c (LIMB64): New macro.
14348 (CONSTSZ): New macro.
14349 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14350 (hexdig): Move ...
14351 (print_mpn_fp): ... to function scope.
14352 (read_mpn_hex): Remove.
14353 (get_log2): Remove.
14354 (exp2_mpn): Use mp_log2.
14355 (main): Use mp_exp1.
14356
15c7c18d
JM
143572013-05-16 Joseph Myers <joseph@codesourcery.com>
14358
105a07df
JM
14359 * math/libm-test.inc: Remove comment about not testing "inexact"
14360 exceptions.
14361 (INEXACT_EXCEPTION): New macro.
14362 (NO_INEXACT_EXCEPTION): Likewise.
14363 (INVALID_EXCEPTION_OK): Update value.
14364 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14365 (OVERFLOW_EXCEPTION_OK): Likewise.
14366 (UNDERFLOW_EXCEPTION_OK): Likewise.
14367 (IGNORE_ZERO_INF_SIGN): Likewise.
14368 (ERRNO_UNCHANGED): Likewise.
14369 (ERRNO_EDOM): Likewise.
14370 (ERRNO_ERANGE): Likewise.
14371 (test_exceptions): Handle testing "inexact" exceptions.
14372 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14373 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14374 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14375 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14376 INEXACT_EXCEPTION.
14377 (rint_towardzero_test_data): Likewise.
14378 (rint_downward_test_data): Likewise.
14379 (rint_upward_test_data): Likewise.
14380
e9eee333
JM
14381 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14382 with OVERFLOW_EXCEPTION.
14383 (exp10_test_data): Likewise.
14384 (exp2_test_data): Likewise.
14385 (expm1_test_data): Likewise.
14386 (lgamma_test_data): Likewise.
14387 (pow_test_data): Likewise.
14388 (tgamma_test_data): Likewise.
14389 (yn_test_data): Remove duplicate test of overflow.
14390
1c38ff73
JM
14391 * math/libm-test.inc (struct test_cc_c_data): New type.
14392 (RUN_TEST_LOOP_cc_c): New macro.
14393 (cpow_test_data): New variable.
14394 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14395
15c7c18d
JM
14396 * math/libm-test.inc (struct test_f_L_data): New type.
14397 (RUN_TEST_LOOP_f_L): New macro.
14398 (llrint_test_data): New variable.
14399 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14400 (llrint_tonearest_test_data): New variable.
14401 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14402 (llrint_towardzero_test_data): New variable.
14403 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14404 (llrint_downward_test_data): New variable.
14405 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14406 (llrint_upward_test_data): New variable.
14407 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14408 (llround_test_data): New variable.
14409 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14410
f137ff13
PC
144112013-05-13 Peter Collingbourne <pcc@google.com>
14412
14413 * math/atest-exp2.c (get_log2): Remove const attribute.
14414
3608cb24
JM
144152013-05-15 Joseph Myers <joseph@codesourcery.com>
14416
14417 * math/libm-test.inc (struct test_f_l_data): New type.
14418 (RUN_TEST_LOOP_f_l): New macro.
14419 (lrint_test_data): New variable.
14420 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14421 (lrint_tonearest_test_data): New variable.
14422 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14423 (lrint_towardzero_test_data): New variable.
14424 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14425 (lrint_downward_test_data): New variable.
14426 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14427 (lrint_upward_test_data): New variable.
14428 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14429 (lround_test_data): New variable.
14430 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14431
39b1f617
PC
144322013-05-15 Peter Collingbourne <pcc@google.com>
14433
1deff3dc
PC
14434 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14435 (EXTRACT_WORDS64) Use where appropriate.
14436 (INSERT_WORDS64) Likewise.
14437
791f3ba0
PC
14438 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14439 constraints with x constraints.
14440 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14441
39b1f617
PC
14442 * malloc/obstack.c (_obstack_compat): Add initializer.
14443
12fba011
EM
144442013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14445
14446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14447 si_trapno and add si_addr_lsb to _sifields.sigfault.
14448 (si_trapno): Remove macro.
14449 (si_addr_lsb): Define new macro.
14450 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14451
d369f531
JM
144522013-05-15 Joseph Myers <joseph@codesourcery.com>
14453
b861c6c4
JM
14454 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14455 instead of TEST_f_l.
14456 (llrint_test_tonearest): Likewise.
14457 (llrint_test_towardzero): Likewise.
14458 (llrint_test_downward): Likewise.
14459 (llrint_test_upward): Likewise.
14460 (llround_test): Likewise.
14461
7abeee12
JM
14462 * math/libm-test.inc (struct test_f_i_data): Add comment.
14463 (RUN_TEST_LOOP_f_b): New macro.
14464 (RUN_TEST_LOOP_f_b_tg): Likewise.
14465 (finite_test_data): New variable.
14466 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14467 (isfinite_test_data): New variable.
14468 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14469 (isinf_test_data): New variable.
14470 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14471 (isnan_test_data): New variable.
14472 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14473 (isnormal_test_data): New variable.
14474 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14475 (issignaling_test_data): New variable.
14476 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14477 (signbit_test_data): New variable.
14478 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14479
cbe8c4d3
JM
14480 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14481 with INVALID_EXCEPTION.
14482 (acosh_test_data): Likewise.
14483 (asin_test_data): Likewise.
14484 (atanh_test_data): Likewise.
14485 (fmod_test_data): Likewise.
14486 (log_test_data): Likewise.
14487 (log10_test_data): Likewise.
14488 (log2_test_data): Likewise.
14489 (pow_test_data): Likewise.
14490 (sqrt_test_data): Likewise.
14491 (y0_test_data): Likewise.
14492 (y1_test_data): Likewise.
14493 (yn_test_data): Likewise.
14494
5575c0e5
JM
14495 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14496 function contents.
14497
d369f531
JM
14498 * math/libm-test.inc (struct test_ff_i_data): New type.
14499 (RUN_TEST_LOOP_ff_i_tg): New macro.
14500 (isgreater_test_data): New variable.
14501 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14502 (isgreaterequal_test_data): New variable.
14503 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14504 (isless_test_data): New variable.
14505 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14506 (islessequal_test_data): New variable.
14507 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14508 (islessgreater_test_data): New variable.
14509 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14510 (isunordered_test_data): New variable.
14511 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14512
781fd748
DM
145132013-05-14 David S. Miller <davem@davemloft.net>
14514
14515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14516
87aa21df
JM
145172013-05-14 Joseph Myers <joseph@codesourcery.com>
14518
5e908270
JM
14519 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14520
f71172e5
JM
14521 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14522 extra_test to int.
14523 (struct test_f_i_data): Change type of max_ulp to int.
14524
8cfa635a
JM
14525 * math/libm-test.inc (test_ffI_f1_data): New type.
14526 (RUN_TEST_LOOP_ffI_f1): New macro.
14527 (remquo_test_data): New variable.
14528 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14529
2bcb36b2
JM
14530 * setjmp/tst-setjmp-fp.c: New file.
14531 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14532 (link-libm): New variable.
14533 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14534
acbd839a
JM
14535 * math/libm-test.inc (struct test_f_i_data): New type.
14536 (RUN_TEST_LOOP_f_i): New macro.
14537 (RUN_TEST_LOOP_f_i_tg): Likewise.
14538 (fpclassify_test_data): New variable.
14539 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14540 (ilogb_test_data): New variable.
14541 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14542
e414d745
JM
14543 * math/libm-test.inc (scalbln_test): Correct function name in END
14544 call.
14545
d9c2a0fd
JM
14546 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14547 (RUN_TEST_LOOP_fI_f1): New macro.
14548 (frexp_test_data): New variable.
14549 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14550
9dc9095d
JM
14551 * math/libm-test.inc (struct test_fF_f1_data): New type.
14552 (RUN_TEST_LOOP_fF_f1): New macro.
14553 (modf_test_data): New variable.
14554 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14555
87aa21df
JM
14556 * math/libm-test.inc (struct test_f_f1_data): New type.
14557 (RUN_TEST_LOOP_f_f1): New macro.
14558 (gamma_test_data): New variable.
14559 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14560 (lgamma_test_data): New variable.
14561 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14562
141af660
CD
145632013-05-13 Carlos O'Donell <carlos@redhat.com>
14564
14565 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14566 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14567 (main): Comment "tls" pseudo-hwcap.
14568
6d33265c
JM
145692013-05-13 Joseph Myers <joseph@codesourcery.com>
14570
68fc074c
JM
14571 * math/libm-test.inc (struct test_fl_f_data): New type.
14572 (RUN_TEST_LOOP_fl_f): New variable.
14573 (scalbln_test_data): New variable.
14574 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14575
243216e1
JM
14576 * math/libm-test.inc (struct test_fi_f_data): New type.
14577 (RUN_TEST_LOOP_fi_f): New macro.
14578 (ldexp_test_data): New variable.
14579 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14580 (scalbn_test_data): New variable.
14581 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14582
6a1992e2
JM
14583 * math/libm-test.inc (struct test_c_f_data): New type.
14584 (RUN_TEST_LOOP_c_f): New macro.
14585 (cabs_test_data): New variable.
14586 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14587 (carg_test_data): New variable.
14588 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14589 (cimag_test_data): New variable.
14590 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14591 (creal_test_data): New variable.
14592 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14593
0e400df5
JM
14594 * math/libm-test.inc (struct test_if_f_data): New type.
14595 (RUN_TEST_LOOP_if_f): New macro.
14596 (jn_test_data): New variable.
14597 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14598 (yn_test_data): New variable.
14599 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14600
6d33265c
JM
14601 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14602
f98ece5f
AZ
146032013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14604
14605 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14606 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14607
0f7d347b
SP
146082013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14609
43fe811b
SP
14610 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14611 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14612 (bench-deps): Add bench-timing.h.
14613 * benchtests-bench-skeleton.c: Include bench-timing.h.
14614 (main): Use TIMING_* macros instead of clock_gettime.
14615 * benchtests/bench-timing.h: New file.
14616
0f7d347b
SP
14617 [BZ #14582]
14618 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14619 Renamed from _LIB_VERSION.
14620 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14621
601a3a5f
JM
146222013-05-12 Joseph Myers <joseph@codesourcery.com>
14623
4f184d30
JM
14624 * math/libm-test.inc (struct test_fff_f_data): New type.
14625 (RUN_TEST_LOOP_fff_f): New macro.
14626 (fma_test_data): New variable.
14627 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14628 (fma_towardzero_test_data): New variable.
14629 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14630 (fma_downward_test_data): New variable.
14631 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14632 (fma_upward_test_data): New variable.
14633 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14634
08198877
JM
14635 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14636 (struct test_c_c_data): New type.
14637 (RUN_TEST_LOOP_c_c): New macro.
14638 (cacos_test_data): New variable.
14639 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14640 (cacosh_test_data): New variable.
14641 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14642 (casin_test_data): New variable.
14643 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14644 (casinh_test_data): New variable.
14645 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14646 (catan_test_data): New variable.
14647 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14648 (catanh_test_data): New variable.
14649 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14650 (ccos_test_data): New variable.
14651 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14652 (ccosh_test_data): New variable.
14653 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14654 (cexp_test_data): New variable.
14655 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14656 (clog_test_data): New variable.
14657 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14658 (clog10_test_data): New variable.
14659 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14660 (conj_test_data): New variable.
14661 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14662 (cproj_test_data): New variable.
14663 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14664 (csin_test_data): New variable.
14665 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14666 (csinh_test_data): New variable.
14667 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14668 (csqrt_test_data): New variable.
14669 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14670 (ctan_test_data): New variable.
14671 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14672 (ctan_tonearest_test_data): New variable.
14673 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14674 (ctan_towardzero_test_data): New variable.
14675 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14676 (ctan_downward_test_data): New variable.
14677 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14678 (ctan_upward_test_data): New variable.
14679 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14680 (ctanh_test_data): New variable.
14681 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14682 (ctanh_tonearest_test_data): New variable.
14683 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14684 (ctanh_towardzero_test_data): New variable.
14685 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14686 (ctanh_downward_test_data): New variable.
14687 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14688 (ctanh_upward_test_data): New variable.
14689 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14690 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14691 of BUILD_COMPLEX.
14692
601a3a5f
JM
14693 * math/libm-test.inc (struct test_ff_f_data): New type.
14694 (struct test_ff_f_data_nexttoward): Likewise.
14695 (RUN_TEST_LOOP_2_f): New macro.
14696 (RUN_TEST_LOOP_ff_f): Likewise.
14697 (atan2_test_data): New variable.
14698 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14699 (copysign_test_data): New variable.
14700 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14701 (fdim_test_data): New variable.
14702 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14703 (fmax_test_data): New variable.
14704 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14705 (fmin_test_data): New variable.
14706 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14707 (fmod_test_data): New variable.
14708 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14709 (hypot_test_data): New variable.
14710 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14711 (nextafter_test_data): New variable.
14712 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14713 (nexttoward_test_data): New variable.
14714 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14715 (pow_test_data): New variable.
14716 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14717 (pow_tonearest_test_data): New variable.
14718 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14719 (pow_towardzero_test_data): New variable.
14720 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14721 (pow_downward_test_data): New variable.
14722 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14723 (pow_upward_test_data): New variable.
14724 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14725 (remainder_test_data): New variable.
14726 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14727 (scalb_test_data): New variable.
14728 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14729 * sysdeps/i386/fpu/libm-test-ulps: Update.
14730
74c57478
JM
147312013-05-11 Joseph Myers <joseph@codesourcery.com>
14732
8329e4da
JM
14733 * math/libm-test.inc (fma_test): Use max_value instead of local
14734 variable fltmax.
14735 (nextafter_test): Likewise.
14736
74c57478
JM
14737 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14738 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14739 (acos_downward_test_data): New variable.
14740 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14741 (acos_upward_test_data): New variable.
14742 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14743 (acosh_test_data): New variable.
14744 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14745 (asin_test_data): New variable.
14746 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14747 (asin_tonearest_test_data): New variable.
14748 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14749 (asin_towardzero_test_data): New variable.
14750 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14751 (asin_downward_test_data): New variable.
14752 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14753 (asin_upward_test_data): New variable.
14754 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14755 (asinh_test_data): New variable.
14756 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14757 (atan_test_data): New variable.
14758 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14759 (atanh_test_data): New variable.
14760 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14761 (cbrt_test_data): New variable.
14762 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14763 (ceil_test_data): New variable.
14764 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14765 (cos_test_data): New variable.
14766 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14767 (cos_tonearest_test_data): New variable.
14768 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14769 (cos_towardzero_test_data): New variable.
14770 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14771 (cos_downward_test_data): New variable.
14772 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14773 (cos_upward_test_data): New variable.
14774 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14775 (cosh_test_data): New variable.
14776 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14777 (cosh_tonearest_test_data): New variable.
14778 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14779 (cosh_towardzero_test_data): New variable.
14780 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14781 (cosh_downward_test_data): New variable.
14782 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14783 (cosh_upward_test_data): New variable.
14784 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14785 (erf_test_data): New variable.
14786 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14787 (erfc_test_data): New variable.
14788 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14789 (exp_test_data): New variable.
14790 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14791 (exp_tonearest_test_data): New variable.
14792 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14793 (exp_towardzero_test_data): New variable.
14794 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14795 (exp_downward_test_data): New variable.
14796 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14797 (exp_upward_test_data): New variable.
14798 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14799 (exp10_test_data): New variable.
14800 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14801 (exp2_test_data): New variable.
14802 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14803 (expm1_test_data): New variable.
14804 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14805 (fabs_test_data): New variable.
14806 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14807 (floor_test_data): New variable.
14808 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14809 (j0_test_data): New variable.
14810 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14811 (j1_test_data): New variable.
14812 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14813 (log_test_data): New variable.
14814 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14815 (log10_test_data): New variable.
14816 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14817 (log1p_test_data): New variable.
14818 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14819 (log2_test_data): New variable.
14820 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14821 (logb_test_data): New variable.
14822 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14823 (logb_downward_test_data): New variable.
14824 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14825 (nearbyint_test_data): New variable.
14826 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14827 (rint_test_data): New variable.
14828 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14829 (rint_tonearest_test_data): New variable.
14830 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14831 (rint_towardzero_test_data): New variable.
14832 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14833 (rint_downward_test_data): New variable.
14834 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14835 (rint_upward_test_data): New variable.
14836 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14837 (round_test_data): New variable.
14838 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14839 (sin_test_data): New variable.
14840 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14841 (sin_tonearest_test_data): New variable.
14842 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14843 (sin_towardzero_test_data): New variable.
14844 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14845 (sin_downward_test_data): New variable.
14846 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14847 (sin_upward_test_data): New variable.
14848 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14849 (sinh_test_data): New variable.
14850 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14851 (sinh_tonearest_test_data): New variable.
14852 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14853 (sinh_towardzero_test_data): New variable.
14854 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14855 (sinh_downward_test_data): New variable.
14856 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14857 (sinh_upward_test_data): New variable.
14858 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14859 (sqrt_test_data): New variable.
14860 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14861 (tan_test_data): New variable.
14862 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14863 (tan_tonearest_test_data): New variable.
14864 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14865 (tan_towardzero_test_data): New variable.
14866 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14867 (tan_downward_test_data): New variable.
14868 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14869 (tan_upward_test_data): New variable.
14870 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14871 (tanh_test_data): New variable.
14872 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14873 (tgamma_test_data): New variable.
14874 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14875 (trunc_test_data): New variable.
14876 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14877 (y0_test_data): New variable.
14878 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14879 (y1_test_data): New variable.
14880 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14881 (significand_test_data): New variable.
14882 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14883
7187d844
CG
148842013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14885
14886 [BZ #12387]
14887 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14888
f63fae73
PT
148892013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14890
14891 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14892
8a67a4b3
AJ
148932013-05-10 Andreas Jaeger <aj@suse.de>
14894
14895 [BZ #15448]
14896 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14897 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14898
51df539d
JM
148992013-05-10 Joseph Myers <joseph@codesourcery.com>
14900
14901 * math/gen-libm-test.pl (adjust_arg): New function.
14902 (special_functions): Handle generating output in both functions
14903 and arrays.
14904 (parse_args): Likewise.
14905 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14906 $in_func argument to parse_args.
14907 * math/libm-test.inc (struct test_f_f_data): New type.
14908 (IF_ROUND_INIT_): New macro.
14909 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14910 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14911 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14912 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14913 (ROUND_RESTORE_): Likewise.
14914 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14915 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14916 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14917 (ROUND_RESTORE_FE_UPWARD): Likewise.
14918 (RUN_TEST_LOOP_f_f): New macro.
14919 (acos_test_data): New variable.
14920 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14921 (acos_tonearest_test_data): New variable.
14922 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14923
5c637fe5
SP
149242013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14925
14926 * benchtests/bench-skeleton.c (startup): Fix coding style.
14927
ab2b9461
JM
149282013-05-10 Joseph Myers <joseph@codesourcery.com>
14929
14930 [BZ #6809]
14931 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14932 negative infinity argument.
14933 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14934 negative infinity argument.
14935 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14936 negative infinity argument.
14937 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14938 domain errors.
14939
4c0fe6fe
FW
149402013-05-10 Florian Weimer <fweimer@redhat.com>
14941
14942 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14943 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14944 * iconv/iconv_prog.c (main): Likewise.
14945 * locale/programs/charmap-dir.c (charmap_readdir)
14946 (fopen_uncompressed): Likewise.
14947 * locale/programs/locfile.c (siblings_uncached)
14948 (write_locale_data): Use lstat64 instead of lstat.
14949 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14950 stat.
14951
a3375d29
AJ
149522013-05-10 Andreas Jaeger <aj@suse.de>
14953
14954 [BZ #15395]
14955 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14956 localization.
14957 Include <locale.h>.
14958
36129722
CD
149592013-05-09 Carlos O'Donell <carlos@redhat.com>
14960
14961 * elf/dl-close.c (_dl_close_worker): Add comments.
14962
faa7f811
JM
149632013-05-09 Joseph Myers <joseph@codesourcery.com>
14964
ed41ffef
JM
14965 [BZ #15359]
14966 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14967 high part of pi/2.
14968 (__ieee754_rem_pio2l): Update comments.
14969
d0213cd0
JM
14970 [BZ #15429]
14971 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14972 high part of pi/2.
14973 (__ieee754_rem_pio2l): Update comments.
14974
0d3e777a
JM
14975 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14976 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14977
24f56066
JM
14978 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14979 M_PI_4l.
14980
faa7f811
JM
14981 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14982 (M_PI_34_LOG10El): Likewise.
14983 (M_PI2_LOG10El): Likewise.
14984 (M_PI4_LOG10El): Likewise.
14985 (M_PI_LOG10El): Likewise.
14986
e9a5e0fd
AZ
149872013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14988
14989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14990
d8cd06db
JM
149912013-05-08 Joseph Myers <joseph@codesourcery.com>
14992
a0d9f9d7
JM
14993 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14994 (MINUS_ZERO_INIT): Likewise.
14995 (PLUS_INFTY_INIT): Likewise.
14996 (MINUS_INFTY_INIT): Likewise.
14997 (QNAN_VALUE_INIT): Likewise.
14998 (MAX_VALUE_INIT): Likewise.
14999 (MIN_VALUE_INIT): Likewise.
15000 (MIN_SUBNORM_VALUE_INIT): Likewise.
15001 (plus_zero): Initialize with PLUS_ZERO_INIT.
15002 (minus_zero): Initialize with MINUS_ZERO_INIT.
15003 (plus_infty): Initialize with PLUS_INFTY_INIT.
15004 (minus_infty): Initialize with MINUS_INFTY_INIT.
15005 (qnan_value): Initialize with QNAN_VALUE_INIT.
15006 (max_value): Initialize with MAX_VALUE_INIT.
15007 (min_value): Initialize with MIN_VALUE_INIT.
15008 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15009
ae08db3b
JM
15010 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15011 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15012 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15013 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15014
f44bf14a
JM
15015 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15016 (RUN_TEST_2_f): Likewise.
15017 (RUN_TEST_ff_f): Likewise.
15018 (RUN_TEST_fi_f): Likewise.
15019 (RUN_TEST_fl_f): Likewise.
15020 (RUN_TEST_fff_f): Likewise.
15021 (RUN_TEST_c_f): Likewise.
15022 (RUN_TEST_f_f1): Likewise.
15023 (RUN_TEST_fF_f1): Likewise.
15024 (RUN_TEST_fI_f1): Likewise.
15025 (RUN_TEST_ffI_f1): Likewise.
15026 (RUN_TEST_c_c): Likewise.
15027 (RUN_TEST_cc_c): Likewise.
15028 (RUN_TEST_f_i): Likewise.
15029 (RUN_TEST_f_i_tg): Likewise.
15030 (RUN_TEST_ff_i_tg): Likewise.
15031 (RUN_TEST_f_b): Likewise.
15032 (RUN_TEST_f_b_tg): Likewise.
15033 (RUN_TEST_f_l): Likewise.
15034 (RUN_TEST_f_L): Likewise.
15035 (RUN_TEST_sincos): Likewise.
15036 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15037 whether to show exceptions. Do not include ");\n" in return
15038 value.
15039 (special_functions): Output call to RUN_TEST_sincos instead of
15040 check_float calls. Update calls to new_test.
15041 (parse_args): Output call to single RUN_TEST_* macro instead of
15042 check_* calls and other assignments. Update calls to new_test.
15043
d8cd06db
JM
15044 [BZ #2546]
15045 [BZ #2560]
15046 [BZ #5159]
15047 [BZ #15426]
15048 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15049 input to result for tgamma overflow.
15050 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15051 (gamma_coeff): New variable.
15052 (NCOEFF): New macro.
15053 (gamma_positive): New function.
15054 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15055 underflow here. Use gamma_positive instead of exp (lgamma) for
15056 other arguments.
15057 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15058 (gamma_coeff): New variable.
15059 (NCOEFF): New macro.
15060 (gammaf_positive): New function.
15061 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15062 underflow here. Use gamma_positive instead of exp (lgamma) for
15063 other arguments.
15064 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15065 (gamma_coeff): New variable.
15066 (NCOEFF): New macro.
15067 (gammal_positive): New function.
15068 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15069 underflow here. Use gamma_positive instead of exp (lgamma) for
15070 other arguments.
15071 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15072 (gamma_coeff): New variable.
15073 (NCOEFF): New macro.
15074 (gammal_positive): New function.
15075 (__ieee754_gammal_r): Handle positive infinity, overflow and
15076 underflow here. Handle NaN the same as positive infinity. Remove
15077 check x < 0xffffffff for negative integers. Use gamma_positive
15078 instead of exp (lgamma) for other arguments.
15079 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15080 (gamma_coeff): New variable.
15081 (NCOEFF): New macro.
15082 (gammal_positive): New function.
15083 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15084 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15085 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15086 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15089 * sysdeps/generic/math_private.h (__gamma_productf): New
15090 prototype.
15091 (__gamma_product): Likewise.
15092 (__gamma_productl): Likewise.
15093 * math/Makefile (libm-calls): Add gamma_product.
15094 * math/libm-test.inc (tgamma_test): Add more tests.
15095 * sysdeps/i386/fpu/libm-test-ulps: Update.
15096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15097
bb7cf681
OB
150982013-05-08 Ondřej Bílka <neleai@seznam.cz>
15099
15100 * benchtests/bench-skeleton.c (main): Preheat CPU.
15101
ba853947
AJ
151022013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15103
15104 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15105
8347c74c
RM
151062013-05-07 Roland McGrath <roland@hack.frob.com>
15107
15108 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15109 and _dl_skip_args_internal.
15110
e8dd4791
CD
151112013-05-07 Carlos O'Donell <carlos@redhat.com>
15112
15113 * manual/message.texi (Message Translation): Talk about users.
15114 Message to key mapping impacts design.
15115
c7405830
RM
151162013-05-06 Roland McGrath <roland@hack.frob.com>
15117
a9173057
RM
15118 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15119
976e2f03
RM
15120 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15121
9723ffc5
RM
15122 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15123 * sysdeps/wordsize-64/glob64.c: ... here.
15124
962e6658
RM
15125 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15126 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15127 New macros.
15128
ee586a6d
RM
15129 * debug/getlogin_r_chk.c: Moved to ...
15130 * login/getlogin_r_chk.c: ... here.
15131 * debug/Makefile (routines): Move getlogin_r_chk to ...
15132 * login/Makefile (routines): ... here.
15133 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15134 * login/Versions (libc: GLIBC_2.4): ... here.
15135
355f9165
RM
15136 * io/poll.c (__poll): Renamed from poll.
15137 Add libc_hidden_def.
15138 (poll): Define as weak alias.
15139
bd9ffde6
RM
15140 * debug/ptsname_r_chk.c: Moved to ...
15141 * login/ptsname_r_chk.c: ... here.
15142 * debug/Makefile (routines): Move ptsname_r_chk to ...
15143 * login/Makefile (routines): ... here.
15144 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15145 * login/Versions (libc: GLIBC_2.4): ... here.
15146
8fb16a04
RM
15147 * posix/getlogin.c: Moved to ...
15148 * login/getlogin.c: ... here.
15149 * posix/getlogin_r.c: Moved to ...
15150 * login/getlogin_r.c: ... here.
15151 * posix/getlogin_r.c: Moved to ...
15152 * login/getlogin_r.c: ... here.
15153 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15154 * login/Makefile (routines): ... here.
15155 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15156 * login/Versions (libc: GLIBC_2.0): ... here.
15157
b99b892f
RM
15158 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15159 (setrlimit): Define as weak alias.
15160
c7405830
RM
15161 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15162 Call __ names for open, ftruncate, and close.
15163 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15164 (truncate): Define as weak alias.
15165
5bf96de5
JM
151662013-05-06 Joseph Myers <joseph@codesourcery.com>
15167
9ea3513c
JM
15168 * math/gen-libm-test.pl (parse_args): Initialize x before each
15169 test of frexp, modf and remquo.
15170
5bf96de5
JM
15171 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15172 test signgam value.
15173
16e616a7
AZ
151742013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15175
15176 [BZ #15418]
15177 [BZ #15419]
15178 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15179 internal tests.
15180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15181
d5e82754
RM
151822013-05-06 Roland McGrath <roland@hack.frob.com>
15183
15184 * elf/dl-writev.h: New file.
15185 * elf/dl-misc.c: Include it.
15186 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15187 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15188
a7548d41
JM
151892013-05-04 Joseph Myers <joseph@codesourcery.com>
15190
b7dab1e4
JM
15191 * math/libm-test.inc (noXFails): Remove variable.
15192 (noXPasses): Likewise.
15193 (BUILD_COMPLEX_INT): Remove macro.
15194 (print_screen): Remove xfail argument.
15195 (print_screen_max_error): Likewise.
15196 (update_stats): Likewise.
15197 (print_max_error): Likewise. Update calls to other affected
15198 functions.
15199 (print_complex_max_error): Likewise.
15200 (test_single_exception): Update calls to print_screen.
15201 (test_single_errno): Likewise.
15202 (check_float_internal): Remove xfail argument. Update calls to
15203 other affected functions.
15204 (check_float): Likewise.
15205 (check_complex): Likewise.
15206 (check_int): Likewise.
15207 (check_long): Likewise.
15208 (check_bool): Likewise.
15209 (check_longlong): Likewise.
15210 (main): Don't print noXFails and noXPasses.
15211 * math/gen-libm-test.pl (top level): Don't mention expected
15212 failure handling in comment.
15213 (new_test): Don't handle expected failures.
15214 (parse_args): Don't mention expected failure handling in comment.
15215 (generate_testfile): Don't handle expected failures.
15216 (parse_ulps): Likewise.
15217 (print_ulps_file): Likewise.
15218 (get_failure): Remove function.
15219 (output_test): Don't handle expected failures.
15220 * make/README.libm-test: Don't mention expected failure handling.
15221
a7548d41
JM
15222 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15223 (minus_zero): Likewise.
15224 (plus_infty): Likewise.
15225 (minus_infty): Likewise.
15226 (qnan_value): Likewise.
15227 (max_value): Likewise.
15228 (min_value): Likewise.
15229 (min_subnorm_value): Likewise.
15230 (initialize): Do not initialize those variables dynamically.
15231
60bfd54c
RM
152322013-05-03 Roland McGrath <roland@hack.frob.com>
15233
cc0e6ed8
RM
15234 * io/open.c (__open_2): Moved to ...
15235 * io/open_2.c: ... this new file.
15236 * io/open64.c (__open64_2): Moved to ...
15237 * io/open64_2.c: ... this new file.
15238 * io/openat.c (__openat_2): Moved to ...
15239 * io/openat_2.c: ... this new file.
15240 * io/openat64.c (__openat64_2): Moved to ...
15241 * io/openat64_2.c: ... this new file.
15242 * io/Makefile (routines): Add them.
15243 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15244 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15245 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15246 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15247 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15248 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15249 (__openat64): Add hidden_ver.
15250 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15251 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15252
60bfd54c
RM
15253 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15254 Separately conditionalize setting of GLRO(dl_sysinfo) so
15255 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15256 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15257
83e7640f
AZ
152582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15259
15260 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15262 definition.
15263 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15264 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15265 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15266 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15267 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15268
d5dc2af3
JM
152692013-05-03 Joseph Myers <joseph@codesourcery.com>
15270
c31a5b1e
JM
15271 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15272 test signgam value.
15273
d5dc2af3
JM
15274 * math/libm-test.inc (hypot_test): Do not use
15275 IGNORE_ZERO_INF_SIGN.
15276
164fd39d
AJ
152772013-05-03 Andreas Jaeger <aj@suse.de>
15278
15279 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15280 Linux 3.9.
15281 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15282 (PF_MAX): Adjust for VSOCK change.
15283
8237f48c
AZ
152842013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15285
15286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15287
9df02941
CD
152882013-05-02 Carlos O'Donell <carlos@redhat.com>
15289
15290 [BZ #15264]
15291 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15292 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15293 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15294
d422395e
DM
152952013-05-02 David S. Miller <davem@davemloft.net>
15296
15297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15298
a07c5731
OB
152992013-05-01 Ondřej Bílka <neleai@seznam.cz>
15300
15301 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15302
1324e37f
RM
153032013-05-01 Roland McGrath <roland@hack.frob.com>
15304
15305 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15306
0695940b
RS
153072013-05-01 Richard Smith <richard@metafoo.co.uk>
15308
bb5f27ad 15309 [BZ #14952]
0695940b
RS
15310 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15311 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15312 Use __attribute__ ((__gnu_inline__)).
15313 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15314 Don't use __attribute__ ((__gnu_inline__)).
15315
10de07f5
JM
153162013-05-01 Joseph Myers <joseph@codesourcery.com>
15317
15318 [BZ #15423]
15319 * math/s_catan.c (__catan): Handle small real or imaginary part of
15320 input specially to avoid spurious underflow.
15321 * math/s_catanf.c (__catanf): Likewise.
15322 * math/s_catanh.c (__catanh): Likewise.
15323 * math/s_catanhf.c (__catanhf): Likewise.
15324 * math/s_catanhl.c (__catanhl): Likewise.
15325 * math/s_catanl.c (__catanl): Likewise.
15326 * math/libm-test.inc (catan_test): Add more tests.
15327 (catanh_test): Likewise.
15328 * sysdeps/i386/fpu/libm-test-ulps: Update.
15329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15330
cb4d5414
AZ
153312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15332
15333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15334
caf84319
JM
153352013-04-30 Joseph Myers <joseph@codesourcery.com>
15336
15337 [BZ #15416]
15338 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15339 accurately for denominator in atan2.
15340 * math/s_catanf.c (__catanf): Likewise.
15341 * math/s_catanh.c (__catanh): Likewise.
15342 * math/s_catanhf.c (__catanhf): Likewise.
15343 * math/s_catanhl.c (__catanhl): Likewise.
15344 * math/s_catanl.c (__catanl): Likewise.
15345 * math/libm-test.inc (catan_test): Add more tests.
15346 (catanh_test): Likewise.
15347 * sysdeps/i386/fpu/libm-test-ulps: Update.
15348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15349
d569c6ee
SP
153502013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15351
6dbe713d
SP
15352 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15353
f0ee064b
SP
15354 * benchtests/Makefile (bench): Remove slow benchmarks.
15355 * benchtests/atan-inputs: Add slow benchmark inputs.
15356 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15357 (BENCH_FUNC): Accept variant offset.
15358 (VARIANT): Define.
15359 * benchtests/bench-skeleton.c (main): Run benchmark for each
15360 variant.
15361 * benchtests/cos-inputs: Add slow benchmark inputs.
15362 * benchtests/exp-inputs: Likewise.
15363 * benchtests/pow-inputs: Likewise.
15364 * benchtests/sin-inputs: Likewise.
15365 * benchtests/slowatan-inputs: Remove.
15366 * benchtests/slowatan.c: Remove.
15367 * benchtests/slowcos-inputs: Remove.
15368 * benchtests/slowcos.c: Remove.
15369 * benchtests/slowexp-inputs: Remove.
15370 * benchtests/slowexp.c: Remove.
15371 * benchtests/slowpow-inputs: Remove.
15372 * benchtests/slowpow.c: Remove.
15373 * benchtests/slowsin-inputs: Remove.
15374 * benchtests/slowsin.c: Remove.
15375 * benchtests/slowtan-inputs: Remove.
15376 * benchtests/slowtan.c: Remove.
15377 * benchtests/tan-inputs: Add slow benchmark inputs.
15378 * scripts/bench.pl: Parse comments and directives.
15379
d569c6ee
SP
15380 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15381 in CPPFLAGS.
15382 ($(objpfx)bench-%.c): Remove *-ITER.
15383 * benchtests/bench-modf.c: Remove definition of ITER.
15384 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15385 (main): Loop for DURATION seconds instead of fixed number of
15386 iterations.
15387 * scripts/bench.pl: Don't expect iterations in parameters.
15388
a6a242fe
RM
153892013-04-29 Roland McGrath <roland@hack.frob.com>
15390
15391 * io/fchdir.c (__fchdir): Renamed from fchdir.
15392 (fchdir): Define as weak alias.
15393
f2da7793
JM
153942013-04-29 Joseph Myers <joseph@codesourcery.com>
15395
15396 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15397 (ERRNO_EDOM): Likewise.
15398 (ERRNO_ERANGE): Likewise.
15399 (noErrnoTests): New variable.
15400 (init_max_error): Set errno to 0.
15401 (test_single_errno): New function.
15402 (test_errno): Likewise.
15403 (check_float_internal): Call test_errno. Set errno to 0.
15404 (check_complex): Refer to errno tests in comment.
15405 (check_int): Call test_errno. Set errno to 0.
15406 (check_long): Likewise.
15407 (check_bool): Likewise.
15408 (check_longlong): Likewise.
15409 (cos_test): Use ERRNO_* flags for errno tests instead of
15410 check_int.
15411 (expm1_test): Likewise.
15412 (fmod_test): Likewise.
15413 (ilogb_test): Likewise.
15414 (lgamma_test): Likewise.
15415 (pow_test): Likewise.
15416 (remainder_test): Likewise.
15417 (sin_test): Likewise.
15418 (tan_test): Likewise.
15419 (yn_test): Likewise.
15420 (initialize): Set errno to 0.
15421 (main): Print number of errno tests.
15422 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15423
b1a36ceb
AJ
154242013-04-29 Andreas Jaeger <aj@suse.de>
15425
c3ed8088
AJ
15426 [BZ #15084]
15427 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15428 and RES_USEVC.
15429
f1a24198
AJ
15430 [BZ #15085]
15431 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15432 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15433 unimplemented.
15434
9ce3b2cb
AJ
15435 [BZ #15380]
15436 * stdlib/random.c (__initstate): Return NULL if
15437 __initstate fails.
15438
f1a24198 15439 [BZ #15086]
b1a36ceb
AJ
15440 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15441 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15442 RES_SNGLKUPREOP.
15443
7e7b6f36
AZ
154442013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15445
15446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15447
4d14f449
JM
154482013-04-29 Joseph Myers <joseph@codesourcery.com>
15449
15450 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15451 of individual tests.
15452 (casin_test): Likewise.
15453 (casinh_test): Likewise.
15454
5b4217d7
JM
154552013-04-27 Joseph Myers <joseph@codesourcery.com>
15456
15457 [BZ #15409]
15458 * math/s_catan.c (__catan): Handle arguments with large real or
15459 imaginary part separately without squaring.
15460 * math/s_catanf.c (__catanf): Likewise.
15461 * math/s_catanh.c (__catanh): Likewise.
15462 * math/s_catanhf.c (__catanhf): Likewise.
15463 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15464 and redefine.
15465 (__catanhl): Handle arguments with large real or imaginary part
15466 separately without squaring.
15467 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15468 and redefine.
15469 (__catanl): Handle arguments with large real or imaginary part
15470 separately without squaring.
15471 * math/libm-test.inc (catan_test): Add more tests.
15472 (catanh_test): Likewise.
15473 * sysdeps/i386/fpu/libm-test-ulps: Update.
15474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15475
4220c3ef
AJ
154762013-04-27 Andreas Jaeger <aj@suse.de>
15477
15478 [BZ #15007]
15479 * stdlib/stdlib.h: Update guards for qecvt.
15480 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15481 <stdlib.h>.
15482
4721b2d1
AM
154832013-04-27 Allan McRae <allan@archlinux.org>
15484
15485 * sysdeps/i386/fpu/libm-test-ulps: Update.
15486
f0302940
JM
154872013-04-26 Joseph Myers <joseph@codesourcery.com>
15488
9457fd95
JM
15489 [BZ #15406]
15490 * math/s_catan.c: Include <float.h>.
15491 (__catan): Ensure underflow exception occurs for underflowed
15492 result.
15493 * math/s_catanf.c: Include <float.h>.
15494 (__catanf): Ensure underflow exception occurs for underflowed
15495 result.
15496 * math/s_catanh.c: Include <float.h>.
15497 (__catanh): Ensure underflow exception occurs for underflowed
15498 result.
15499 * math/s_catanhf.c: Include <float.h>.
15500 (__catanhf): Ensure underflow exception occurs for underflowed
15501 result.
15502 * math/s_catanhl.c: Include <float.h>.
15503 (__catanhl): Ensure underflow exception occurs for underflowed
15504 result.
15505 * math/s_catanl.c: Include <float.h>.
15506 (__catanl): Ensure underflow exception occurs for underflowed
15507 result.
15508 * math/libm-test.inc (catan_test): Add more tests.
15509 (catanh_test): Likewise.
15510
f0302940
JM
15511 [BZ #15405]
15512 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15513 underflowed result.
15514 * math/s_ccoshf.c (__ccoshf): Likewise.
15515 * math/s_ccoshl.c (__ccoshl): Likewise.
15516 * math/s_csin.c (__csin): Likewise.
15517 * math/s_csinf.c (__csinf): Likewise.
15518 * math/s_csinh.c (__csinh): Likewise.
15519 * math/s_csinhf.c (__csinhf): Likewise.
15520 * math/s_csinhl.c (__csinhl): Likewise.
15521 * math/s_csinl.c (__csinl): Likewise.
15522 * math/libm-test.inc (ccos_test): Add more tests.
15523 (ccosh_test): Likewise.
15524 (csin_test): Likewise.
15525 (csinh_test): Likewise.
15526
aa630f59
AZ
155272013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15528
15529 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15530 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15531 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15532 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15533 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15534 powerpc/power5+/fpu folders.
15535 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15536
15537
1b835983
MT
155382013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15539
15540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15541
73709b26
JM
155422013-04-25 Joseph Myers <joseph@codesourcery.com>
15543
15544 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15545 additions to variable.
15546 [$(config-machine) = x86_64] (modules-names): Likewise.
15547 ($(objpfx)tst-audit3): Remove dependency.
15548 ($(objpfx)tst-audit3.out): Likewise.
15549 ($(objpfx)tst-audit4): Likewise.
15550 ($(objpfx)tst-audit4.out): Likewise.
15551 ($(objpfx)tst-audit5): Likewise.
15552 ($(objpfx)tst-audit5.out): Likewise.
15553 ($(objpfx)tst-audit6): Likewise.
15554 ($(objpfx)tst-audit6.out): Likewise.
15555 ($(objpfx)tst-audit7): Likewise.
15556 ($(objpfx)tst-audit7.out): Likewise.
15557 (tst-audit3-ENV): Remove variable.
15558 (tst-audit4-ENV): Likewise.
15559 (tst-audit5-ENV): Likewise.
15560 (tst-audit6-ENV): Likewise.
15561 (tst-audit7-ENV): Likewise.
15562 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15563 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15564 addition to variable.
15565 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15566 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15567 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15568 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15569 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15570 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15571 tst-audit3, tst-audit4 and tst-audit5.
15572 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15573 tst-audit6 and tst-audit7.
15574 [$(subdir) = elf] (modules-names): Add audit modules for those
15575 tests.
15576 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15577 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15578 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15579 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15580 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15581 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15582 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15583 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15584 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15585 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15586 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15587 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15588 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15589 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15590 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15591 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15592 Likewise.
15593 [$(subdir) = elf && $(config-cflags-avx) = yes]
15594 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15595 [$(subdir) = elf && $(config-cflags-avx) = yes]
15596 (CFLAGS-tst-auditmod4a.c): Likewise.
15597 [$(subdir) = elf && $(config-cflags-avx) = yes]
15598 (CFLAGS-tst-auditmod4b.c): Likewise.
15599 [$(subdir) = elf && $(config-cflags-avx) = yes]
15600 (CFLAGS-tst-auditmod6b.c): Likewise.
15601 [$(subdir) = elf && $(config-cflags-avx) = yes]
15602 (CFLAGS-tst-auditmod6c.c): Likewise.
15603 [$(subdir) = elf && $(config-cflags-avx) = yes]
15604 (CFLAGS-tst-auditmod7b.c): Likewise.
15605 * elf/tst-audit3.c: Move to ...
15606 * sysdeps/x86_64/tst-audit3.c: ... here.
15607 * elf/tst-audit4.c: Move to ...
15608 * sysdeps/x86_64/tst-audit4.c: ... here.
15609 * elf/tst-audit5.c: Move to ...
15610 * sysdeps/x86_64/tst-audit5.c: ... here.
15611 * elf/tst-audit6.c: Move to ...
15612 * sysdeps/x86_64/tst-audit6.c: ... here.
15613 * elf/tst-audit7.c: Move to ...
15614 * sysdeps/x86_64/tst-audit7.c: ... here.
15615 * elf/tst-auditmod3a.c: Move to ...
15616 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15617 * elf/tst-auditmod3b.c: Move to ...
15618 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15619 * elf/tst-auditmod4a.c: Move to ...
15620 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15621 * elf/tst-auditmod4b.c: Move to ...
15622 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15623 * elf/tst-auditmod5a.c: Move to ...
15624 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15625 * elf/tst-auditmod5b.c: Move to ...
15626 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15627 * elf/tst-auditmod6a.c: Move to ...
15628 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15629 * elf/tst-auditmod6b.c: Move to ...
15630 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15631 * elf/tst-auditmod6c.c: Move to ...
15632 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15633 * elf/tst-auditmod7a.c: Move to ...
15634 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15635 * elf/tst-auditmod7b.c: Move to ...
15636 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15637
1ef74943
PP
156382013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15639
15640 [BZ #15366]
15641 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15642 define unconditionally.
15643 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15644 define unconditionally.
15645 (INT8_C, INT16_C, etc.): Likewise.
15646
93fd48c5
MR
156472013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15648
ae9552cf
MR
15649 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15650 __ehdr_start with hidden visibility.
15651
93fd48c5
MR
15652 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15653
418601aa
CD
156542013-04-24 Carlos O'Donell <carlos@redhat.com>
15655
15656 * math/libm-test.inc (cos_test): Use accurate hex constants.
15657 (sincost_test): Likewise.
15658
2f38fbfe
JM
156592013-04-24 Joseph Myers <joseph@codesourcery.com>
15660
5e221800
JM
15661 * math/libm-test.inc (catan_test): Add more tests.
15662 (catanh_test): Likewise.
15663
77f143fd
JM
15664 * math/s_catanf.c (__catanf): Use suffixed floating-point
15665 constants.
15666 * math/s_catanhf.c (__catanhf): Likewise.
15667 * math/s_catanhl.c (__catanhl): Likewise.
15668 * math/s_catanl.c (__catanl): Likewise.
15669
2f38fbfe
JM
15670 [BZ #15394]
15671 * math/s_catan.c (__catan): Calculate imaginary part of result
15672 with log1p not log unless computing log of number close to 0.
15673 * math/s_catanf.c (__catanf): Likewise.
15674 * math/s_catanl.c (__catanl): Likewise.
15675 * math/s_catanh.c (__catanh): Calculate real part of result with
15676 log1p not log unless computing log of number close to 0.
15677 * math/s_catanhf.c (__catanhf): Likewise.
15678 * math/s_catanhl.c (__catanhl): Likewise.
15679 * math/libm-test.inc (catan_test): Add more tests.
15680 (catanh_test): Likewise.
15681 * sysdeps/i386/fpu/libm-test-ulps: Update.
15682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15683
45d69176
SP
156842013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15685
15686 * benchtests/Makefile: Mention files in which fast and slow
15687 paths of math functions are implemented.
15688
87f51853
RM
156892013-04-23 Roland McGrath <roland@hack.frob.com>
15690
15691 * sysdeps/posix/timespec_get.c: New file.
15692
3c026539
AZ
156932013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15694
15695 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15696 POWER.
15697 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15698 for POWER.
15699 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15700 powerpc/power5/fpu folders.
15701 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15702 * benchtests/Makefile: Add modf testcase.
15703 * benchtests/bench-modf.c: New file: Benchmark test for mo
15704
ff491d14
SP
157052013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15706
15707 [BZ #14888]
15708 * time/Makefile (tests): Add tst-strptime-whitespace.
15709 * time/strptime_l.c (get_number): Use ISSPACE.
15710 (__strptime_internal): Likewise.
15711 * time/tst-strptime-whitespace.c: New test case.
15712
7ed3f4e8
AS
157132013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15714
15715 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15716 member.
15717 (_nss_files_init): Set it here.
15718
5c95f7b6
HC
157192013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15720
15721 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15722 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15723 unsigned.
15724
d34c9158
JBG
157252013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15726
15727 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15728
2169712d
SP
157292013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15730
15731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15732 size just once.
15733
29c5de99
DM
157342013-04-21 David S. Miller <davem@davemloft.net>
15735
15736 * po/ru.po: Update Russion translation from translation project.
15737
ccdad15d
AC
157382013-04-17 Adam Conrad <adconrad@0c3.net>
15739
15740 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15741 and setfsgid.
15742
0f122b8d
CD
157432013-04-17 Carlos O'Donell <carlos@redhat.com>
15744
5c5b07da 15745 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15746 * configure: Regenerate.
5c5b07da 15747 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15748 Add example to error message.
15749 * sysdeps/i386/configure: Regenerate.
15750
037714dd
SP
157512013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15752
15753 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15754 slowtan.
15755 * benchtests/cos-inputs: New file.
15756 * benchtests/slowcos-inputs: New file.
15757 * benchtests/slowcos.c: New file.
15758 * benchtests/slowtan-inputs: New file.
15759 * benchtests/slowtan.c: New file.
15760 * benchtests/tan-inputs: New file.
15761
e913141d
RM
157622013-04-16 Roland McGrath <roland@hack.frob.com>
15763
15764 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15765 considered kosher.
15766
a2964074
SP
157672013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15768
4856bcd2
SP
15769 * benchtests/Makefile: Include cppflags-iterator.mk to add
15770 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15771
a2964074
SP
15772 * Makefile.in (bench-clean): New target.
15773 * benchtests/Makefile (bench-clean): Likewise.
15774
9fbf9aca
DH
157752013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15776
15777 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15778
207d1e2a
TS
157792013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15780
15781 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15782
306dfba9
AS
157832013-04-15 Andreas Schwab <schwab@suse.de>
15784
15785 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15786 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15787 * nscd/pwdcache.c (cache_addpw): Likewise.
15788 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15789 more than recsize.
15790
206a6699
SP
157912013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15792
15793 * benchtests/Makefile (bench): Write all output to
15794 bench-out.tmp together.
15795
0582f6b3
AS
157962013-04-15 Andreas Schwab <schwab@suse.de>
15797
15798 * nscd/nscd.c (main): Don't fork again after closing files.
15799
acb4325f
SP
158002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15801
5cb26d0a
SP
15802 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15803
acb4325f
SP
15804 * benchtests/Rules (bench-deps): Collect dependencies into a
15805 single variable. Add Makefile to dependencies.
15806 ($(objpfx)bench-%.c): Depend on bench-deps.
15807
47792506
RM
158082013-04-12 Roland McGrath <roland@hack.frob.com>
15809 Xavier Roche <roche+kml2@exalead.com>
15810
15811 [BZ #15361]
15812 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15813 just that it's a file descriptor.
15814 * manual/llio.texi (Synchronizing AIO Operations): Update description
15815 for EBADF error from aio_fsync.
15816
8fc1bee5
SP
158172013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15818
15819 * Rules (bench): Move target definition...
15820 * benchtests/Makefile: ... here.
15821
aba5e333
CD
158222013-04-11 Carlos O'Donell <carlos@redhat.com>
15823
15824 * math/libm-test.inc (cos_test): Fix PI/2 test.
15825 (sincos_test): Likewise.
15826 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15827 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15828
273cdee8
AS
158292013-04-11 Andreas Schwab <schwab@suse.de>
15830
6ecec3b6
AS
15831 [BZ #13988]
15832 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15833 accept exponent character only when digits were seen.
15834 * stdio-common/Makefile (tests): Add bug26.
15835 * stdio-common/bug26.c: New file.
15836
273cdee8
AS
15837 [BZ #14293]
15838 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15839 non-freeable.
15840
8da491f5
SP
158412013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15842
01dc6df9
SP
15843 * Makeconfig (rtld-prefix): Define built linker prefix.
15844 * Rules (run-bench): Use it.
15845 * math/Makefile (run-regen-ulps): Likewise.
15846
8da491f5
SP
15847 * Rules (bench): Remove eval.
15848
abe7f530
SP
158492013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15850 Roland McGrath <roland@hack.frob.com>
15851 Ondrej Bilka <neleai@seznam.cz>
15852
15853 [BZ #15346]
15854 * time/getdate.c: Include ctype.h and alloca.h.
15855 (__getdate_r): Trim leading and trailing spaces of input.
15856 * time/tst-getdate.c (tests): Add tests with leading and
15857 trailing spaces.
15858
61c23e62
RM
158592013-04-08 Roland McGrath <roland@hack.frob.com>
15860
15861 [BZ #14280]
15862 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15863 when computing value.
15864
7208a313
CD
158652013-04-06 Carlos O'Donell <carlos@redhat.com>
15866
085b2d41
CD
15867 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15868 Use testrun.sh to run libm tests.
15869
7208a313
CD
15870 [BZ #15309]
15871 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15872
872c0acd
MM
158732013-04-06 Marko Myllynen <myllynen@redhat.com>
15874
15875 [BZ #15264]
15876 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15877
26510bdd
CD
158782013-04-06 Carlos O'Donell <carlos@redhat.com>
15879
15880 * Makefile.in (regen-ulps): New target.
15881 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15882 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15883 [ifneq (no,$(PERL)] (regen-ulps): New target.
15884 [ifeq (no,$(PERL)] (regen-ulps): New target.
15885 * math/libm-test.inc (ulps_file_name): Define.
15886 (output_dir): New variable.
15887 (options): Add "output-dir" option.
15888 (parse_opt): Handle 'o' case.
15889 (main): If output_dir is non-NULL use it as a prefix
15890 otherwise use "".
15891 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15892
a01f19c8
CD
158932013-04-06 Carlos O'Donell <carlos@redhat.com>
15894
15895 [BZ #10060, #10062]
15896 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15897 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15898 fail configure if __sync_val_compare_and_swap is not inlined.
15899 * sysdeps/i386/configure: Regenerate.
15900 * configure.in: Build for i686 when configured for i386.
15901 * configure: Regenerate.
15902 * README: Remove i386 reference.
15903
b7a329a5
CD
159042013-04-06 Carlos O'Donell <carlos@redhat.com>
15905
15906 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15908
bf0f50df
TS
159092013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15910
ee091edf
TS
15911 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15912 (lmsnanval): New variables.
15913 (F): Add conversion tests.
15914 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15915 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15916
a8b792d6
TS
15917 * stdio-common/tstdiomisc.c (F): Properly collect individual
15918 tests' results.
15919
a1cbf437
TS
15920 [BZ #14686, #15336]
15921 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15922 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15923 Instead, use input NaN values or generate a qNaN by arithmetic
15924 operation. Also fix bugs to comply with the standard.
15925 * math/libm-test.inc (remainder_test): Add more tests.
15926
8b43a0c9
TS
15927 [BZ #15335, #15342]
15928 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15930 input NaN values or generate a qNaN by arithmetic operation.
15931
d91da4ce
TS
15932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15933 unreachable code.
15934
bf0f50df
TS
15935 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15936 definitions.
15937
05e166c8
JM
159382013-04-03 Joseph Myers <joseph@codesourcery.com>
15939
15940 [BZ #14478]
15941 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15942 underflowed result.
15943 * math/s_cexpf.c (__cexpf): Likewise.
15944 * math/s_cexpl.c (__cexpl): Likewise.
15945 * math/libm-test.inc (cexp_test): Add more tests.
15946
1cef1b19
AS
159472013-04-03 Andreas Schwab <schwab@suse.de>
15948
15949 [BZ #15330]
15950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15951 order arrays from heap if bigger than alloca cutoff.
15952
74d87055
TS
159532013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15954
15955 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15956 (SNAN_TESTS_double): Refer to GCC PR56831.
15957 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15958 GCC PR56828.
15959
d755bba4
SP
159602013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15961
90d5d5bb
SP
15962 * Rules (bench): Move bench.out after the run is complete.
15963
73e0cd5d
SP
15964 * Rules (bench): Echo currently running benchmark.
15965
64aabd4b
SP
15966 * benchtests/Makefile (bench): Add atan and slowatan.
15967 * benchtests/atan-inputs: New file.
15968 * benchtests/slowatan-inputs: New file.
15969 * benchtests/slowatan.c: New file.
15970
c871eccd
SP
15971 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15973 its value.
15974
d755bba4
SP
15975 [BZ #15305]
15976 * sysdeps/unix/sysv/linux/kernel-features.h
15977 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15978 __ASSUME_XFS_RESTRICTED_CHOWN.
15979 * sysdeps/unix/sysv/linux/pathconf.c
15980 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15981 Save and restore errno.
15982
52ce4860
JM
159832013-04-02 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #15327]
15986 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15987 arguments using __kernel_casinh.
15988 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15989 arguments using __kernel_casinhf.
15990 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15991 arguments using __kernel_casinhl.
15992 * math/libm-test.inc (cacosh_test): Add more tests.
15993 * sysdeps/i386/fpu/libm-test-ulps: Update.
15994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15995
81f311c2
SP
159962013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15997
e7906a47
SP
15998 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16000
92e3664b
SP
16001 * bench/Makefile (bench): Add sin and slowsin.
16002 * benchtests/sin-inputs: New file.
16003 * benchtests/slowsin-inputs: New file.
16004 * benchtests/slowsin.c: New file.
16005
81f311c2
SP
16006 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16007 (bench): Add slowexp and slowpow.
16008 (exp-ITER): Increase iterations.
16009 (pow-ITER): Likewise.
16010 * benchtests/exp-inputs: Change input.
16011 * benchtests/pow-inputs: Likewise.
16012 * benchtests/slowexp-inputs: New file.
16013 * benchtests/slowexp.c: New file.
16014 * benchtests/slowpow-inputs: New file.
16015 * benchtests/slowpow.c: New file.
16016
ab0f1aa9
AZ
160172013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16018
16019 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16020 instructions.
16021 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16022 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16024 * benchtests/Makefile: Add rint benchtest.
16025 * benchtests/rint-inputs: Input for rint benchtest.
16026
57267616
TS
160272013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16028
16029 * Versions.def (libm): Add GLIBC_2.18.
16030 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16031 hidden libm prototypes.
16032 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16033 * math/Makefile (libm-calls): Add s_issignaling.
16034 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16035 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16036 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16037 declaration.
16038 * math/math.h [__USE_GNU] (issignaling): New macro.
16039 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16040 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16041 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16042 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16045 * manual/arith.texi (issignaling): New section.
16046 * manual/libm-err-tab.pl (@all_functions): Update comment.
16047 * math/gen-libm-test.pl (parse_args): Apply special handling for
16048 issignaling.
16049 * math/libm-test.inc (print_float, issignaling_test): New
16050 functions.
16051 (check_float_internal): Add issignaling checks.
16052 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16053 default definition.
16054 * sysdeps/powerpc/math-tests.h: New file.
16055 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16056 tests.
16057 * math/test-snan.c (TEST_FUNC): Likewise.
16058
6142896d
DM
160592013-03-30 David S. Miller <davem@davemloft.net>
16060
16061 * po/de.po: Update from translation team.
16062
ccc8cadf
JM
160632013-03-30 Joseph Myers <joseph@codesourcery.com>
16064
16065 [BZ #10357]
16066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16067 imaginary part less than 1.0 and real part less than 0.5
16068 specially.
16069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16071 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16072 (cacos_test): Add more tests.
16073 (casin_test): Likewise.
16074 (casinh_test): Likewise.
16075 * sysdeps/i386/fpu/libm-test-ulps: Update.
16076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16077
0f6a8d4b
SP
160782013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16079
0d1029de
SP
16080 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16081 ONE with its value.
16082
c2d94018
SP
16083 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16084 (__pow_mp): Replace ONE and MONE with their values.
16085 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16086 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16087 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16088 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16089 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16091
27ec37f1
SP
16092 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16093
a64d7e0e
SP
16094 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16095 (__pow_mp): Replace ZERO and MZERO with their values.
16096 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16098 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16100 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16101 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16102 (__sqr): Likewise.
16103
d26dd3eb
SP
16104 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16105
0f6a8d4b
SP
16106 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16107
e57b0c61
RM
161082013-03-28 Roland McGrath <roland@hack.frob.com>
16109
16110 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16111 Declare with __attribute__ ((weak)).
16112 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16113 Call __call_tls_dtors only if it's not NULL.
16114
356b3480
RM
161152013-03-28 Roland McGrath <roland@hack.frob.com>
16116
288f7d79
RM
16117 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16118 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16119 magic __ehdr_start linker symbol if it's defined.
16120 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16121 them up here if it was already done.
16122
dc0a0263
RM
16123 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16124 (_dl_aux_init): Use const in cast when setting it.
16125 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16126 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16127 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16128
3d3436ae
RM
16129 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16130 Declare them here.
16131 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16132 * csu/libc-tls.c: Nor here.
16133 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16134
356b3480
RM
16135 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16136 (__libc_message): Never call vsyslog.
16137
b0f1246a
AM
161382013-03-28 Alan Modra <amodra@gmail.com>
16139
16140 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16141 Define as empty.
16142 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16143 Likewise.
16144
fbbe2b9a
AZ
161452013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16146
16147 [BZ #15214]
16148 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16149 underflow.
16150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16151
1728ab37
SP
161522013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16153
7a86be6e
SP
16154 [BZ #15304]
16155 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16156 Don't add gid passed as argument.
16157
1728ab37
SP
16158 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16159
3a7182a1
JM
161602013-03-27 Joseph Myers <joseph@codesourcery.com>
16161
16162 [BZ #15307]
16163 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16164 imaginary part between 1.0 and 1.5 and real part less than 0.5
16165 specially.
16166 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16167 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16168 * math/libm-test.inc (cacos_test): Add more tests.
16169 (casin_test): Likewise.
16170 (casinh_test): Likewise.
16171 * sysdeps/i386/fpu/libm-test-ulps: Update.
16172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16173
6f2e90e7
SP
161742013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16175
5739f705
SP
16176 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16177 constants.
16178 (norm): Likewise.
16179 (denorm): Likewise.
16180 (__dbl_mp): Likewise.
16181 (add_magnitudes): Likewise.
16182 (sub_magnitudes): Likewise.
16183 (__add): Likewise.
16184 (__sub): Likewise.
16185 (__mul): Likewise.
16186 (__sqr): Likewise.
16187 (__inv): Likewise.
16188 (__dvd): Likewise.
16189
e375e83d
SP
16190 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16191 commented code.
16192 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16193 (__dubcos): Likewise.
16194 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16195 (__ieee754_acos): Likewise.
16196 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16198 (__exp1): Likewise.
16199 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16201 (log1): Likewise.
16202 (my_log2): Likewise.
16203 (checkint): Likewise.
16204 * sysdeps/ieee754/dbl-64/e_remainder.c
16205 (__ieee754_remainder): Likewise.
16206 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16208 (bsloww): Likewise.
16209 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16210
6f2e90e7
SP
16211 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16213 MANTISSA_STORE_T to store computations on mantissa. Use
16214 macros for rounding and division.
16215 (denorm): Likewise.
16216 (__dbl_mp): Likewise.
16217 (add_magnitudes): Likewise.
16218 (sub_magnitudes): Likewise.
16219 (__mul): Likewise.
16220 (__sqr): Likewise.
16221 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16222 powers of two in terms of TWOPOW macro.
16223 (mp_no): Make type of mantissa as MANTISSA_T.
16224 [!RADIXI]: Define RADIXI.
16225 [!TWO52]: Define TWO52.
16226 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16227
fce14d4e
AZ
162282013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16229
16230 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16231 llroundl symbol when building for PPC32.
16232
9ad027fb
MW
162332013-03-24 Mark H Weaver <mhw@netris.org>
16234
16235 * manual/arith.texi (Normalization Functions): Fix prototypes for
16236 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16237
e42a38dd
AZ
162382013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16239
16240 [BZ #13889]
16241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16242 high value to check if expl overflow.
16243 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16244 to check for underflow and overflow.
16245 * math/libm-test.inc: Add exp test.
16246
2e0fb521
DL
162472013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16248
16249 [BZ #11120]
16250 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16251 with NOT_IN_libc.
16252
b5784d95
AZ
162532013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16254
16255 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16256 symbol.
16257
5aa4a1a1
TS
162582013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16259
bdef0be7
TS
16260 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16261 wrap blocks consisting of several statements.
16262
5aa4a1a1
TS
16263 * sysdeps/generic/math-tests.h: New file.
16264 * sysdeps/i386/fpu/math-tests.h: Likewise.
16265 * math/test-snan.c: Include it.
16266 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16267
98c48fe5
JM
162682013-03-21 Joseph Myers <joseph@codesourcery.com>
16269
16270 [BZ #15285]
16271 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16272 (__ieee754_j0l): Do not improve calculations using cos of twice
16273 input for inputs above LDBL_MAX / 2.0L.
16274 (__ieee754_y0l): Likewise.
16275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16276 (__ieee754_j1l): Do not improve calculations using cos of twice
16277 input for inputs above LDBL_MAX / 2.0L.
16278 (__ieee754_y1l): Likewise.
16279 * math/libm-test.inc (j0_test): Add another test.
16280 (j1_test): Likewise.
16281 (y0_test): Likewise.
16282 (y1_test): Likewise.
16283 * sysdeps/i386/fpu/libm-test-ulps: Update.
16284
3775a8bc
SP
162852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16286
16287 * Rules ($(objpfx)bench-%.c): Include code from a C source
16288 file.
16289
0a1b2ae6
JM
162902013-03-21 Joseph Myers <joseph@codesourcery.com>
16291
16292 [BZ #15287]
16293 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16294 imaginary part 1.0 and real part less than 0.5 specially.
16295 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16296 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16297 * math/libm-test.inc (cacos_test): Add more tests.
16298 (casin_test): Likewise.
16299 (casinh_test): Likewise.
16300 * sysdeps/i386/fpu/libm-test-ulps: Update.
16301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16302
b33d4ce4
SP
163032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16304
16305 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16306 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16307
bef0b507
JM
163082013-03-20 Joseph Myers <joseph@codesourcery.com>
16309
16310 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16311 * config.make.in (config-cflags-sse4): Remove variable.
16312 (config-cflags-avx): Likewise.
16313 (config-cflags-sse2avx): Likewise.
16314 (config-cflags-novzeroupper): Likewise.
16315 (config-asflags-i686): Likewise.
16316 (have-mfma4): Likewise.
16317 (have-as-vis3): Likewise.
16318 (MIG): Likewise.
16319 * configure.in (MIG): Do not AC_SUBST.
16320 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16321 (libc_cv_cc_sse4): Do not AC_SUBST.
16322 (libc_cv_cc_avx): Likewise.
16323 (libc_cv_cc_sse2avx): Likewise.
16324 (libc_cv_cc_novzeroupper): Likewise.
16325 (libc_cv_cc_fma4): Likewise.
16326 (libc_cv_as_i686): Likewise.
16327 (libc_cv_sparc_as_vis3): Likewise.
16328 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16329 LIBC_CONFIG_VAR.
16330 (config-asflags-i686): Likewise.
16331 (config-cflags-avx): Likewise.
16332 (config-cflags-sse2avx): Likewise.
16333 (have-mfma4): Likewise.
16334 (config-cflags-novzeroupper): Likewise.
16335 * sysdeps/mach/configure.in (MIG): Likewise.
16336 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16337 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16338 LIBC_CONFIG_VAR.
16339 (config-cflags-avx): Likewise.
16340 (config-cflags-sse2avx): Likewise.
16341 (have-mfma4): Likewise.
16342 (config-cflags-novzeroupper): Likewise.
16343 * configure: Regenerated.
16344 * sysdeps/i386/configure: Likewise.
16345 * sysdeps/mach/configure: Likewise.
16346 * sysdeps/sparc/configure: Likewise.
16347 * sysdeps/x86_64/configure: Likewise.
16348
912cc4b3
RM
163492013-03-20 Roland McGrath <roland@hack.frob.com>
16350
16351 [BZ #14812]
16352 * locale/programs/localedef.c (options): Put N_ translation marker
16353 on argument names, not just descriptions.
16354
04eed2b0
MS
163552013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16356
16357 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16358
a065ceff
OB
163592013-03-20 Ondřej Bílka <neleai@seznam.cz>
16360
9bb2a810 16361 [BZ #14176]
a065ceff
OB
16362 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16363
a600e5ce
RM
163642013-03-19 Roland McGrath <roland@hack.frob.com>
16365
16366 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16367 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16368 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16369 [!BEFORE_ABORT] (before_abort): New function.
16370 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16371 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16372 (writev_for_fatal): New function.
16373 (WRITEV_FOR_FATAL): New macro; call that.
16374 (backtrace_and_maps): New function.
16375 (BEFORE_ABORT): New macro; call that.
16376 (struct str_list): Type removed.
16377 (__libc_message, __libc_fatal): Functions removed.
16378 Include <sysdeps/posix/libc_fatal.c> instead.
16379
6b18bea6
JM
163802013-03-19 Joseph Myers <joseph@codesourcery.com>
16381
16382 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16383 constants.
16384 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16385 double constants.
16386
aaa8cb4b
AS
163872013-03-19 Andreas Schwab <schwab@suse.de>
16388
44673770
AS
16389 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16390 * sysdeps/gnu/configure: Regenerate.
16391
aaa8cb4b
AS
16392 * configure.in: Substitute libc_cv_rtlddir.
16393 * configure: Regenerate.
16394 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16395 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16396 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16397 * elf/Makefile (install-others, CFLAGS-interp.c)
16398 (ldso_install, common-ldd-rewrite): Likewise.
16399 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16400 $(inst_slibdir)/$(rtld-installed-name).
16401 * scripts/rellns-sh: Add -p option.
16402 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16403 for source.
16404
d3cfc668
SP
164052013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16406
16407 * manual/nptl.texi: Renamed to ...
16408 * manual/threads.texi: ... this.
16409 * manual/Makefile (chapters): Update.
16410
0e2b9cdd
RM
164112013-03-18 Roland McGrath <roland@hack.frob.com>
16412
16413 [BZ #14812]
16414 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16415 on argument names, not just descriptions.
0e2b9cdd
RM
16416 * malloc/memusagestat.c (options): Likewise.
16417 * nss/getent.c (options): Likewise.
63270c24
RM
16418
164192013-03-18 Benno Schulenberg <bensberg@justemail.net>
16420
16421 [BZ #14812]
16422 * iconv/iconv_prog.c (options): Put N_ translation marker
16423 on argument names, not just descriptions.
16424 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16425
b2e1393c
OB
164262013-03-18 Ondrej Bilka <neleai@seznam.cz>
16427
16428 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16429 implementation which is faster on all x86_64 architectures.
16430 Tested on AMD, Intel Nehalem, SNB, IVB.
16431 * sysdeps/x86_64/strnlen.S: Likewise.
16432
16433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16434 Remove all multiarch strlen and strnlen versions.
16435 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16436 Remove strlen and strnlen related parts.
16437
16438 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16439 Inline strlen part.
16440 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16441
16442 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16443 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16444 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16445 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16446 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16447 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16448
ec4ff04d
CD
164492013-03-17 Carlos O'Donell <carlos@redhat.com>
16450
16451 * manual/memory.texi (Malloc Tunable Parameters):
16452 Sort parameters alphabetically. Add comments for missing entries.
16453
cd18e90a
DM
164542013-03-17 David S. Miller <davem@davemloft.net>
16455
16456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16457
2a185d32
JM
164582013-03-16 Joseph Myers <joseph@codesourcery.com>
16459
d2f9799e
JM
16460 [BZ #15283]
16461 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16462 for arguments at most half maximum finite value.
16463 * math/libm-test.inc (j0_test): Add more tests.
16464 (j1_test): Likewise.
16465 (y0_test): Likewise.
16466 (y1_test): Likewise.
16467 * sysdeps/i386/fpu/libm-test-ulps: Update.
16468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16469
2a185d32
JM
16470 [BZ #14155]
16471 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16472 1 / x and functions P and Q for arguments above 0x1p256L.
16473 (__ieee754_y0l): Likewise.
16474 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16475 (__ieee754_y1l): Likewise.
16476 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16477 (j1_test): Likewise.
16478 (y0_test): Likewise.
16479 (y1_test): Likewise.
16480
6cbec759
TS
164812013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16482
16483 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16484 variable.
16485
bc16e260
RM
164862013-03-15 Roland McGrath <roland@hack.frob.com>
16487
aefc9b8c
RM
16488 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16489 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16490 zero since it's initialized to EXEC_PAGESIZE.
16491
bc16e260
RM
16492 * sysdeps/unix/sysv/linux/ldsodefs.h
16493 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16494 * sysdeps/generic/ldsodefs.h: ... here.
16495
a57da955
TS
164962013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16497
af00a34d
TS
16498 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16499
495ded2c
TS
16500 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16501 math/test-snan.c.
16502 * math/test-snan.c: Renamed from
16503 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16504 * math/Makefile (tests): Add test-snan.
16505 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16506 test-powerpc-snan.
16507
777b0332
TS
16508 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16509 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16510 functions.
16511 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16512 __builtin_nan family of functions.
16513 * math/libm-test.inc (initialize): Initialize qnan_value with
16514 __builtin_nan family of functions.
16515 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16516 Remove variables.
16517 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16518 Remove functions.
16519 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16520 storage class. Initialize qNaN_var and sNaN_var with
16521 __builtin_nan and __builtin_nans families of functions,
16522 respectively.
16523
64d063b8
TS
16524 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16525 (sqrt_test): Remove duplicate test with qNaN input.
16526 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16527 (round_test, signbit_test, significand_test): Note missing +/-Inf
16528 as well as qNaN tests.
16529
67e971f1
TS
16530 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16531 qNaN_var. Fix a few strings, too.
16532 * math/libm-test.inc (nan_value): Rename to qnan_value.
16533 * math/gen-libm-test.pl (%beautify): Adjust to that.
16534 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16535 * math/test-misc.c (main): Likewise.
16536 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16537 to __qnan_bytes, and __qnan_union, respectively.
16538 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16539 Likewise.
16540 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16541 and lqnanval, respectively.
16542 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16543 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16544 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16545 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16546
64487e12
TS
16547 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16548 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16549 doubles.
16550
e015e27b
TS
16551 * math/test-misc.c (main): Fix copy'n'pastos.
16552 * misc/tst-efgcvt.c (special): Likewise.
16553
a57da955
TS
16554 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16555 Remove declarations.
16556
1e380345
SP
165572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16558
16559 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16560 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16561 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16562 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16563
ef26eece
AZ
165642013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16565
16566 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16567 macro to return vdso values correctly in IFUNC implementations.
16568 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16569 Optimization by using IFUNC.
16570
8cfdb7e0
SP
165712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16572 Richard Henderson <rth@redhat.com>
16573 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16574
16575 * Makefile.in (bench): New target.
16576 * NEWS: Mention the benchmark framework.
16577 * Rules (bench): Likewise.
16578 (binaries-bench): Generate binaries for functions to
16579 benchmark.
16580 * benchtests/Makefile: New makefile for benchmark tests.
16581 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16582 programs.
16583 * benchtests/exp-inputs: New input file for EXP function.
16584 * benchtests/pow-inputs: New input file for POW function.
16585 * scripts/bench.pl: New script to generate source files for
16586 benchmark programs.
16587
bcda9880
SP
165882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16589
d22ca8cd
SP
16590 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16591 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16592 computations on mantissa. Use macros for rounding and
16593 division.
16594 (denorm): Likewise.
16595 (__dbl_mp): Likewise.
16596 (add_magnitudes): Likewise.
16597 (sub_magnitudes): Likewise.
16598 (__mul): Likewise.
16599 (__sqr): Likewise.
16600 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16601 powers of two in terms of TWOPOW macro.
16602 (mp_no): Make type of mantissa as MANTISSA_T.
16603 [!RADIXI]: Define RADIXI.
16604 [!TWO52]: Define TWO52.
16605 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16606
bcda9880
SP
16607 * manual/nptl.texi (cindex): Modify threads to pthreads.
16608
06d5adfb
JM
166092013-03-15 Joseph Myers <joseph@codesourcery.com>
16610
16611 * sysdeps/x86_64/preconfigure: Regenerated.
16612
41c7328e
JM
166132013-03-14 Joseph Myers <joseph@codesourcery.com>
16614
16615 [BZ #14155]
16616 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16617 0x1p28 and above.
16618 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16619 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16620 0x1p28 and above.
16621 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16622 * math/libm-test.inc (j0_test): Do not allow one spurious
16623 underflow exception.
16624 (y1_test): Likewise.
16625
e25cfa60
SP
166262013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16627
0409959c
SP
16628 * manual/Makefile (chapters): Add nptl.
16629 * manual/debug.texi (Debugging Support): Add link to Threads
16630 chapter.
16631 * manual/nptl.texi: New file.
16632
e25cfa60
SP
16633 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16634
58a1335e
PB
166352013-03-14 Petr Baudis <pasky@ucw.cz>
16636
16637 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16638 for non-NULL pointer before the memory validity test. Pointed
16639 out by Holger Brunck <holger.brunck@keymile.com>.
16640
9dc7c64f
AS
166412013-03-13 Andreas Schwab <schwab@suse.de>
16642
16643 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16644 instead of .os.
16645
54206aa6
JM
166462013-03-13 Joseph Myers <joseph@codesourcery.com>
16647
16648 * timezone/zic.c: Update from tzcode 2013b.
16649
e98cdb38
CD
166502013-03-12 Carlos O'Donell <carlos@redhat.com>
16651
16652 * manual/install.texi (Configuring and compiling):
16653 Mention i686 and i586.
16654 * INSTALL: Regenerate.
16655
9967e003
RM
166562013-03-12 Roland McGrath <roland@hack.frob.com>
16657
16658 * sysdeps/init_array/elf-init.c: New file.
16659 * csu/elf-init.c
16660 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16661 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16662
16663 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16664 __gmon_start__ as global, but as static with a .preinit_array pointer.
16665 * sysdeps/init_array/gmon-start.c: New file. Use that.
16666 * sysdeps/init_array/crti.S: New file, empty except for comments.
16667 * sysdeps/init_array/crtn.S: Likewise.
16668
e6b5a293 166692013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16670
16671 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16672 definining bcopy.
80f844c9
OB
16673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16674 Remove Prefer_SSE_for_memop.
16675 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16676 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16677 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16679 memset-x86-64.
80f844c9 16680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16681 Remove bzero, memset ifunc support.
80f844c9
OB
16682 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16683 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16684 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16685 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16686
fb6b0fcb
AS
166872013-03-11 Andreas Schwab <schwab@suse.de>
16688
16689 [BZ #15234]
16690 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16691 by SHLIB_COMPAT.
16692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16693 (GLIBC_2.16): Remove pthread_atfork.
16694
3e6bd4b1
PP
166952013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16696
16697 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16698 (ptestcases.h): Likewise.
16699
222d7f00
RM
167002013-03-08 Roland McGrath <roland@hack.frob.com>
16701
16702 * Makeconfig ($(common-objpfx)config.status): Depend on
16703 sysdeps/*/preconfigure{,.in} too.
16704
1ba4f030
JM
167052013-03-08 Joseph Myers <joseph@codesourcery.com>
16706
a222d91a
JM
16707 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16708 (__free_hook): Use void * instead of __malloc_ptr_t.
16709 (__malloc_hook): Likewise.
16710 (__realloc_hook): Likewise.
16711 (__memalign_hook): Likewise.
16712 (__after_morecore_hook): Likewise.
16713 * malloc/arena.c (save_malloc_hook): Likewise.
16714 (save_free_hook): Likewise.
16715 * malloc/hooks.c (malloc_hook_ini): Likewise.
16716 (realloc_hook_ini): Likewise.
16717 (memalign_hook_ini): Likewise.
16718 * malloc/malloc.c (malloc_hook_ini): Likewise.
16719 (realloc_hook_ini): Likewise.
16720 (memalign_hook_ini): Likewise.
16721 (__free_hook): Likewise.
16722 (__malloc_hook): Likewise.
16723 (__realloc_hook): Likewise.
16724 (__memalign_hook): Likewise.
16725 (__libc_malloc): Likewise.
16726 (__libc_free): Likewise.
16727 (__libc_realloc): Likewise.
16728 (__libc_memalign): Likewise.
16729 (__libc_valloc): Likewise.
16730 (__libc_pvalloc): Likewise.
16731 (__libc_calloc): Likewise.
16732 (__posix_memalign): Likewise.
16733 * malloc/morecore.c (__sbrk): Likewise.
16734 (__default_morecore): Likewise.
16735
5cc45e10
JM
16736 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16737
dd54b864
JM
16738 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16739 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16740 __malloc_ptrdiff_t.
16741
1ba4f030
JM
16742 * malloc/malloc.h (__malloc_size_t): Remove macro.
16743 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16744 __malloc_size_t.
16745 (old_memalign_hook): Likewise.
16746 (old_realloc_hook): Likewise.
16747 (struct hdr): Likewise.
16748 (flood): Likewise.
16749 (mallochook): Likewise.
16750 (memalignhook): Likewise.
16751 (reallochook): Likewise.
16752 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16753 (tr_old_realloc_hook): Likewise.
16754 (tr_old_memalign_hook): Likewise.
16755 (tr_mallochook): Likewise.
16756 (tr_reallochook): Likewise.
16757 (tr_memalignhook): Likewise.
16758
edf66e57
AZ
167592013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16760
16761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16762 default_ldbl_pack and using as default implementation.
16763 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16764 implementation.
16765 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16766 redundant definition.
16767 (ldbl_insert_mantissa): Likewise.
16768 (ldbl_canonicalize): Likewise.
16769 (ldbl_nearbyint): Likewise.
16770 (ldbl_pack): Rename to ldbl_pack_ppc.
16771 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16772 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16773 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16774
6d9145d8
SP
167752013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
16777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16778 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16779 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16780 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16782 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16783 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16784 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16785
4dd4e157
AJ
167862013-03-07 Andreas Jaeger <aj@suse.de>
16787
16788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16789 bits/mman-linux.h.
16790
adbb8027
SP
167912013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16792
ce544b5b
SP
16793 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16794 Include mpa.h and declare __MPEXP.
16795 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16796 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16797 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16798 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16799 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16800 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16801 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16802
4cc149fd
SP
16803 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16804 (__slowpow): Use long double EXPL and LOGL functions to
16805 compute POW.
16806 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16807 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16808 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16809 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16810 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16812
e6ebd4a7
SP
16813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16814 intermediate variable to calculate exponent.
16815 (__sqr): Likewise.
16816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16817 Likewise.
16818 (__sqr): Likewise.
16819
82a9811d
SP
16820 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16821 [!NO__SQR]: Define __sqr.
16822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16823 and NO__SQR. Remove all code except __mul and __sqr. Include
16824 sysdeps/ieee754/dbl-64/mpa.c.
16825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16826
adbb8027
SP
16827 [BZ #12723]
16828 * posix/Makefile (tests): Add tst-pathconf.
16829 * posix/tst-pathconf.c: New test case.
16830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16831 _PC_PIPE_BUF.
16832 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16833
39120df9
PF
168342013-03-06 Patsy Franklin <pfrankli@redhat.com>
16835
16836 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16837
67525cb8
AJ
168382013-03-06 Andreas Jaeger <aj@suse.de>
16839
664a9ce4
AJ
16840 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16841 definition via __MAP_ANONYMOUS.
16842
8e39047d
AJ
16843 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16844 it's not part of Linux headers.
16845
67525cb8
AJ
16846 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16847 (MAP_HUGE_MASK): Define.
16848
16849 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16850 Define.
16851 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16853 Define.
16854 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16855 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16856 Define.
16857 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16859 Define.
16860 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16861
16862 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16863 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16864 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16865 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16866 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16867 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16868
16869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16870 Handle f2fs.
16871
16872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16873 Handle f2fs and efivarfs.
16874
16875 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16876 f2fs.
16877
16878 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16879 (EFIVARFS_MAGIC): Add.
16880 (F2FS_LINK_MAX): Add.
16881
e1b42695
PP
168822013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16883
16884 * stdio-common/vfprintf.c: Replace __builtin_expect with
16885 __glibc_unlikely.
16886
2d67d91a
JM
168872013-03-06 Joseph Myers <joseph@codesourcery.com>
16888
16889 [BZ #13550]
16890 * sysdeps/generic/bp-sym.h: Remove file.
16891 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16892 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16893 <bp-sym.h> and <bp-asm.h>.
16894 (__longjmp): Don't use BP_SYM.
16895 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16896 and <bp-asm.h>.
16897 (memcpy): Don't use BP_SYM.
16898 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16899 <bp-sym.h> and <bp-asm.h>.
16900 (memcpy): Don't use BP_SYM.
16901 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16902 <bp-asm.h>.
16903 (memcpy): Don't use BP_SYM.
16904 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16905 <bp-asm.h>.
16906 (memset): Don't use BP_SYM.
16907 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16908 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16909 (__bzero): Don't use BP_SYM.
16910 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16911 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16912 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16913 <bp-sym.h> and <bp-asm.h>.
16914 (memcmp): Don't use BP_SYM. Remove comment about bounded
16915 pointers.
16916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16917 <bp-sym.h> and <bp-asm.h>.
16918 (memcpy): Don't use BP_SYM.
16919 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16920 <bp-sym.h> and <bp-asm.h>.
16921 (memset): Don't use BP_SYM.
16922 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16923 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16924 (__bzero): Don't use BP_SYM.
16925 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16926 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16927 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (strncmp): Don't use BP_SYM. Remove comment about bounded
16930 pointers.
16931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16932 <bp-sym.h> and <bp-asm.h>.
16933 (memcpy): Don't use BP_SYM.
16934 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16935 <bp-sym.h> and <bp-asm.h>.
16936 (memset): Don't use BP_SYM.
16937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16939 (__bzero): Don't use BP_SYM.
16940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16942 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (__memchr): Don't use BP_SYM.
16945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16946 <bp-sym.h> and <bp-asm.h>.
16947 (memcmp): Don't use BP_SYM. Remove comment about bounded
16948 pointers.
16949 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16950 <bp-sym.h> and <bp-asm.h>.
16951 (memcpy): Don't use BP_SYM.
16952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16953 <bp-sym.h> and <bp-asm.h>.
16954 (__mempcpy): Don't use BP_SYM.
16955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16956 <bp-sym.h> and <bp-asm.h>.
16957 (__memrchr): Don't use BP_SYM.
16958 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16959 <bp-sym.h> and <bp-asm.h>.
16960 (memset): Don't use BP_SYM.
16961 (__bzero): Likewise.
16962 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16963 <bp-sym.h> and <bp-asm.h>.
16964 (__rawmemchr): Don't use BP_SYM.
16965 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16966 <bp-sym.h> and <bp-asm.h>.
16967 (__STRCMP): Don't use BP_SYM.
16968 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16969 <bp-sym.h> and <bp-asm.h>.
16970 (strchr): Don't use BP_SYM.
16971 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16972 <bp-sym.h> and <bp-asm.h>.
16973 (__strchrnul): Don't use BP_SYM.
16974 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16975 <bp-sym.h> and <bp-asm.h>.
16976 (strlen): Don't use BP_SYM.
16977 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16978 <bp-sym.h> and <bp-asm.h>.
16979 (strncmp): Don't use BP_SYM. Remove comment about bounded
16980 pointers.
16981 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16982 <bp-sym.h> and <bp-asm.h>.
16983 (__strnlen): Don't use BP_SYM.
16984 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16985 <bp-sym.h> and <bp-asm.h>.
16986 (__GI__setjmp): Don't use BP_SYM.
16987 (_setjmp): Likewise.
16988 (__sigsetjmp): Likewise.
16989 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16990 (L(start_addresses)): Don't use BP_SYM.
16991 (_start): Likewise.
16992 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16993 <bp-asm.h>.
16994 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16995 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16996 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16997 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16998 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16999 <bp-asm.h>.
17000 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17001 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17002 about bounded pointers.
17003 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17004 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17005 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17006 <bp-asm.h>.
17007 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17008 about bounded pointers. Remove GKM FIXME comments.
17009 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17010 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17011 <bp-asm.h>.
17012 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17013 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17014 Remove GKM FIXME comments.
17015 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17016 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17017 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17018 <bp-asm.h>.
17019 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17020 about bounded pointers. Remove GKM FIXME comment.
17021 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17022 and <bp-asm.h>.
17023 (strncmp): Don't use BP_SYM. Remove comment about bounded
17024 pointers.
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17026 <bp-sym.h> and <bp-asm.h>.
17027 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17029 <bp-sym.h> and <bp-asm.h>.
17030 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17031 comment.
17032
cdcf361f
PP
170332013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17034
17035 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17036 call free(NULL).
17037
3c4a2b15
DM
170382013-03-05 David S. Miller <davem@davemloft.net>
17039
17040 * po/es.po: Update from translation team.
17041
cdcf361f 170422013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17043
17044 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17045 <bits/mman-linux.h>.
17046 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17047 is fine.
17048 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17049 <bits/mman-linux.h> to end of file.
17050 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17051 is fine.
17052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17053 <bits/mman-linux.h> to end of file.
17054 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17055 is fine.
17056 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17057 <bits/mman-linux.h> to end of file.
17058
17059 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17060 (MCL_CURRENT, MCL_FUTURE): Define here.
17061
5f67c04f
AK
170622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17063
8a4473cc 17064 [BZ #15232]
5f67c04f
AK
17065 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17066 attribute_hidden.
17067 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17068
c3e94a95
AK
170692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17070
17071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17072 fourth parameter needed for rt_sigprocmask syscall.
17073 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17074 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17075 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17076 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17077 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17078 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17079
cfb6382a
JM
170802013-03-04 Joseph Myers <joseph@codesourcery.com>
17081
17082 [BZ #13550]
17083 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17084 comment about bounded pointers.
17085 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17086 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17087
539d8e01
AJ
170882013-03-04 Andreas Jaeger <aj@suse.de>
17089
17090 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17091 common definitions.
17092
17093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17094 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17096 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17098 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17099
2e167a70 171002013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17101
17102 [BZ #15055]
17103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17104 __ieee754_sqrl instead of __sqrl.
17105
68508633
JM
171062013-03-01 Joseph Myers <joseph@codesourcery.com>
17107
17108 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17109 * sysdeps/powerpc/fpu_control.h: ... here.
17110 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17111 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17112 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17113 * sysdeps/powerpc/bits/mathinline.h: ... here.
17114
7775448e
RM
171152013-03-01 Roland McGrath <roland@hack.frob.com>
17116
17117 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17118 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17119 to just [NEED_DL_SYSINFO_DSO].
17120 * elf/dl-support.c: Likewise.
17121 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17122 * elf/rtld.c (dl_main): Likewise.
17123 * elf/setup-vdso.h (setup_vdso): Likewise.
17124 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17125 * sysdeps/unix/sysv/linux/dl-sysdep.c
17126 (_dl_discover_osversion): Likewise.
17127
4e9b5995
CD
171282013-03-01 Carlos O'Donell <carlos@redhat.com>
17129
17130 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17131 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17132
e23872c8
SP
171332013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17134
e5c74c63
SP
17135 * NEWS: Mention libm performance improvements and non-x86 PI
17136 futex support.
17137
e23872c8
SP
17138 * csu/libc-start.c (__pthread_initialize_minimal): Change
17139 function arguments.
17140 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17141
b5510883
JM
171422013-02-28 Joseph Myers <joseph@codesourcery.com>
17143
17144 [BZ #13550]
17145 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17146 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17147 <bp-sym.h> and <bp-asm.h>.
17148 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17149 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17150 and <bp-asm.h>.
17151 (memcpy): Don't use BP_SYM.
17152 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17153 <bp-asm.h>.
17154 (__mpn_add_n): Don't use BP_SYM.
17155 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17156 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17157 and <bp-asm.h>.
17158 (__mpn_addmul_1): Don't use BP_SYM.
17159 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17160 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17161 <bp-sym.h>.
17162 (_setjmp): Don't use BP_SYM.
17163 (__novmx_setjmp): Likewise.
17164 (__GI__setjmp): Likewise.
17165 (__vmx_setjmp): Likewise.
17166 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17167 <bp-sym.h>.
17168 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17169 (__bzero): Don't use BP_SYM.
17170 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17171 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17172 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17173 <bp-sym.h> and <bp-asm.h>.
17174 (memcpy): Don't use BP_SYM.
17175 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17176 <bp-sym.h> and <bp-asm.h>.
17177 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17178 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17179 <bp-sym.h> and <bp-asm.h>.
17180 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17181 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17182 <bp-asm.h>.
17183 (__mpn_lshift): Don't use BP_SYM.
17184 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17185 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17186 <bp-asm.h>.
17187 (memset): Don't use BP_SYM.
17188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17190 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17191 <bp-asm.h>.
17192 (__mpn_mul_1): Don't use BP_SYM.
17193 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17194 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17195 <bp-sym.h> and <bp-asm.h>.
17196 (memcmp): Don't use BP_SYM.
17197 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17198 <bp-sym.h> and <bp-asm.h>.
17199 (memcpy): Don't use BP_SYM.
17200 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17201 <bp-sym.h> and <bp-asm.h>.
17202 (memset): Don't use BP_SYM.
17203 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17204 <bp-sym.h> and <bp-asm.h>.
17205 (strncmp): Don't use BP_SYM.
17206 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17207 <bp-sym.h> and <bp-asm.h>.
17208 (memcpy): Don't use BP_SYM.
17209 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17210 <bp-sym.h> and <bp-asm.h>.
17211 (memset): Don't use BP_SYM.
17212 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17213 <bp-sym.h> and <bp-asm.h>.
17214 (__memchr): Don't use BP_SYM.
17215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17216 <bp-sym.h> and <bp-asm.h>.
17217 (memcmp): Don't use BP_SYM.
17218 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17219 <bp-sym.h> and <bp-asm.h>.
17220 (memcpy): Don't use BP_SYM.
17221 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17222 <bp-sym.h> and <bp-asm.h>.
17223 (__mempcpy): Don't use BP_SYM.
17224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17225 <bp-sym.h> and <bp-asm.h>.
17226 (__memrchr): Don't use BP_SYM.
17227 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17228 <bp-sym.h> and <bp-asm.h>.
17229 (memset): Don't use BP_SYM.
17230 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17231 <bp-sym.h> and <bp-asm.h>.
17232 (__rawmemchr): Don't use BP_SYM.
17233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17234 <bp-sym.h> and <bp-asm.h>.
17235 (__STRCMP): Don't use BP_SYM.
17236 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17237 <bp-sym.h> and <bp-asm.h>.
17238 (strchr): Don't use BP_SYM.
17239 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17240 <bp-sym.h> and <bp-asm.h>.
17241 (__strchrnul): Don't use BP_SYM.
17242 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17243 <bp-sym.h> and <bp-asm.h>.
17244 (strlen): Don't use BP_SYM.
17245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17246 <bp-sym.h> and <bp-asm.h>.
17247 (strncmp): Don't use BP_SYM.
17248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17249 <bp-sym.h> and <bp-asm.h>.
17250 (__strnlen): Don't use BP_SYM.
17251 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17252 <bp-asm.h>.
17253 (__mpn_rshift): Don't use BP_SYM.
17254 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17255 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17256 <bp-sym.h> and <bp-asm.h>.
17257 (__sigsetjmp): Don't use BP_SYM.
17258 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17259 (L(start_addresses)): Don't use BP_SYM.
17260 (_start): Likewise.
17261 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17262 <bp-asm.h>.
17263 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17264 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17265 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17266 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17267 <bp-asm.h>.
17268 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17269 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17270 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17271 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17272 <bp-asm.h>.
17273 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17274 comments.
17275 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17276 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17277 <bp-asm.h>.
17278 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17279 FIXME comments.
17280 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17281 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17282 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17283 <bp-asm.h>.
17284 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17285 comment.
17286 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17287 and <bp-asm.h>.
17288 (strncmp): Don't use BP_SYM,
17289 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17290 <bp-asm.h>.
17291 (__mpn_sub_n): Don't use BP_SYM.
17292 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17293 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17294 and <bp-asm.h>.
17295 (__mpn_submul_1): Don't use BP_SYM.
17296 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17298 <bp-sym.h> and <bp-asm.h>.
17299 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17301 <bp-sym.h> and <bp-asm.h>.
17302 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17303 comment.
17304
8d19fe64
SP
173052013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17306
17307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17308 Use ZK to minimize writes to Z.
17309 (sub_magnitudes): Simplify code a bit.
17310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17311 Use ZK to minimize writes to Z.
17312 (sub_magnitudes): Simplify code a bit.
17313
85bd816a
RM
173142013-02-27 Roland McGrath <roland@hack.frob.com>
17315
17316 * csu/gmon-start.c: Add special exception to license text.
17317
b5977bf2
RH
173182013-02-27 Richard Henderson <rth@redhat.com>
17319
17320 * scripts/config.guess: Update from config.git.
17321 * scripts/config.sub: Likewise.
17322
11d6e2f2
SP
173232013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17324
09c14ed2
SP
17325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17326
a688864e
SP
17327 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17328
6295157a
SP
17329 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17330
b8de2202
SP
17331 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17332
11d6e2f2
SP
17333 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17334
7e80ddb8
RM
173352013-02-26 Roland McGrath <roland@hack.frob.com>
17336
17337 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17338 [$(build-shared = yes].
7e80ddb8 17339
7da6d9ed
SP
173402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17341
45f05884
SP
17342 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17343 (__mul): Reduce iterations for calculating mantissa.
17344
2236d359
SP
17345 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17346 MPTWO.
17347 (__mpranred): Likewise.
17348
7da6d9ed
SP
17349 [BZ #15160]
17350 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17351 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17352
b7688c42
PE
173532013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17354
17355 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17356 Define __attribute__.
17357
53a5c423
SP
173582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17359
17360 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17361 unused.
17362 * posix/regex_internal.h (__attribute): Remove.
17363 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17364 (re_string_context_at): Likewise.
17365 (bitset_not): Use __attribute__ and mark function as possibly
17366 unused.
17367 (bitset_merge): Likewise.
17368 (bitset_mask): Likewise.
17369 (re_string_char_size_at): Likewise.
17370 (re_string_wchar_at): Likewise.
17371 (re_string_elem_size_at): Likewise.
17372
60f5a8b5
SP
173732013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17374
2a983a2e
SP
17375 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17376 code.
17377 (cc32): Likewise.
17378
e69804d1
SP
17379 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17380 (__acr): Likewise.
17381 (__cpy): Likewise.
17382 (norm): Likewise.
17383 (denorm): Likewise.
17384 (__dbl_mp): Likewise.
17385 (add_magnitudes): Likewise.
17386 (sub_magnitudes): Likewise.
17387 (__mul): Likewise.
17388 (__inv): Likewise.
17389
2f22a1e8
SP
17390 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17391 style.
17392
8930ddc7
SP
17393 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17394 style.
17395
dc60cb11
SP
17396 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17397 code.
17398
60f5a8b5
SP
17399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17400 up changes with default code.
17401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17402 Likewise.
17403
b4d1fd33
AM
174042013-02-24 Allan McRae <allan@archlinux.org>
17405
faf6f8bc
AM
17406 * manual/socket.texi (The Internet Namespace): Order menu items
17407 to match that in the file.
17408
b4d1fd33
AM
17409 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17410 node listing of the info page menu.
17411
2366713d
JM
174122013-02-21 Joseph Myers <joseph@codesourcery.com>
17413
17414 [BZ #13550]
17415 * sysdeps/i386/bp-asm.h: Remove file.
17416 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17417 (PARMS): Do not use macros from bp-asm.h.
17418 (S1): Likewise.
17419 (S2): Likewise.
17420 (SIZE): Likewise.
17421 (__mpn_add_n): Do not use BP_SYM
17422 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17423 "bp-asm.h".
17424 (PARMS): Do not use macros from bp-asm.h.
17425 (S1): Likewise.
17426 (SIZE): Likewise.
17427 (__mpn_addmul_1): Do not use BP_SYM
17428 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17429 "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (SIGMSK): Likewise.
17432 (_setjmp): Likewise. Do not use BP_SYM.
17433 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17434 "bp-asm.h".
17435 (PARMS): Do not use macros from bp-asm.h.
17436 (SIGMSK): Likewise.
17437 (setjmp): Likewise. Do not use BP_SYM.
17438 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17439 "bp-asm.h".
17440 (PARMS): Do not use macros from bp-asm.h.
17441 (__frexp): Do not use BP_SYM.
17442 (frexp): Likewise.
17443 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17444 "bp-asm.h".
17445 (PARMS): Do not use macros from bp-asm.h.
17446 (__frexpf): Do not use BP_SYM.
17447 (frexpf): Likewise.
17448 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17449 "bp-asm.h".
17450 (PARMS): Do not use macros from bp-asm.h.
17451 (__frexpl): Do not use BP_SYM.
17452 (frexpl): Likewise.
17453 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17454 "bp-asm.h".
17455 (PARMS): Do not use macros from bp-asm.h.
17456 (__remquo): Do not use BP_SYM.
17457 (remquo): Likewise.
17458 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17459 "bp-asm.h".
17460 (PARMS): Do not use macros from bp-asm.h.
17461 (__remquof): Do not use BP_SYM.
17462 (remquof): Likewise.
17463 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17464 "bp-asm.h".
17465 (PARMS): Do not use macros from bp-asm.h.
17466 (__remquol): Do not use BP_SYM.
17467 (remquol): Likewise.
17468 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17469 "bp-asm.h".
17470 (PARMS): Do not use macros from bp-asm.h.
17471 (DEST): Likewise.
17472 (SRC): Likewise.
17473 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17474 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17475 "bp-asm.h".
17476 (PARMS): Do not use macros from bp-asm.h.
17477 (strlen): Do not use BP_SYM.
17478 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17479 "bp-asm.h".
17480 (PARMS): Do not use macros from bp-asm.h.
17481 (S1): Likewise.
17482 (S2): Likewise.
17483 (SIZE): Likewise.
17484 (__mpn_add_n): Do not use BP_SYM.
17485 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17486 "bp-asm.h".
17487 (PARMS): Do not use macros from bp-asm.h.
17488 (S1): Likewise.
17489 (SIZE): Likewise.
17490 (__mpn_addmul_1): Do not use BP_SYM.
17491 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17492 weak_alias.
17493 (bzero): Likewise.
17494 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17495 "bp-asm.h".
17496 (PARMS): Do not use macros from bp-asm.h.
17497 (S): Likewise.
17498 (SIZE): Likewise.
17499 (__mpn_lshift): Do not use BP_SYM.
17500 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17501 "bp-asm.h".
17502 (PARMS): Do not use macros from bp-asm.h.
17503 (DEST): Likewise.
17504 (SRC): Likewise.
17505 (LEN): Likewise.
17506 (memcpy): Likewise. Do not use BP_SYM.
17507 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17508 libc_hidden_def and weak_alias.
17509 (mempcpy): Do not use BP_SYM in weak_alias.
17510 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17511 "bp-asm.h".
17512 (PARMS): Do not use macros from bp-asm.h.
17513 (DEST): Likewise.
17514 (LEN): Likewise.
17515 [!BZERO_P] (CHR): Likewise.
17516 (memset): Likewise. Do not use BP_SYM.
17517 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17518 "bp-asm.h".
17519 (PARMS): Do not use macros from bp-asm.h.
17520 (S1): Likewise.
17521 (SIZE): Likewise.
17522 (__mpn_mul_1): Do not use BP_SYM.
17523 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17524 "bp-asm.h".
17525 (PARMS): Do not use macros from bp-asm.h.
17526 (S): Likewise.
17527 (SIZE): Likewise.
17528 (__mpn_rshift): Do not use BP_SYM.
17529 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17530 "bp-asm.h".
17531 (PARMS): Do not use macros from bp-asm.h.
17532 (STR): Likewise.
17533 (CHR): Likewise.
17534 (strchr): Likewise. Do not use BP_SYM.
17535 (index): Do not use BP_SYM in weak_alias.
17536 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17537 "bp-asm.h".
17538 (PARMS): Do not use macros from bp-asm.h.
17539 (DEST): Likewise.
17540 (SRC): Likewise.
17541 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17542 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17543 "bp-asm.h".
17544 (PARMS): Do not use macros from bp-asm.h.
17545 (strlen): Do not use BP_SYM.
17546 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17547 "bp-asm.h".
17548 (PARMS): Do not use macros from bp-asm.h.
17549 (S1): Likewise.
17550 (S2): Likewise.
17551 (SIZE): Likewise.
17552 (__mpn_sub_n): Do not use BP_SYM.
17553 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17554 "bp-asm.h".
17555 (PARMS): Do not use macros from bp-asm.h.
17556 (S1): Likewise.
17557 (SIZE): Likewise.
17558 (__mpn_submul_1): Do not use BP_SYM.
17559 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17560 "bp-asm.h".
17561 (PARMS): Do not use macros from bp-asm.h.
17562 (S1): Likewise.
17563 (S2): Likewise.
17564 (SIZE): Likewise.
17565 (__mpn_add_n): Do not use BP_SYM.
17566 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17567 weak_alias.
17568 (bzero): Likewise.
17569 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17570 "bp-asm.h".
17571 (PARMS): Do not use macros from bp-asm.h.
17572 (BLK2): Likewise.
17573 (LEN): Likewise.
17574 (memcmp): Do not use BP_SYM.
17575 (bcmp): Do not use BP_SYM in weak_alias.
17576 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17577 "bp-asm.h".
17578 (PARMS): Do not use macros from bp-asm.h.
17579 (DEST): Likewise.
17580 (SRC): Likewise.
17581 (LEN): Likewise.
17582 (memcpy): Likewise. Do not use BP_SYM.
17583 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17584 "bp-asm.h".
17585 (PARMS): Do not use macros from bp-asm.h.
17586 (DEST): Likewise.
17587 (SRC): Likewise.
17588 (LEN): Likewise.
17589 (memmove): Likewise. Do not use BP_SYM.
17590 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17591 "bp-asm.h".
17592 (PARMS): Do not use macros from bp-asm.h.
17593 (DEST): Likewise.
17594 (SRC): Likewise.
17595 (LEN): Likewise.
17596 (__mempcpy): Likewise. Do not use BP_SYM.
17597 (mempcpy): Do not use BP_SYM in weak_alias.
17598 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17599 "bp-asm.h".
17600 (PARMS): Do not use macros from bp-asm.h.
17601 (DEST): Likewise.
17602 (LEN): Likewise.
17603 [!BZERO_P] (CHR): Likewise.
17604 (memset): Likewise. Do not use BP_SYM.
17605 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17606 "bp-asm.h".
17607 (PARMS): Do not use macros from bp-asm.h.
17608 (STR2): Likewise.
17609 (strcmp): Do not use BP_SYM.
17610 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17611 "bp-asm.h".
17612 (PARMS): Do not use macros from bp-asm.h.
17613 (STR): Likewise.
17614 (DELIM): Likewise.
17615 [USE_AS_STRTOK_R] (SAVE): Likewise.
17616 (FUNCTION): Likewise. Do not use BP_SYM.
17617 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17618 aliases.
17619 (strtok_r): Likewise.
17620 (__GI___strtok_r): Likewise.
17621 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17622 (PARMS): Do not use macros from bp-asm.h.
17623 (S): Likewise.
17624 (SIZE): Likewise.
17625 (__mpn_lshift): Do not use BP_SYM.
17626 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17627 (PARMS): Do not use macros from bp-asm.h.
17628 (STR): Likewise.
17629 (CHR): Likewise.
17630 (__memchr): Do not use BP_SYM.
17631 (memchr): Do not use BP_SYM in weak_alias.
17632 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17633 (PARMS): Do not use macros from bp-asm.h.
17634 (BLK2): Likewise.
17635 (LEN): Likewise.
17636 (memcmp): Do not use BP_SYM.
17637 (bcmp): Do not use BP_SYM in weak_alias.
17638 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17639 (PARMS): Do not use macros from bp-asm.h.
17640 (S1): Likewise.
17641 (SIZE): Likewise.
17642 (__mpn_mul_1): Do not use BP_SYM.
17643 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17644 "bp-asm.h".
17645 (PARMS): Do not use macros from bp-asm.h.
17646 (STR): Likewise.
17647 (CHR): Likewise.
17648 (__rawmemchr): Do not use BP_SYM.
17649 (rawmemchr): Do not use BP_SYM in weak_alias.
17650 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17651 (PARMS): Do not use macros from bp-asm.h.
17652 (S): Likewise.
17653 (SIZE): Likewise.
17654 (__mpn_rshift): Do not use BP_SYM.
17655 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17656 (PARMS): Do not use macros from bp-asm.h.
17657 (SIGMSK): Likewise.
17658 (__sigsetjmp): Likewise. Do not use BP_SYM.
17659 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17660 (_start): Do not use BP_SYM.
17661 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17662 (PARMS): Do not use macros from bp-asm.h.
17663 (DEST): Likewise.
17664 (SRC): Likewise.
17665 (__stpcpy): Likewise. Do not use BP_SYM.
17666 (stpcpy): Do not use BP_SYM in weak_alias.
17667 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17668 "bp-asm.h".
17669 (PARMS): Do not use macros from bp-asm.h.
17670 (DEST): Likewise.
17671 (SRC): Likewise.
17672 (LEN): Likewise.
17673 (__stpncpy): Likewise. Do not use BP_SYM.
17674 (stpncpy): Do not use BP_SYM in weak_alias.
17675 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17676 (PARMS): Do not use macros from bp-asm.h.
17677 (STR): Likewise.
17678 (CHR): Likewise.
17679 (strchr): Likewise. Do not use BP_SYM.
17680 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17681 "bp-asm.h".
17682 (PARMS): Do not use macros from bp-asm.h.
17683 (STR): Likewise.
17684 (CHR): Likewise.
17685 (__strchrnul): Likewise. Do not use BP_SYM.
17686 (strchrnul): Do not use BP_SYM in weak_alias.
17687 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17688 "bp-asm.h".
17689 (PARMS): Do not use macros from bp-asm.h.
17690 (STOP): Likewise.
17691 (strcspn): Do not use BP_SYM.
17692 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17693 "bp-asm.h".
17694 (PARMS): Do not use macros from bp-asm.h.
17695 (STR): Likewise.
17696 (STOP): Likewise.
17697 (strpbrk): Likewise. Do not use BP_SYM.
17698 * sysdeps/i386/strrchr.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 (strrchr): Likewise. Do not use BP_SYM.
17704 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17705 (PARMS): Do not use macros from bp-asm.h.
17706 (SKIP): Likewise.
17707 (strspn): Do not use BP_SYM.
17708 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17709 (PARMS): Do not use macros from bp-asm.h.
17710 (STR): Likewise.
17711 (DELIM): Likewise.
17712 (SAVE): Likewise.
17713 (FUNCTION): Likewise. Do not use BP_SYM.
17714 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17715 aliases.
17716 (strtok_r): Likewise.
17717 (__GI___strtok_r): Likewise.
17718 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17719 (PARMS): Do not use macros from bp-asm.h.
17720 (S1): Likewise.
17721 (S2): Likewise.
17722 (SIZE): Likewise.
17723 (__mpn_sub_n): Do not use BP_SYM.
17724 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17725 "bp-asm.h".
17726 (PARMS): Do not use macros from bp-asm.h.
17727 (S1): Likewise.
17728 (SIZE): Likewise.
17729 (__mpn_submul_1): Do not use BP_SYM.
17730 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17731 <bp-sym.h>.
17732 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17733 and <bp-asm.h>.
17734 (PARMS): Do not use macros from bp-asm.h.
17735 (FLAGS): Likewise.
17736 (PTID): Likewise.
17737 (TLS): Likewise.
17738 (CTID): Likewise.
17739 (__clone): Do not use BP_SYM.
17740 (clone): Do not use BP_SYM in weak_alias.
17741 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17742 and <bp-asm.h>.
17743 (PARMS): Do not use macros from bp-asm.h.
17744 (LEN): Likewise.
17745 (__mmap64): Do not use BP_SYM.
17746 (mmap64): Do not use BP_SYM in weak_alias.
17747 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17748 <bp-sym.h> and <bp-asm.h>.
17749 (PARMS): Do not use macros from bp-asm.h.
17750 (__posix_fadvise64_l64): Do not use BP_SYM.
17751 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17752 (PARMS): Do not use macros from bp-asm.h.
17753 (NSOPS): Likewise.
17754 (semtimedop): Do not use BP_SYM.
17755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17756 and <bp-asm.h>.
17757
582a3cff
AM
177582013-02-21 Allan McRae <allan@archlinux.org>
17759
17760 * manual/message.texi (Charset conversion in gettext):
17761 Move @end statement to beginning of line.
17762
bab8a695
SP
177632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17764
80945231
SP
17765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17766 static.
17767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17768 Likewise.
17769
bab8a695
SP
17770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17771 (denorm): Likewise.
17772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17774
e21d7aa7
AK
177752013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17776
17777 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17778 tail-call to the resolved function if pltexit isn't needed.
17779
4c7a4263
SP
177802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17781
17782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17783 or Y being zero as being unlikely.
17784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17785 Likewise.
17786
41f49342
CD
177872013-02-20 Carlos O'Donell <carlos@redhat.com>
17788
17789 * manual/nss.texi (System Databases and Name Service Switch):
17790 Remove frobnicate @pxref.
17791
50022a93
TS
177922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17793
17794 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17795 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17796
08cbd996
PM
177972013-02-20 Petr Machata <pmachata@redhat.com>
17798
17799 * elf/elf.h (R_ARM_TARGET1): New macro.
17800 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17801 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17802 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17803 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17804 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17805 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17806 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17807 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17808 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17809 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17810 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17811 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17812 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17813 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17814 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17815 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17816 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17817 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17818 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17819 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17820 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17821 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17822 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17823 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17824 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17825 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17826 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17827 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17828 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17829 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17830 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17831 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17832 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17833 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17834 (R_ARM_THM_GOT_BREL12): Likewise.
17835 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17836 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17837 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17838 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17839 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17840 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17841 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17842 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17843 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17844
c7b275d6
TS
178452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17846
17847 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17848 __attribute_used__ to __attribute__ ((unused)).
17849
20cd7fb3
SP
178502013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17851
17852 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17853 powerpc mpa.c.
17854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17855 comment formatting.
17856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17857
92945b52
JM
178582013-02-19 Joseph Myers <joseph@codesourcery.com>
17859
17860 [BZ #13550]
17861 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17862 Remove macro.
17863 (ENTER): Remove both macro definitions.
17864 (LEAVE): Likewise.
17865 (CHECK_BOUNDS_LOW): Likewise.
17866 (CHECK_BOUNDS_HIGH): Likewise.
17867 (CHECK_BOUNDS_BOTH): Likewise.
17868 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17869 (RETURN_BOUNDED_POINTER): Likewise.
17870 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17871 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17872 (POP_ERRNO_LOCATION_RETURN): Likewise.
17873 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17874 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17875 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17876 macros.
17877 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17878 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17879 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17880 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17881 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17882 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17883 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17884 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17885 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17886 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17887 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17888 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17889 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17890 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17891 removed macros.
17892 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17893 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17894 macros.
17895 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17896 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17897 * sysdeps/i386/i586/memset.S (memset): Likewise.
17898 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17899 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17900 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17901 macros.
17902 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17903 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17904 Change uses of L(2) to L(out).
17905 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17906 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17907 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17908 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17909 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17910 removed macros.
17911 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17912 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17913 macros.
17914 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17915 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17916 (RETURN): Do not use macro LEAVE.
17917 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17918 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17919 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17920 * sysdeps/i386/i686/memset.S (memset): Likewise.
17921 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17922 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17923 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17924 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17925 Likewise.
17926 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17927 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17928 L(1_2) and L(1_3) into L(1).
17929 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17930 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17931 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17932 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17933 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17934 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17935 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17936 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17937 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17938 macros.
17939 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17940 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17941 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17942 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17943 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17944 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17945 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17946 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17947 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17948 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17949 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17950 * sysdeps/i386/strspn.S (strspn): Likewise.
17951 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17952 conditional code.
17953 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17954 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17955 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17956 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17957 L(1_3) into L(1_1).
17958 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17959 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17960 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17961 macros.
17962 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17963
2389741a
JJ
179642013-02-19 Jakub Jelinek <jakub@redhat.com>
17965
17966 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17967 macro.
17968
2016b3cd
SP
179692013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17970
e4f22324
SP
17971 * math/atest-exp.c (exp_mpn): Remove ROUND.
17972 * math/atest-exp2.c (exp_mpn): Likewise.
17973 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17974
2016b3cd
SP
17975 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17976 * stdlib/tst-tls-atexit-lib.c: Likewise.
17977 * stdlib/tst-tls-atexit.c: Likewise.
17978
4be9b544
MF
179792013-02-18 Mike Frysinger <vapier@gentoo.org>
17980
17981 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17982 and __attribute_alloc_size__.
17983
2f62b9ee
MF
179842013-02-18 Mike Frysinger <vapier@gentoo.org>
17985
17986 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17987 __attribute_alloc_size__.
17988 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17989 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17990
6ff444c4
MF
179912013-02-18 Mike Frysinger <vapier@gentoo.org>
17992
17993 * include/programs/xmalloc.h: New file.
17994 * catgets/gencat.c: Include it.
17995 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17996 * elf/pldd.c: Likewise.
17997 * iconv/iconv_charmap.c: Likewise.
17998 * iconv/iconvconfig.c: Likewise.
17999 * iconv/strtab.c: Likewise.
18000 * locale/programs/locale.c: Likewise.
18001 * locale/programs/localedef.h: Likewise.
18002 * locale/programs/simple-hash.c: Likewise.
18003 * nscd/nscd.h: Likewise.
18004 * nss/makedb.c: Likewise.
18005 * sysdeps/generic/ldconfig.h: Likewise.
18006
be179c8a
SP
180072013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18008
ba384f6e
SP
18009 * Versions.def: Add GLIBC_2.18.
18010 * include/link.h (struct link_map): New member l_tls_dtor_count.
18011 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18012 (__call_tls_dtors): Likewise.
18013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18014 __cxa_thread_atexit_impl.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18016 Likewise.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18018 Likewise.
18019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18020 Likewise.
18021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18022 Likewise.
18023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18025 Likewise.
18026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18027 Likewise.
18028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18030 Likewise.
18031 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18032 (tests): Add test case tst-tls-atexit.
18033 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18034 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18035 (GLIBC_PRIVATE): Add __call_tls_dtors.
18036 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18037 for libstdc++.
18038 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18039 * stdlib/tst-tls-atexit.c: New test case.
18040 * stdlib/tst-tls-atexit-lib.c: New test case.
18041
ffaa74cf 18042 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18043
be179c8a
SP
18044 * elf/Versions (ld): Add _dl_find_dso_for_object.
18045 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18046 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18047 (dl_open_worker): Use _dl_find_dso_for_object.
18048 * elf/dl-sym.c (do_sym): Likewise.
18049 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18050
f78b5caa
AK
180512013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18052
18053 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18054 Syntactic changes only.
18055 (_dl_runtime_profile): Do a tail-call to the resolved function.
18056
29691210
JM
180572013-02-17 Joseph Myers <joseph@codesourcery.com>
18058
18059 [BZ #13550]
18060 * sysdeps/x86_64/bp-asm.h: Remove file.
18061 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18062 <bp-sym.h> and <bp-asm.h>.
18063 (__clone): Do not use BP_SYM.
18064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18065 <bp-sym.h> and <bp-asm.h>.
18066 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18067 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18068 "bp-asm.h".
18069 (_setjmp): Do not use BP_SYM.
18070 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18071 "bp-asm.h".
18072 (setjmp): Do not use BP_SYM.
18073 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18074 libc_hidden_def.
18075 (mempcpy): Do not use BP_SYM in weak_alias.
18076 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18077 "bp-asm.h".
18078 (strchr): Do not use BP_SYM.
18079 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18080 "bp-asm.h".
18081 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18082 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18083 (_start): Do not use BP_SYM.
18084 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18085 "bp-asm.h".
18086 (strcat): Do not use BP_SYM.
18087 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18088 "bp-asm.h".
18089 (STRCMP): Do not use BP_SYM.
18090 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18091 "bp-asm.h".
18092 (STRCPY): Do not use BP_SYM.
18093 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18094 "bp-asm.h".
18095 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18096 "bp-asm.h".
18097 (FUNCTION): Do not use BP_SYM.
18098 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18099 weak_alias.
18100 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18101
f238fd19
AJ
181022013-02-17 Andreas Jaeger <aj@suse.de>
18103
18104 * time/Versions: Sort entries.
18105 * string/Versions: Likewise.
18106 * resolv/Versions: Likewise.
18107 * posix/Versions: Likewise.
18108 * iconv/Versions: Likewise.
18109 * elf/Versions: Likewise.
18110 * wcsmbs/Versions: Likewise.
18111
bd07f23c 181122013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18113
22af19f9
SP
18114 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18115 loop termination condition.
18116
4709fe76
SP
18117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18118 variable to calculate EZ.
18119 (__sqr): Likewise.
2d0e0f29
SP
18120
18121 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18122 the lower precision input.
18123
daaa7713
JM
181242013-02-15 Joseph Myers <joseph@codesourcery.com>
18125
18126 [BZ #13550]
18127 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18128 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18129 (run-via-rtld-prefix): Do not handle %-bp tests.
18130 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18131 (all-object-suffixes): Remove .ob.
18132 (bppfx): Remove variable.
18133 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18134 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18135 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18136 [$(build-bounded) = yes] (libtype.ob): Likewise.
18137 * Makerules (elide-routines.ob): Remove variable.
18138 (do-tests-clean): Do not handle *-bp.out.
18139 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18140 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18141 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18142 (tests): Do not include $(tests-bp.out).
18143 (xtests): Do not include $(xtests-bp.out).
18144 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18145 [$(build-bounded) = yes] ($(addprefix
18146 $(objpfx),$(binaries-bounded))): Remove rule.
18147 ($(objpfx)%-bp.out): Remove rule.
18148 * config.make.in (build-bounded): Remove variable.
18149 * crypt/Makefile [$(build-bounded) = yes]
18150 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18151 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18152 append to variable.
18153 [$(build-bounded) = yes] (install-lib): Likewise.
18154 [$(build-bounded) = yes] (generated): Likewise.
18155 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18156 Remove rule.
18157 * intl/Makefile [$(build-bounded) = yes]
18158 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18159 * math/Makefile [$(build-bounded) = yes]
18160 ($(tests:%=$(objpfx)%-bp): Likewise.
18161 * misc/Makefile [$(build-bounded) = yes]
18162 ($(objpfx)tst-tsearch-bp): Likewise.
18163 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18164 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18165 Remove dependency.
18166 * string/Makefile (o-objects.ob): Remove variable.
18167 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18168 (CFLAGS-.ob): Remove variable.
18169 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18170 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18171 both definitions of variable.
18172 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18173 (ASFLAGS-.ob): Remove variable.
18174
e97ed6dd
JM
181752013-02-14 Joseph Myers <joseph@codesourcery.com>
18176
2bdd4ca6
JM
18177 [BZ #13550]
18178 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18179 Remove __BOUNDED_POINTERS__ from condition.
18180 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18181 * string/bits/string2.h [!__NO_STRING_INLINES &&
18182 !__BOUNDED_POINTERS__]: Likewise.
18183 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18184 Likewise.
18185 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18186 Remove conditional code.
18187 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18188 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18189 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18190 condition.
18191
e97ed6dd
JM
18192 [BZ #13550]
18193 * csu/libc-start.c: Do not include <bp-sym.h>.
18194 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18195 * elf/dl-open.c: Do not include <bp-sym.h>.
18196 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18197 * math/fegetenv.c: Do not include <bp-sym.h>.
18198 (fegetenv): Do not use BP_SYM in versioned symbols.
18199 * nptl/sysdeps/pthread/bits/libc-lockP.h
18200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18201 <bp-sym.h>.
18202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18203 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18205 (__pthread_mutex_destroy): Likewise.
18206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18207 (__pthread_mutex_lock): Likewise.
18208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18209 (__pthread_mutex_trylock): Likewise.
18210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18211 (__pthread_mutex_unlock): Likewise.
18212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18213 (__pthread_mutexattr_init): Likewise.
18214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18215 (__pthread_mutexattr_destroy): Likewise.
18216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18217 (__pthread_mutexattr_settype): Likewise.
18218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18219 (__pthread_rwlock_init): Likewise.
18220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18221 (__pthread_rwlock_destroy): Likewise.
18222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18223 (__pthread_rwlock_rdlock): Likewise.
18224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18225 (__pthread_rwlock_tryrdlock): Likewise.
18226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18227 (__pthread_rwlock_wrlock): Likewise.
18228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18229 (__pthread_rwlock_trywrlock): Likewise.
18230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18231 (__pthread_rwlock_unlock): Likewise.
18232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18233 (__pthread_key_create): Likewise.
18234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18235 (__pthread_setspecific): Likewise.
18236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18237 (__pthread_getspecific): Likewise.
18238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18239 Likewise.
18240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18241 (_pthread_cleanup_push_defer): Likewise.
18242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18243 (_pthread_cleanup_pop_restore): Likewise.
18244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18245 (pthread_setcancelstate): Likewise.
18246 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18247 <bp-sym.h>.
18248 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18249 (memchr): Do not use BP_SYM in weak_alias.
18250 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18251 (fegetenv): Do not use BP_SYM in versioned symbols.
18252 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18253 (fesetenv): Do not use BP_SYM in versioned symbols.
18254 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18255 (feupdateenv): Do not use BP_SYM in versioned symbols.
18256 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18257 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18258 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18259 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18260 (open64): Do not use BP_SYM in weak_alias.
18261 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18262 (fegetenv): Do not use BP_SYM in versioned symbols.
18263 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18264 (fesetenv): Do not use BP_SYM in versioned symbols.
18265 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18266 (feupdateenv): Do not use BP_SYM in versioned symbols.
18267 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18268 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18269 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18270 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18271 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18272 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18274 <bp-sym.h>.
18275 (__libc_start_main): Do not use BP_SYM.
18276
d6752ccd
SP
182772013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18278
cb57ce60
SP
18279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18280 redundant return line.
18281 (norm): Likewise.
18282 (denorm): Likewise.
18283 (dbl_mp): Likewise.
18284 (sub_magnitudes): Likewise.
18285 (__add): Likewise.
18286 (__sub): Likewise.
18287 (__mul): Likewise.
18288 (__inv): Likewise.
18289 (__dvd): Likewise.
18290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18291 (norm): Likewise.
18292 (denorm): Likewise.
18293 (dbl_mp): Likewise.
18294 (sub_magnitudes): Likewise.
18295 (__add): Likewise.
18296 (__sub): Likewise.
18297 (__mul): Likewise.
18298 (__inv): Likewise.
18299 (__dvd): Likewise.
18300
f414520d
SP
18301 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18302 instead of __mul.
18303 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18304 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18305 (cc32): Likewise.
18306
d6752ccd
SP
18307 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18308 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18310 of __mul for squares.
18311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18312 function
18313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18314 Likewise.
18315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18317
70d9946a
JM
183182013-02-13 Joseph Myers <joseph@codesourcery.com>
18319
18320 [BZ #13550]
18321 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18322 code.
18323 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18324 prototype or function definition. Rename ubp_* variables and
18325 parameters. Remove argv definitions conditional on
18326 [__BOUNDED_POINTERS__].
18327 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18328 * elf/dl-runtime.c (_dl_fixup): Likewise.
18329 * include/set-hooks.h (RUN_HOOK): Likewise.
18330 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18331 definition.
18332 * string/strcpy.c (strcpy): Do not use __unbounded.
18333 * sysdeps/generic/frame.h (struct layout): Likewise.
18334 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18335 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18336 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18337 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18338 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18339 (__backtrace): Likewise.
18340 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18341 use __ptrvalue.
18342 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18343 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18344 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18345 Likewise.
18346 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18347 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18348 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18350 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18351 Do not use __unbounded.
18352 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18353 Rename __unboundedrlimits parameter to rlimits in prototype.
18354 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18355 Do not use __unbounded.
18356 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18357 not use __ptrvalue.
18358 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18359 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18360 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18361 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18362 __ptrvalue or __unbounded.
18363 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18364 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18365 use __unbounded.
18366 (__new_msgctl): Do not use __ptrvalue.
18367 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18368 __unbounded.
18369 (__libc_msgrcv): Do not use __ptrvalue.
18370 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18371 startup_info): Do not use __unbounded.
18372 (__libc_start_main): Likewise. Rename ubp_* variables and
18373 parameters. Remove argv definitions conditional on
18374 [__BOUNDED_POINTERS__].
18375 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18376 __ptrvalue.
18377 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18378 use __unbounded.
18379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18380 or __ptrvalue.
18381 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18382 use __unbounded.
18383 (__new_shmctl): Do not use __ptrvalue.
18384 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18385 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18386 Likewise.
18387 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18389 (__libc_sigaction): Likewise.
18390 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18391 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18392 Likewise.
18393 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18394
cc7834d6
OB
183952013-02-13 Ondřej Bílka <neleai@seznam.cz>
18396
ffb1ec7b 18397 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18398
18399 * string/mempcpy.c: Implement by calling memcpy.
18400
bdf02814
SP
184012013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18402
c2af38aa
SP
18403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18404
4e92d59e
SP
18405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18406 evaluation.
18407
909279a5
SP
18408 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18409 values in the mantissa.
18410
bdf02814
SP
18411 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18412 minimize writes to Z.
18413 (sub_magnitudes): Simplify code a bit.
18414
cd525923
RM
184152013-02-12 Roland McGrath <roland@hack.frob.com>
18416
18417 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18418 from the message. The linker prefixes all warnings with that already.
18419
7e2f0d2d
AS
184202013-02-12 Andreas Schwab <schwab@suse.de>
18421
a445af0b
AS
18422 [BZ #15078]
18423 * posix/regexec.c (extend_buffers): Add parameter min_len.
18424 (check_matching): Pass minimum needed length.
18425 (clean_state_log_if_needed): Likewise.
18426 (get_subexp): Likewise.
18427 * posix/Makefile (tests): Add bug-regex34.
18428 (bug-regex34-ENV): Define.
18429 * posix/bug-regex34.c: New file.
18430
7e2f0d2d
AS
18431 [BZ #11561]
18432 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18433 elements compare against the byte sequence of it, not its name.
18434 * posix/Makefile (tests): Add bug-regex35.
18435 (bug-regex35-ENV): Define.
18436 * posix/bug-regex35.c: New file.
18437
a175b684
TV
184382013-02-11 Tom de Vries <tom@codesourcery.com>
18439
18440 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18441 comment.
18442 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18443 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18444 (CHECK_EOL): Add undef.
18445
310998fe 184462013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18447
18448 * bits/stdlib-bsearch.h: New file.
18449 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18450 * stdlib/stdlib.h: Likewise.
41eda41d 18451
8ded91fb
RM
184522013-02-11 Roland McGrath <roland@hack.frob.com>
18453
18454 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18455 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18456 declaration.
18457 * manual/search.texi (Array Search Function): Add missing const in
18458 lfind prototype.
18459 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18460 declaration to use rlim_t.
18461 (Basic Scheduling Functions): Remove erroneous const from
18462 sched_getparam prototype. Remove erroneous * from
18463 sched_get_priority_max and sched_get_priority_min prototypes.
18464 (Resource Usage): Fix summary @comment on vtimes to refer to
18465 sys/vtimes.h rather than vtimes.h.
18466 Add missing *s in vtimes prototype.
18467 (Limits on Resources): Fix ulimit prototype to return long int.
18468 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18469 prototypes to use long int rather than double.
18470 (BSD Random): Fix initstate and setstate to use char *, not void *.
18471 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18472 prototype to make second argument 'struct aiocb64 *const[]'.
18473 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18474 (Status of AIO Operations): Remove erroneous const in aio_return and
18475 aio_return64 prototypes.
18476 (Synchronizing I/O): Fix sync prototype to return void.
18477 * manual/startup.texi (Suboptions): Remove an erroneous const in
18478 getsubopt prototype.
18479 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18480 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18481 use size_t rather than int.
18482 (Scanning All Users): Likewise for getpwent_r.
18483 (Setting Groups): Add missing const to setgroups prototype.
18484 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18485 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18486 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18487 'const void *' rather than 'const char *'.
18488 (Host Address Functions): Likewise for inet_ntop.
18489 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18490 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18491 ssize_t for return value.
18492 (Sending Data): Likewise for send, sendto, sendmsg.
18493 (Socket Option Functions): Add a missing const in setsockopt prototype.
18494 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18495 use wchar_t for the argument.
18496 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18497 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18498 take no arguments.
18499 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18500 double/float/long double for second argument.
18501 Fix return types of significand, significandf, significandl.
18502 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18503 argument in fchmod prototype.
18504 (File Owner): Use uid_t and gid_t in fchown prototype.
18505 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18506 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18507 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18508 use 'const struct dirent **' as argument types to CMP function pointer
18509 argument.
18510 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18511 (File Times): Fix summary magic @comment for struct utimbuf and utime
18512 to refer to utime.h, not time.h.
18513 * manual/string.texi (Argz Functions): Add missing const in
18514 argz_extract and argz_next prototypes.
18515 (Finding Tokens in a String): Likewise for basename.
18516 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18517 (Copying and Concatenation): Fix typo in wmemmove prototype.
18518 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18519 (Signal Stack): Remove erroneous const in sigstack prototype.
18520 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18521 prototype.
18522 (Simple Calendar Time): Likewise for stime.
18523 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18524 prototype.
18525 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18526 say sys/sysctl.h instead.
18527 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18528 and vsyslog prototypes.
18529
fe77fe6d
TV
185302013-02-11 Tom de Vries <tom@codesourcery.com>
18531
18532 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18533 Remove.
18534
3a09b620
RM
185352013-02-11 Roland McGrath <roland@hack.frob.com>
18536
18537 * misc/sys/mman.h: Fix typo in mremap comment.
18538
550a0b89
RM
185392013-02-08 Roland McGrath <roland@hack.frob.com>
18540
18541 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18542 the '\0' terminator.
18543
a2da1673
JM
185442013-02-08 Joseph Myers <joseph@codesourcery.com>
18545
18546 [BZ #13550]
18547 * debug/segfault.c: Don't include <bp-checks.h>.
18548 * sysdeps/generic/bp-checks.h: Remove file.
18549 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18550 (__GETDENTS): Don't use CHECK_N.
18551 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18552 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18553 (__getgroups): Don't use CHECK_N.
18554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18555 (setgroups): Don't use CHECK_N.
18556 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18557 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18558 (__libc_msgrcv): Don't use CHECK_N.
18559 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18560 (__libc_msgsnd): Don't use CHECK_N.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18562 <bp-checks.h>.
18563 (__libc_pread): Don't use CHECK_N.
18564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18565 include <bp-checks.h>.
18566 (__libc_pread64): Don't use CHECK_N.
18567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18568 include <bp-checks.h>.
18569 (__libc_pwrite): Don't use CHECK_N.
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18571 include <bp-checks.h>.
18572 (__libc_pwrite64): Don't use CHECK_N.
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18574 <bp-checks.h>.
18575 (__libc_pread): Don't use CHECK_N.
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18577 include <bp-checks.h>.
18578 (__libc_pread64): Don't use CHECK_N.
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18580 include <bp-checks.h>.
18581 (__libc_pwrite): Don't use CHECK_N.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18583 include <bp-checks.h>.
18584 (__libc_pwrite64): Don't use CHECK_N.
18585 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18586 (do_pread): Don't use CHECK_N.
18587 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18588 (do_pread64): Don't use CHECK_N.
18589 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18590 (do_pwrite): Don't use CHECK_N.
18591 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18592 (do_pwrite64): Don't use CHECK_N.
18593 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18594 (__libc_readv): Don't use CHECK_N.
18595 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18596 (semop): Don't use CHECK_N.
18597 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18598 <bp-checks.h>.
18599 (semtimedop): Don't use CHECK_N.
18600 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18601 (__libc_pread): Don't use CHECK_N.
18602 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18603 <bp-checks.h>.
18604 (__libc_pread64): Don't use CHECK_N.
18605 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18606 <bp-checks.h>.
18607 (__libc_pwrite): Don't use CHECK_N.
18608 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18609 <bp-checks.h>.
18610 (__libc_pwrite64): Don't use CHECK_N.
18611 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18612 <bp-checks.h>.
18613 (__libc_msgrcv): Don't use CHECK_N.
18614 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18615 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18616 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18617 (__libc_writev): Don't use CHECK_N.
18618
b84660a8
RM
186192013-02-08 Roland McGrath <roland@hack.frob.com>
18620
7f3e75f8
RM
18621 * string/strcpy.c: Removed unused variable.
18622
b84660a8
RM
18623 * Makeconfig (+sysdep-includes): Define with := rather than =.
18624 Use an existing include/ subdir of each sysdeps dir before it.
18625
471514d3
CD
186262013-02-08 Carlos O'Donell <carlos@redhat.com>
18627
18628 * nscd/connection.c (register_traced_file): Comment function.
18629 [HAVE_INOTIFY] (union __inev): Define.
18630 [HAVE_INOTIFY] (inotify_check_files): New function.
18631 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18632 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18633 clear_db_cache.
18634 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18635
b2d3c3be
CD
186362013-02-08 Carlos O'Donell <carlos@redhat.com>
18637
18638 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18639 loaded if not already and that a failure is permanent.
18640
b39949d2
CD
186412013-02-08 Carlos O'Donell <carlos@redhat.com>
18642
ddacd1db 18643 [BZ #15006]
b39949d2
CD
18644 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18645 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18646
b2c9eff4
JM
186472013-02-08 Joseph Myers <joseph@codesourcery.com>
18648
f3aae3f3
JM
18649 [BZ #13550]
18650 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18651 (CHECK_1_NULL_OK): Likewise.
18652 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18653 (__fxstat): Do not use CHECK_1.
18654 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18655 <bp-checks.h>.
18656 (___fxstat64): Do not use CHECK_1.
18657 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18658 <bp-checks.h>.
18659 (__fxstatat): Do not use CHECK_1.
18660 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18661 <bp-checks.h>.
18662 (__fxstatat64): Do not use CHECK_1.
18663 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18664 <bp-checks.h>.
18665 (__fxstat): Do not use CHECK_1.
18666 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18667 <bp-checks.h>.
18668 (__fxstatat): Do not use CHECK_1.
18669 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18670 <bp-checks.h>.
18671 (__getresgid): Do not use CHECK_1.
18672 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18673 <bp-checks.h>.
18674 (__getresuid): Do not use CHECK_1.
18675 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18676 <bp-checks.h>.
18677 (__lxstat): Do not use CHECK_1.
18678 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18679 <bp-checks.h>.
18680 (__old_msgctl): Do not use CHECK_1.
18681 (__new_msgctl): Likewise.
18682 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18683 <bp-checks.h>.
18684 (__new_setrlimit): Do not use CHECK_1.
18685 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18686 <bp-checks.h>.
18687 (__old_shmctl): Do not use CHECK_1.
18688 (__new_shmctl): Likewise.
18689 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18690 <bp-checks.h>.
18691 (__xstat): Do not use CHECK_1.
18692 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18693 (__lxstat): Do not use CHECK_1.
18694 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18695 <bp-checks.h>.
18696 (___lxstat64): Do not use CHECK_1.
18697 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18698 (__old_msgctl): Do not use CHECK_1.
18699 (__new_msgctl): Likewise.
18700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18701 <bp-checks.h>.
18702 (__gettimeofday): Do not use CHECK_1.
18703 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18704 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18705 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18706 <bp-checks.h>.
18707 (__gettimeofday): Do not use CHECK_1.
18708 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18709 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18710 (__new_shmctl): Do not use CHECK_1.
18711 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18712 <bp-checks.h>.
18713 (do_sigtimedwait): Do not use CHECK_1.
18714 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18715 <bp-checks.h>.
18716 (do_sigwaitinfo): Do not use CHECK_1.
18717 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18718 <bp-checks.h>.
18719 (msgctl): Do not use CHECK_1.
18720 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18721 <bp-checks.h>.
18722 (shmctl): Do not use CHECK_1.
18723 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18724 (ustat): Do not use CHECK_1.
18725 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18726 <bp-checks.h>.
18727 (__fxstat): Do not use CHECK_1.
18728 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18729 <bp-checks.h>.
18730 (__fxstatat): Do not use CHECK_1.
18731 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18732 <bp-checks.h>.
18733 (__lxstat): Do not use CHECK_1.
18734 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18735 <bp-checks.h>.
18736 (__xstat): Do not use CHECK_1.
18737 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18738 (__xstat): Do not use CHECK_1.
18739 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18740 (___xstat64): Do not use CHECK_1.
18741
b2c9eff4
JM
18742 [BZ #13550]
18743 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18744 definitions.
18745 (CHECK_BOUNDS_HIGH): Likewise.
18746 * string/strcpy.c: Do not include <bp-checks.h>.
18747 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18748
f1d70dad
RM
187492013-02-07 Roland McGrath <roland@hack.frob.com>
18750
18751 * nscd/nscd-client.h (__nscd_drop_map_ref):
18752 Add __attribute__ ((unused)).
18753 * nis/nss-nisplus.h (niserr2nss): Likewise.
18754
18755 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18756 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18757
18758 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18759 Remove inline keyword.
18760 * include/rounding-mode.h (round_away): Likewise.
18761 * libio/wfileops.c (adjust_wide_data): Likewise.
18762 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18763 (__m128i_strloadu_tolower): Likewise.
18764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18765 (__m128i_strloadu_tolower): Likewise.
18766 * time/mktime.c (ydhms_diff): Likewise.
18767 * locale/elem-hash.h (elem_hash): Likewise.
18768 * locale/setlocale.c (setdata): Likewise.
18769 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18770 (re_string_wchar_at): Likewise.
18771 (bitset_not, bitset_merge, bitset_mask): Likewise.
18772 [!(__GNUC__ > 3)] (inline): Remove macro.
18773 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18774 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18775 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18776 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18777 * string/memcmp.c (memcmp_bytes): Likewise.
18778 * locale/programs/locarchive.c (compute_hashval): Likewise.
18779 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18780 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18781 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18782 * nss/getent.c (print_rpc, print_protocols): Likewise.
18783 (print_passwd, print_group, print_aliases): Likewise.
18784 * nis/nss-nisplus.h (niserr2nss): Likewise.
18785 * nscd/connections.c (restart_p): Likewise.
18786 Change return type to bool.
18787
eab55bfb
RM
187882013-02-05 Roland McGrath <roland@hack.frob.com>
18789
7bd642f5
RM
18790 * Makeconfig (all-Depend-files): Add existing
18791 $(sorted-subdirs:=/Depend) files.
18792 (all-subdirs): Remove nss.
18793 * sysdeps/unix/inet/Subdirs: Add it here instead.
18794 * hesiod/Depend: New file.
18795
573c29b2
RM
18796 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18797 instead of calling alloca.
18798
b2e25af0
RM
18799 * io/lseek.c (__lseek): Rename to __libc_lseek.
18800 Define __lseek as an alias.
18801
eab55bfb
RM
18802 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18803
9a0d1941
CD
188042013-02-04 Carlos O'Donell <carlos@redhat.com>
18805
18806 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18807 else clause and remove check for non-standard endianness.
18808
b83bbec4
DM
188092013-02-04 David S. Miller <davem@davemloft.net>
18810
18811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18812
6277fdab
JM
188132013-02-04 Joseph Myers <joseph@codesourcery.com>
18814
18815 [BZ #13550]
18816 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18817 (__ubp_memchr): Remove prototype.
18818 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18819 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18820 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18821 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18822 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18823 Remove alias.
18824 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18825 (__ubp_memchr): Likewise.
18826 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18827 (__ubp_memchr): Likewise.
18828 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18829 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18830 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18831 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18832 CHECK_STRING.
18833 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18834 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18835 (__getcwd): Do not use CHECK_STRING.
18836 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18837 <bp-checks.h>.
18838 (__real_chown): Do not use CHECK_STRING.
18839 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18840 <bp-checks.h>.
18841 (fchownat): Do not use CHECK_STRING.
18842 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18843 CHECK_STRING.
18844 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18845 <bp-checks.h>.
18846 (__lchown): Do not use CHECK_STRING.
18847 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18848 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18849 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18850 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18852 include <bp-checks.h>.
18853 (truncate64): Do not use CHECK_STRING.
18854 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18855 <bp-checks.h>.
18856 (__real_chown): Do not use CHECK_STRING.
18857 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18858 <bp-checks.h>.
18859 (__lchown): Do not use CHECK_STRING.
18860 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18861 <bp-checks.h>.
18862 (__chown): Do not use CHECK_STRING.
18863 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18864 <bp-checks.h>.
18865 (truncate64): Do not use CHECK_STRING.
18866 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18867 Likewise.
18868 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18869 (__xmknod): Do not use CHECK_STRING.
18870 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18871 <bp-checks.h>.
18872 (__xmknodat): Do not use CHECK_STRING.
18873 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18874 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18875
903ae060
AS
188762013-02-04 Andreas Schwab <schwab@suse.de>
18877
18878 [BZ #14142]
18879 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18880 * include/netdb.h: Likewise for h_errno.
18881 * elf/tst-stackguard1.c: Include <tls.h>.
18882
542f9466
JK
188832013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18884
18885 * elf/link.h (struct link_map): Extend the l_addr comment.
18886 * include/link.h (struct link_map): Likewise.
18887
e782a927
JM
188882013-02-01 Joseph Myers <joseph@codesourcery.com>
18889
18890 [BZ #13550]
18891 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18892 (BOUNDED_1): Remove macro.
18893 * debug/backtrace.c: Don't include <bp-checks.h>.
18894 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18895 (__backtrace): Likewise.
18896 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18897 <bp-checks.h>.
18898 (__backtrace): Don't use BOUNDED_1.
18899 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18900 <bp-checks.h>.
18901 (__backtrace): Don't use BOUNDED_1.
18902 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18903 (__backtrace): Don't use BOUNDED_1.
18904 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18905 (shmat): Don't use BOUNDED_N.
18906
8cf28c5e
JM
189072013-01-31 Joseph Myers <joseph@codesourcery.com>
18908
3a7ac8a0
JM
18909 [BZ #13550]
18910 * sysdeps/generic/bp-start.h: Remove file.
18911 * csu/libc-start.c: Don't include <bp-start.h>.
18912 (LIBC_START_MAIN): Set up __environ directly instead of using
18913 INIT_ARGV_and_ENVIRON.
18914 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18915 <bp-start.h>.
18916
f3499f95
JM
18917 [BZ #13550]
18918 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18919 definitions.
18920 (CHECK_FCNTL): Likewise.
18921 (CHECK_N_PAGES): Likewise.
18922
32a45bea
JM
18923 [BZ #13550]
18924 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18925 definitions.
18926 (CHECK_SIGSET_NULL_OK): Likewise.
18927 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18928 <bp-checks.h>.
18929 (sigpending): Don't use CHECK_SIGSET.
18930 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18931 <bp-checks.h>.
18932 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18933 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18934 <bp-checks.h>.
18935 (do_sigsuspend): Don't use CHECK_SIGSET.
18936 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18937 use CHECK_SIGSET.
18938 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18939 (do_sigwait): Don't use CHECK_SIGSET.
18940 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18941 use CHECK_SIGSET.
18942 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18943 include <bp-checks.h>.
18944 (sigpending): Don't use CHECK_SIGSET.
18945 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18946 include <bp-checks.h>.
18947 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18948 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18949 <bp-checks.h>.
18950 (sigpending): Don't use CHECK_SIGSET.
18951 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18952 <bp-checks.h>.
18953 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18954
2e8a5c8c
JM
18955 [BZ #13550]
18956 * sysdeps/generic/bp-semctl.h: Remove file.
18957 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18958 <bp-checks.h> and <bp-semctl.h>.
18959 (__old_semctl): Don't use CHECK_SEMCTL.
18960 (__new_semctl): Likewise.
18961 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18962 and <bp-semctl.h>.
18963 (__old_semctl): Don't use CHECK_SEMCTL.
18964 (__new_semctl): Likewise.
18965 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18966 <bp-checks.h> and <bp-semctl.h>.
18967 (__old_semctl): Don't use CHECK_SEMCTL.
18968 (__new_semctl): Likewise.
18969 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18970 <bp-checks.h> and <bp-semctl.h>.
18971 (semctl): Don't use CHECK_SEMCTL.
18972
c2d54929
JM
18973 [BZ #13550]
18974 * Makerules (elide-bp-thunks): Remove variable.
18975 (elide-routines.oS): Don't use $(elide-bp-thunks).
18976 (elide-routines.os): Likewise.
18977 (elide-routines.o): Likewise.
18978 (elide-routines.op): Likewise.
18979 (elide-routines.og): Likewise.
18980 (objects): Don't use $(bp-thunks).
18981 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18982 include.
18983 (common-generated): Do not add s-proto-bp.d.
18984 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18985 (int): Likewise.
18986 (typ): Likewise.
18987 Do not generate makefile rules for bounded-pointer thunks.
18988 * sysdeps/generic/bp-thunks.h: Remove file.
18989 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18990 * sysdeps/unix/s-proto-bp.S: Likewise.
18991
8cf28c5e
JM
18992 [BZ #15062]
18993 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18994 parts of result separately when argument is not close to line from
18995 -i to i and one part of argument is small.
18996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18998 * math/libm-test.inc (cacos_test): Add more tests.
18999 (casin_test): Likewise.
19000 (casinh_test): Likewise.
19001 * sysdeps/i386/fpu/libm-test-ulps: Update.
19002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19003
c4e33b8d
DM
190042013-01-31 David S. Miller <davem@davemloft.net>
19005
19006 * po/de.po: Update from translation team.
19007
3b60b421
MK
190082013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19009
19010 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19011
bb931195
TS
190122013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19013
b5a5da23
TS
19014 * configure.in (_AC_PROG_CC_C89): New definition.
19015 * configure: Regenerate.
19016
bb931195
TS
19017 * configure.in (AC_PROG_CPP): New definition.
19018 * configure: Regenerate.
19019
8c53a12c
JM
190202013-01-23 Joseph Myers <joseph@codesourcery.com>
19021
19022 * debug/tst-backtrace.h: New file.
19023 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19024 (ret): Remove variable.
19025 (x): Likewise.
19026 (FAIL): Remove macro.
19027 (NO_INLINE): Likewise.
19028 (fn1): Use match function instead of strstr.
19029 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19030 (ret): Remove variable.
19031 (x): Likewise.
19032 (FAIL): Remove macro.
19033 (NO_INLINE): Likewise.
19034 (fn): Use match function instead of strstr.
19035 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19036 (ret): Remove variable.
19037 (x): Likewise.
19038 (FAIL): Remove macro.
19039 (NO_INLINE): Likewise.
19040 (handle_signal): Use match function instead of strstr.
19041 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19042 (ret): Remove variable.
19043 (x): Likewise.
19044 (FAIL): Remove macro.
19045 (NO_INLINE): Likewise.
19046 (handle_signal): Use match function instead of strstr.
19047
4858fa2a
RM
190482013-01-23 Roland McGrath <roland@hack.frob.com>
19049
19050 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19051
bae8e7f5
DM
190522013-01-23 David S. Miller <davem@davemloft.net>
19053
19054 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19055 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19056 argument of CAS if possible.
19057 * sysdeps/sparc/sparc64/bits/atomic.h
19058 (__arch_compare_and_exchange_val_32_acq): Likewise.
19059 (__arch_compare_and_exchange_val_64_acq): Likewise.
19060
9cbbc4ae
PT
190612013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19062
19063 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19064 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19065 Include <limits.h>.
67b3f58c 19066 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19067
5655a0b5
AC
190682013-01-23 Adam Conrad <adconrad@0c3.net>
19069
19070 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19071 (LDFLAGS-tst-array5): Likewise.
19072
052aff95
JM
190732013-01-23 Joseph Myers <joseph@codesourcery.com>
19074
19075 [BZ #15036]
19076 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19077 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19078 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19079 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19080
7c1e01aa
DM
190812013-01-21 David S. Miller <davem@davemloft.net>
19082
19083 * sysdeps/sparc/backtrace.c: New file.
19084 * sysdeps/sparc/sparc32/backtrace.h: New file.
19085 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19086 * sysdeps/sparc/sparc64/backtrace.h: New file.
19087 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19088 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19089 -funwind-tables.
19090
ab087e0a
AS
190912013-01-21 Andreas Schwab <schwab@suse.de>
19092
19093 [BZ #15020]
19094 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19095 closed its stdout.
19096
ed689c2f
AS
190972013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19098
19099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19100 "mpa2.h".
19101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19102
31d470ac
JM
191032013-01-18 Joseph Myers <joseph@codesourcery.com>
19104 Mark Mitchell <mark@codesourcery.com>
19105 Tom de Vries <tom@codesourcery.com>
19106 Paul Pluzhnikov <ppluzhnikov@google.com>
19107
19108 * debug/tst-backtrace2.c: New file.
19109 * debug/tst-backtrace3.c: Likewise.
19110 * debug/tst-backtrace4.c: Likewise.
19111 * debug/tst-backtrace5.c: Likewise.
19112 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19113 (CFLAGS-tst-backtrace3.c): Likewise.
19114 (CFLAGS-tst-backtrace4.c): Likewise.
19115 (CFLAGS-tst-backtrace5.c): Likewise.
19116 (LDFLAGS-tst-backtrace2): Likewise.
19117 (LDFLAGS-tst-backtrace3): Likewise.
19118 (LDFLAGS-tst-backtrace4): Likewise.
19119 (LDFLAGS-tst-backtrace5): Likewise.
19120 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19121 tst-backtrace4 and tst-backtrace5.
19122
90567f30 191232013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19124 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19125
19126 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19127 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19129 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19131 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19132 "+r" and remove output regs list as redundant. Add explicit inline
19133 asm to specify register of return val to work around compiler codegen
19134 bug. Remove (int) cast on return value. Add return type parameter to
19135 use in macro so that this macro does not truncate return value for
19136 64-bit values.
19137 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19138 pass to INTERNAL_VSYSCALL_NCS.
19139 (INLINE_VSYSCALL): Add 'long int' as return type to
19140 INTERNAL_VSYSCALL_NCS macro invocation.
19141 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19142 INTERNAL_VSYSCALL_NCS macro invocation.
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19144
d3b9ea61
SP
191452013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19146
0b57daeb
SP
19147 [BZ #14496]
19148 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19149 Fix application of SIMD FP exception mask.
19150
caa99d06
SP
19151 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19152 mp_no from a power of two.
19153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19154 __mpexp_twomm1. Use __pow_mp.
19155
d3b9ea61
SP
19156 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19157 multiplication.
19158
1dbaee3c
DM
191592013-01-17 David S. Miller <davem@davemloft.net>
19160
19161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19162
728d7b43
JM
191632013-01-17 Joseph Myers <joseph@codesourcery.com>
19164
19165 [BZ #15023]
19166 * include/complex.h: Condition contents on [!_COMPLEX_H].
19167 (__kernel_casinhf): New prototype.
19168 (__kernel_casinh): Likewise.
19169 (__kernel_casinhl): Likewise.
19170 * math/Makefile (libm_calls): Add k_casinh.
19171 * math/k_casinh.c: New file.
19172 * math/k_casinhf.c: Likewise.
19173 * math/k_casinhl.c: Likewise.
19174 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19175 finite nonzero arguments.
19176 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19177 finite nonzero arguments.
19178 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19179 finite nonzero arguments.
19180 * math/s_casinh.c: Do not include <float.h>.
19181 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19182 * math/s_casinhf.c: Do not include <float.h>.
19183 (__casinhf): Move code for finite nonzero arguments to
19184 k_casinhf.c.
19185 * math/s_casinhl.c: Do not include <float.h>.
19186 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19187 redefine.
19188 (__casinhl): Move code for finite nonzero arguments to
19189 k_casinhl.c.
19190 * math/libm-test.inc (cacos_test): Add more tests.
19191 * sysdeps/i386/fpu/libm-test-ulps: Update.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19193
2a26ef3a
PT
191942013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19195
19196 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19197 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19198 [!HAVE_MREMAP]: Remove [defined linux] case.
19199 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19200
a897655d
SP
192012013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19202
19203 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19204
881ebe89 192052013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19206
19207 * elf/elf.h (R_386_SIZE32): New relocation.
19208 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19209 R_386_SIZE32.
19210 (elf_machine_rela): Likewise.
19211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19212 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19213
59981e9b
JM
192142013-01-17 Joseph Myers <joseph@codesourcery.com>
19215
19216 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19217 (FP_FAST_FMA): Do not define.
19218 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19219 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19220 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19221 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19222 !_SOFT_FLOAT]: Likewise.
19223 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19225 value.
19226 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19227 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19228 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19229 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19230 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19231 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19232 file.
19233
cfa8054f
AS
192342013-01-16 Andreas Schwab <schwab@suse.de>
19235
19236 [BZ #14327]
19237 * include/stdlib.h (__mktemp): Add declaration.
19238 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19239 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19240
dd930cc5
SP
192412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19242
881ebe89
SP
19243 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19244 definitions.
19245 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19246 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19247 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19248 definitions here.
19249 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19250 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19251 definitions.
19252 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19253 and ONE.
19254 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19255 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19256 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19257 definitions.
19258 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19259 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19260 definitions.
19261 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19262
dd930cc5
SP
19263 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19264
c19a9f89
DM
192652013-01-15 David S. Miller <davem@davemloft.net>
19266
1aa61767
DM
19267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19268 trunc{,f} to libm-sysdep_routes.
19269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19271 file.
19272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19274 file.
19275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19276 file.
19277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19279 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19280 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19281 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19282 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19283 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19284 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19285
c42d5e98
DM
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19287 nearbyint{,f} to libm-sysdep_routes.
19288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19290 New file.
19291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19292 file.
19293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19294 New file.
19295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19296 file.
19297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19300 file.
19301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19302 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19303 file.
19304 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19305 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19306 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19307
c19a9f89
DM
19308 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19309 libc_feholdexcept and libc_fesetenv.
19310
357679d2
MF
193112013-01-15 Mike Frysinger <vapier@gentoo.org>
19312
19313 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19314
65a82e3d
DM
193152013-01-14 David S. Miller <davem@davemloft.net>
19316
8b954ab9
DM
19317 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19318 (SPARC_ASM_VIS2_IFUNC): Likewise.
19319 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19321 use of 'siam' instruction.
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19323 Likewise.
19324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19325 Likewise.
19326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19327 Likewise.
19328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19333 file.
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19335 file.
19336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19337 file.
19338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19339 file.
19340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19345 new VIS2 routines.
19346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19349 Likewise.
19350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19355 routines to libm-sysdep_routines.
19356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19357
65a82e3d
DM
19358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19359 fdim/fdimf to libm-sysdep_routines.
19360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19361 file.
19362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19364 file.
19365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19368 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19369 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19370 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19371 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19372
e34ab705
SP
193732013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19374
2a91b573
SP
19375 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19376 to optimize copies.
19377
1066a534
SP
19378 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19381
e34ab705
SP
19382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19383 local variable MPTWO.
19384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19385 Likewise.
19386
aba5e596
MF
193872013-01-13 Mike Frysinger <vapier@gentoo.org>
19388
19389 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19390 GLOB_NOESCAPE.
19391
e557e9e5
MF
193922013-01-13 Mike Frysinger <vapier@gentoo.org>
19393
19394 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19395
0428cec9
MF
193962013-01-13 Mike Frysinger <vapier@gentoo.org>
19397
19398 * manual/pattern.texi (glob_t): Document gl_flags.
19399 (glob64_t): Likewise.
19400
8794a964
DM
194012013-01-11 David S. Miller <davem@davemloft.net>
19402
66438c3f
RM
19403 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19404 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19405 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19406 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19407 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19408 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19409 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19410 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19411 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19412 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19413 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19414 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19415 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19416
4ae4244d
DM
19417 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19418 sparc V9 rather than using V8 code.
19419 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19420 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19421
8794a964
DM
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19423 Move to...
19424 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19425 Here.
19426
6270516e
RM
194272013-01-11 Roland McGrath <roland@hack.frob.com>
19428
19429 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19430 not in the main loop.
19431 * configure: Regenerated.
19432
6a57d931
JM
194332013-01-11 Joseph Myers <joseph@codesourcery.com>
19434
19435 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19436 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19437 to just #else.
19438 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19439 [!__GLIBC_HAVE_LONG_LONG] case.
19440 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19441 condition to just #else.
19442 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19443 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19444 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19445 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19446 unconditional.
19447 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19448 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19449 #elif condition to just #else.
19450 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19451 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19452 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19453 #elif condition to just #else.
19454
0e8529e9
SE
194552013-01-11 Steve Ellcey <sellcey@mips.com>
19456
19457 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19458 (EF_MIPS_ARCH_64): Fix value.
19459 (EF_MIPS_ARCH_32R2): New.
19460 (EF_MIPS_ARCH_64R2): New.
19461
740b3dbe
L
194622013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19463
19464 * Makeconfig (+link-pie-before-libc): New.
19465 (+link-pie-after-libc): Likewise.
19466 (+link-pie-tests): Likewise.
19467 (+link-pie): Rewritten.
19468 (link-before-libc): Remove $(config-LDFLAGS).
19469 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19470 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19471 (config-LDFLAGS): Renamed to ...
19472 (rtld-LDFLAGS): This.
19473 (rtld-tests-LDFLAGS): New macro.
19474 (link-libc-rpath-link): Likewise.
19475 (link-libc-tests-rpath-link): Likewise.
19476 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19477 (link-libc): Prepand $(link-libc-rpath-link).
19478 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19479 (test-program-prefix): New macro.
19480 (test-via-rtld-prefix): Likewise.
19481 (test-program-cmd): Likewise.
19482 (host-test-program-cmd): Likewise.
19483 * Makefile ($(common-objpfx)testrun.sh): Replace
19484 $(run-program-prefix) with $(test-program-prefix).
19485 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19486 $(rtld-LDFLAGS).
19487 ($(common-objpfx)shlib.lds): Likewise.
19488 (build-module-helper): Likewise.
19489 ($(common-objpfx)format.lds): Likewise.
19490 * Rules (binaries-pie-tests): New.
19491 (binaries-pie-notests): Likewise.
19492 (binaries-pie): Rewritten.
19493 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19494 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19495 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19496 (make-test-out): Replace $(host-built-program-cmd) with
19497 $(host-test-program-cmd).
19498 * config.make.in (build-hardcoded-path-in-tests): New variable.
19499 * configure.in (--enable-hardcoded-path-in-tests): New configure
19500 option.
19501 (hardcoded_path_in_tests): New AC_SUBST.
19502 * configure: Regenerated.
19503 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19504 $(built-program-cmd) with $(test-program-cmd).
19505 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19506 (test_program_cmd): This.
19507 * elf/Makefile ($(objpfx)order.out): Run test with
19508 $(test-program-prefix).
19509 ($(objpfx)order2.out): Likewise.
19510 ($(objpfx)tst-initorder.out): Likewise.
19511 ($(objpfx)tst-initorder2.out): Likewise.
19512 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19513 $(test-program-cmd).
19514 ($(objpfx)tst-array1-static.out): Likewise.
19515 ($(objpfx)tst-array2.out): Likewise.
19516 ($(objpfx)tst-array3.out): Likewise.
19517 ($(objpfx)tst-array4.out): Likewise.
19518 ($(objpfx)tst-array5.out): Likewise.
19519 ($(objpfx)tst-array5-static.out): Likewise.
19520 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19521 $(test-program-cmd).
19522 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19523 $(run-program-prefix) with $(test-program-prefix).
19524 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19525 (test_program_prefix): This.
19526 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19527 $(run-program-prefix) with $(test-program-prefix).
19528 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19529 (test_program_prefix): This.
19530 * iconvdata/tst-tables.sh: Likewise.
19531 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19532 $(run-program-prefix) with $(test-program-prefix).
19533 ($(objpfx)tst-translit.out): Likewise.
19534 ($(objpfx)tst-gettext2.out): Likewise.
19535 ($(objpfx)tst-gettext4.out): Likewise.
19536 ($(objpfx)tst-gettext6.out): Likewise.
19537 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19538 (test_program_prefix): This.
19539 * intl/tst-gettext2.sh: Likewise.
19540 * intl/tst-gettext4.sh Likewise.
19541 * intl/tst-gettext6.sh: Likewise.
19542 * intl/tst-translit.sh: Likewise.
19543 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19544 with $(test-program-cmd).
19545 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19546 $(run-program-prefix) with $(test-program-prefix).
19547 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19548 (test_program_prefix): This.
19549 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19550 $(run-program-prefix) with $(test-program-prefix).
19551 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19552 (test_program_prefix): This.
19553 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19554 * posix/Makefile ($(objpfx)globtest.out): Replace
19555 $(run-via-rtld-prefix) and $(test-wrapper) with
19556 $(test-program-prefix) and $(test-via-rtld-prefix).
19557 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19558 $(test-program-prefix).
19559 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19560 $(host-test-program-cmd).
19561 (tst-spawn-ARGS): Likewise.
19562 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19563 $(test-program-prefix).
19564 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19565 (test_via_rtld_prefix): This.
19566 (test_wrapper): Renamed to ...
19567 (test_program_prefix): This.
19568 (run_program_prefix): Replaced by test_program_prefix.
19569 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19570 (test_program_prefix): This.
19571 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19572 with $(host-test-program-cmd).
19573 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19574 $(run-program-prefix) with $(test-program-prefix).
19575 ($(objpfx)tst-printf.out): Likewise.
19576 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19577 $(test-program-cmd).
19578 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19579 (test_program_prefix): This.
19580 * stdio-common/tst-unbputc.sh: Likewise.
19581 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19582 $(run-program-prefix) with $(test-program-prefix).
19583 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19584 (test_program_prefix): This.
19585 * string/Makefile ($(objpfx)tst-svc.out): Replace
19586 $(built-program-cmd) with $(test-program-cmd).
19587
c6fe55cf
AJ
195882013-01-11 Andreas Jaeger <aj@suse.de>
19589
19590 [BZ #15003]
19591 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19592 value. Sync with Linux 3.7.
19593
9e6919c8
DM
195942013-01-10 David S. Miller <davem@davemloft.net>
19595
19596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19599
1c9f1a02
RM
196002013-01-10 Roland McGrath <roland@hack.frob.com>
19601
19602 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19603 never set.
19604 * configure: Regenerated.
19605
b9de2dde
DM
196062013-01-10 David S. Miller <davem@davemloft.net>
19607
19608 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19609 sparc V9 rather than using V8 code.
19610 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19611 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19612
e7f68ef4
RM
196132013-01-10 Roland McGrath <roland@hack.frob.com>
19614
19615 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19616 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19617 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19618 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19619 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19620 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19621 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19622 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19623 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19624 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19625 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19626 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19627 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19628 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19629 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19630 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19631 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19632 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19633 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19634 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19635 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19636 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19637 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19638 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19639 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19640 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19641 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19642
5a47cc9c
DM
196432013-01-10 David S. Miller <davem@davemloft.net>
19644
19645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19646
4cf8f209
L
196472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19648
19649 * posix/Makefile (tests-static): New variable.
19650 (tests): Add $(tests-static).
19651 (tst-exec-static-ARGS): New variable.
19652 (tst-spawn-static-ARGS): Likewise.
19653 * posix/tst-exec-static.c: New file.
19654 * posix/tst-spawn-static.c: Likewise.
19655 * posix/tst-exec.c: Support run directly.
19656 * posix/tst-spawn.c: Likewise.
19657
fed0faa1
JM
196582013-01-10 Joseph Myers <joseph@codesourcery.com>
19659
828beb13
JM
19660 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19661 long.
19662 * math/bits/mathcalls.h (llrint): Likewise.
19663 (llround): Likewise.
19664 * stdlib/stdlib.h (struct drand48_data): Likewise.
19665 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19666 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19667 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19668 Likewise.
19669 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19670 Likewise.
19671 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19672 (elf_greg_t): Likewise.
19673 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19674 (__jmp_buf): Likewise.
19675 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19676 definitions.
19677 (llrint): Likewise, for all definitions.
19678 (llrintl): Likewise.
19679
fed0faa1
JM
19680 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19681 Remove [__GNUC__] condition.
19682 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19683 condition to just [__USE_ISOC99].
19684 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19685
1a20cb20
L
196862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19687
19688 [BZ #14200]
19689 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19690 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19691 defined.
19692 (_POSIX_V6_ILP32_OFF32): Likewise.
19693 (_XBS5_ILP32_OFF32): Likewise.
19694 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19695 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19696
751b85f7
SP
196972013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19698
7490eb81
SP
19699 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19700
751b85f7
SP
19701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19702 doubles __mpexp_twomm1. Adjust usage.
19703 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19704 Remove.
19705
988197f0
AS
197062013-01-10 Andreas Schwab <schwab@suse.de>
19707
19708 [BZ #14964]
19709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19710 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19711
e83d7298
DM
197122013-01-09 David S. Miller <davem@davemloft.net>
19713
034ed64b 19714 [BZ #15003]
57f41c40
AS
19715 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19716 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19717 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19718 (TCP_FASTOPEN): Define.
e83d7298
DM
19719 (tcp_repair_opt): New structure.
19720 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19721 enum values.
57f41c40
AS
19722 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19723 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19724 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19725 (tcp_cookie_transactions): New structure.
19726
d5e0b9bd
AB
197272013-01-09 Anton Blanchard <anton@samba.org>
19728
19729 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19730 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19732 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19733
0c07e3ea
JM
197342013-01-09 Joseph Myers <joseph@codesourcery.com>
19735
19736 * include/features.h (__USE_ANSI): Remove.
19737
232f7002
RM
197382013-01-09 Roland McGrath <roland@hack.frob.com>
19739
ad98e30c
RM
19740 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19741
232f7002
RM
19742 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19743
950c99ca
SP
197442013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19745
b5792741
SP
19746 * sysdeps/s390/fpu/libm-test-ulps: Update.
19747
47cf2278
SP
19748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19749
950c99ca
SP
19750 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19751 (__acr): Likewise.
19752 (__cpy): Likewise.
19753 (norm): Likewise.
19754 (denorm): Likewise.
19755 (__mp_dbl): Likewise.
19756 (__dbl_mp): Likewise.
19757 (add_magnitudes): Likewise.
19758 (sub_magnitudes): Likewise.
19759 (__add): Likewise.
19760 (__sub): Likewise.
19761 (__mul): Likewise.
19762 (__inv): Likewise.
19763 (__dvd): Likewise.
19764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19765 (__acr): Likewise.
19766 (__cpy): Likewise.
19767 (norm): Likewise.
19768 (denorm): Likewise.
19769 (__mp_dbl): Likewise.
19770 (__dbl_mp): Likewise.
19771 (add_magnitudes): Likewise.
19772 (sub_magnitudes): Likewise.
19773 (__add): Likewise.
19774 (__sub): Likewise.
19775 (__mul): Likewise.
19776 (__inv): Likewise.
19777 (__dvd): Likewise.
19778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19779 (__acr): Likewise.
19780 (__cpy): Likewise.
19781 (norm): Likewise.
19782 (denorm): Likewise.
19783 (__mp_dbl): Likewise.
19784 (__dbl_mp): Likewise.
19785 (add_magnitudes): Likewise.
19786 (sub_magnitudes): Likewise.
19787 (__add): Likewise.
19788 (__sub): Likewise.
19789 (__mul): Likewise.
19790 (__inv): Likewise.
19791 (__dvd): Likewise.
19792
eede9df9
JM
197932013-01-08 Joseph Myers <joseph@codesourcery.com>
19794
19795 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19796 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19797 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19798 2 && __USE_EXTERN_INLINES]: Likewise.
19799
c40ea3d9
AJ
198002013-01-08 Andreas Jaeger <aj@suse.de>
19801
19802 [BZ# 14985]
19803 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19804 Remove.
19805 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19806 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19807
2ccdea26
AB
198082013-01-07 Anton Blanchard <anton@samba.org>
19809
19810 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19811 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19812 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19813 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19814 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19815 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19816 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19817 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19820 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19821 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19824 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19826 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19828 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19830 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19831 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19833 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19834 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19835 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19836 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19837 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19838 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19839 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19840 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19842 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19843 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19844 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19847 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19848 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19849 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19850 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19852 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19853
a9708fed
JM
198542013-01-07 Joseph Myers <joseph@codesourcery.com>
19855
375607b9
JM
19856 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19857 (__MALLOC_PMT): Likewise.
19858 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19859 [__GNUC__], only on [_LIBC].
19860 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19861 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19862 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19863 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19864 forward declaration.
19865 (realloc_hook_ini): Likewise.
19866 (memalign_hook_ini): Likewise.
19867 (__libc_memalign): Do not use __MALLOC_PMT in variable
19868 declaration.
19869 (__libc_valloc): Likewise.
19870 (__libc_pvalloc): Likewise.
19871 (__libc_calloc): Likewise.
19872 (__posix_memalign): Likewise.
19873
a9708fed
JM
19874 [BZ #14996]
19875 * math/s_casinh.c: Include <float.h>.
19876 (__casinh): Do not do computation with squaring and square root
19877 for large arguments.
19878 * math/s_casinhf.c: Include <float.h>.
19879 (__casinhf): Do not do computation with squaring and square root
19880 for large arguments.
19881 * math/s_casinhl.c: Include <float.h>.
19882 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19883 (__casinhl): Do not do computation with squaring and square root
19884 for large arguments.
19885 * math/libm-test.inc (casin_test): Add more tests.
19886 (casinh_test): Likewise.
19887 * sysdeps/i386/fpu/libm-test-ulps: Update.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19889
afec409a
L
198902013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19891
19892 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19893 (__x86_64_raw_data_cache_size): Likewise.
19894 (__x86_64_data_cache_size_half): Likewise.
19895 (__x86_64_raw_data_cache_size_half): Likewise.
19896 (__x86_64_shared_cache_size): Likewise.
19897 (__x86_64_raw_shared_cache_size): Likewise.
19898 (__x86_64_shared_cache_size_half): Likewise.
19899 (__x86_64_raw_shared_cache_size_half): Likewise.
19900 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19901 to ...
19902 (__x86_data_cache_size): This.
19903 (__x86_64_raw_data_cache_size): Renamed to ...
19904 (__x86_raw_data_cache_size): This.
19905 (__x86_64_data_cache_size_half): Renamed to ...
19906 (__x86_data_cache_size_half): This.
19907 (__x86_64_raw_data_cache_size_half): Renamed to ...
19908 (__x86_raw_data_cache_size_half): This.
19909 (__x86_64_shared_cache_size): Renamed to ...
19910 (__x86_shared_cache_size): This.
19911 (__x86_64_raw_shared_cache_size): Renamed to ...
19912 (__x86_raw_shared_cache_size): This.
19913 (__x86_64_shared_cache_size_half): Renamed to ...
19914 (__x86_shared_cache_size_half): This.
19915 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19916 (__x86_raw_shared_cache_size_half): This.
19917 * sysdeps/x86_64/memcpy.S: Updated.
19918 * sysdeps/x86_64/memset.S: Likewise.
19919 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19922
0b3986d0
DM
199232013-01-04 David S. Miller <davem@davemloft.net>
19924
19925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19926
e47686e9
AS
199272013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19928
d643bac1
AS
19929 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19930 1 to avoid redefinition warning.
19931 (__USE_GNU): Don't define.
19932 (init_signaling_nan): Protoize.
19933
e47686e9
AS
19934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19935
b18decba
SP
199362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19937
fffb407f
SP
19938 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19940 (__cpymn): Likewise.
19941 (norm): Remove commented code.
19942 (denorm): Likewise.
19943 (__mp_dbl): Likewise.
19944 (__inv): Likewise.
19945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19946 (__cpymn): Likewise.
19947 (norm): Remove commented code.
19948 (denorm): Likewise.
19949 (__mp_dbl): Likewise.
19950 (__inv): Likewise.
19951
b18decba
SP
19952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19953 mp_no value for 1.0 and 2.0.
19954 (norm): Use RADIXI instead of radixi.d.
19955 (denorm): Likewise.
19956 (__mul): Use 0.0 instead of zero.d.
19957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19958 mp_no value for 1.0 and 2.0.
19959 (norm): Use RADIXI instead of radixi.d.
19960 (denorm): Likewise.
19961 (__mul): Use 0.0 instead of zero.d.
19962
cdc1c96f
JM
199632013-01-04 Joseph Myers <joseph@codesourcery.com>
19964
19965 [BZ #14994]
19966 * math/s_casinh.c (__casinh): Reduce finite argument to first
19967 quadrant then set signs of results at the end.
19968 * math/s_casinhf.c (__casinhf): Likewise.
19969 * math/s_casinhl.c (__casinhl): Likewise.
19970 * math/libm-test.inc (casin_test): Add more tests.
19971 (casinh_test): Likewise.
19972 * sysdeps/i386/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19974
302913e1
SP
199752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
6420d207
SP
19977 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19978
a9e48ab4
SP
19979 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19980
b7837264
SP
19981 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19982 declarations.
19983 (denorm): Likewise.
19984 (__mp_dbl): Likewise.
19985 (__inv): Likewise.
19986
f8af25d2
SP
19987 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19988 and adjust the header comment.
19989
302913e1
SP
19990 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19991 variable name from declaration.
19992
5d7dd1ca
L
199932013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19994
19995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19996 Initialize COMMON_CPUID_INDEX_7 element.
19997 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19998 (CPUID_RTM): Likewise.
19999 (HAS_RTM): Likewise.
20000 (COMMON_CPUID_INDEX_7): New enum.
20001
2f5f40f4
AS
200022013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20003
20004 [BZ #14981]
20005 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20006 size is zero, record memory as freed.
20007
4056f4a0
AJ
200082013-01-03 Andreas Jaeger <aj@suse.de>
20009
20010 * po/ia.po: Add new Interlingua translation.
20011
ab15736f 200122012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20013
20014 * locale/programs/localedef.c: Fix description of '--posix' flag.
20015
568035b7
JM
200162013-01-02 Joseph Myers <joseph@codesourcery.com>
20017
e6898b8d
JM
20018 * NEWS: Update dates in second copyright notice.
20019 * README: Update copyright dates in example.
20020 * manual/libc.texinfo: Update copyright dates.
20021 * scripts/test-installation.pl: Update copyright date in --version
20022 output.
20023
0e2f9562
JM
20024 * hurd/ctty-input.c: Fix copyright notice formatting.
20025 * hurd/ctty-output.c: Likewise.
20026 * hurd/dtable.c: Likewise.
20027 * hurd/hurd-raise.c: Likewise.
20028 * hurd/hurdprio.c: Likewise.
20029 * hurd/msgportdemux.c: Likewise.
20030 * misc/sys/file.h: Likewise.
20031 * misc/sys/ioctl.h: Likewise.
20032 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20033 * sysdeps/mach/hurd/chdir.c: Likewise.
20034 * sysdeps/mach/hurd/fchdir.c: Likewise.
20035 * sysdeps/mach/hurd/rename.c: Likewise.
20036 * sysdeps/mach/hurd/rmdir.c: Likewise.
20037 * sysdeps/mach/hurd/seekdir.c: Likewise.
20038 * sysdeps/mach/hurd/setsid.c: Likewise.
20039 * sysdeps/posix/wait3.c: Likewise.
20040
568035b7
JM
20041 * All files with FSF copyright notices: Update copyright dates
20042 using scripts/update-copyrights.
20043 * intl/plural.c: Regenerated.
20044 * locale/programs/charmap-kw.h: Likewise.
20045 * locale/programs/locfile-kw.h: Likewise.
20046
da08f647
SP
200472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20048
0f5477af
SP
20049 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20050 four values.
20051
44e0d4c2
SP
20052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20053 calculation loop and add branch prediction.
20054
4d55b4e5
SP
20055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20056 check access beyond bounds of m1np.
20057
da08f647
SP
20058 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20059 MPTWO.
20060 (__inv): Remove local variable MPTWO to use the global
20061 constant.
20062 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20064 variable MPTWO.
20065 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20066 MP3HALFS static const.
20067
8e051029
DM
200682013-01-01 David S. Miller <davem@davemloft.net>
20069
20070 * po/ca.po: Update from translation team.
20071
f4cf5f2d
JM
200722013-01-01 Joseph Myers <joseph@codesourcery.com>
20073
20074 * scripts/update-copyrights: New file.
20075 * Makeconfig: Reformat copyright notice.
20076 * ctype/ctype.h: Likewise.
20077 * debug/swprintf_chk.c: Likewise.
20078 * elf/dl-cache.c: Likewise.
20079 * elf/dl-debug.c: Likewise.
20080 * elf/dl-object.c: Likewise.
20081 * grp/initgroups.c: Likewise.
20082 * hurd/Makefile: Likewise.
20083 * hurd/hurd/signal.h: Likewise.
20084 * hurd/hurdfault.c: Likewise.
20085 * hurd/hurdioctl.c: Likewise.
20086 * hurd/hurdlookup.c: Likewise.
20087 * hurd/intr-msg.c: Likewise.
20088 * iconv/gconv_open.c: Likewise.
20089 * libio/swprintf.c: Likewise.
20090 * locale/lc-ctype.c: Likewise.
20091 * locale/nl_langinfo.c: Likewise.
20092 * mach/Machrules: Likewise.
20093 * mach/Makefile: Likewise.
20094 * malloc/obstack.h: Likewise.
20095 * manual/Makefile: Likewise.
20096 * manual/tsort.awk: Likewise.
20097 * misc/bits/stab.def: Likewise.
20098 * nis/nis_print_group_entry.c: Likewise.
20099 * nis/nis_table.c: Likewise.
20100 * nis/nss_compat/compat-pwd.c: Likewise.
20101 * nis/nss_compat/compat-spwd.c: Likewise.
20102 * po/Makefile: Likewise.
20103 * posix/fnmatch.c: Likewise.
20104 * posix/regex.h: Likewise.
20105 * resolv/Makefile: Likewise.
20106 * resolv/nss_dns/dns-network.c: Likewise.
20107 * resolv/res_hconf.c: Likewise.
20108 * scripts/gen-sorted.awk: Likewise.
20109 * soft-fp/soft-fp.h: Likewise.
20110 * stdio-common/printf.h: Likewise.
20111 * stdlib/monetary.h: Likewise.
20112 * stdlib/random.c: Likewise.
20113 * stdlib/random_r.c: Likewise.
20114 * sysdeps/generic/Makefile: Likewise.
20115 * sysdeps/gnu/Makefile: Likewise.
20116 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20118 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20119 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20123 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20126 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20127 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20128 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20129 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20130 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20131 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20132 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20144 * sysdeps/mach/hurd/errnos.awk: Likewise.
20145 * sysdeps/mach/hurd/fork.c: Likewise.
20146 * sysdeps/mach/hurd/getcwd.c: Likewise.
20147 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20148 * sysdeps/mach/hurd/mmap.c: Likewise.
20149 * sysdeps/mach/hurd/utimes.c: Likewise.
20150 * sysdeps/mach/hurd/xmknod.c: Likewise.
20151 * sysdeps/posix/profil.c: Likewise.
20152 * sysdeps/posix/readdir_r.c: Likewise.
20153 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20154 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20155 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20156 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20158 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20159 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20160 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20162 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20163 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20164 * sysdeps/pthread/lio_listio.c: Likewise.
20165 * sysdeps/sparc/dl-procinfo.h: Likewise.
20166 * sysdeps/unix/i386/sysdep.S: Likewise.
20167 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20168 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20169 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20170 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20172 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20173 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20174 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20175 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20176 * sysdeps/wordsize-32/divdi3.c: Likewise.
20177 * time/sys/time.h: Likewise.
20178 * wcsmbs/Makefile: Likewise.
20179
0549fbba
DM
201802013-01-01 David S. Miller <davem@davemloft.net>
20181
a141f1a7
DM
20182 * po/fr.po: Update from translation team.
20183
0549fbba
DM
20184 * catgets/gencat.c: Update copyright year.
20185 * csu/version.c: Likewise.
20186 * debug/catchsegv.sh: Likewise.
20187 * debug/pcprofiledump.c: Likewise.
20188 * debug/xtrace.sh: Likewise.
20189 * elf/ldconfig.c: Likewise.
20190 * elf/ldd.bash.in: Likewise.
20191 * elf/pldd.c: Likewise.
20192 * elf/sotruss.ksh: Likewise.
20193 * elf/sprof.c: Likewise.
20194 * iconv/iconv_prog.c: Likewise.
20195 * iconv/iconvconfig.c: Likewise.
20196 * locale/programs/locale.c: Likewise.
20197 * locale/programs/localedef.c: Likewise.
20198 * login/programs/pt_chown.c: Likewise.
20199 * malloc/memusage.sh: Likewise.
20200 * malloc/memusagestat.c: Likewise.
20201 * malloc/mtrace.pl: Likewise.
20202 * nscd/nscd.c: Likewise.
20203 * nss/getent.c: Likewise.
20204 * nss/makedb.c: Likewise.
20205 * posix/getconf.c: Likewise.
20206
18ea052c
SP
202072012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20208
20209 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20210 numbers.
20211
9c89fca6
MF
202122012-12-30 Mike Frysinger <vapier@gentoo.org>
20213
20214 * math/bits/mathcalls.h (modf): Use __nonnull.
20215
085ec079
SP
202162012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20217
20218 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20219 (split): Use macro CN instead of the bare value.
20220 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20221 could be used.
20222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20223 instead of the bare value.
20224 (power1): Likewise.
20225
6d9f97e1
SP
202262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20227
d63f73be
SP
20228 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20229 __ATAN_TWOM.
20230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20231
6d9f97e1
SP
20232 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20233 their values.
20234 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20236 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20237 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20238
4c4febf5
AJ
202392012-12-28 Andreas Jaeger <aj@suse.de>
20240
af5843ef
AJ
20241 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20242 values are from Linux 3.7.
20243
4c4febf5
AJ
20244 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20245 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20246
99136f82
SP
202472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20248
2f216c3c 20249 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20250 TRUE case.
20251
99136f82
SP
20252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20253 (norm): Likewise.
20254 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20255 variables with preprocessor constants.
20256 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20257 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20258 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20259
7fffbdff
BH
202602012-12-27 Bruno Haible <bruno@clisp.org>
20261
20262 [BZ #14317]
20263 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20264 only if needed.
20265
b76eb5f0
SP
202662012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20267
31a7fe5c
SP
20268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20269 and use variable directly.
20270 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20271
b76eb5f0
SP
20272 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20273 MPONE.
20274 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20275 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20276 variable MPONE.
20277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20279 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20280 include directive. Remove local variable MPONE.
20281 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20284
2c8bfe7d
DM
202852012-12-25 David S. Miller <davem@davemloft.net>
20286
20287 * version.h (RELEASE): Set to "development".
20288 (VERSION): Set to "2.17.90".
20289 * NEWS: Add 2.18 section.
20290
147d03b0
DM
202912012-12-21 David S. Miller <davem@davemloft.net>
20292
20293 * po/hr.po: Update from translation team.
20294
a8ebb2b9
AK
202952012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20296
20297 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20298
95b4f1b6
SE
202992012-12-19 Steve Ellcey <sellcey@mips.com>
20300
b2d94007 20301 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20302
cedb2a90
MS
203032012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20304
20305 * manual/contrib.texi (Contributors): Spelling correction.
20306
bbf527d6
DM
203072012-12-15 David S. Miller <davem@davemloft.net>
20308
20309 * po/ru.po: Update from translation team.
20310
bc38c906
DM
203112012-12-13 David S. Miller <davem@davemloft.net>
20312
85429b1a
DM
20313 * NEWS: Mention IFUNC testsuite enhancements.
20314
d283e353
DM
20315 * po/pl.po: Update from translation team.
20316 * po/bg.po: Likewise.
20317
bc38c906
DM
20318 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20319 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20320
a181b0d7
DM
203212012-12-11 David S. Miller <davem@davemloft.net>
20322
4641d57e
DM
20323 * po/sv.po: Update from translation team.
20324
f7bc6495
DM
20325 * po/vi.po: Update from translation team.
20326
6fc9048f
DM
20327 * po/cs.po: Update from translation team.
20328
a181b0d7
DM
20329 * po/de.po: Update from translation team.
20330 * po/eo.po: Likewise.
20331 * po/nl.po: Likewise.
20332
f70bfe80
SP
203332012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20334
3c8b4190
SP
20335 [BZ #14246]
20336 * manual/argp.texi (Argp Helper Functions): Move node to follow
20337 Argp Parsing State.
20338
f70bfe80
SP
20339 [BZ #14872]
20340 * manual/conf.texi (Limits on File System Capacity): Mention if
20341 terminating null is included in the max size.
20342
188f0adf
AJ
203432012-12-10 Andreas Jaeger <aj@suse.de>
20344
20345 * po/cs.po: Update from translation team.
20346
56e7d3ad
SP
203472012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20348
20349 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20350 void pointer and cast to uintptr_t.
20351 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20352 path.
20353 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20354 * sysdeps/s390/s390-64/memset.S: Likewise.
20355
76f2d2ea 203562012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20357
20358 [BZ #14833]
20359 * menual/message.texi (Message Translation): Fix typos.
20360 (Helper programs for gettext): Likewise.
20361
67cbf9a2
AS
203622012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20363
20364 [BZ #14898]
20365 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20366 Change to -1.
20367
682d0e9a
DM
203682012-12-07 David S. Miller <davem@davemloft.net>
20369
20370 * po/libc.pot: Update.
20371
573cd484
RH
203722012-12-07 Richard Henderson <rth@redhat.com>
20373
7e9da188 20374 [BZ #10114]
573cd484
RH
20375 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20376 normal/normal case to before the switch.
20377 (_FP_DIV): Likewise.
20378
e933a943
MF
203792012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20380 Mike Frysinger <vapier@gentoo.org>
20381
20382 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20383 check for __NR_fadvise64_64.
20384
82123268
CM
203852012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20386
20387 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20388 0, not just to plain "0" as a statement.
20389 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20390 with cw.
20391
d9814526
JM
203922012-12-06 Joseph Myers <joseph@codesourcery.com>
20393
20394 * NEWS: Use sourceware.org in Bugzilla URL.
20395
7728c574
SP
203962012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20397
f16946dd
SP
20398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20399 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20400
5704bbcb
SP
20401 * stdio-common/tst-put-error.c (do_test): Add newline to the
20402 padded test to ensure flush.
20403
17aa0516
JL
204042012-12-05 Jeff Law <law@redhat.com>
20405
20406 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20407
363313b5
JM
204082012-12-05 Joseph Myers <joseph@codesourcery.com>
20409
effbd42a
JM
20410 * README: Don't refer to ports add-on as distributed separately.
20411 Mention AArch64 in list of systems supported in the ports add-on.
20412
87600365
JM
20413 * LICENSES: Add more non-FSF copyright and license notices.
20414
a0d7066a
JM
20415 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20416 ((unused)).
20417
66ca5a5b
JM
20418 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20419
363313b5
JM
20420 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20421 10000 as width of padded output.
20422
b37984ad
JM
204232012-12-04 Joseph Myers <joseph@codesourcery.com>
20424
9003570a
JM
20425 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20426
b37984ad
JM
20427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20428 variable LX with __attribute__ ((unused)).
20429 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20430 Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20434 with __attribute__ ((unused)).
20435
c8df52ec
DM
204362012-12-04 David S. Miller <davem@abraco.davemloft.net>
20437
20438 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20439
b3b099af
JM
204402012-12-04 Joseph Myers <joseph@codesourcery.com>
20441
c33aa6e3
JM
20442 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20443 (CFLAGS-nldbl-acos.c): New variable.
20444 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20445 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20446 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20447 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20448 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20449 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20450 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20451 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20452 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20453 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20454 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20455 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20456 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20457 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20458 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20459 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20460 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20461 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20462 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20463 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20464 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20465 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20466 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20467 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20468 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20469 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20470 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20471 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20472 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20473 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20474 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20475 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20476 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20477 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20478 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20479 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20480 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20481 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20482 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20483 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20484 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20485 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20486 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20487 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20488 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20506 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20507 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20508 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20509 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20510 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20511 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20512 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20513 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20514 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20515 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20516 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20517 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20518 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20519 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20520 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20521 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20522 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20523 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20524 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20525 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20526 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20527 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20528 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20529 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20530 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20531 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20532 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20533 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20534 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20535 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20536 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20537 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20538 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20539 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20540 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20541
20f0018d
JM
20542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20543 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20544
b3b099af
JM
20545 [BZ #14914]
20546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20547 whole low double instead of just low 47 bits when splitting values
20548 into two parts.
20549
029264d1
AM
205502012-12-03 Allan McRae <allan@archlinux.org>
20551
20552 * manual/stdio.texi (Predefined Printf Handlers): Remove
20553 @hsep and @vsep usage.
20554
c9d6789e
MF
205552012-12-03 Mike Frysinger <vapier@gentoo.org>
20556
20557 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20558 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20559
4b7634a5
JL
205602012-12-03 Jeff Law <law@redhat.com>
20561
20562 * time/sys/time.h (settimeofday): Do not mark TV argument
20563 as __nonnull.
20564
eb6cbd24
MF
205652012-12-01 Mike Frysinger <vapier@gentoo.org>
20566
20567 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20568 when currently writing and seek to current position when not.
20569 * libio/Makefile (tests): Remove bug-fclose1.
20570 * libio/bug-fclose1.c: Delete.
20571
f638872a
JM
205722012-12-01 Joseph Myers <joseph@codesourcery.com>
20573
20574 * manual/arith.texi (feenableexcept): Fix typo.
20575 (fedisableexcept): Likewise.
20576
48085d14
RM
205772012-11-30 Roland McGrath <roland@hack.frob.com>
20578
20579 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20580 second, differently-typed declaration, rather than a cast.
20581
1a538b9f
SP
205822012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20583
20584 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20585 * include/rpc/svc.h: ... here.
20586
d07f2ff1 205872012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20588
20589 [BZ #13013]
20590 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20591 depending n and resplen2 to catch cases where answer
20592 equals answerp2.
20593
c93ec1f0
CD
205942012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20595
20596 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20597 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20598
37db69de
MF
205992012-11-29 Mike Frysinger <vapier@gentoo.org>
20600
20601 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20602
e10c4e4f
RM
206032012-11-29 Roland McGrath <roland@hack.frob.com>
20604
20605 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20606
2af1b328
JL
206072012-11-28 Jeff Law <law@redhat.com>
20608
20609 [BZ #13761]
20610 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20611 dataset_temporary. Track alloca usage into alloca_used.
20612 If dataset is large allocate and release it via malloc/free.
20613
111db5b1
FW
206142012-06-04 Florian Weimer <fweimer@redhat.com>
20615
f06cc227 20616 [BZ #14197]
111db5b1
FW
20617 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20618
dd694abd
DM
206192012-11-28 David S. Miller <davem@davemloft.net>
20620
20621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20622
9984dd01
JM
206232012-11-28 Joseph Myers <joseph@codesourcery.com>
20624
20625 [BZ #14803]
20626 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20627 of pi/2 rounded to nearest to 64 bits.
20628 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20629 nearest to 64 bits.
20630 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20631 bits.
20632
14bc93a9
JL
206332012-11-28 Jeff Law <law@redhat.com>
20634 Martin Osvald <mosvald@redhat.com>
20635
20636 [BZ #14889]
20637 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20638 * sunrpc/svc.c: Include time.h.
20639 (__svc_accept_failed): New function.
20640 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20641 any reason other than EINTR, call __svc_accept_failed.
20642 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20643 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20644
e3c6aa3a
AS
206452012-11-28 Andreas Schwab <schwab@suse.de>
20646
20647 * scripts/abilist.awk: Also handle indirect functions in .opd
20648 section.
20649
1bead169
JM
206502012-11-28 Joseph Myers <joseph@codesourcery.com>
20651
20652 [BZ #13881]
20653 * sysdeps/x86/fpu/powl_helper.c: New file.
20654 * sysdeps/x86/fpu/Makefile: Likewise.
20655 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20656 (p3): New object.
20657 (__ieee754_powl): Use __powl_helper for finite arguments except
20658 integer exponents below 8.
20659 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20660 (p3): New object.
20661 (__ieee754_powl): Use __powl_helper for finite arguments except
20662 integer exponents below 8.
20663 * math/libm-test.inc (pow_test): Add more tests and enable some
20664 previously disabled tests.
20665 * sysdeps/i386/fpu/libm-test-ulps: Update.
20666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20667
0817d63d
SP
206682012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20669 Carlos O'Donell <carlos_odonell@mentor.com>
20670
20671 * nss/makedb.c (is_prime): Assert that input is odd and greater
20672 than 4. Note that fact in a comment too.
20673 (next_prime): Add 4 to input.
20674
de2fd463
SP
206752012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20676
20677 [BZ #11741]
20678 * libio/Makefile (tests): Add test case tst-fwrite-error.
20679 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20680 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20681 * libio/tst-fwrite-error.c: New test case.
20682
c515fb51
L
206832012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20684
20685 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20686 before casting to void *.
20687 * include/libc-internal.h (__pointer_type): New macro.
20688 (__integer_if_pointer_type_sub): Likewise.
20689 (__integer_if_pointer_type): Likewise.
20690 (cast_to_integer): Likewise.
20691 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20692 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20693 before casting to atomic64_t.
20694 (atomic_exchange_acq): Likewise.
20695 (__arch_exchange_and_add_body): Likewise.
20696 (__arch_add_body): Likewise.
20697 (atomic_add_negative): Likewise.
20698 (atomic_add_zero): Likewise.
20699
4cf77aa9
JM
207002012-11-26 Joseph Myers <joseph@codesourcery.com>
20701
20702 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20703 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20704 (add_fdes): Likewise.
20705 (linear_search_fdes): Likewise.
20706 (binary_search_unencoded_fdes): Likewise.
20707
d260b3b4
AS
207082012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20709
20710 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20711
67060746
AC
207122012-11-24 Adam Conrad <adconrad@0c3.net>
20713
20714 * configure.in: Autodetect C++ header directories.
20715 * configure: Regenerated.
20716
800938a1
MF
207172012-11-23 Mike Frysinger <vapier@gentoo.org>
20718
20719 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20720
4e6e34e6
AS
207212012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20722
20723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20724
7c7feb47
JM
207252012-11-22 Joseph Myers <joseph@codesourcery.com>
20726
7184dcdf
JM
20727 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20728 LDBL_MANT_DIG == 106]: Disable some tests.
20729 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20730 Likewise.
20731 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20732 Likewise.
20733
0a42601f
JM
20734 [BZ #14871]
20735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20736 input for small inputs. Return +/- pi/2 for large inputs.
20737 * math/libm-test.inc (atan_test): Add more tests.
20738
79c9b9fe
JM
20739 * sysdeps/generic/unwind-dw2-fde-glibc.c
20740 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20741 __attribute__ ((unused)).
20742
c60d3bf2
JM
20743 [BZ #14645]
20744 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20745 x * y if x and y are nonzero and z is zero.
20746
ef1e0867
JM
20747 [BZ #14811]
20748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20749 nonzero exponents with absolute value below 0x1p-117 to +/-
20750 0x1p-117.
20751
1468ded3
JM
20752 [BZ #14869]
20753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20754 up arguments below 2**-450, not just those below 2**-500.
20755 * math/libm-test.inc (hypot_test): Add another test.
20756
8e27e3cc
JM
20757 [BZ #14868]
20758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20759 Return a+b for ratio over 2**120, not 2**60.
20760 * math/libm-test.inc (hypot_test): Add another test.
20761
c9c0279b
JM
20762 * math/libm-test.inc (clog_test): Use
20763 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20764 (clog10_test): Likewise.
20765
7c7feb47
JM
20766 [BZ #6778]
20767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20768
fff1530e
AS
207692012-11-22 Andreas Schwab <schwab@suse.de>
20770
20771 * sysdeps/i386/fpu/libm-test-ulps: Update.
20772
94558d30
PT
207732012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20774
20775 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20776 printf output with newline.
20777
7e1be741
L
207782012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20779
6bfea974
L
20780 [BZ #14865]
20781 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20782 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20783 -z nodlopen, -z initfirst and -z execstack support.
20784 * configure: Regenerated.
20785
7e1be741
L
20786 * elf/elf.h (DF_1_NODIRECT): New macro.
20787 (DF_1_IGNMULDEF): Likewise.
20788 (DF_1_NOKSYMS): Likewise.
20789 (DF_1_NOHDR): Likewise.
20790 (DF_1_EDITED): Likewise.
20791 (DF_1_NORELOC): Likewise.
20792 (DF_1_SYMINTPOSE): Likewise.
20793 (DF_1_GLOBAUDIT): Likewise.
20794 (DF_1_SINGLETON): Likewise.
20795 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20796 DT_1_SUPPORTED_MASK bits.
20797 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20798
105ce2ce
CD
207992012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20800
20801 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20802
123be9de
TS
208032012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20804
d072f3f7
TS
20805 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20806 macro.
20807
123be9de
TS
20808 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20809 (sendmmsg): Move declarations...
20810 * socket/sys/socket.h: ... here.
20811 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20812 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20813 include it from...
20814 * socket/recvmmsg.c: ... this new file.
20815 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20816 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20817 definition of __sendmmsg hidden.
20818 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20819 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20820 Move ENOSYS stub into and include it from...
20821 * socket/sendmmsg.c: ... this new file.
20822 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20823 (sysdep_routines): Move recvmmsg and sendmmsg...
20824 * socket/Makefile (routines): ... here.
20825 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20826 (GLIBC_PRIVATE): Add __sendmmsg.
20827 * include/sys/socket.h (__sendmmsg): Add declarations.
20828 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20829 sendmmsg.
20830
cf9a5d18
JM
208312012-11-20 Joseph Myers <joseph@codesourcery.com>
20832
20833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20834 variable I1 with __attribute__ ((unused)).
20835 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20836
ecd4caf9
JM
208372012-11-19 Joseph Myers <joseph@codesourcery.com>
20838
be14d48f
JM
20839 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20840 DUMMY variables with __attribute__ ((unused)).
20841
ecd4caf9
JM
20842 * bits/byteswap.h: Include <bits/types.h>.
20843 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20844
986cab95
PT
208452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20846
20847 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20848 string_t. Do not manually set errno.
20849 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20850 length with __strnlen. Make sure to both set errno and return it on
20851 failure.
20852
6d33cc9d
DM
208532012-11-19 David S. Miller <davem@davemloft.net>
20854
20855 With help from Joseph Myers.
20856 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20857 very large arguments properly.
20858 * math/libm-test.inc (atan_test): New tests.
20859 (atan2_test): New tests.
20860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20862
ee663277
JM
208632012-11-19 Joseph Myers <joseph@codesourcery.com>
20864
877f2d8e
JM
20865 [BZ #14856]
20866 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20867 Define to 3.
20868
116fc08a
JM
20869 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20870 [POSIX] (EADDRNOTAVAIL): Likewise.
20871 [POSIX] (EAFNOSUPPORT): Likewise.
20872 [POSIX] (EALREADY): Likewise.
20873 [POSIX] (ECONNABORTED): Likewise.
20874 [POSIX] (ECONNREFUSED): Likewise.
20875 [POSIX] (ECONNRESET): Likewise.
20876 [POSIX] (EDESTADDRREQ): Likewise.
20877 [POSIX] (EDQUOT): Likewise.
20878 [POSIX] (EHOSTUNREACH): Likewise.
20879 [POSIX] (EIDRM): Likewise.
20880 [POSIX] (EISCONN): Likewise.
20881 [POSIX] (ELOOP): Likewise.
20882 [POSIX] (EMULTIHOP): Likewise.
20883 [POSIX] (ENETDOWN): Likewise.
20884 [POSIX] (ENETUNREACH): Likewise.
20885 [POSIX] (ENOBUFS): Likewise.
20886 [POSIX] (ENODATA): Likewise.
20887 [POSIX] (ENOLINK): Likewise.
20888 [POSIX] (ENOMSG): Likewise.
20889 [POSIX] (ENOPROTOOPT): Likewise.
20890 [POSIX] (ENOSR): Likewise.
20891 [POSIX] (ENOSTR): Likewise.
20892 [POSIX] (ENOTCONN): Likewise.
20893 [POSIX] (ENOTSOCK): Likewise.
20894 [POSIX] (EOPNOTSUPP): Likewise.
20895 [POSIX] (EOVERFLOW): Likewise.
20896 [POSIX] (EPROTO): Likewise.
20897 [POSIX] (EPROTONOSUPPORT): Likewise.
20898 [POSIX] (EPROTOTYPE): Likewise.
20899 [POSIX] (ESTALE): Likewise.
20900 [POSIX] (ETIME): Likewise.
20901 [POSIX] (ETXTBSY): Likewise.
20902 [POSIX] (EWOULDBLOCK): Likewise.
20903 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20904 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20905 [POSIX] (SEEK_CUR): Likewise.
20906 [POSIX] (SEEK_END): Likewise.
20907 [POSIX || UNIX98] (mode_t): Do not require.
20908 [POSIX] (off_t): Likewise.
20909 [POSIX] (pid_t): Likewise.
20910 [POSIX] (sys/stat.h): Do not allow header.
20911 [POSIX] (unistd.h): Likewise.
20912 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20913 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20914 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20915 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20916 require.
20917 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20918 sigevent): Specify elements.
20919 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20920 entry.
20921 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20922 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20923
a483863f
JM
20924 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20925 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20926 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20927 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20928 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20929 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20930 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20931 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20932 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20933 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20934 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20935 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20936 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20937 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20938 Likewise.
20939 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20940 Likewise.
20941 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20942 Likewise.
20943 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20944 Likewise.
20945 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20946 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20947 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20948 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20950 Specify lower bound on value.
20951 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20952 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20953 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20954 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20955 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20956 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20957 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20958 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20959 value.
20960 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20961 as optional.
20962 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20963 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20965 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20966 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20967 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20968 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20970 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20971 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20972 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20973 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20974 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20975 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20976 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20977 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20978 entry.
20979 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20980 optional.
20981 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20982 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20984 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20985 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20986 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20987 Likewise.
20988 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20990 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20993 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20994 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20995 as optional.
20996 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21000 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21001 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21002 specify as optional.
21003 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21006 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21007 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21008 [XPG3] (NL_LANGMAX): Likewise.
21009 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21010 [POSIX || XPG3] (NL_NMAX): Likewise.
21011 [POSIX || XPG3] (NL_SETMAX): Likewise.
21012 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21013 [XPG3] (NZERO): Likewise.
21014 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21015 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21016 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21017 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21018 (REG_ERANGE): Expect.
21019 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21020 optional-constant.
21021 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21022 Use (void) in prototype.
21023 [POSIX] (*_t): Allow.
21024 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21025 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21026 (WRDE_BADVAL): Expect.
21027
5ba924e3
JM
21028 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21029 expect.
21030 [XPG3 || XPG4] (O_RSYNC): Likewise.
21031 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21032 Likewise.
21033 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21034 [XPG3 || XPG4] (sigqueue): Likewise.
21035 [XPG3 || XPG4] (sigtimedwait): Likewise.
21036 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21037 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21038 [XPG3 || XPG4] (vsnprintf): Likewise.
21039 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21040 Likewise.
21041 [XPG3 || XPG4] (blksize_t): Likewise.
21042 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21043 Likewise.
21044 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21045 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21046 [XPG3 || XPG4] (struct itimerspec): Likewise.
21047 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21048 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21049 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21050 [XPG3 || XPG4] (clockid_t): Likewise.
21051 [XPG3 || XPG4] (timer_t): Likewise.
21052 [XPG3 || XPG4] (clock_getres): Likewise.
21053 [XPG3 || XPG4] (clock_gettime): Likewise.
21054 [XPG3 || XPG4] (clock_settime): Likewise.
21055 [XPG3 || XPG4] (nanosleep): Likewise.
21056 [XPG3 || XPG4] (timer_create): Likewise.
21057 [XPG3 || XPG4] (timer_delete): Likewise.
21058 [XPG3 || XPG4] (timer_gettime): Likewise.
21059 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21060 [XPG3 || XPG4] (timer_settime): Likewise.
21061 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21062 [XPG3 || XPG4] (getlogin_r): Likewise.
21063 [XPG3 || XPG4] (pread): Likewise.
21064 [XPG3 || XPG4] (pthread_atfork): Likewise.
21065 [XPG3 || XPG4] (pwrite): Likewise.
21066
ee663277
JM
21067 [BZ #14835]
21068 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21069 <bits/siginfo.h>.
21070
942caa16
PT
210712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21072
e19af380
PT
21073 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21074 finalizing MALLSTREAM.
21075
942caa16
PT
21076 * sysdeps/mach/hurd/syncfs.c: New file.
21077
cfde9b46
SP
210782012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21079
21080 [BZ #14719]
21081 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21082 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21083 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21084 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21085 (_nss_dns_gethostbyname4_r): Likewise.
21086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21087 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21088
f6da27e5
PH
210892012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21090
21091 [BZ #13763]
21092 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21093
6665d4a2
SM
210942012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21095
1f51ee92
SM
21096 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21097 * elf/cache.c (print_entry): Print ",AArch64" for
21098 FLAG_AARCH64_LIB64
21099
6665d4a2
SM
21100 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21101 * elf/cache.c (print_entry): Print ",hard-float" for
21102 FLAG_ARM_LIBHF.
21103
05b227bd
DM
211042012-11-18 David S. Miller <davem@davemloft.net>
21105
21106 With help from Joseph Myers.
21107 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21108 cutoff to 2**-13.
21109 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21110 cutoff to 2**-25.
21111 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21112 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21113 small.
21114 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21115 * math/libm-test.inc (y0_test): New tests.
21116 (y1_test): New tests.
21117 * sysdeps/i386/fpu/libm-test-ulps: Update.
21118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21120
786b0b67
AS
211212012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21122
21123 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21124 64-bit targets.
21125 * configure: Regenerated.
21126
8e18b86d
DM
211272012-11-17 David S. Miller <davem@davemloft.net>
21128
21129 [BZ #14811]
21130 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21131 nonzero exponents with absolute value below 0x1p-128 to +/-
21132 0x1p-128.
21133
531f1ae0
JM
211342012-11-17 Joseph Myers <joseph@codesourcery.com>
21135
12df29e2
JM
21136 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21137
150dc1a0
JM
21138 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21139
531f1ae0
JM
21140 * posix/getconf-speclist.c: New file.
21141 * posix/posix-envs.def: Likewise.
21142 * posix/confstr.c (START_ENV_GROUP): New macro.
21143 (END_ENV_GROUP): Likewise.
21144 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21145 (KNOWN_PRESENT_ENV_STRING): Likewise.
21146 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21147 (UNKNOWN_ENVIRONMENT): Likewise.
21148 (confstr): Include posix-envs.def instead of handling
21149 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21150 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21151 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21152 (END_ENV_GROUP): Likewise.
21153 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21154 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21155 (UNKNOWN_ENVIRONMENT): Likewise.
21156 (__sysconf): Include posix-envs.def instead of handling associated
21157 cases directly here.
21158 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21159 preprocessing getconf-speclist.c rather than running getconf or
21160 generating empty file.
21161
a93f9cbc
PT
211622012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21163
21164 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21165
d64d9f87
AL
211662012-11-16 Andrej Lajovic <natrij@gmail.com>
21167
21168 [BZ #14672]
21169 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21170
447885eb
DM
211712012-11-16 David S. Miller <davem@davemloft.net>
21172
21173 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21174 smaller than LDBL_EPSILON/2.0L, just return xm1.
21175
bcbf9830
L
211762012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21177
21178 * elf/tst-array1.c (init): Set constructor priority to 1000.
21179 (fini): Set destructor priority to 1000.
21180 * elf/tst-array2dep.c: Likewise.
21181
2b766585
SP
211822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21183
21184 [BZ #11741]
21185 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21186 (_IO_new_file_xsputn): Also return EOF if none of the input
21187 data was written when overflow failed.
21188 * libio/iopadn.c (_IO_padn): Likewise.
21189 * libio/iowpadn.c (_IO_wpadn): Likewise.
21190 * stdio-common/tst-put-error.c: Add copyright notice.
21191 (do_test): Add case for printing padded string.
21192 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21193 _IO_padn returned error.
21194 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21195 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21196 return EOF.
21197
b1848fde
SP
211982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21199
21200 * libio/libioP.h: Add comment note that the references to C++
21201 bits are now obsolete.
21202
2fd89785
MS
212032012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21204
21205 * math/libm-test.inc (check_complex): Use asprintf.
21206
e3ea5409
JM
212072012-11-14 Joseph Myers <joseph@codesourcery.com>
21208
21209 * debug/pcprofiledump.c (print_version): Update copyright year.
21210 * malloc/memusagestat.c (print_version): Likewise.
21211
2e64d265
L
212122012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21213
21214 [BZ #14831]
21215 * elf/Makefile (tests): Add tst-audit8.
21216 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21217 ($(objpfx)tst-audit8.out): New target.
21218 (tst-audit8-ENV): New variable.
21219 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21220 audit if l_reloc_result is NULL.
21221 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21222 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21223 * elf/tst-audit8.c: New file.
21224
c485e4d2
MS
212252012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21226
21227 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21228 * misc/Makefile (CFLAGS-select.c): Define.
21229 * posix/Makefile (CFLAGS-pause.c): Define.
21230
3a0d900a
DM
212312012-11-13 David S. Miller <davem@davemloft.net>
21232
21233 * crypt/Makefile: Move test targets after toplevel Rules
21234 inclusion. Grab any necessary sysdep routines when linking.
21235 * crypt/md5.c (md5_process_block): Remove define, we will always
21236 name it __md5_process_block.
21237 (md5_finish_ctx): Update md5_process_block call.
21238 (md5_stream): Likewise.
21239 (md5_process_bytes): Likewise.
21240 (md5_process_block): Rename to __md5_process_block and move to ...
21241 * crypt/md5-block.c: ... here.
21242 * crypt/sha256.c (sha256_process_block): Move to ...
21243 * crypt/sha256-block.c: ... here.
21244 * crypt/sha512.c (sha512_process_block): Move to ...
21245 * crypt/sha512-block.c: ... here.
21246 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21247 path.
21248 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21249 * sysdeps/sparc/sparc64/multiarch/Makefile
21250 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21251 crypt subdir.
21252 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21253 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21254 multiarch changes.
21255 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21256 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21257 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21258 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21259 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21260 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21261 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21262 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21264 file.
21265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21266 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21267 file.
21268 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21269
8ca89318
JM
212702012-11-13 Joseph Myers <joseph@codesourcery.com>
21271
e27d476a
JM
21272 * timezone/tzselect.ksh: Update from tzcode git revision
21273 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21274 * timezone/zdump.c: Likewise.
21275 * timezone/zic.c: Likewise.
21276 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21277 in TZVERSION setting, not $(PKGVERSION).
21278 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21279 REPORT_BUGS_TO settings.
21280
8ca89318
JM
21281 [BZ #14838]
21282 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21283 macro.
21284
47594329
MS
212852012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21286
21287 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21288 detection to immediately after _FP_ROUND().
21289 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21290 bits are 0.
21291
640ac3f1
DM
212922012-11-11 David S. Miller <davem@davemloft.net>
21293
21294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21295 inttypes.h
21296 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21297 __close rather than their public counterparts.
21298
3d2577bb
JM
212992012-11-10 Joseph Myers <joseph@codesourcery.com>
21300
21301 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21302 file.
21303 [UNIX98] (sem_timedwait): Do not expect.
21304 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21305 [XPG4 || UNIX98] (sockatmark): Do not expect.
21306 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21307 (clock_getcpuclockid): Do not expect.
21308 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21309 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21310 Do not expect.
21311 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21312 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21313 [UNIX98] (vwscanf): Likewise.
21314 [UNIX98] (vswscanf): Likewise.
21315
fb1ae1ee
JM
213162012-11-09 Joseph Myers <joseph@codesourcery.com>
21317
9ec6f8bd
JM
21318 * timezone/version.h: Remove file.
21319 * timezone/README: Do not refer to version.h.
21320 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21321 $(objpfx)version.h.
21322 ($(objpfx)zdump.o): Likewise.
c3f81911 21323 ($(objpfx)version.h): New target.
9ec6f8bd 21324
0aa8f8a1
JM
21325 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21326 2012i.
21327 * timezone/README: Don't mention modification to tzselect.ksh.
21328 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21329 work on unmodified tzselect.ksh. Substitute version numbers in
21330 tzselect.ksh.
21331
4e87147f
JM
21332 * Makefile (format-me): Remove.
21333 (INSTALL): Adjust indentation. Use commands directly instead of
21334 using $(format-me).
21335
8b748aed
JM
21336 * aclocal.m4 (ACX_PKGVERSION): New macro.
21337 (ACX_BUGURL): Likewise.
21338 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21339 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21340 (REPORT_BUGS_TO): Likewise.
21341 * configure: Regenerated.
21342 * config.h.in (PKGVERSION): New macro.
21343 (REPORT_BUGS_TO): Likewise.
21344 * config.make.in (PKGVERSION): New variable.
21345 (PKGVERSION_TEXI): Likewise.
21346 (REPORT_BUGS_TO): Likewise.
21347 (REPORT_BUGS_TEXI): Likewise.
21348 * Makefile (format-me): Use -I$(common-objpfx)manual.
21349 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21350 ($(common-objpfx)manual/%): New target.
21351 (manual/%): Remove target.
21352 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21353 (print_version): Use PKGVERSION.
21354 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21355 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21356 and REPORT_BUGS_TO.
21357 ($(objpfx)xtrace): Likewise.
21358 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21359 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21360 (print_version): Use PKGVERSION.
21361 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21362 (do_version): Use PKGVERSION.
21363 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21364 REPORT_BUGS_TO.
21365 (common-ldd-rewrite): Likewise.
21366 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21367 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21368 (print_version): Use PKGVERSION.
21369 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21370 * elf/pldd.c (argp_program_bug_address): Remove variable.
21371 (more_help): New function.
21372 (argp): Use more_help.
21373 (print_version): Use PKGVERSION.
21374 * elf/sln.c (main): Use PKGVERSION.
21375 (usage): Use REPORT_BUGS_TO.
21376 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21377 (top level): Use PKGVERSION.
21378 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21379 (print_version): Use PKGVERSION.
21380 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21381 (print_version): Use PKGVERSION.
21382 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21383 (print_version): Use PKGVERSION.
21384 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21385 (print_version): Use PKGVERSION.
21386 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21387 (print_version): Use PKGVERSION.
21388 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21389 (print_version): Use PKGVERSION.
21390 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21391 and BUGURL.
21392 ($(objpfx)memusage): Likewise.
21393 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21394 (do_version): Use PKGVERSION.
21395 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21396 (print_version): Use PKGVERSION.
21397 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21398 ($PKGVERSION): New variable.
21399 ($REPORT_BUGS_TO): Likewise.
21400 (usage): Use $REPORT_BUGS_TO.
21401 (top level): Use $PKGVERSION.
21402 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21403 ($(objpfx)pkgvers.texi): New rule.
21404 ($(objpfx)stamp-pkgvers): Likewise.
21405 * manual/install.texi: Include pkgvers.texi.
21406 (--with-pkgversion): Document new configure option.
21407 (--with-bugurl): Likewise.
21408 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21409 than necessarily for this particular distribution. Use
21410 REPORT_BUGS_TO for where to report bugs.
21411 * INSTALL: Regenerated.
21412 * manual/libc.texinfo: Include pkgvers.texi.
21413 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21414 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21415 (print_version): Use PKGVERSION.
21416 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21417 (print_version): Use PKGVERSION.
21418 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21419 (print_version): Use PKGVERSION.
21420 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21421 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21422 macro.
21423 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21424 (print_version): Use PKGVERSION.
21425 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21426 (print_version): Use PKGVERSION.
21427 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21428 and PKGVERSION.
21429
92e4b6a9
JM
21430 * timezone/checktab.awk: Update from tzcode 2012i.
21431 * timezone/ialloc.c: Likewise.
21432 * timezone/private.h: Likewise.
21433 * timezone/scheck.c: Likewise.
21434 * timezone/tzfile.h: Likewise.
21435 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21436 (TZVERSION): Hardcode tzcode version number.
21437 * timezone/zdump.c: Update from tzcode 2012i.
21438 * timezone/zic.c: Likewise.
21439 * timezone/version.h: New file.
21440 * timezone/README: Describe version.h. Update upstream location.
21441
9bde902c
JM
21442 [BZ #14824]
21443 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21444 (mktemp): Enable declaration.
21445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21448 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21449 Likewise.
21450 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21451 Likewise.
21452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21453 Likewise.
21454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21455 Likewise.
21456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21457 Likewise.
21458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21459 Likewise.
21460
fb1ae1ee
JM
21461 [BZ #14821]
21462 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21463 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21464 for copies of such integer values.
21465 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21466 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21467
2c1adbcb
AJ
214682012-11-09 Andreas Jaeger <aj@suse.de>
21469
21470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21471 definitions and declarations that are provided by
21472 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21473
d0f8457e
AK
214742012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21475
3a235abb 21476 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21477 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21478 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21479 definition.
21480
57241e26
MS
214812012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21482
21483 * elf/elf.h: Update comment before AArch64 relocations.
21484
60e8270d
DM
214852012-11-07 David S. Miller <davem@davemloft.net>
21486
21487 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21488 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21489 (__start_context): Declare.
21490 (__makecontext_ret): Delete.
21491 (__makecontext): Hook up __start_context instead of
21492 __makecontext_ret.
21493 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21494 (sysdep_routines): Add __start_context when in stdlib.
21495
0fbb0fbc
JM
214962012-11-07 Joseph Myers <joseph@codesourcery.com>
21497
21498 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21499 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21500 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21501 hardcoded "nm".
21502 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21503 (READELF): New variable. Use it instead of hardcoded "readelf".
21504
eb48db7e
L
215052012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21506
21507 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21508 * sysdeps/x86/Makefile: Here.
21509 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21510 * sysdeps/x86/tst-xmmymm.sh: This.
21511
05bcf62a
JM
215122012-11-07 Joseph Myers <joseph@codesourcery.com>
21513
c4b6cf53
JM
21514 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21515 expectations.
21516 [UNIX98] (pthread_barrier_t): Do not expect.
21517 [UNIX98] (pthread_barrierattr_t): Likewise.
21518 [UNIX98] (pthread_spinlock_t): Likewise.
21519 [UNIX98] (pthread_barrier_destroy): Likewise.
21520 [UNIX98] (pthread_barrier_init): Likewise.
21521 [UNIX98] (pthread_barrier_wait): Likewise.
21522 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21523 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21524 [UNIX98] (pthread_barrierattr_init): Likewise.
21525 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21526 [UNIX98] (pthread_getcpuclockid): Likewise.
21527 [UNIX98] (pthread_mutex_timedlock): Likewise.
21528 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21529 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21530 [UNIX98] (pthread_sigmask): Likewise.
21531 [UNIX98] (pthread_spin_destroy): Likewise.
21532 [UNIX98] (pthread_spin_init): Likewise.
21533 [UNIX98] (pthread_spin_lock): Likewise.
21534 [UNIX98] (pthread_spin_trylock): Likewise.
21535 [UNIX98] (pthread_spin_unlock): Likewise.
21536 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21537 Do not expect.
21538 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21540 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21541 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21542 [XPG3 || XPG4] (pthread_key_t): Likewise.
21543 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21544 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21545 [XPG3 || XPG4] (pthread_once_t): Likewise.
21546 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21547 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21549 [XPG3 || XPG4] (pthread_t): Likewise.
21550
cbe6e120
JM
21551 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21552 not expect.
21553 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21554
1b126443
JM
21555 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21556 Change function return type to int.
21557
b961a573
JM
21558 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21559 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21560 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21561 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21562 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21563 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21564 [!POSIX] (posix_madvise): Likewise.
21565 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21566 && !UNIX98].
21567 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21568 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21569 (mode_t): Likewise.
21570 (posix_mem_offset): Likewise.
21571 (posix_typed_mem_get_info): Likewise.
21572 (posix_typed_mem_open): Likewise.
21573
9e188909
JM
21574 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21575 Change condition to [XOPEN2K8].
21576
05bcf62a
JM
21577 * conform/conformtest.pl: Preprocess allow-header data with -x c
21578 instead of from stdin.
21579 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21580 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21581 [C99-based standards] (cerfc): Likewise.
21582 [C99-based standards] (cexp2): Likewise.
21583 [C99-based standards] (cexpm1): Likewise.
21584 [C99-based standards] (clog10): Likewise.
21585 [C99-based standards] (clog1p): Likewise.
21586 [C99-based standards] (clog2): Likewise.
21587 [C99-based standards] (clgamma): Likewise.
21588 [C99-based standards] (ctgamma): Likewise.
21589 [C99-based standards] (cerff): Likewise.
21590 [C99-based standards] (cerfcf): Likewise.
21591 [C99-based standards] (cexp2f): Likewise.
21592 [C99-based standards] (cexpm1f): Likewise.
21593 [C99-based standards] (clog10f): Likewise.
21594 [C99-based standards] (clog1pf): Likewise.
21595 [C99-based standards] (clog2f): Likewise.
21596 [C99-based standards] (clgammaf): Likewise.
21597 [C99-based standards] (ctgammaf): Likewise.
21598 [C99-based standards] (cerfl): Likewise.
21599 [C99-based standards] (cerfcl): Likewise.
21600 [C99-based standards] (cexp2l): Likewise.
21601 [C99-based standards] (cexpm1l): Likewise.
21602 [C99-based standards] (clog10l): Likewise.
21603 [C99-based standards] (clog1pl): Likewise.
21604 [C99-based standards] (clog2l): Likewise.
21605 [C99-based standards] (clgammal): Likewise.
21606 [C99-based standards] (ctgammal): Likewise.
21607 * conform/data/inttypes.h-data [C99-based standards]: Include
21608 stdint.h-data. Remove all expectations for stdint.h contents.
21609 [C99-based standards] (PRI*): Do not allow.
21610 [C99-based standards] (SCN*): Likewise.
21611 [C99-based standards] (*_t): Likewise.
21612 [C99-based-standards] (PRId8): Expect macro.
21613 [C99-based-standards] (PRIi8): Likewise.
21614 [C99-based-standards] (PRIo8): Likewise.
21615 [C99-based-standards] (PRIu8): Likewise.
21616 [C99-based-standards] (PRIx8): Likewise.
21617 [C99-based-standards] (PRIX8): Likewise.
21618 [C99-based-standards] (SCNd8): Likewise.
21619 [C99-based-standards] (SCNi8): Likewise.
21620 [C99-based-standards] (SCNo8): Likewise.
21621 [C99-based-standards] (SCNu8): Likewise.
21622 [C99-based-standards] (SCNx8): Likewise.
21623 [C99-based-standards] (PRIdLEAST8): Likewise.
21624 [C99-based-standards] (PRIiLEAST8): Likewise.
21625 [C99-based-standards] (PRIoLEAST8): Likewise.
21626 [C99-based-standards] (PRIuLEAST8): Likewise.
21627 [C99-based-standards] (PRIxLEAST8): Likewise.
21628 [C99-based-standards] (PRIXLEAST8): Likewise.
21629 [C99-based-standards] (SCNdLEAST8): Likewise.
21630 [C99-based-standards] (SCNiLEAST8): Likewise.
21631 [C99-based-standards] (SCNoLEAST8): Likewise.
21632 [C99-based-standards] (SCNuLEAST8): Likewise.
21633 [C99-based-standards] (SCNxLEAST8): Likewise.
21634 [C99-based-standards] (PRIdFAST8): Likewise.
21635 [C99-based-standards] (PRIiFAST8): Likewise.
21636 [C99-based-standards] (PRIoFAST8): Likewise.
21637 [C99-based-standards] (PRIuFAST8): Likewise.
21638 [C99-based-standards] (PRIxFAST8): Likewise.
21639 [C99-based-standards] (PRIXFAST8): Likewise.
21640 [C99-based-standards] (SCNdFAST8): Likewise.
21641 [C99-based-standards] (SCNiFAST8): Likewise.
21642 [C99-based-standards] (SCNoFAST8): Likewise.
21643 [C99-based-standards] (SCNuFAST8): Likewise.
21644 [C99-based-standards] (SCNxFAST8): Likewise.
21645 [C99-based-standards] (PRId16): Likewise.
21646 [C99-based-standards] (PRIi16): Likewise.
21647 [C99-based-standards] (PRIo16): Likewise.
21648 [C99-based-standards] (PRIu16): Likewise.
21649 [C99-based-standards] (PRIx16): Likewise.
21650 [C99-based-standards] (PRIX16): Likewise.
21651 [C99-based-standards] (SCNd16): Likewise.
21652 [C99-based-standards] (SCNi16): Likewise.
21653 [C99-based-standards] (SCNo16): Likewise.
21654 [C99-based-standards] (SCNu16): Likewise.
21655 [C99-based-standards] (SCNx16): Likewise.
21656 [C99-based-standards] (PRIdLEAST16): Likewise.
21657 [C99-based-standards] (PRIiLEAST16): Likewise.
21658 [C99-based-standards] (PRIoLEAST16): Likewise.
21659 [C99-based-standards] (PRIuLEAST16): Likewise.
21660 [C99-based-standards] (PRIxLEAST16): Likewise.
21661 [C99-based-standards] (PRIXLEAST16): Likewise.
21662 [C99-based-standards] (SCNdLEAST16): Likewise.
21663 [C99-based-standards] (SCNiLEAST16): Likewise.
21664 [C99-based-standards] (SCNoLEAST16): Likewise.
21665 [C99-based-standards] (SCNuLEAST16): Likewise.
21666 [C99-based-standards] (SCNxLEAST16): Likewise.
21667 [C99-based-standards] (PRIdFAST16): Likewise.
21668 [C99-based-standards] (PRIiFAST16): Likewise.
21669 [C99-based-standards] (PRIoFAST16): Likewise.
21670 [C99-based-standards] (PRIuFAST16): Likewise.
21671 [C99-based-standards] (PRIxFAST16): Likewise.
21672 [C99-based-standards] (PRIXFAST16): Likewise.
21673 [C99-based-standards] (SCNdFAST16): Likewise.
21674 [C99-based-standards] (SCNiFAST16): Likewise.
21675 [C99-based-standards] (SCNoFAST16): Likewise.
21676 [C99-based-standards] (SCNuFAST16): Likewise.
21677 [C99-based-standards] (SCNxFAST16): Likewise.
21678 [C99-based-standards] (PRId32): Likewise.
21679 [C99-based-standards] (PRIi32): Likewise.
21680 [C99-based-standards] (PRIo32): Likewise.
21681 [C99-based-standards] (PRIu32): Likewise.
21682 [C99-based-standards] (PRIx32): Likewise.
21683 [C99-based-standards] (PRIX32): Likewise.
21684 [C99-based-standards] (SCNd32): Likewise.
21685 [C99-based-standards] (SCNi32): Likewise.
21686 [C99-based-standards] (SCNo32): Likewise.
21687 [C99-based-standards] (SCNu32): Likewise.
21688 [C99-based-standards] (SCNx32): Likewise.
21689 [C99-based-standards] (PRIdLEAST32): Likewise.
21690 [C99-based-standards] (PRIiLEAST32): Likewise.
21691 [C99-based-standards] (PRIoLEAST32): Likewise.
21692 [C99-based-standards] (PRIuLEAST32): Likewise.
21693 [C99-based-standards] (PRIxLEAST32): Likewise.
21694 [C99-based-standards] (PRIXLEAST32): Likewise.
21695 [C99-based-standards] (SCNdLEAST32): Likewise.
21696 [C99-based-standards] (SCNiLEAST32): Likewise.
21697 [C99-based-standards] (SCNoLEAST32): Likewise.
21698 [C99-based-standards] (SCNuLEAST32): Likewise.
21699 [C99-based-standards] (SCNxLEAST32): Likewise.
21700 [C99-based-standards] (PRIdFAST32): Likewise.
21701 [C99-based-standards] (PRIiFAST32): Likewise.
21702 [C99-based-standards] (PRIoFAST32): Likewise.
21703 [C99-based-standards] (PRIuFAST32): Likewise.
21704 [C99-based-standards] (PRIxFAST32): Likewise.
21705 [C99-based-standards] (PRIXFAST32): Likewise.
21706 [C99-based-standards] (SCNdFAST32): Likewise.
21707 [C99-based-standards] (SCNiFAST32): Likewise.
21708 [C99-based-standards] (SCNoFAST32): Likewise.
21709 [C99-based-standards] (SCNuFAST32): Likewise.
21710 [C99-based-standards] (SCNxFAST32): Likewise.
21711 [C99-based-standards] (PRId64): Likewise.
21712 [C99-based-standards] (PRIi64): Likewise.
21713 [C99-based-standards] (PRIo64): Likewise.
21714 [C99-based-standards] (PRIu64): Likewise.
21715 [C99-based-standards] (PRIx64): Likewise.
21716 [C99-based-standards] (PRIX64): Likewise.
21717 [C99-based-standards] (SCNd64): Likewise.
21718 [C99-based-standards] (SCNi64): Likewise.
21719 [C99-based-standards] (SCNo64): Likewise.
21720 [C99-based-standards] (SCNu64): Likewise.
21721 [C99-based-standards] (SCNx64): Likewise.
21722 [C99-based-standards] (PRIdLEAST64): Likewise.
21723 [C99-based-standards] (PRIiLEAST64): Likewise.
21724 [C99-based-standards] (PRIoLEAST64): Likewise.
21725 [C99-based-standards] (PRIuLEAST64): Likewise.
21726 [C99-based-standards] (PRIxLEAST64): Likewise.
21727 [C99-based-standards] (PRIXLEAST64): Likewise.
21728 [C99-based-standards] (SCNdLEAST64): Likewise.
21729 [C99-based-standards] (SCNiLEAST64): Likewise.
21730 [C99-based-standards] (SCNoLEAST64): Likewise.
21731 [C99-based-standards] (SCNuLEAST64): Likewise.
21732 [C99-based-standards] (SCNxLEAST64): Likewise.
21733 [C99-based-standards] (PRIdFAST64): Likewise.
21734 [C99-based-standards] (PRIiFAST64): Likewise.
21735 [C99-based-standards] (PRIoFAST64): Likewise.
21736 [C99-based-standards] (PRIuFAST64): Likewise.
21737 [C99-based-standards] (PRIxFAST64): Likewise.
21738 [C99-based-standards] (PRIXFAST64): Likewise.
21739 [C99-based-standards] (SCNdFAST64): Likewise.
21740 [C99-based-standards] (SCNiFAST64): Likewise.
21741 [C99-based-standards] (SCNoFAST64): Likewise.
21742 [C99-based-standards] (SCNuFAST64): Likewise.
21743 [C99-based-standards] (SCNxFAST64): Likewise.
21744 [C99-based-standards] (PRIdMAX): Likewise.
21745 [C99-based-standards] (PRIiMAX): Likewise.
21746 [C99-based-standards] (PRIoMAX): Likewise.
21747 [C99-based-standards] (PRIuMAX): Likewise.
21748 [C99-based-standards] (PRIxMAX): Likewise.
21749 [C99-based-standards] (PRIXMAX): Likewise.
21750 [C99-based-standards] (SCNdMAX): Likewise.
21751 [C99-based-standards] (SCNiMAX): Likewise.
21752 [C99-based-standards] (SCNoMAX): Likewise.
21753 [C99-based-standards] (SCNuMAX): Likewise.
21754 [C99-based-standards] (SCNxMAX): Likewise.
21755 [C99-based-standards] (PRIdPTR): Likewise.
21756 [C99-based-standards] (PRIiPTR): Likewise.
21757 [C99-based-standards] (PRIoPTR): Likewise.
21758 [C99-based-standards] (PRIuPTR): Likewise.
21759 [C99-based-standards] (PRIxPTR): Likewise.
21760 [C99-based-standards] (PRIXPTR): Likewise.
21761 [C99-based-standards] (SCNdPTR): Likewise.
21762 [C99-based-standards] (SCNiPTR): Likewise.
21763 [C99-based-standards] (SCNoPTR): Likewise.
21764 [C99-based-standards] (SCNuPTR): Likewise.
21765 [C99-based-standards] (SCNxPTR): Likewise.
21766 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21767 allow.
21768 * conform/data/stdint.h-data: Update comments to clarify
21769 requirements.
21770 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21771 type.
21772 [C99-based standards] (INT8_MAX): Likewise.
21773 [C99-based standards] (INT16_MIN): Likewise.
21774 [C99-based standards] (INT16_MAX): Likewise.
21775 [C99-based standards] (INT32_MIN): Likewise.
21776 [C99-based standards] (INT32_MAX): Likewise.
21777 [C99-based standards] (INT64_MIN): Likewise.
21778 [C99-based standards] (INT64_MAX): Likewise.
21779 [C99-based standards] (UINT8_MAX): Likewise.
21780 [C99-based standards] (UINT16_MAX): Likewise.
21781 [C99-based standards] (UINT32_MAX): Likewise.
21782 [C99-based standards] (UINT64_MAX): Likewise.
21783 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21784 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21785 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21786 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21787 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21788 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21789 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21790 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21791 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21792 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21793 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21794 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21795 [C99-based standards] (INT_FAST8_MIN): Likewise.
21796 [C99-based standards] (INT_FAST8_MAX): Likewise.
21797 [C99-based standards] (INT_FAST16_MIN): Likewise.
21798 [C99-based standards] (INT_FAST16_MAX): Likewise.
21799 [C99-based standards] (INT_FAST32_MIN): Likewise.
21800 [C99-based standards] (INT_FAST32_MAX): Likewise.
21801 [C99-based standards] (INT_FAST64_MIN): Likewise.
21802 [C99-based standards] (INT_FAST64_MAX): Likewise.
21803 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21804 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21805 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21806 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21807 [C99-based standards] (INTPTR_MIN): Likewise.
21808 [C99-based standards] (INTPTR_MAX): Likewise.
21809 [C99-based standards] (UINTPTR_MAX): Likewise.
21810 [C99-based standards] (INTMAX_MIN): Likewise.
21811 [C99-based standards] (INTMAX_MAX): Likewise.
21812 [C99-based standards] (UINTMAX_MAX): Likewise.
21813 [C99-based standards] (PTRDIFF_MIN): Likewise.
21814 [C99-based standards] (PTRDIFF_MAX): Likewise.
21815 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21816 [C99-based standards] (SIZE_MAX): Likewise.
21817 [C99-based standards] (WCHAR_MAX): Likewise.
21818 [C99-based standards] (WINT_MAX): Likewise.
21819 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21820 constraint on value.
21821 [C99-based standards] (WCHAR_MIN): Likewise.
21822 [C99-based standards] (WINT_MIN): Likewise.
21823 [C99-based standards] (*_t): Allow.
21824 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21825 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21826 Include math.h-data and complex.h-data. Remove all expectations
21827 of math.h and complex.h contents.
21828 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21829 at end of line.
21830 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21831 (struct tm): Expect tag.
21832 [C99-based-standards] (wcstof): Expect function.
21833 [C99-based-standards] (wcstold): Likewise.
21834 [C99-based-standards] (wcstoll): Likewise.
21835 [C99-based-standards] (wcstoull): Likewise.
21836 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21837 macro-int-constant. Specify type.
21838 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21839 constraint on value.
21840 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21841 Specify type.
21842 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21843 Specify value.
21844 [ISO C standards]: Do not allow headers.
21845 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21846 wcs[abcdefghijklmnopqrstuvwxyz]*.
21847 [ISO C standards] (*_t): Do not allow.
21848 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21849 Expect function.
21850 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21851 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21852 Specify type.
21853 [ISO C standards]: Do not allow headers.
21854 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21855 is[abcdefghijklmnopqrstuvwxyz]*.
21856 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21857 to[abcdefghijklmnopqrstuvwxyz]*.
21858 [ISO C standards] (*_t): Do not allow.
21859 * conform/data/stdalign.h-data: New file.
21860 * conform/data/stdbool.h-data: Likewise.
21861 * conform/data/stdnoreturn.h-data: Likewise.
21862
7514feb8
RM
218632012-11-07 Roland McGrath <roland@hack.frob.com>
21864
21865 [BZ #14815]
21866 * manual/filesys.texi (Directory Entries): Typo fix.
21867 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21868
19b2ecfc
MS
218692012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21870
21871 * elf/elf.h (EM_AARCH64): New macro.
21872 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21873 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21874 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21875 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21876 (R_AARCH64_TLSDESC): Likewise.
21877 (NT_ARM_TLS): Likewise.
21878 (NT_ARM_HW_BREAK): Likewise.
21879 (NT_ARM_HW_WATCH): Likewise.
21880
60e235ee
JM
218812012-11-07 Joseph Myers <joseph@codesourcery.com>
21882
21883 [BZ #14811]
21884 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21885 (__ieee754_powl): Saturate nonzero exponents with absolute value
21886 below 0x1p-79 to +/- 0x1p-79.
21887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21888 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21889 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21890 nonzero exponents with absolute value below 0x1p-32 to +/-
21891 0x1p-32.
21892 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21893 (__ieee754_powl): Saturate nonzero exponents with absolute value
21894 below 0x1p-79 to +/- 0x1p-79.
21895 * math/libm-test.inc (pow_test): Add more tests.
21896
0ab234b7
AK
218972012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21898
21899 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21900 _dl_s390_cap_flags with kernel. Increase string length.
21901 (_dl_s390_platforms): Add z196 and zEC12.
21902
45832f74
JM
219032012-11-07 Joseph Myers <joseph@codesourcery.com>
21904
21905 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21906 Change XOPEN21K to XOPEN2K.
21907
19218757
MK
219082012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21909
21910 * string/memmove.c: Use memcpy when possible.
21911
c5f45721
AJ
219122012-11-06 Andreas Jaeger <aj@suse.de>
21913
21914 * po/eo.po: Update from translation team.
21915
82477c28
JM
219162012-11-06 Joseph Myers <joseph@codesourcery.com>
21917
21918 [BZ #14793]
21919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21920 exponent and small x and y exponents, scale x or y up. Increase
21921 by 2 the exponent used in scaling up.
21922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21924 * math/libm-test.inc (fma_test): Add more tests.
21925 (fma_test_towardzero): Likewise.
21926 (fma_test_downward): Likewise.
21927 (fma_test_upward): Likewise.
21928
99252c8c
JM
219292012-11-05 Joseph Myers <joseph@codesourcery.com>
21930
acfa885f
JM
21931 [BZ #14805]
21932 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21933 fenv_t *.
21934
99252c8c
JM
21935 [BZ #14801]
21936 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21937 namespace for names of struct fields.
21938 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21939 fenv_t fields.
21940 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21941 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21942
d6d98dea
ST
219432012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21944
21945 [BZ #3665]
21946 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21947
e10bb107
TS
219482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21949
21950 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21951 PTR_DEMANGLE.
21952
21953 [BZ #5246]
21954 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21955 PTR_DEMANGLE.
21956
a0c2940d
JM
219572012-11-04 Joseph Myers <joseph@codesourcery.com>
21958
21959 [BZ #14797]
21960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21961 definitely overflow as x * y not x * y + z.
21962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21964 * math/libm-test.inc (fma_test): Add more tests.
21965 (fma_test_towardzero): Likewise.
21966 (fma_test_downward): Likewise.
21967 (fma_test_upward): Likewise.
21968
b830319d
TS
219692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21970
21971 [BZ #157]
21972
21973 * include/stub-tag.h: Remove file.
21974 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21975 '#include' of it.
21976 * manual/maint.texi (Porting): Don't reference it.
21977 * Makerules ($(objpfx)stubs): Likewise.
21978 * dirent/closedir.c: Don't include <stub-tag.h>.
21979 * dirent/dirfd.c: Likewise.
21980 * dirent/fdopendir.c: Likewise.
21981 * dirent/getdents.c: Likewise.
21982 * dirent/getdents64.c: Likewise.
21983 * dirent/opendir.c: Likewise.
21984 * dirent/readdir.c: Likewise.
21985 * dirent/readdir64.c: Likewise.
21986 * dirent/readdir64_r.c: Likewise.
21987 * dirent/readdir_r.c: Likewise.
21988 * dirent/rewinddir.c: Likewise.
21989 * dirent/seekdir.c: Likewise.
21990 * dirent/telldir.c: Likewise.
21991 * gmon/profil.c: Likewise.
21992 * grp/setgroups.c: Likewise.
21993 * inet/if_index.c: Likewise.
21994 * io/access.c: Likewise.
21995 * io/chdir.c: Likewise.
21996 * io/chmod.c: Likewise.
21997 * io/chown.c: Likewise.
21998 * io/close.c: Likewise.
21999 * io/dup.c: Likewise.
22000 * io/dup2.c: Likewise.
22001 * io/dup3.c: Likewise.
22002 * io/euidaccess.c: Likewise.
22003 * io/faccessat.c: Likewise.
22004 * io/fchdir.c: Likewise.
22005 * io/fchmod.c: Likewise.
22006 * io/fchmodat.c: Likewise.
22007 * io/fchown.c: Likewise.
22008 * io/fchownat.c: Likewise.
22009 * io/fcntl.c: Likewise.
22010 * io/flock.c: Likewise.
22011 * io/fstatfs.c: Likewise.
22012 * io/fstatfs64.c: Likewise.
22013 * io/fstatvfs.c: Likewise.
22014 * io/fstatvfs64.c: Likewise.
22015 * io/futimens.c: Likewise.
22016 * io/fxstat.c: Likewise.
22017 * io/fxstat64.c: Likewise.
22018 * io/fxstatat.c: Likewise.
22019 * io/fxstatat64.c: Likewise.
22020 * io/getcwd.c: Likewise.
22021 * io/isatty.c: Likewise.
22022 * io/lchmod.c: Likewise.
22023 * io/lchown.c: Likewise.
22024 * io/link.c: Likewise.
22025 * io/linkat.c: Likewise.
22026 * io/lseek.c: Likewise.
22027 * io/lseek64.c: Likewise.
22028 * io/lxstat64.c: Likewise.
22029 * io/mkdir.c: Likewise.
22030 * io/mkdirat.c: Likewise.
22031 * io/mkfifo.c: Likewise.
22032 * io/mkfifoat.c: Likewise.
22033 * io/open.c: Likewise.
22034 * io/open64.c: Likewise.
22035 * io/openat.c: Likewise.
22036 * io/openat64.c: Likewise.
22037 * io/pipe.c: Likewise.
22038 * io/pipe2.c: Likewise.
22039 * io/poll.c: Likewise.
22040 * io/posix_fadvise.c: Likewise.
22041 * io/posix_fadvise64.c: Likewise.
22042 * io/posix_fallocate.c: Likewise.
22043 * io/posix_fallocate64.c: Likewise.
22044 * io/read.c: Likewise.
22045 * io/readlink.c: Likewise.
22046 * io/readlinkat.c: Likewise.
22047 * io/rmdir.c: Likewise.
22048 * io/sendfile.c: Likewise.
22049 * io/sendfile64.c: Likewise.
22050 * io/statfs.c: Likewise.
22051 * io/statfs64.c: Likewise.
22052 * io/statvfs.c: Likewise.
22053 * io/statvfs64.c: Likewise.
22054 * io/symlink.c: Likewise.
22055 * io/symlinkat.c: Likewise.
22056 * io/ttyname.c: Likewise.
22057 * io/ttyname_r.c: Likewise.
22058 * io/umask.c: Likewise.
22059 * io/unlink.c: Likewise.
22060 * io/unlinkat.c: Likewise.
22061 * io/utime.c: Likewise.
22062 * io/utimensat.c: Likewise.
22063 * io/write.c: Likewise.
22064 * io/xmknod.c: Likewise.
22065 * io/xmknodat.c: Likewise.
22066 * io/xstat.c: Likewise.
22067 * io/xstat64.c: Likewise.
22068 * login/getpt.c: Likewise.
22069 * login/grantpt.c: Likewise.
22070 * login/unlockpt.c: Likewise.
22071 * math/e_acoshl.c: Likewise.
22072 * math/e_acosl.c: Likewise.
22073 * math/e_asinl.c: Likewise.
22074 * math/e_atan2l.c: Likewise.
22075 * math/e_atanhl.c: Likewise.
22076 * math/e_coshl.c: Likewise.
22077 * math/e_expl.c: Likewise.
22078 * math/e_fmodl.c: Likewise.
22079 * math/e_gammal_r.c: Likewise.
22080 * math/e_hypotl.c: Likewise.
22081 * math/e_j0l.c: Likewise.
22082 * math/e_j1l.c: Likewise.
22083 * math/e_jnl.c: Likewise.
22084 * math/e_lgammal_r.c: Likewise.
22085 * math/e_log10l.c: Likewise.
22086 * math/e_log2l.c: Likewise.
22087 * math/e_logl.c: Likewise.
22088 * math/e_powl.c: Likewise.
22089 * math/e_rem_pio2l.c: Likewise.
22090 * math/e_sinhl.c: Likewise.
22091 * math/e_sqrtl.c: Likewise.
22092 * math/fclrexcpt.c: Likewise.
22093 * math/fedisblxcpt.c: Likewise.
22094 * math/feenablxcpt.c: Likewise.
22095 * math/fegetenv.c: Likewise.
22096 * math/fegetexcept.c: Likewise.
22097 * math/fegetround.c: Likewise.
22098 * math/feholdexcpt.c: Likewise.
22099 * math/fesetenv.c: Likewise.
22100 * math/fesetround.c: Likewise.
22101 * math/feupdateenv.c: Likewise.
22102 * math/fgetexcptflg.c: Likewise.
22103 * math/fraiseexcpt.c: Likewise.
22104 * math/fsetexcptflg.c: Likewise.
22105 * math/ftestexcept.c: Likewise.
22106 * math/k_cosl.c: Likewise.
22107 * math/k_rem_pio2l.c: Likewise.
22108 * math/k_sinl.c: Likewise.
22109 * math/k_tanl.c: Likewise.
22110 * math/s_asinhl.c: Likewise.
22111 * math/s_atanl.c: Likewise.
22112 * math/s_cbrtl.c: Likewise.
22113 * math/s_erfl.c: Likewise.
22114 * math/s_expm1l.c: Likewise.
22115 * math/s_log1pl.c: Likewise.
22116 * math/s_tanhl.c: Likewise.
22117 * misc/acct.c: Likewise.
22118 * misc/brk.c: Likewise.
22119 * misc/chflags.c: Likewise.
22120 * misc/chroot.c: Likewise.
22121 * misc/fchflags.c: Likewise.
22122 * misc/fgetxattr.c: Likewise.
22123 * misc/flistxattr.c: Likewise.
22124 * misc/fremovexattr.c: Likewise.
22125 * misc/fsetxattr.c: Likewise.
22126 * misc/fsync.c: Likewise.
22127 * misc/ftruncate.c: Likewise.
22128 * misc/futimes.c: Likewise.
22129 * misc/futimesat.c: Likewise.
22130 * misc/getdomain.c: Likewise.
22131 * misc/getdtsz.c: Likewise.
22132 * misc/gethostid.c: Likewise.
22133 * misc/gethostname.c: Likewise.
22134 * misc/getloadavg.c: Likewise.
22135 * misc/getpagesize.c: Likewise.
22136 * misc/getsysstats.c: Likewise.
22137 * misc/getxattr.c: Likewise.
22138 * misc/gtty.c: Likewise.
22139 * misc/ioctl.c: Likewise.
22140 * misc/lgetxattr.c: Likewise.
22141 * misc/listxattr.c: Likewise.
22142 * misc/llistxattr.c: Likewise.
22143 * misc/lremovexattr.c: Likewise.
22144 * misc/lsetxattr.c: Likewise.
22145 * misc/lutimes.c: Likewise.
22146 * misc/madvise.c: Likewise.
22147 * misc/mincore.c: Likewise.
22148 * misc/mlock.c: Likewise.
22149 * misc/mlockall.c: Likewise.
22150 * misc/mmap.c: Likewise.
22151 * misc/mprotect.c: Likewise.
22152 * misc/msync.c: Likewise.
22153 * misc/munlock.c: Likewise.
22154 * misc/munlockall.c: Likewise.
22155 * misc/munmap.c: Likewise.
22156 * misc/preadv.c: Likewise.
22157 * misc/preadv64.c: Likewise.
22158 * misc/ptrace.c: Likewise.
22159 * misc/pwritev.c: Likewise.
22160 * misc/pwritev64.c: Likewise.
22161 * misc/readv.c: Likewise.
22162 * misc/reboot.c: Likewise.
22163 * misc/remap_file_pages.c: Likewise.
22164 * misc/removexattr.c: Likewise.
22165 * misc/revoke.c: Likewise.
22166 * misc/select.c: Likewise.
22167 * misc/setdomain.c: Likewise.
22168 * misc/setegid.c: Likewise.
22169 * misc/seteuid.c: Likewise.
22170 * misc/sethostid.c: Likewise.
22171 * misc/sethostname.c: Likewise.
22172 * misc/setregid.c: Likewise.
22173 * misc/setreuid.c: Likewise.
22174 * misc/setxattr.c: Likewise.
22175 * misc/sstk.c: Likewise.
22176 * misc/stty.c: Likewise.
22177 * misc/swapoff.c: Likewise.
22178 * misc/swapon.c: Likewise.
22179 * misc/sync.c: Likewise.
22180 * misc/syncfs.c: Likewise.
22181 * misc/syscall.c: Likewise.
22182 * misc/truncate.c: Likewise.
22183 * misc/ualarm.c: Likewise.
22184 * misc/usleep.c: Likewise.
22185 * misc/ustat.c: Likewise.
22186 * misc/utimes.c: Likewise.
22187 * misc/vhangup.c: Likewise.
22188 * misc/writev.c: Likewise.
22189 * posix/_exit.c: Likewise.
22190 * posix/alarm.c: Likewise.
22191 * posix/execve.c: Likewise.
22192 * posix/fexecve.c: Likewise.
22193 * posix/fork.c: Likewise.
22194 * posix/fpathconf.c: Likewise.
22195 * posix/getaddrinfo.c: Likewise.
22196 * posix/getegid.c: Likewise.
22197 * posix/geteuid.c: Likewise.
22198 * posix/getgid.c: Likewise.
22199 * posix/getgroups.c: Likewise.
22200 * posix/getlogin.c: Likewise.
22201 * posix/getlogin_r.c: Likewise.
22202 * posix/getpgid.c: Likewise.
22203 * posix/getpid.c: Likewise.
22204 * posix/getppid.c: Likewise.
22205 * posix/getresgid.c: Likewise.
22206 * posix/getresuid.c: Likewise.
22207 * posix/getsid.c: Likewise.
22208 * posix/getuid.c: Likewise.
22209 * posix/glob64.c: Likewise.
22210 * posix/nanosleep.c: Likewise.
22211 * posix/pathconf.c: Likewise.
22212 * posix/pause.c: Likewise.
22213 * posix/posix_madvise.c: Likewise.
22214 * posix/pread.c: Likewise.
22215 * posix/pread64.c: Likewise.
22216 * posix/pwrite.c: Likewise.
22217 * posix/pwrite64.c: Likewise.
22218 * posix/sched_getaffinity.c: Likewise.
22219 * posix/sched_getp.c: Likewise.
22220 * posix/sched_gets.c: Likewise.
22221 * posix/sched_primax.c: Likewise.
22222 * posix/sched_primin.c: Likewise.
22223 * posix/sched_rr_gi.c: Likewise.
22224 * posix/sched_setaffinity.c: Likewise.
22225 * posix/sched_setp.c: Likewise.
22226 * posix/sched_sets.c: Likewise.
22227 * posix/sched_yield.c: Likewise.
22228 * posix/setgid.c: Likewise.
22229 * posix/setlogin.c: Likewise.
22230 * posix/setpgid.c: Likewise.
22231 * posix/setresgid.c: Likewise.
22232 * posix/setresuid.c: Likewise.
22233 * posix/setsid.c: Likewise.
22234 * posix/setuid.c: Likewise.
22235 * posix/sleep.c: Likewise.
22236 * posix/spawni.c: Likewise.
22237 * posix/sysconf.c: Likewise.
22238 * posix/times.c: Likewise.
22239 * posix/wait.c: Likewise.
22240 * posix/wait3.c: Likewise.
22241 * posix/wait4.c: Likewise.
22242 * posix/waitpid.c: Likewise.
22243 * resolv/gai_sigqueue.c: Likewise.
22244 * resource/getpriority.c: Likewise.
22245 * resource/getrlimit.c: Likewise.
22246 * resource/getrusage.c: Likewise.
22247 * resource/nice.c: Likewise.
22248 * resource/setpriority.c: Likewise.
22249 * resource/setrlimit.c: Likewise.
22250 * resource/ulimit.c: Likewise.
22251 * rt/aio_cancel.c: Likewise.
22252 * rt/aio_fsync.c: Likewise.
22253 * rt/aio_read.c: Likewise.
22254 * rt/aio_sigqueue.c: Likewise.
22255 * rt/aio_suspend.c: Likewise.
22256 * rt/aio_write.c: Likewise.
22257 * rt/clock_getres.c: Likewise.
22258 * rt/clock_gettime.c: Likewise.
22259 * rt/clock_nanosleep.c: Likewise.
22260 * rt/clock_settime.c: Likewise.
22261 * rt/lio_listio.c: Likewise.
22262 * rt/mq_close.c: Likewise.
22263 * rt/mq_getattr.c: Likewise.
22264 * rt/mq_notify.c: Likewise.
22265 * rt/mq_open.c: Likewise.
22266 * rt/mq_receive.c: Likewise.
22267 * rt/mq_send.c: Likewise.
22268 * rt/mq_setattr.c: Likewise.
22269 * rt/mq_timedreceive.c: Likewise.
22270 * rt/mq_timedsend.c: Likewise.
22271 * rt/mq_unlink.c: Likewise.
22272 * rt/shm_open.c: Likewise.
22273 * rt/shm_unlink.c: Likewise.
22274 * rt/timer_create.c: Likewise.
22275 * rt/timer_delete.c: Likewise.
22276 * rt/timer_getoverr.c: Likewise.
22277 * rt/timer_gettime.c: Likewise.
22278 * rt/timer_settime.c: Likewise.
22279 * setjmp/__longjmp.c: Likewise.
22280 * setjmp/setjmp.c: Likewise.
22281 * signal/kill.c: Likewise.
22282 * signal/killpg.c: Likewise.
22283 * signal/raise.c: Likewise.
22284 * signal/sigaction.c: Likewise.
22285 * signal/sigaltstack.c: Likewise.
22286 * signal/sigblock.c: Likewise.
22287 * signal/sigignore.c: Likewise.
22288 * signal/sigintr.c: Likewise.
22289 * signal/signal.c: Likewise.
22290 * signal/sigpause.c: Likewise.
22291 * signal/sigpending.c: Likewise.
22292 * signal/sigqueue.c: Likewise.
22293 * signal/sigreturn.c: Likewise.
22294 * signal/sigset.c: Likewise.
22295 * signal/sigsetmask.c: Likewise.
22296 * signal/sigstack.c: Likewise.
22297 * signal/sigsuspend.c: Likewise.
22298 * signal/sigtimedwait.c: Likewise.
22299 * signal/sigvec.c: Likewise.
22300 * signal/sigwait.c: Likewise.
22301 * signal/sigwaitinfo.c: Likewise.
22302 * signal/sysv_signal.c: Likewise.
22303 * socket/accept.c: Likewise.
22304 * socket/accept4.c: Likewise.
22305 * socket/bind.c: Likewise.
22306 * socket/connect.c: Likewise.
22307 * socket/getpeername.c: Likewise.
22308 * socket/getsockname.c: Likewise.
22309 * socket/getsockopt.c: Likewise.
22310 * socket/isfdtype.c: Likewise.
22311 * socket/listen.c: Likewise.
22312 * socket/recv.c: Likewise.
22313 * socket/recvfrom.c: Likewise.
22314 * socket/recvmsg.c: Likewise.
22315 * socket/send.c: Likewise.
22316 * socket/sendmsg.c: Likewise.
22317 * socket/sendto.c: Likewise.
22318 * socket/setsockopt.c: Likewise.
22319 * socket/shutdown.c: Likewise.
22320 * socket/sockatmark.c: Likewise.
22321 * socket/socket.c: Likewise.
22322 * socket/socketpair.c: Likewise.
22323 * stdio-common/ctermid.c: Likewise.
22324 * stdio-common/cuserid.c: Likewise.
22325 * stdio-common/remove.c: Likewise.
22326 * stdio-common/rename.c: Likewise.
22327 * stdio-common/renameat.c: Likewise.
22328 * stdio-common/tempname.c: Likewise.
22329 * stdlib/getcontext.c: Likewise.
22330 * stdlib/makecontext.c: Likewise.
22331 * stdlib/setcontext.c: Likewise.
22332 * stdlib/swapcontext.c: Likewise.
22333 * stdlib/system.c: Likewise.
22334 * streams/fattach.c: Likewise.
22335 * streams/fdetach.c: Likewise.
22336 * streams/getmsg.c: Likewise.
22337 * streams/getpmsg.c: Likewise.
22338 * streams/putmsg.c: Likewise.
22339 * streams/putpmsg.c: Likewise.
22340 * sysdeps/unix/bsd/getpt.c: Likewise.
22341 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22342 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22343 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22345 Likewise.
22346 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22347 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22348 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22349 * sysvipc/msgctl.c: Likewise.
22350 * sysvipc/msgget.c: Likewise.
22351 * sysvipc/msgrcv.c: Likewise.
22352 * sysvipc/msgsnd.c: Likewise.
22353 * sysvipc/semctl.c: Likewise.
22354 * sysvipc/semget.c: Likewise.
22355 * sysvipc/semop.c: Likewise.
22356 * sysvipc/semtimedop.c: Likewise.
22357 * sysvipc/shmat.c: Likewise.
22358 * sysvipc/shmctl.c: Likewise.
22359 * sysvipc/shmdt.c: Likewise.
22360 * sysvipc/shmget.c: Likewise.
22361 * termios/tcdrain.c: Likewise.
22362 * termios/tcflow.c: Likewise.
22363 * termios/tcflush.c: Likewise.
22364 * termios/tcgetattr.c: Likewise.
22365 * termios/tcgetpgrp.c: Likewise.
22366 * termios/tcsendbrk.c: Likewise.
22367 * termios/tcsetattr.c: Likewise.
22368 * termios/tcsetpgrp.c: Likewise.
22369 * time/adjtime.c: Likewise.
22370 * time/clock.c: Likewise.
22371 * time/getitimer.c: Likewise.
22372 * time/gettimeofday.c: Likewise.
22373 * time/setitimer.c: Likewise.
22374 * time/settimeofday.c: Likewise.
22375 * time/stime.c: Likewise.
22376 * time/time.c: Likewise.
22377
223782012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22379
a20492cf
PT
22380 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22381 /usr/old/bin.
22382
72e182e3
PT
22383 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22384 instead of spaces.
22385 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22386
fbeafede
JM
223872012-11-03 Joseph Myers <joseph@codesourcery.com>
22388
5b5b04d6
JM
22389 [BZ #14796]
22390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22391 FE_TONEAREST before applying Dekker multiplication and Knuth
22392 addition. Clear inexact exceptions and check for exact zero
22393 results afterwards.
22394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22395 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22397 * math/libm-test.inc (fma_test): Add more tests.
22398 (fma_test_towardzero): Likewise.
22399 (fma_test_downward): Likewise.
22400 (fma_test_upward): Likewise.
22401 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22402 function.
22403 (libc_fesetround): New macro.
22404 (libc_fesetroundf): Likewise.
22405 (libc_fesetroundl): Likewise.
22406 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22407 function.
22408 (libc_fesetround_387): Likewise.
22409 (libc_fesetroundf): New macro.
22410 (libc_fesetround): Likewise.
22411 (libc_fesetroundl): Likewise.
22412 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22413 function.
22414 (libc_fesetroundf): New macro.
22415 (libc_fesetround): Likewise.
22416 (libc_fesetroundl): Likewise.
22417 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22418 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22419 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22420 libm_hidden_ver.
22421 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22422 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22423 libm_hidden_def.
22424 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22425 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22426 libm_hidden_ver.
22427 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22428 libm_hidden_def.
22429
fbeafede
JM
22430 [BZ #3439]
22431 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22432 integer constant usable in #if and use that to give value to enum
22433 constant.
22434 (FE_DIVBYZERO): Likewise.
22435 (FE_UNDERFLOW): Likewise.
22436 (FE_OVERFLOW): Likewise.
22437 (FE_INVALID): Likewise.
22438 (FE_INVALID_SNAN): Likewise.
22439 (FE_INVALID_ISI): Likewise.
22440 (FE_INVALID_IDI): Likewise.
22441 (FE_INVALID_ZDZ): Likewise.
22442 (FE_INVALID_IMZ): Likewise.
22443 (FE_INVALID_COMPARE): Likewise.
22444 (FE_INVALID_SOFTWARE): Likewise.
22445 (FE_INVALID_SQRT): Likewise.
22446 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22447 (FE_TONEAREST): Likewise.
22448 (FE_TOWARDZERO): Likewise.
22449 (FE_UPWARD): Likewise.
22450 (FE_DOWNWARD): Likewise.
22451 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22452 (FE_DIVBYZERO): Likewise.
22453 (FE_OVERFLOW): Likewise.
22454 (FE_UNDERFLOW): Likewise.
22455 (FE_INEXACT): Likewise.
22456 (FE_TONEAREST): Likewise.
22457 (FE_DOWNWARD): Likewise.
22458 (FE_UPWARD): Likewise.
22459 (FE_TOWARDZERO): Likewise.
22460 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22461 (FE_UNDERFLOW): Likewise.
22462 (FE_OVERFLOW): Likewise.
22463 (FE_DIVBYZERO): Likewise.
22464 (FE_INVALID): Likewise.
22465 (FE_TONEAREST): Likewise.
22466 (FE_TOWARDZERO): Likewise.
22467 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22468 (FE_OVERFLOW): Likewise.
22469 (FE_UNDERFLOW): Likewise.
22470 (FE_DIVBYZERO): Likewise.
22471 (FE_INEXACT): Likewise.
22472 (FE_TONEAREST): Likewise.
22473 (FE_TOWARDZERO): Likewise.
22474 (FE_UPWARD): Likewise.
22475 (FE_DOWNWARD): Likewise.
22476 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22477 (FE_DIVBYZERO): Likewise.
22478 (FE_OVERFLOW): Likewise.
22479 (FE_UNDERFLOW): Likewise.
22480 (FE_INEXACT): Likewise.
22481 (FE_TONEAREST): Likewise.
22482 (FE_DOWNWARD): Likewise.
22483 (FE_UPWARD): Likewise.
22484 (FE_TOWARDZERO): Likewise.
22485
105ca950
CM
224862012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22487
22488 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22489
a542b389
AS
224902012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22491
22492 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22493 commands. Quote $PWD.
22494 (blacklist_exports): Don't use remove_newlines. Replace "declare
22495 -x" by "export".
22496 (remove_newlines): Remove.
22497
f62c8abc
L
224982012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22499
22500 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22501 * stdlib/stdlib.h (atof): Moved to ...
22502 * include/bits/stdlib-float.h: Here. New file.
22503 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22504 * stdlib/bits/stdlib-float.h: New file.
22505 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22506 -mno-sse -mno-mmx.
22507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22508 <xmmintrin.h>.
22509
0155d5b2
JM
225102012-11-02 Joseph Myers <joseph@codesourcery.com>
22511
a68d0680
JM
22512 * conform/conformtest.pl (@headers): Add fenv.h.
22513 * conform/data/fenv.h-data: New file.
22514 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22515 include of <math/fenv.h>.
22516
caf7f573
JM
22517 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22518 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22519 && !UNIX98]. Enables tests for XOPEN2K8.
22520 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22521 POSIX2008]: Likewise.
22522
6c073ad6
JM
22523 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22524 (struct rusage): Do not expect type or its members.
22525
0155d5b2
JM
22526 [BZ #3439]
22527 * math/math.h (FP_NAN): Define macro to integer constant usable in
22528 #if and use that to give value to enum constant.
22529 (FP_INFINITE): Likewise.
22530 (FP_ZERO): Likewise.
22531 (FP_SUBNORMAL): Likewise.
22532 (FP_NORMAL): Likewise.
22533
b5dcacb4
AS
225342012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22535
22536 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22537 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22538 arguments.
22539
f7934be8
RM
225402012-11-02 Roland McGrath <roland@hack.frob.com>
22541
22542 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22543 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22544 autoconf-time if not.
22545 * configure.in: Remove AC_PREREQ.
22546
d7d08bde
TMQMF
225472012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22548
22549 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22550 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22551 of the internal implementation.
22552
dcdae19a
JM
225532012-11-02 Joseph Myers <joseph@codesourcery.com>
22554
22555 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22556 except include of <misc/sys/syslog.h>.
22557
d6cffd3e
AS
225582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22559
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22561 function returns with a NULL context exit with zero.
22562
b3563932
TMQMF
225632012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22564
22565 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22566
b288a93d
L
225672012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22568
22569 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22570 (run_program_cmd): This.
22571 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22572 (tst_langinfo): New variable. Use it.
22573
a2421a68
SAS
225742012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22575
22576 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22577 floating point opcodes.
22578
6f796e1b
TS
225792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22580
7402596b
TS
22581 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22582 variable.
22583
d0d4f868
TS
22584 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22585
6f796e1b
TS
22586 * sysdeps/mach/hurd/powerpc: Remove directory.
22587 * sysdeps/mach/powerpc: Likewise.
22588
4da224a2
AS
225892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22590
22591 * scripts/check-local-headers.sh: Ignore c++ headers.
22592
341dd673
TS
225932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22594
22595 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22596 __libc_cleanup_region_start argument.
22597
473611b2
JM
225982012-11-01 Joseph Myers <joseph@codesourcery.com>
22599
22600 [BZ #14784]
22601 [BZ #14785]
22602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22603 x * y using scaling, not as x * y + z.
22604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22606 * math/libm-test.inc (fma_test): Add more tests.
22607 (fma_test_towardzero): Likewise.
22608 (fma_test_downward): Likewise.
22609 (fma_test_upward): Likewise.
22610
4078da3d
TS
226112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22612
22613 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22614
903252aa
JM
226152012-10-31 Joseph Myers <joseph@codesourcery.com>
22616
22617 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22618 New variable.
22619
cbc818d0
TS
226202012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22621
22622 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22623
5a03cb1e
AS
226242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22625
22626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22627 Fix sort order.
22628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22629 Likewise.
22630
90aff2ff
TMQMF
226312012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22632
22633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22634 Fix the order of the list for glibc 2.17.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22636 Likewise.
22637
1818fcb7
AS
226382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22639
22640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22641
ef82f4da
JM
226422012-10-31 Joseph Myers <joseph@codesourcery.com>
22643
16a0e2ec
JM
22644 [BZ #14610]
22645 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22646 for low part of x being zero before using __atanl (y).
22647 * math/libm-test.inc (atan2_test): Add another test.
22648
0eb69512
JM
22649 * manual/install.texi (Configuring and compiling): Document
22650 general use of test-wrapper and test-wrapper-env.
22651 * INSTALL: Regenerated.
22652
ef82f4da
JM
22653 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22654 (__fma): Do not extract and scale down low bits on after-rounding
22655 systems when result rounded to normal precision would have normal
22656 exponent.
22657 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22658 (__fmal): Do not extract and scale down low bits on after-rounding
22659 systems when result rounded to normal precision would have normal
22660 exponent.
22661 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22662 (__fmal): Do not extract and scale down low bits on after-rounding
22663 systems when result rounded to normal precision would have normal
22664 exponent.
22665 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22666 macro.
22667 (fma_test): Add more tests.
22668 (fma_test_towardzero): Likewise.
22669 (fma_test_downward): Likewise.
22670 (fma_test_upward): Likewise.
22671
954ef0d9
L
226722012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22673
22674 * sysdeps/i386/tininess.h: Renamed to ...
22675 * sysdeps/x86/tininess.h: This.
22676 * sysdeps/x86_64/tininess.h: Removed.
22677
df61ffb2
JM
226782012-10-30 Joseph Myers <joseph@codesourcery.com>
22679
22680 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22681 input. Use $(build-program-cmd).
22682 ($(objpfx)tst-array1-static.out): Likewise.
22683 ($(objpfx)tst-array2.out): Likewise.
22684 ($(objpfx)tst-array3.out): Likewise.
22685 ($(objpfx)tst-array4.out): Likewise.
22686 ($(objpfx)tst-array5.out): Likewise.
22687 ($(objpfx)tst-array5-static.out): Likewise.
22688
01767843
CM
226892012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22690
47cc1490
CM
22691 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22692 if defined.
22693
01767843
CM
22694 * nss/nsswitch.h (nss_interface_function): Provide new
22695 macro for use with NSS functions.
22696 * grp/initgroups.c: Use new macro.
22697 * nss/getXXbyYY.c: Likewise.
22698 * nss/getXXbyYY_r.c: Likewise.
22699 * nss/getXXent.c: Likewise.
22700 * nss/getXXent_r.c: Likewise.
22701 * sysdeps/posix/getaddrinfo.c: Likewise.
22702
8321aa97
AJ
227032012-10-30 Andreas Jaeger <aj@suse.de>
22704
22705 * po/ru.po: Update Russion translation from translation project.
22706
2a27fd6d
JM
227072012-10-30 Joseph Myers <joseph@codesourcery.com>
22708
8627a232
JM
22709 [BZ #14152]
22710 [BZ #14783]
22711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22712 result and shift together with sticky bit instead of replicating
22713 round-to-nearest rounding.
22714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22716 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22717 missing underflow exceptions.
22718 (fma_test_towardzero): Add more tests.
22719 (fma_test_downward): Likewise.
22720 (fma_test_upward): Likewise.
22721
2a27fd6d
JM
22722 [BZ #14047]
22723 * sysdeps/generic/tininess.h: New file.
22724 * sysdeps/i386/tininess.h: Likewise.
22725 * sysdeps/sh/tininess.h: Likewise.
22726 * sysdeps/x86_64/tininess.h: Likewise.
22727 * stdlib/tst-strtod-underflow.c: Likewise.
22728 * stdlib/tst-tininess.c: Likewise.
22729 * stdlib/strtod_l.c: Include <tininess.h>.
22730 (round_and_return): Do not set errno for exact underflow cases.
22731 Force an underflow exception when setting errno for underflow.
22732 Determine underflow based on rounding to normal precision if
22733 TININESS_AFTER_ROUNDING.
22734 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22735 ERANGE for exact underflow cases.
22736 * stdlib/Makefile (tests): Add tst-tininess and
22737 tst-strtod-underflow.
22738 ($(objpfx)tst-tininess): Use $(link-libm).
22739 ($(objpfx)tst-strtod-underflow): Likewise.
22740
e7170363
AJ
227412012-10-30 Andreas Jaeger <aj@suse.de>
22742
e5088dc6
AJ
22743 [BZ#14767]
22744 * elf/Makefile (tests): Remove conditional for have-initfini-array
22745 since this is now always required and the variable does not exist
22746 anymore.
22747 (tests-static): Likewise.
22748 (modules-names): Likewise.
22749
e7170363 22750 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22751
22752 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22753 merged with constructor/destructor.
22754 (init_array): Likewise.
22755 * elf/tst-array2dep.c (fini_array): Likewise.
22756 (init_array): Likewise.
22757
60457d8a
MF
227582012-10-29 Mike Frysinger <vapier@gentoo.org>
22759
22760 * manual/message.texi: Delete @cartouche tags.
22761
8bece752
PT
227622012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22763
94ce799f
PT
22764 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22765 EOPNOTSUPP.
22766 * sysdeps/mach/hurd/fsync.c: Likewise.
22767
8bece752
PT
22768 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22769 [_POSIX_REALTIME_SIGNALS]: Change condition to
22770 [_POSIX_REALTIME_SIGNALS > 0].
22771
86ebe6b1
AJ
227722012-10-27 Andreas Jaeger <aj@suse.de>
22773
22774 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22775 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22777 [__WORDSIZE != 64]: Likewise.
22778
54399c08
L
227792012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22780
22781 * iconvdata/tst-table.sh: Remove ${SHELL}.
22782 * iconvdata/tst-tables.sh: Likewise.
22783
e2211bed
DM
227842012-10-25 David S. Miller <davem@davemloft.net>
22785
22786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22787 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22788 of strtoull.
22789
f303f97c
DM
22790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22791 ifunc-impl-list.c
22792 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22793 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22794 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22795 file.
22796
1e9d84cd
RM
227972012-10-25 Roland McGrath <roland@hack.frob.com>
22798
22799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22800 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22801 __getdirentries.
22802
df381762
JM
228032012-10-25 Joseph Myers <joseph@codesourcery.com>
22804 Jim Blandy <jimb@codesourcery.com>
22805
22806 * scripts/cross-test-ssh.sh: New file.
22807 * manual/install.texi (Configuring and compiling): Document use of
22808 cross-test-ssh.sh.
22809 * INSTALL: Regenerated.
22810
bff64913
PT
228112012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22812
22813 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22814 EOPNOTSUPP.
22815
25fe8932
JM
228162012-10-25 Joseph Myers <joseph@codesourcery.com>
22817
22818 * Makeconfig (run-program-prefix): Fix comment.
22819
cc1290d0
JM
228202012-10-24 Joseph Myers <joseph@codesourcery.com>
22821 Jim Blandy <jimb@codesourcery.com>
22822
22823 * Makeconfig (test-wrapper): New variable,
22824 (test-wrapper-env): Likewise.
22825 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22826 (run-built-tests): Define to yes.
22827 (run-program-prefix): Use $(test-wrapper).
22828 (built-program-cmd): Likewise.
22829 * Rules (make-test-out): Use $(test-wrapper-env) and
22830 $(host-built-program-cmd).
22831 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22832 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22833 tst-pathopt.sh.
22834 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22835 $(test-wrapper-env) to tst-rtld-load-self.sh.
22836 ($(objpfx)order2.out): Use $(test-wrapper).
22837 ($(objpfx)tst-initorder.out): Likewise.
22838 ($(objpfx)tst-initorder2.out): Likewise.
22839 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22840 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22841 (test_wrapper_env): New variable. Use it to run ld.so.
22842 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22843 Use it to run ld.so.
22844 (test_wrapper_env): Likewise.
22845 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22846 $(test-wrapper) to run-iconv-test.sh.
22847 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22848 (ICONV): Use $test_wrapper.
22849 * posix/Makefile ($(objpfx)globtest.out): Pass
22850 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22851 globtest.sh, not $(run-program-prefix).
22852 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22853 (test_wrapper): Likewise.
22854 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22855 set together with run_via_rtld_prefix.
22856 (run_program_prefix): Define in terms of test_wrapper and
22857 run_via_rtld_prefix.
22858
6e6249d0
RM
228592012-10-24 Roland McGrath <roland@hack.frob.com>
22860
22861 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22862 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22863 Targets removed.
22864
22865 [BZ #14743]
22866 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22867 Declare __clock_getres, __clock_gettime, __clock_settime,
22868 __clock_nanosleep, and __clock_getcpuclockid.
22869 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22870 Remove librt_hidden_def (clock_gettime).
22871 * sysdeps/unix/clock_gettime.c: Likewise.
22872 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22874 * rt/clock_getres.c: Define __clock_getres as an alias.
22875 * sysdeps/posix/clock_getres.c: Likewise.
22876 * rt/clock_settime.c: Define __clock_settime as an alias.
22877 * sysdeps/unix/clock_settime.c: Likewise.
22878 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22879 * sysdeps/unix/clock_nanosleep.c: Likewise.
22880 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22881 * rt/clock-compat.c: New file.
22882 * rt/Makefile (librt-routines): Add clock-compat and move
22883 $(clock-routines) to ...
22884 (routines): ... here, new variable.
22885 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22886 Don't add get_clockfreq here.
22887 * rt/Versions (libc: GLIBC_2.17): New version set.
22888 Add clock_* symbols here.
22889 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22891 (GLIBC_2.17): Add clock_* symbols.
22892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22896 Likewise.
22897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22898 Likewise.
22899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22903 * NEWS: Mention the move.
22904
22905 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22906 Use __open, __read, __close rather than their public counterparts.
22907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22908 (__get_clockfreq_via_cpuinfo): Likewise.
22909 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22910 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22911
22912 * config.h.in (HAVE_IFUNC): New #undef.
22913 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22914 was successful.
22915 * configure: Regenerated.
22916
0cae3f4b
MF
229172012-10-24 Mike Frysinger <vapier@gentoo.org>
22918
22919 * configure.in: Move READELF check to start of file.
22920 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22921 libc_cv_asm_gnu_indirect_function in the process.
22922 * configure: Regenerated.
22923
8175a253
MF
229242012-10-24 Mike Frysinger <vapier@gentoo.org>
22925
22926 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22927 send the output to /dev/null.
22928 (libc_cv_cc_with_libunwind): Likewise.
22929 (libc_cv_as_noexecstack): Likewise.
22930 * configure: Regenerate.
22931
0708a7d1
JM
229322012-10-24 Joseph Myers <joseph@codesourcery.com>
22933
10b40d85
JM
22934 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22935
0708a7d1
JM
22936 * posix/globtest.sh (TMPDIR): Do not set.
22937 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22938 (testout): Likewise.
22939
9fddec1a
AJ
229402012-10-24 Andreas Jaeger <aj@suse.de>
22941
3a8db22f
AJ
22942 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22943 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22944 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22945 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22946 posix_fadvise64, posix_fallocate64.
22947
9fddec1a
AJ
22948 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22949 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22950 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22951 Likewise.
22952 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22953 Likewise.
22954 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22955
22956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22957 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22958 <bits/fcntl-linux.h>.
22959 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22960
22961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22962 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22963 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22964 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22965 [__WORDSIZE != 64]: Likewise.
22966
ebfd1bbd
JM
229672012-10-23 Joseph Myers <joseph@codesourcery.com>
22968
03ac099f
JM
22969 * Makeconfig (run-built-tests): New variable.
22970 * Rules [$(cross-compiling) = yes]: Change condition to
22971 [$(run-built-tests) = no].
22972 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22973 to [$(run-built-tests) = yes].
22974 * elf/Makefile [$(cross-compiling) = no]: Likewise
22975 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22976 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22977 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22978 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22979 * io/Makefile [$(cross-compiling) = no]: Likewise.
22980 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22981 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22982 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22983 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22984 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22985 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22986 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22987 * string/Makefile [$(cross-compiling) = no]: Likewise.
22988
ebfd1bbd
JM
22989 * posix/Makefile ($(objpfx)globtest.out): Pass
22990 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22991 $(rtld-installed-name).
22992 * posix/globtest.sh (elf_objpfx): Remove variable.
22993 (rtld_installed_name): Likewise.
22994 (library_path): Likewise.
22995 (run_program_prefix): New variable. Use for running globtest
22996 binary.
22997
166bca24
JB
229982012-10-23 Jim Blandy <jimb@codesourcery.com>
22999 Joseph Myers <joseph@codesourcery.com>
23000
23001 * Makeconfig (host-built-program-cmd): New variable.
23002 * elf/Makefile (tst-stackguard1-ARGS): Use
23003 $(host-built-program-cmd).
23004 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23005 (tst-spawn-ARGS): Likewise.
23006 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23007
88866099
JM
230082012-10-23 Joseph Myers <joseph@codesourcery.com>
23009 Jim Blandy <jimb@codesourcery.com>
23010
23011 * Makeconfig (run-via-rtld-prefix): New variable.
23012 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23013 (built-program-cmd): Likewise.
23014
b4b4c296
AJ
230152012-10-22 Andreas Jaeger <aj@suse.de>
23016
23017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23018 __O_RSYNC if it exists, otherwise to O_SYNC.
23019
6fb54a22
JB
230202012-10-22 Jim Blandy <jimb@codesourcery.com>
23021 Joseph Myers <joseph@codesourcery.com>
23022
23023 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23024 /dev/null.
23025 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23026 from /dev/null
23027 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23028 /dev/null.
23029
481b90b9
AJ
230302012-10-22 Andreas Jaeger <aj@suse.de>
23031
2a0e2669
AJ
23032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23033 Define always.
23034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23035
76e38f9a
AJ
23036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23037 bits/fcntl-linux.h.
23038
7cd37b43
AJ
23039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23040 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23041
481b90b9
AJ
23042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23043 to __O_LARGEFILE.
23044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23045 to __O_LARGEFILE.
23046
aba75984
JB
230472012-10-21 Jim Blandy <jimb@codesourcery.com>
23048 Joseph Myers <joseph@codesourcery.com>
23049
23050 * config.make.in (NM): New variable.
23051
88d4247f
AJ
230522012-10-21 Andreas Jaeger <aj@suse.de>
23053
23054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23055 definitions and declarations that are provided by
23056 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23057
f2eed205
L
230582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23059
23060 [BZ #14683]
23061 * elf/Makefile (tests-static): Add tst-leaks1-static.
23062 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23063 ($(objpfx)tst-leaks1-static): New rule.
23064 ($(objpfx)tst-leaks1-static-mem): Likewise.
23065 (tst-leaks1-static-ENV): New macro.
23066 * elf/dl-open.c (dl_open_worker): Check the main application
23067 only if SHARED is defined.
23068 * elf/tst-leaks1-static.c: New file.
23069
335e6931
AJ
230702012-10-20 Andreas Jaeger <aj@suse.de>
23071
23072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23073 generic values for Linux.
23074 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23075 and declarations that are provided by <bits/fcntl-linux.h> and
23076 include <bits/fcntl-linux.h>.
23077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23079
ac5c94d3
RM
230802012-10-20 Roland McGrath <roland@hack.frob.com>
23081
23082 * io/fcntl.h: Move include of <bits/types.h> to the top and
23083 include it unconditionally.
23084
de54b33a
L
230852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23086
228cfb01
L
23087 * wcsmbs/Makefile (tests-ifunc): New variable.
23088 (tests): Add $(tests-ifunc).
23089 * wcsmbs/test-wcschr-ifunc.c: New file.
23090 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23091 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23092 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23093 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23094 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23095
69f07e5f
L
23096 * string/Makefile (tests-ifunc): New variable.
23097 (tests): Add $(tests-ifunc).
23098 * string/test-memccpy.c (TEST_NAME): New macro.
23099 * string/test-memchr.c (TEST_NAME): Likewise.
23100 * string/test-memcmp.c (TEST_NAME): Likewise.
23101 * string/test-memcpy.c (TEST_NAME): Likewise.
23102 * string/test-memmem.c (TEST_NAME): Likewise.
23103 * string/test-memmove.c (TEST_NAME): Likewise.
23104 * string/test-memset.c (TEST_NAME): Likewise.
23105 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23106 * string/test-stpcpy.c (TEST_NAME): Likewise.
23107 * string/test-stpncpy.c (TEST_NAME): Likewise.
23108 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23109 * string/test-strcasestr.c (TEST_NAME): Likewise.
23110 * string/test-strcat.c (TEST_NAME): Likewise.
23111 * string/test-strchr.c (TEST_NAME): Likewise.
23112 * string/test-strcmp.c(TEST_NAME): Likewise.
23113 * string/test-strcpy.c (TEST_NAME): Likewise.
23114 * string/test-strcspn.c (TEST_NAME): Likewise.
23115 * string/test-strlen.c (TEST_NAME): Likewise.
23116 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23117 * string/test-strncmp.c (TEST_NAME): Likewise.
23118 * string/test-strncpy.c (TEST_NAME): Likewise.
23119 * string/test-strnlen.c (TEST_NAME): Likewise.
23120 * string/test-strpbrk.c (TEST_NAME): Likewise.
23121 * string/test-strrchr.c (TEST_NAME): Likewise.
23122 * string/test-strspn.c (TEST_NAME): Likewise.
23123 * string/test-strstr.c (TEST_NAME): Likewise.
23124 * string/test-bcopy-ifunc.c: New file.
23125 * string/test-bzero-ifunc.c: Likewise.
23126 * string/test-memccpy-ifunc.c: Likewise.
23127 * string/test-memchr-ifunc.c: Likewise.
23128 * string/test-memcmp-ifunc.c: Likewise.
23129 * string/test-memcpy-ifunc.c: Likewise.
23130 * string/test-memmem-ifunc.c: Likewise.
23131 * string/test-memmove-ifunc.c: Likewise.
23132 * string/test-mempcpy-ifunc.c: Likewise.
23133 * string/test-memset-ifunc.c: Likewise.
23134 * string/test-rawmemchr-ifunc.c: Likewise.
23135 * string/test-stpcpy-ifunc.c: Likewise.
23136 * string/test-stpncpy-ifunc.c: Likewise.
23137 * string/test-strcasecmp-ifunc.c: Likewise.
23138 * string/test-strcasestr-ifunc.c: Likewise.
23139 * string/test-strcat-ifunc.c: Likewise.
23140 * string/test-strchr-ifunc.c: Likewise.
23141 * string/test-strchrnul-ifunc.c: Likewise.
23142 * string/test-strcmp-ifunc.c: Likewise.
23143 * string/test-strcpy-ifunc.c: Likewise.
23144 * string/test-strcspn-ifunc.c: Likewise.
23145 * string/test-strlen-ifunc.c: Likewise.
23146 * string/test-strncasecmp-ifunc.c: Likewise.
23147 * string/test-strncat-ifunc.c: Likewise.
23148 * string/test-strncmp-ifunc.c: Likewise.
23149 * string/test-strncpy-ifunc.c: Likewise.
23150 * string/test-strnlen-ifunc.c: Likewise.
23151 * string/test-strpbrk-ifunc.c: Likewise.
23152 * string/test-strrchr-ifunc.c: Likewise.
23153 * string/test-strspn-ifunc.c: Likewise.
23154 * string/test-strstr-ifunc.c: Likewise.
23155
de54b33a
L
23156 * debug/Makefile (tests-ifunc): New variable.
23157 (tests): Add $(tests-ifunc).
23158 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23159 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23160 * debug/test-stpcpy_chk-ifunc.c: New file.
23161 * debug/test-strcpy_chk-ifunc.c: Likewise.
23162
88481c16
SP
231632012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23164
23165 [BZ #13601]
23166 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23167 header is not read in.
23168
135948bd
JM
231692012-10-19 Joseph Myers <joseph@codesourcery.com>
23170
89f1c388
JM
23171 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23172 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23173 directly. Pass built executable to script as
23174 $(built-program-cmd).
23175 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23176 $testprogram without using LD_LIBRARY_PATH and $ldso.
23177
e40a0d21
JM
23178 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23179 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23180 $(rtld-installed-name).
23181 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23182 (rtld_installed_name): Likewise.
23183 (library_path): Likewise.
23184 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23185 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23186 $(run-program-prefix) to tst-tables.sh.
23187 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23188 it to run tst-table-from and tst-table-to.
23189 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23190 Pass it to tst-table.sh.
23191 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23192 $(run-program-prefix) to tst-gettext.sh.
23193 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23194 tst-translit.sh.
23195 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23196 tst-gettext2.sh.
23197 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23198 to run tst-gettext.
23199 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23200 to run tst-gettext2.
23201 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23202 to run tst-translit.
23203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23204 $(run-program-prefix) to tst-mtrace.sh.
23205 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23206 to run tst-mtrace.
23207 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23208 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23209 $(rtld-installed-name).
23210 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23211 (rtld_installed_name): Likewise.
23212 (run_program_prefix): New variable. Use it to run wordexp-test.
23213
728e272a
JM
23214 * Makeconfig (ARCH): Remove all definitions.
23215 (machine): Likewise.
23216 [ARCH]: Remove conditional code.
23217 [!objdir]: Give error.
23218 [!objdir] (objpfx): Remove.
23219 [!objdir] (common-objpfx): Likewise.
23220 [!objdir] (common-objdir): Likewise.
23221 * configure.in (config_makefile): Remove. Hardcode Makefile in
23222 AC_CONFIG_FILES call.
23223 * configure: Regenerated.
23224
d528cdcf
JM
23225 [BZ #13888]
23226 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23227 or TMPDIR.
23228 (testout): Likewise.
23229
135948bd
JM
23230 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23231 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23232 $(rtld-installed-name).
23233 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23234 (rtld_installed_name): Likwise.
23235 (runit): Remove function.
23236 (run_getconf): New variable, Use it for running getconf binary.
23237
38c78296
L
232382012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23239
23240 [BZ #14716]
23241 * string/test-memmem.c (check_result): New function.
23242 (do_one_test): Use it.
23243 (check1): New function.
23244 (test_main): Use it.
23245
d077f65f
MT
232462012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23247
23248 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23249
ced52c71
JM
232502012-10-18 Joseph Myers <joseph@codesourcery.com>
23251
23252 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23253 (_G_LSEEK64): Likewise.
23254 (_G_MMAP64): Likewise.
23255 (_G_FSTAT64): Likewise.
23256 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23257 (_G_LSEEK64): Likewise.
23258 (_G_MMAP64): Likewise.
23259 (_G_FSTAT64): Likewise.
23260 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23261 unconditional. Call __mmap64 directly.
23262 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23263 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23264 __lseek64 directly.
23265 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23266 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23267 __mmap64 directly.
23268 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23269 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23270 __lseek64 directly.
23271 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23272 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23273 __lseek64 directly.
23274 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23275 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23276 __lseek64 directly.
23277 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23278 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23279 __fxstat64 directly.
23280 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23281 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23282 unconditional.
23283 (freopen64) [!_G_OPEN64]: Remove conditional code.
23284 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23285 unconditional.
23286 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23287 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23288 unconditional.
23289 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23290 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23291 unconditional.
23292 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23293 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23294 unconditional.
23295 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23296 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23297 unconditional.
23298 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23299 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23300 unconditional.
23301 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23302 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23303 unconditional.
23304 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23305
b741de23
SP
233062012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23307
23308 [BZ #12140]
23309 * manual/memory.texi (Malloc Tunable Parameters): Add note
23310 about free list pointers overwriting some perturb bytes.
23311 Wording suggested by Roland McGrath.
23312
f9b9d9c9
JM
233132012-10-17 Joseph Myers <joseph@codesourcery.com>
23314
23315 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23316 (lgamma_test): Likewise.
23317 (tgamma_test): Likewise.
23318
172a631a
FW
233192012-10-16 Florian Weimer <fweimer@redhat.com>
23320
23321 [BZ #14700]
23322 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23323 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23324
e9f37252
MK
233252012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23326
23327 * NEWS: Mention BZ #14716.
23328 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23329 when removing AVAILABLE1_USES_J macro.
23330
d394eb74
L
233312012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23332
23333 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23334 (__bswap_64): __uint64_t for unsigned 64-bit int.
23335
ca38dc17
AS
233362012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23337
23338 * include/string.h (memmem): Declare libc hidden alias.
23339 * string/memmem.c (memmem): Define libc hidden alias.
23340 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23341 __read, __close instead of open, read, close.
23342
9a387d1f
L
233432012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23344
ac49ecaf
L
23345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23346 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23347 global and hidden.
23348 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23349 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23350 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23351 Likewise.
23352 (__rawmemchr_sse2): Likewise.
23353 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23354 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23355 (__strchr_sse2): Likewise.
23356 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23357 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23358 (__strcasecmp_sse2): Likewise.
23359 (__strncasecmp_sse2): Likewise.
23360 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23361 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23362 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23363 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23364 (__strrchr_sse2): Likewise.
23365 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23366 ifunc-impl-list.c.
23367 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23368 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23369 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23370 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23371 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23372 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23373 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23374 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23375 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23376 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23377 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23378 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23379 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23380 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23381 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23382 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23383 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23384 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23385 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23386 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23387 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23388 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23389 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23390 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23391 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23392 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23393 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23394 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23395 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23396 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23397
b090e8ea
L
23398 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23399 global and hidden.
23400 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23401 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23402 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23403 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23404 Likewise.
23405 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23406 Likewise.
23407 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23408 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23409 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23410 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23411 ifunc-impl-list.c.
23412 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23413 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23414 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23415 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23416 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23417 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23418 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23419 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23420 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23421 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23422 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23423 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23424 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23425 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23426 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23429 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23433 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23434 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23435 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23436 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23437 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23438 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23439 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23440 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23441 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23442 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23443 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23444 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23445 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23446 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23447 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23448 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23449 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23450 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23451 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23452 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23453
11dd4af6
L
23454 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23455 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23456 * include/ifunc-impl-list.h: New file.
23457 * misc/ifunc-impl-list.c: Likewise.
23458 * misc/Makefile (routines): Add ifunc-impl-list.
23459 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23460 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23461 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23462 TEST_NAME]: New variables.
11dd4af6
L
23463 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23464 are defined.
23465 (test_init): Call __libc_ifunc_impl_list to initialize
23466 func_list if TEST_IFUNC and TEST_NAME are defined.
23467
9a387d1f
L
23468 * string/Makefile (strop-tests): Add bcopy and bzero.
23469 * string/test-bcopy.c: New file.
23470 * string/test-bzero.c: Likewise.
23471 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23472 defined.
23473 * string/test-memset.c: Support bzero test if TEST_BZERO is
23474 defined.
23475 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23476 __libc_memmove.
23477 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23478 __libc_memset.
23479 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23480 of memset.
23481
472371b9
JM
234822012-10-10 Joseph Myers <joseph@codesourcery.com>
23483
1e4a9536
JM
23484 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23485 * configure: Regenerated.
23486
d173d12e
JM
23487 * Makeconfig (+link-static-before-libc): Don't include
23488 $(link-static-libc).
23489
472371b9
JM
23490 * libio/libio.h (_IO_pos_t): Remove.
23491
89a3ad0b
AO
234922012-10-10 Alexandre Oliva <aoliva@redhat.com>
23493
23494 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23495 McGrath.
23496
e7451425
AO
234972012-10-10 Alexandre Oliva <aoliva@redhat.com>
23498
23499 * crypt/crypt-entry.c: Include fips-private.h.
23500 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23501 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23502 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23503 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23504
4ba74a35
AO
235052012-10-10 Alexandre Oliva <aoliva@redhat.com>
23506
23507 * crypt/crypt-private.h: Include stdbool.h.
23508 (_ufc_setup_salt_r): Return bool.
23509 * crypt/crypt-entry.c: Include errno.h.
23510 (__crypt_r): Return NULL with EINVAL for bad salt.
23511 * crypt/crypt_util.c (bad_for_salt): New.
23512 (_ufc_setup_salt_r): Check that salt is long enough and within
23513 the specified alphabet.
23514 * crypt/badsalttest.c: New file.
23515 * crypt/Makefile (tests): Add it.
23516 ($(objpfx)badsalttest): New.
23517
f96f1242
MK
235182012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23519
23520 * NEWS: Add entry for BZ #14602.
23521
0e8e0c1c
JM
235222012-10-09 Joseph Myers <joseph@codesourcery.com>
23523
23524 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23525 type-generic.
23526 * math/libm-test.inc: Update comment listing what functions and
23527 macros are tested.
23528 (isgreater_test): New function.
23529 (isgreaterequal_test): Likewise.
23530 (isless_test): Likewise.
23531 (islessequal_test): Likewise.
23532 (islessgreater_test): Likewise.
23533 (isunordered_test): Likewise.
23534 (main): Call the new functions.
23535
273edc5e
RM
235362012-10-09 Roland McGrath <roland@hack.frob.com>
23537
b8493de0
RM
23538 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23539 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23540 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23541 * sysdeps/i386/configure: Regenerated.
23542 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23543 * sysdeps/mach/configure: Regenerated.
23544 * sysdeps/mach/hurd/configure: Regenerated.
23545 * sysdeps/powerpc/configure: Regenerated.
23546 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23547 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23548 * sysdeps/s390/s390-32/configure: Regenerated.
23549 * sysdeps/s390/s390-64/configure: Regenerated.
23550 * sysdeps/sh/configure: Regenerated.
23551 * sysdeps/sparc/configure: Regenerated.
23552 * sysdeps/unix/sysv/linux/configure: Regenerated.
23553 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23554 * sysdeps/x86_64/configure: Regenerated.
23555
273edc5e
RM
23556 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23557 defined. Don't check if MAP is NULL.
23558
c8450f70
JM
235592012-10-09 Joseph Myers <joseph@codesourcery.com>
23560
23561 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23562 (_G_stat64): Likewise.
23563 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23564 (_G_stat64): Likewise.
23565 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23566 instead of struct _G_stat64.
23567 * libio/fileops.c (mmap_remap_check): Likewise.
23568 (decide_maybe_mmap): Likewise.
23569 (_IO_new_file_seekoff): Likewise.
23570 (_IO_file_stat): Likewise.
23571 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23572 _G_off64_t.
23573 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23574 instead of struct _G_stat64.
23575 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23576
57e605ba
MK
235772012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23578
23579 [BZ #14602]
23580 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23581 Replace with ...
23582 (CHECK_EOL): New macro.
23583 (two_way_short_needle): Check beginning of haystack for EOL. Use
23584 CHECK_EOL.
23585 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23586 Replace with CHECK_EOL.
23587 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23588 Replace with CHECK_EOL.
23589
ef1bb361
JM
235902012-10-08 Joseph Myers <joseph@codesourcery.com>
23591
23592 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23593 type-generic.
23594 * math/libm-test.inc: Update comment listing what functions and
23595 macros are tested.
23596 (finite_test): New function.
23597 (isinf_test): Likewise.
23598 (isnan_test): Likewise.
23599 (fpclassify_test): Test subnormal input.
23600 (isfinite_test): Likewise.
23601 (isnormal_test): Likewise.
23602 (main): Call the new functions.
23603
55f11534
JN
236042012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23605
23606 [BZ #14660]
23607 * Makerules (%.dynsym): Force C locale when running
23608 $(OBJDUMP) --dynamic-syms.
23609
1ab29350
AS
236102012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23611
23612 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23613 <stdint.h>.
23614
f1ecb7ef
DM
236152012-10-06 David S. Miller <davem@davemloft.net>
23616
23617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23618 upper 32-bits of the length value in %o2 since we use branch-on-register
23619 tests which consider the entire 64-bit register.
23620
5d41d91a
L
236212012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23622
23623 * string/test-strstr.c (check2): Add a test for page boundary.
23624
3baddb72
DM
236252012-10-05 David S. Miller <davem@davemloft.net>
23626
23627 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23628 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23629 file.
23630 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23631 sysdep_routines.
23632 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23633 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23634 and bzero when HWCAP_SPARC_CRYPTO is present.
23635
9cee5585
L
236362012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23637
d7e0dab9
L
23638 [BZ #14602]
23639 * string/test-strstr.c (check2): New function.
23640 (test_main): Call check2.
23641
03759f47
L
23642 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23643 and bug-strchr1.
23644 * string/bug-strcasestr1.c (do_test): Moved to ...
23645 * string/test-strcasestr.c (check1): Here. New function.
23646 (do_one_test): Break out result checking code into ...
23647 (check_result): This. New function.
23648 (do_one_test): Call check_result.
23649 (test_main): Call check1.
23650 * string/bug-strchr1.c (do_test): Moved to ...
23651 * string/test-strchr.c (check1): Here. New function.
23652 (do_one_test): Break out result checking code into ...
23653 (check_result): This. New function.
23654 (do_one_test): Call check_result.
23655 (test_main): Call check1.
23656 * string/bug-strstr1.c (main): Moved to ...
046f153e 23657 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23658 (do_one_test): Break out result checking code into ...
23659 (check_result): This. New function.
23660 (do_one_test): Call check_result.
23661 (test_main): Call check1.
23662 * string/bug-strcasestr1.c: Removed.
23663 * string/bug-strchr1.c: Likewise.
23664 * string/bug-strstr1.c: Likewise.
23665
53cea63e
L
23666 * elf/Makefile (dl-routines): Add hwcaps.
23667 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23668 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23669 (_dl_important_hwcaps): Moved to ...
23670 * elf/dl-hwcaps.c: Here. New file.
23671 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23672
9cee5585 23673 [BZ #14557]
bb859b06
L
23674 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23675 if IS_IN_rtld isn't defined.
23676
9cee5585
L
23677 * elf/dl-support.c (_dl_sysinfo_map): New.
23678 Include "get-dynamic-info.h" and "setup-vdso.h".
23679 (_dl_non_dynamic_init): Call setup_vdso.
23680 * elf/dynamic-link.h: Don't include <assert.h>.
23681 (elf_get_dynamic_info): Moved to ...
23682 * elf/get-dynamic-info.h: Here. New file.
23683 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23684 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23685 * elf/setup-vdso.h: Here. New file.
23686 * elf/rtld.c: Include "setup-vdso.h".
23687 (dl_main): Call setup_vdso.
23688
23c31b76
JM
236892012-10-05 Joseph Myers <joseph@codesourcery.com>
23690
28234b07
JM
23691 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23692 creal in comment listing functions tested. List finite, isinf,
23693 isnan, isless, islessequal, isgreater, isgreaterequal,
23694 islessgreater, isunordered, lgamma_r and pow10 as functions and
23695 macros not tested. Mention which functions not tested are aliases
23696 for other functions. Fix typo. Note that signs of NaNs are not
23697 tested.
23698
23c31b76
JM
23699 * scripts/config.guess: Update from config.git.
23700 * scripts/config.sub: Likewise.
23701
9043e228
RM
237022012-10-04 Roland McGrath <roland@hack.frob.com>
23703
23704 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23705 * misc/madvise.c (madvise): Renamed to __madvise.
23706 Make madvise a weak alias.
23707 * include/sys/mman.h: Declare __madvise.
23708 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23709 * sysdeps/unix/syscalls.list
23710 (madvise): Make __madvise the strong name, and madvise a weak alias.
23711 * sysdeps/unix/sysv/linux/syscalls.list
23712 (madvise, mmap): Remove redundant entries.
23713 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23714 * malloc/malloc.c (mtrim): Likewise.
23715 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23716
f57f8055
RM
237172012-10-03 Roland McGrath <roland@hack.frob.com>
23718
23719 * sysdeps/mach/hurd/dl-cache.c: File removed.
23720 * config.h.in (USE_LDCONFIG): New #undef.
23721 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23722 * configure: Regenerated.
23723 * elf/Makefile (dl-routines): Add dl-cache only under
23724 [$(use-ldconfig) = yes].
23725 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23726 cache on [USE_LDCONFIG].
23727 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23728 [USE_LDCONFIG].
23729 * elf/rtld.c (dl_main): Likewise.
23730
5bb0c10a
PT
237312012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23732
23733 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23734 _SC_LEVEL4_CACHE_LINESIZE.
23735
010188c6
RM
237362012-10-03 Roland McGrath <roland@hack.frob.com>
23737
23738 * sysdeps/unix/bsd/confstr.h: File removed.
23739
b6c5ec07
AO
237402012-10-02 Alexandre Oliva <aoliva@redhat.com>
23741
23742 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23743 sys/sdt-config.h.
23744
408223d4
RM
237452012-10-02 Roland McGrath <roland@hack.frob.com>
23746
23747 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23748 Make 'mapoff' field ElfW(Off) rather than off_t.
23749
bb9510dc
DL
237502012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23751
fc997c6e
DL
23752 * nscd/Makefile: Remove nscd-cflags and all its users.
23753 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23754 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23755
bb9510dc
DL
23756 [BZ #10631]
23757 * malloc.c (malloc_printerr): Clarify error message.
23758
05699367
L
237592012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23760
23761 [BZ #14648]
23762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23763 Set bit_FMA_Usable if FMA is supported.
23764 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23765 macro.
23766 (bit_FMA4_Usable): Updated.
23767 (index_FMA_Usable): New macro.
23768 (CPUID_FMA): Likewise
23769 (HAS_FMA): Defined with bit_FMA_Usable.
23770
51367701
RM
237712012-10-01 Roland McGrath <roland@hack.frob.com>
23772
23773 * bits/types.h (__swblk_t): Type removed.
23774 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23775 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23777 (__SWBLK_T_TYPE): Likewise.
23778 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23779 (__SWBLK_T_TYPE): Likewise.
23780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23781 (__SWBLK_T_TYPE): Likewise.
23782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23783 (__SWBLK_T_TYPE): Likewise.
23784
4d57bf63 237852012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23786 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23787
23788 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23789 (xdr_mapname): Use YPMAXMAP as maxsize.
23790 (xdr_peername): Use YPMAXPEER as maxsize.
23791 (xdr_keydat): Use YPAXRECORD as maxsize.
23792 (xdr_valdat): Use YPMAXRECORD as maxsize.
23793
93c65d43
RM
237942012-10-01 Roland McGrath <roland@hack.frob.com>
23795
497a03d6
RM
23796 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23797
93c65d43
RM
23798 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23799 * csu/init-first.c: ... here.
23800 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23801 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23803 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23804 * sysdeps/i386/init-first.c: File removed.
23805 * sysdeps/sh/init-first.c: File removed.
23806
bec749fd
JM
238072012-10-01 Joseph Myers <joseph@codesourcery.com>
23808
23809 [BZ #14645]
23810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23811 if x * y might underflow to zero and z is zero.
23812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23814 * math/libm-test.inc (min_subnorm_value): New variable.
23815 (fma_test): Add more tests.
23816 (fma_test_towardzero): Likewise.
23817 (fma_test_downward): Likewise
23818 (fma_test_upward): Likewise.
23819 (initialize): Set min_subnorm_value.
23820
8ec5b013
JM
238212012-09-29 Joseph Myers <joseph@codesourcery.com>
23822
23823 [BZ #14638]
23824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23825 0 + 0.
23826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23827 mode for addition resulting in exact zero.
23828 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23830 exact 0 + 0.
23831 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23832 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23833 * math/libm-test.inc (fma_test): Add more tests.
23834 (fma_test_towardzero): New function.
23835 (fma_test_downward): Likewise.
23836 (fma_test_upward): Likewise.
23837 (main): Call the new functions.
23838
b1fa802e
DM
238392012-09-28 David S. Miller <davem@davemloft.net>
23840
23841 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23842
d3b9fd9e
RM
238432012-09-28 Roland McGrath <roland@hack.frob.com>
23844
ea4d37b3
RM
23845 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23846 instead of SIGALRM.
23847
ac51c949
RM
23848 * sysdeps/gnu/_G_config.h: Moved to ...
23849 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23850 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23851 * sysdeps/generic/_G_config.h: ... here.
23852
28c195f7
RM
23853 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23854
848917f9
RM
23855 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23856
6bacf05b
RM
23857 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23858 Conditionalize target on [libnss_test1.so-version].
23859
91363dbb
RM
23860 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23861
cc87f7d8
RM
23862 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23863 (elfobjdir): Move out of conditionals.
23864
b1c608fe
RM
23865 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23866 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23867 (__nss_lookup_function): Conditionalize label remove_from_tree on
23868 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23869
1d9a6d96
DM
238702012-09-28 David S. Miller <davem@davemloft.net>
23871
23872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23873 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23874 file.
23875 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23876 sysdep_routines.
23877 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23879 when HWCAP_SPARC_CRYPTO is present.
23880
72581615
PT
238812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23882
23883 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23884
715a900c
JL
238852012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23886
23887 [BZ #6530]
23888 * stdio-common/vfprintf.c (process_string_arg): Revert
23889 2000-07-22 change.
23890
238912011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23892
23893 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23894 for testcase.
23895 * stdio-common/tst-sprintf.c: Include <locale.h>
23896 (main): Test sprintf's handling of incomplete multibyte
23897 characters.
23898
9bac1d86
L
238992012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23900
23901 * elf/dl-runtime.c (VERSYMIDX): Removed.
23902 * elf/dl-version.c (VERSYMIDX): Likewise.
23903 * elf/do-rel.h (VERSYMIDX): Likewise.
23904 (VALIDX): Likewise.
23905 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23906 * elf/rtld.c (VALIDX): Likewise.
23907 (ADDRIDX): Likewise.
9bac1d86
L
23908 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23909 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23910 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23911 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23912 (VALIDX): Likewise.
23913 (ADDRIDX): Likewise.
9bac1d86 23914
b31606c0
PT
239152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23916
23917 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23918
11541177
JL
239192012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23920
23921 [BZ #11438]
23922 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23923 to global scope.
23924 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23925 addresses are in the same scope as 192.0.2/24.
23926 * posix/gai.conf: Document new scope table defaults.
23927
adb26fae
SP
239282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23929
23930 [BZ #5298]
23931 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23932 for ftell. Compute offsets from write pointers instead.
23933 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23934
4573c6b0
SP
239352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23936
23937 [BZ #14543]
23938 * libio/Makefile (tests): New test case tst-fseek.
23939 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23940 combination works in wide mode.
23941 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23942 state when the external buffer state changes.
23943
aa9bbfe6
DM
239442012-09-27 David S. Miller <davem@davemloft.net>
23945
23946 [BZ #14376]
23947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23948 pass reloc->r_addend in as the 'high' argument to
23949 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23950
784421e7
DM
23951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23952
c39bc8b8
PT
239532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23954
23955 * rt/tst-aio2.c: Include <pthread.h>.
23956 * rt/tst-aio3.c: Likewise.
23957
1ccc2399
SE
239582012-09-27 Steve Ellcey <sellcey@mips.com>
23959
23960 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23961
31ed4153
L
239622012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23963
25f5f885
L
23964 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23965 contents on [SHARED].
31ed4153 23966
b7bfe116
MP
239672012-09-26 Marek Polacek <polacek@redhat.com>
23968
23969 [BZ #14530]
23970 [BZ #13741]
23971 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23972 for C++ and GCC <4.3 as well as for non GCC compilers.
23973
43c4edba
MT
239742012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23975
23976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23977
6a1bf82f
RM
239782012-09-25 Roland McGrath <roland@hack.frob.com>
23979
23980 * Makefile.in (all, install): Declare with .PHONY.
23981 Reported by Michael Hope <michael.hope@linaro.org>.
23982
8ad11b9a
TMQMF
239832012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23984
23985 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23986 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23987 system header.
23988 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23989 Likewise.
23990 (sydep_routines): Add the new and the internal functions.
23991 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23992 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23994 (GLIBC_2.17): Add the new function.
23995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23996 (GLIBC_2.17): Likewise.
23997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23998 (GLIBC_2.17): Likewise.
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24000 (GLIBC_2.17): Likewise.
24001 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24002
7e2fca8d
AM
240032012-09-25 Alan Modra <amodra@gmail.com>
24004
24005 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24006 Add release barrier before setting once_control to say
24007 initialisation is done. Add hints on lwarx. Use macro in
24008 place of isync.
24009 (clear_once_control): Add release barrier.
24010
b87c4b24
JM
240112012-09-25 Joseph Myers <joseph@codesourcery.com>
24012
d032e0d2
JM
24013 [BZ #13629]
24014 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24015 specially.
24016 * math/s_clog10.c (__clog10): Likewise.
24017 * math/s_clog10f.c (__clog10f): Likewise.
24018 * math/s_clog10l.c (__clog10l): Likewise.
24019 * math/s_clogf.c (__clogf): Likewise.
24020 * math/s_clogl.c (__clogl): Likewise.
24021 * math/Makefile (libm-calls): Add x2y2m1.
24022 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24023 (__x2y2m1): Likewise.
24024 (__x2y2m1l): Likewise.
24025 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24026 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24029 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24030 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24031 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24032 * sysdeps/i386/fpu/libm-test-ulps: Update.
24033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24034
b87c4b24
JM
24035 [BZ #14621]
24036 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24037 int as type of variable DEPTH.
24038 (glob): Use size_t instead of int as type of variables NEWCOUNT
24039 and OLD_PATHC.
24040
6d3bf199
LD
240412012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24042
22bf5c17
LD
24043 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24044 Add s_sincosf-sse2.
24045 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24046 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24047 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24048 macros for using routine as __sincosf_ia32.
24049 Use macro for function declaration and weak_alias.
24050 * sysdeps/i386/fpu/libm-test-ulps: Update.
24051
24052 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24054
24055 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24056 subnormal argument.
24057 * math/s_cexpf.c (__cexpf): Likewise.
24058 * math/s_csinf.c (__csinf): Likewise.
24059 * math/s_csinhf.c (__csinhf): Likewise.
24060 * math/s_ctanf.c (__ctanf): Likewise.
24061 * math/s_ctanhf.c (__ctanhf): Likewise.
24062 * math/s_ccosh.c (__ccoshf): Likewise.
24063 * math/s_cexp.c (__cexpl): Likewise.
24064 * math/s_csin.c (__csin): Likewise.
24065 * math/s_csinh.c (__csinh): Likewise.
24066 * math/s_ctan.c (__ctan): Likewise.
24067 * math/s_ctanh.c (ctanh): Likewise.
24068 * math/s_ccoshl.c (__ccoshl): Likewise.
24069 * math/s_cexpl.c (__cexpl): Likewise.
24070 * math/s_csinl.c (__csinl): Likewise.
24071 * math/s_csinhl.c (__csinhl): Likewise.
24072 * math/s_ctanl.c (__ctanl): Likewise.
24073 * math/s_ctanhl.c (__ctanhl): Likewise.
24074
203e5603
JM
240752012-09-25 Joseph Myers <joseph@codesourcery.com>
24076
24077 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24078 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24079 (_IO_off_t): Define to __off_t, not _G_off_t.
24080 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24081 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24082 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24083 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24084 type of __dummy and __dummy2 fields.
24085 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24086 (_G_ssize_t): Likewise.
24087 (_G_off_t): Likewise.
24088 (_G_pid_t): Likewise.
24089 (_G_uid_t): Likewise.
24090 (_G_wchar_t): Likewise.
24091 (_G_wint_t): Likewise.
24092 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24093 (_G_ssize_t): Likewise.
24094 (_G_off_t): Likewise.
24095 (_G_pid_t): Likewise.
24096 (_G_uid_t): Likewise.
24097 (_G_wchar_t): Likewise.
24098 (_G_wint_t): Likewise.
24099 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24100 (_G_ssize_t): Likewise.
24101 (_G_off_t): Likewise.
24102 (_G_pid_t): Likewise.
24103 (_G_uid_t): Likewise.
24104 (_G_wchar_t): Likewise.
24105 (_G_wint_t): Likewise.
24106
9fab36eb
SP
241072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24108
24109 * malloc/arena.c: Include malloc-sysdep.h.
24110 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24111 is sufficient to shrink the heap or an unmap is needed.
24112 * sysdeps/generic/malloc-sysdep.h: New file. Define
24113 new function check_may_shrink_heap.
24114 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24115 new function check_may_shrink_heap.
24116
2b4f00d1
SP
241172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24118
24119 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24120 comments.
24121
9a9028b1
DL
241222012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24123
57c69bef
DL
24124 * catgets/test-gencat.sh: Add "set -e".
24125 * elf/tst-pathopt.sh: Likewise.
24126 * grp/tst_fgetgrent.sh: Likewise.
24127 * iconvdata/run-iconv-test.sh: Likewise.
24128 * intl/tst-gettext.sh: Likewise.
24129 * intl/tst-gettext2.sh: Likewise.
24130 * intl/tst-gettext4.sh: Likewise.
24131 * intl/tst-gettext6.sh: Likewise.
24132 * intl/tst-translit.sh: Likewise.
24133 * io/ftwtest-sh: Likewise.
24134 * libio/test-freopen.sh: Likewise.
24135 * malloc/tst-mtrace.sh: Likewise.
24136 * posix/globtest.sh: Likewise.
24137 * posix/tst-getconf.sh: Likewise.
24138 * posix/wordexp-tst.sh: Likewise.
24139 * stdio-common/tst-printf.sh: Likewise.
24140 * stdio-common/tst-unbputc.sh: Likewise.
24141 * stdlib/tst-fmtmsg.sh: Likewise.
24142 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24143 * catgets/Makefile: Do not specify -e option when running
24144 testsuite shell scripts.
24145 * elf/Makefile: Likewise.
24146 * grp/Makefile: Likewise.
24147 * iconvdata/Makefile: Likewise.
24148 * intl/Makefile: Likewise.
24149 * io/Makefile: Likewise.
24150 * libio/Makefile: Likewise.
24151 * malloc/Makefile: Likewise.
24152 * posix/Makefile: Likewise.
24153 * stdio-common/Makefile: Likewise.
24154 * stdlib/Makefile: Likewise.
24155 * sysdeps/x86_64/Makefile: Likewise.
24156
9a9028b1
DL
24157 * io/ftwtest-sh: Add copyright header.
24158 * posix/globtest.sh: Likewise.
24159 * posix/tst-getconf.sh: Likewise.
24160 * posix/wordexp-tst.sh: Likewise.
24161 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24162
ced6f16e
L
241632012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24164
94b32c39
L
24165 [BZ #13679]
24166 * Makeconfig (+link): Defined as $(+link-static) if
24167 $(build-shared) isn't yes.
24168 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24169 isn't yes.
24170 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24171
189e935b
L
24172 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24173
ced6f16e
L
24174 [BZ #14562]
24175 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24176 new chunk size with MALLOC_ALIGN_MASK.
24177
a9f8e53a
JM
241782012-09-24 Joseph Myers <joseph@codesourcery.com>
24179
24180 [BZ #5044]
24181 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24182 <rounding-mode.h>.
24183 (__printf_fphex): Determine rounding using get_rounding_mode and
24184 round_away.
24185 * stdio-common/tst-printf-round.c (struct hex_test): New
24186 structure.
24187 (hex_tests): New variable.
24188 (test_hex_in_one_mode): New function.
24189 (do_test): Also run tests for hex float output.
24190
43153109
JM
241912012-09-21 Joseph Myers <joseph@codesourcery.com>
24192
24193 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24194 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24195 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24196 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24197 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24198 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24199 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24200 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24201
8a26625d
JM
242022012-09-20 Joseph Myers <joseph@codesourcery.com>
24203
24204 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24205 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24206 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24207 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24208
f3fd569c
DL
242092012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24210
24211 [BZ #14579]
24212 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24213 mode only.
24214 * elf/tst-rtld-load-self.sh: New test.
24215 * elf/Makefile: Run it.
24216
63bbedd4
JM
242172012-09-18 Joseph Myers <joseph@codesourcery.com>
24218
24219 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24220 (tst-writev-ENV): Remove.
24221 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24222
626f8b6a
CM
242232012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24224
24225 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24226
b7aaa4d6
JM
242272012-09-17 Joseph Myers <joseph@codesourcery.com>
24228
24229 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24230 unconditional.
24231 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24232 Likewise.
24233 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24234 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24235 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24236 Likewise.
24237
65513990
L
242382012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24239
24240 [BZ #14587]
24241 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24242 * config.make.in (have-cpp-asm-debuginfo): Removed.
24243 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24244 * configure: Regenerated.
24245
784761be
JM
242462012-09-14 Joseph Myers <joseph@codesourcery.com>
24247
24248 [BZ #5044]
24249 * stdio-common/printf_fp.c: Include <stdbool.h> and
24250 <rounding-mode.h>.
24251 (___printf_fp): Determine rounding using get_rounding_mode and
24252 round_away.
24253 * stdio-common/tst-printf-round.c: New file.
24254 * stdio-common/Makefile (tests): Add tst-printf-round.
24255 (link-libm): New variable.
24256 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24257
9503345f
L
242582012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24259
24260 [BZ #14576]
24261 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24262 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24263 Likewise.
24264 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24265 Likewise.
24266
ad35fc00
JM
242672012-09-13 Joseph Myers <joseph@codesourcery.com>
24268
24269 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24270 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24271 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24272 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24273
6c9b0f68
JM
242742012-09-12 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #14518]
24277 * include/rounding-mode.h: New file.
24278 * sysdeps/generic/get-rounding-mode.h: Likewise.
24279 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24280 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24281 (MAX_VALUE): New macro.
24282 (MIN_VALUE): Likewise.
24283 (overflow_value): New function.
24284 (underflow_value): Likewise.
24285 (round_and_return): Use overflow_value and underflow_value to
24286 determine return values in overflow and underflow cases. Use
24287 round_away to determine rounding depending on rounding mode.
24288 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24289 determine return values in overflow and underflow cases.
24290 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24291 (struct test_results): New structure.
24292 (struct test): Use struct test_results to store expected results
24293 for all rounding modes.
24294 (TEST): Include expected results for all rounding modes.
24295 (test_in_one_mode): New function.
24296 (do_test): Use test_in_one_mode to compute and check results.
24297 Check results for all rounding modes.
24298 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24299 $(link-libm).
24300
19fcedd5
AM
243012012-12-09 Allan McRae <allan@archlinux.org>
24302
1e9d84cd 24303 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24304
8bbfd2f1
JM
243052012-09-11 Joseph Myers <joseph@codesourcery.com>
24306
24307 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24308 (_G_int32_t): Likewise.
24309 (_G_uint16_t): Likewise.
24310 (_G_uint32_t): Likewise.
24311 (_G_HAVE_BOOL): Likewise.
24312 (_G_HAVE_ATEXIT): Likewise.
24313 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24314 (_G_HAVE_IO_FILE_OPEN): Likewise.
24315 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24316 (_G_int32_t): Likewise.
24317 (_G_uint16_t): Likewise.
24318 (_G_uint32_t): Likewise.
24319 (_G_HAVE_BOOL): Likewise.
24320 (_G_HAVE_ATEXIT): Likewise.
24321 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24322 (_G_HAVE_IO_FILE_OPEN): Likewise.
24323 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24324 (_G_int32_t): Likewise.
24325 (_G_uint16_t): Likewise.
24326 (_G_uint32_t): Likewise.
24327 (_G_HAVE_BOOL): Likewise.
24328 (_G_HAVE_ATEXIT): Likewise.
24329 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24330 (_G_HAVE_IO_FILE_OPEN): Likewise.
24331
b1dc5912
L
243322012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24333
24334 * csu/libc-tls.c: Update copyright years.
24335
0e886ef9
JM
243362012-09-10 Joseph Myers <joseph@codesourcery.com>
24337
28361c5e
JM
24338 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24339 [!_G_USING_THUNKS]: Remove conditional code.
24340 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24341 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24342
0e886ef9
JM
24343 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24344 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24345 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24346 (_G_VTABLE_LABEL_PREFIX): Likewise.
24347 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24348 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24349 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24350 (_G_VTABLE_LABEL_PREFIX): Likewise.
24351 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24352 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24353 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24354 (_G_VTABLE_LABEL_PREFIX): Likewise.
24355 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24356
bcba7aa2
L
243572012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24358
24359 * libio/Makefile: Include ../Makeconfig before tests.
24360 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24361 only if $(build-shared) is yes.
24362
06585ee8
L
24363 * iconv/gconv_db.c: Update copyright years.
24364
80ccd52c
LD
243652012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24366
24367 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24368 unwind info if defined PIC. Fix special cases description.
24369 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24370
24371 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24372 DP_HI_MASK entry.
24373 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24374
691bc9c1
L
243752012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24376
3d9b46b3
L
24377 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24378
de2139a9
L
24379 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24380 is NULL.
24381
5ca78dd0
L
24382 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24383 (LDLIBS-tst-chk4): This.
24384 (LDFLAGS-tst-chk5): Renamed to ...
24385 (LDLIBS-tst-chk5): This.
24386 (LDFLAGS-tst-chk6): Renamed to ...
24387 (LDLIBS-tst-chk6): This.
24388 (LDFLAGS-tst-lfschk4): Renamed to ...
24389 (LDLIBS-tst-lfschk4): This.
24390 (LDFLAGS-tst-lfschk5): Renamed to ...
24391 (LDLIBS-tst-lfschk5): This.
24392 (LDFLAGS-tst-lfschk6): Renamed to ...
24393 (LDLIBS-tst-lfschk6): This.
24394
691bc9c1
L
24395 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24396 on $(common-objpfx)soversions.mk.
24397
65cafb1c
JM
243982012-09-07 Joseph Myers <joseph@codesourcery.com>
24399
24400 [BZ #10014]
24401 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24402 example host name.
24403
c78ab094
SP
244042012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24405
24406 * malloc/arena.c (arena_get_retry): New function that gets
24407 another arena for the caller to try its request on.
24408 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24409 current arena cannot fulfill the request.
24410 (__libc_memalign): Likewise.
24411 (__libc_memalign): Likewise.
24412 (__libc_pvalloc): Likewise.
24413 (__libc_calloc): Likewise.
24414
01f49f59
JT
244152012-09-05 John Tobey <john.tobey@gmail.com>
24416
24417 [BZ #13542]
24418 * manual/arith.texi (Operations on Complex): Fix description
24419 of carg branch cut.
24420
4c23fed5
JM
244212012-09-06 Joseph Myers <joseph@codesourcery.com>
24422
1d3c8572
JM
24423 [BZ #10014]
24424 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24425 host name.
24426
4c23fed5
JM
24427 [BZ #10038]
24428 * manual/memory.texi (Memory): Make order of menu items match
24429 order of sections.
24430
04570aaa
L
244312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24432
24433 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24434 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24435 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24436
b80af2f4
L
244372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24438
24439 * csu/libc-tls.c (static_dtv): Renamed to ...
24440 (_dl_static_dtv): This. Make it global.
24441 (_dl_initial_dtv): Removed.
24442 (__libc_setup_tls): Updated.
24443 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24444 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24445 DL_INITIAL_DTV.
24446
2abe9f15
PM
244472012-09-06 Petr Machata <pmachata@redhat.com>
24448
24449 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24450 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24451 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24452 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24453
0948c3af
L
244542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24455
24456 [BZ #14545]
24457 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24458 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24459 freeing dtv[-1].
24460
a5055ad1
L
244612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24462
24463 [BZ #14544]
24464 * Makeconfig (link-static-before-libc): Replace $(+prector)
24465 with $(+prectorT).
24466 (link-static-after-libc): Replace $(+postctor) with
24467 $(+postctorT).
24468 (link-bounded): Replace $(+prector)/$(+postctor) with
24469 $(+prectorT)/$(+postctorT).
24470 (+prectorT): New macro.
24471 (+postctorT): Likewise.
24472
ed8c2ecd
JM
244732012-09-06 Joseph Myers <joseph@codesourcery.com>
24474
24475 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24476 (round_str): Handle values above the maximum for IBM long double
24477 as inexact.
24478 * stdlib/tst-strtod-round.c (tests): Regenerated.
24479
14c996c8
AK
244802012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24481
24482 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24483 assembler flag.
24484 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24485 zarch_nohighgprs around the zarch optimized routines.
24486 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24487 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24489 for zarch.
24490
430d6ce6
DM
244912012-09-05 David S. Miller <davem@davemloft.net>
24492
24493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24494
57f41c40
AS
24495 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24496 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24497 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24499 entries.
24500
24d4e01b
AO
245012012-09-05 Alexandre Oliva <aoliva@redhat.com>
24502
24503 * malloc/arena.c: Fold copyright years.
24504 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24505
61d58174
AO
245062012-09-05 Alexandre Oliva <aoliva@redhat.com>
24507
24508 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24509
20196a5e
AO
245102012-09-05 Alexandre Oliva <aoliva@redhat.com>
24511
24512 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24513
5c447383
AO
245142012-09-05 Alexandre Oliva <aoliva@redhat.com>
24515
24516 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24517 change internal state upon failure.
24518
fad64255
AO
245192012-09-05 Alexandre Oliva <aoliva@redhat.com>
24520
24521 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24522 * malloc/memusage.c (mmap): Likewise.
24523 (mmap64, mremap): Likewise. Adjust name in comment.
24524
1ffb8c90
SP
245252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24526
24527 * libio/fileops.c: Fix typos in comments.
24528 * libio/oldfileops.c: Likewise.
24529 * libio/wfileops.c: Likewise.
24530
6ef9cc37
SP
245312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24532
24533 [BZ #1349]
24534 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24535 (tst-malloc-usable-ENV): Set environment for test case.
24536 * malloc/hooks.c (malloc_check_get_size): New function to get
24537 requested size.
24538 * malloc/malloc.c (musable): Use malloc_check_get_size.
24539 * malloc/tst-malloc-usable.c: New test case.
24540
4d038ae3
AS
245412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24542
24543 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24544
c4e85184
AM
245452012-09-05 Allan McRae <allan@archlinux.org>
24546
b9dafc56 24547 [BZ #13966]
c4e85184
AM
24548 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24549 determine header location.
24550 * configure: Regenerated.
24551
e1343020
AS
245522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24553
24554 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24555 float format.
24556 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24557 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24558 format.
e1343020
AS
24559 (test): Regenerate.
24560
0a9f1987
DM
245612012-09-04 David S. Miller <davem@davemloft.net>
24562
24563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24565 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24566
29237804
FW
245672012-09-04 Florian Weimer <fweimer@redhat.com>
24568
24569 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24570 failures.
24571
edb3cb88
FW
24572 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24573
60160d83
JM
245742012-09-04 Joseph Myers <joseph@codesourcery.com>
24575
24576 [BZ #9914]
24577 * libio/iogetdelim.c: Include <limits.h>.
24578 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24579 + len + 1 would overflow.
24580
bcd6c8dc
AJ
245812012-09-03 Andreas Jaeger <aj@suse.de>
24582
24583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24584 * sysdeps/i386/fpu/libm-test-ulps: Update.
24585
4ffffbd2
LD
245862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24587
24588 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24589 Add s_sinf-sse2, s_conf-sse2.
24590
24591 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24592 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24593 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24594 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24595
24596 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24597 for using routine as __sinf_ia32.
24598 Use macro for function declaration and weak_alias.
24599 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24600 for using routine as __cosf_ia32.
24601 Use macro for function declaration and weak_alias.
24602
24603 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24604 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24605
24606 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24607 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24609
24610 * math/libm-test.inc (cos_test): Add more test cases.
24611 (sin_test): Likewise.
24612 (sincos_test): Likewise.
24613
511fa286
AK
246142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24615
24616 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24617 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24618 hidden.
24619 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24620
5f30cfec
L
246212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24622
24623 [BZ #14538]
24624 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24625 first element of the GOT.
24626 (elf_machine_load_address): Return the difference between
24627 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24628
0786794f
AM
246292012-09-01 Allan McRae <allan@archlinux.org>
24630
5f30cfec
L
24631 [BZ #13412]
24632 * configure.in (AWK): Require gawk version 3.0 or later.
24633 * configure: Regenerated.
0786794f 24634
26889eac
JM
246352012-09-01 Joseph Myers <joseph@codesourcery.com>
24636
24637 * sysdeps/unix/sysv/linux/kernel-features.h
24638 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24639 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24640 [__NR_clock_getres]: Make code unconditional.
24641 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24642 (clock_getcpuclockid): Remove code left unreachable by removal of
24643 conditionals.
24644 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24645 code unconditional.
24646 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24647 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24648 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24649 Make code unconditional.
24650 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24651 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24652 * sysdeps/unix/sysv/linux/clock_settime.c
24653 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24654 conditional code.
24655 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24656 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24657
d22e28b0
L
246582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24659
24660 [BZ #14476]
24661 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24662 scripts/test-installation.pl.
24663
24664 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24665 and $ld_so_version if it is set.
24666
050af9c4
SP
246672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24668
24669 [BZ #14516]
24670 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24671 failure if reading from procfs failed.
24672 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24673
ad845c0b
JM
246742012-08-27 Joseph Myers <joseph@codesourcery.com>
24675
24676 * sysdeps/unix/sysv/linux/kernel-features.h
24677 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24678 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24679 Remove conditional code.
24680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24681 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24682 Remove conditional code.
24683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24684 * sysdeps/unix/sysv/linux/i386/fxstat.c
24685 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24687 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24688 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24690 * sysdeps/unix/sysv/linux/i386/lxstat.c
24691 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24693 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24694 Remove conditional code.
24695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24696 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24697 Remove conditional code.
24698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24699 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24700 <kernel-features.h>.
24701 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24702 Remove.
24703 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24704 Remove conditional code.
24705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24706 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24707 Remove conditional.
24708
5dbf56af
MF
247092012-08-27 Mike Frysinger <vapier@gentoo.org>
24710
24711 [BZ #5400]
24712 * NEWS: Add fixed bug number.
24713
d6e70f43
JM
247142012-08-27 Joseph Myers <joseph@codesourcery.com>
24715
7efb4737
JM
24716 [BZ #14519]
24717 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24718 underflowing exponent in case of negative sign.
24719 * stdlib/tst-strtod-round-data: Add more tests.
24720 * stdlib/tst-strtod-round.c (tests): Regenerated.
24721
af92131a
JM
24722 [BZ #3479]
24723 * stdlib/strtod_l.c (NDIG): Remove.
24724 (HEXNDIG): Likewise.
24725 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24726 smallest representable value.
24727 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24728 lie within an exact representation of 1/2 ulp of the result.
24729 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24730 unconditionally.
24731 (TENS_P9_IDX): Define unconditionally.
24732 (TENS_P9_SIZE): Likewise.
24733 (TENS_P10_IDX): Likewise.
24734 (TENS_P10_SIZE): Likewise.
24735 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24736 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24737 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24738 entries for 10^2^13 and 10^2^14.
24739 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24740 (TENS_P13_IDX): Define.
24741 (TENS_P13_SIZE): Likewise.
24742 (TENS_P14_IDX): Likewise.
24743 (TENS_P14_SIZE): Likewise.
24744 (_fpioconst_pow10): Change array size to
24745 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24746 unconditional.
24747 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24748 1024]: Add entries for 10^2^13 and 10^2^14.
24749 [LAST_POW10 > _LAST_POW10]: Remove #error.
24750 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24751 (_fpioconst_pow10): Change array size to
24752 FPIOCONST_POW10_ARRAY_SIZE.
24753 * stdlib/gen-fpioconst.c: New file.
24754 * stdlib/gen-tst-strtod-round.c: Likewise.
24755 * stdlib/tst-strtod-round-data: Likewise.
24756 * stdlib/tst-strtod-round.c: Likewise.
24757 * stdlib/Makefile (tests): Add tst-strtod-round.
24758
d6e70f43
JM
24759 [BZ #14459]
24760 * stdlib/strtod_l.c: Include <stdint.h>.
24761 (NDEBUG): Do not define.
24762 (round_and_return): Change EXPONENT parameter to type intmax_t.
24763 Rearrange calculations to avoid internal overflow possibilities.
24764 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24765 Rearrange calculations to avoid internal overflow possibilities.
24766 Assert that number fits inside MPNSIZE limbs.
24767 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24768 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24769 calculations and add assertions to avoid internal overflow
24770 possibilities. Add casts to avoid signed/unsigned operations.
24771 * stdlib/tst-strtod-overflow.c: New file.
24772 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24773
1f529f7d
MP
247742012-08-25 Marek Polacek <polacek@redhat.com>
24775
24776 * time/time.h: Fix some typos in comments.
24777
59a629f1
RM
247782012-08-23 Roland McGrath <roland@hack.frob.com>
24779
24780 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24781 * posix/tst-rfc3484-2.c: Likewise.
24782 * posix/tst-rfc3484-3.c: Likewise.
24783
d3bafbc9
SM
247842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24785
24786 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24787 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24788
4efcc022
JM
247892012-08-23 Joseph Myers <joseph@codesourcery.com>
24790
24791 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24792 #include of fxstatat64.c.
24793
3cc3ef96
RM
247942012-08-22 Roland McGrath <roland@hack.frob.com>
24795
f04e2132
RM
24796 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24797 * shadow/getspent_r.c: Likewise.
24798 * shadow/getspnam.c: Likewise.
24799 * shadow/getspnam_r.c: Likewise.
24800 * gshadow/getsgent.c: Likewise.
24801 * gshadow/getsgent_r.c: Likewise.
24802 * gshadow/getsgnam.c: Likewise.
24803 * gshadow/getsgnam_r.c: Likewise.
24804 * inet/getnetbyad.c: Likewise.
24805 * inet/getnetbyad_r.c: Likewise.
24806 * inet/getnetbynm.c: Likewise.
24807 * inet/getnetbynm_r.c: Likewise.
24808 * inet/getnetent.c: Likewise.
24809 * inet/getnetent_r.c: Likewise.
24810 * inet/getproto.c: Likewise.
24811 * inet/getproto_r.c: Likewise.
24812 * inet/getprtent.c: Likewise.
24813 * inet/getprtent_r.c: Likewise.
24814 * inet/getprtname.c: Likewise.
24815 * inet/getprtname_r.c: Likewise.
24816 * inet/getrpcbyname.c: Likewise.
24817 * inet/getrpcbyname_r.c: Likewise.
24818 * inet/getrpcbynumber.c: Likewise.
24819 * inet/getrpcbynumber_r.c: Likewise.
24820 * inet/getrpcent.c: Likewise.
24821 * inet/getrpcent_r.c: Likewise.
24822 * inet/getaliasent.c: Likewise.
24823 * inet/getaliasent_r.c: Likewise.
24824 * inet/getaliasname.c: Likewise.
24825 * inet/getaliasname_r.c: Likewise.
24826 * nscd/getgrgid_r.c: Likewise.
24827 * nscd/getgrnam_r.c: Likewise.
24828 * nscd/gethstbyad_r.c: Likewise.
24829 * nscd/gethstbynm3_r.c: Likewise.
24830 * nscd/getpwnam_r.c: Likewise.
24831 * nscd/getpwuid_r.c: Likewise.
24832 * nscd/getsrvbynm_r.c: Likewise.
24833 * nscd/getsrvbypt_r.c: Likewise.
24834 * nscd/gai.c: Likewise.
24835
c53d909c
RM
24836 * configure.in (build_nscd): New substituted variable, set
24837 by --disable-build-nscd and defaults to $use_nscd.
24838 * configure: Regenerated.
24839 * config.make.in (build-nscd): New substituted variable.
24840 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24841 Change conditional to require [$(build-nscd) = yes] as well.
24842 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24843
3cc3ef96
RM
24844 [BZ# 13696]
24845 * configure.in (use_nscd): New substituted variable, set by
24846 --disable-nscd. If enabled, define USE_NSCD.
24847 * configure: Regenerated.
24848 * config.h.in: Add USE_NSCD.
24849 * config.make.in (use-nscd): New substituted variable.
24850 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24851 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24852 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24853 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24854 (CFLAGS-getgrnam_r.c): Likewise.
24855 (CFLAGS-initgroups.c): Likewise.
24856 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24857 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24858 Variables removed.
24859 * inet/getnetgrent_r.c
24860 (nscd_setnetgrent): New function, broken out of ...
24861 (setnetgrent): ... here. Call it.
24862 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24863 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24864 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24865 * nscd/Makefile (routines, aux): Move definitions after include of
24866 Makeconfig. Conditionalize on [$(use-nscd) != no].
24867 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24868 Conditionalize on [USE_NSCD].
24869 (is_nscd, nscd_init_cb): Likewise.
24870 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24871 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24872 * nss/nss_db/db-init.c: Likewise.
24873 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24874 [USE_NSCD].
24875 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24876 (make_request): Use it.
24877 (cache_valid_p): New function.
24878 (__check_pf): Use it.
24879 * NEWS: Add item for --disable-nscd.
24880
07e51550
DL
248812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24882
24883 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24884 to support sed >= 4.2.1-20-ga9bf076.
24885 * configure: Regenerated.
24886
35a5b08b
RM
248872012-08-22 Roland McGrath <roland@hack.frob.com>
24888
24889 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24890 Conditionalize whole body on [IREL].
24891
8479f23a
JL
248922012-08-22 Jeff Law <law@redhat.com>
24893
24894 [BZ #14505]
24895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24896 if the family is PF_UNSPEC.
24897
48da0b21
MF
248982012-08-22 Mike Frysinger <vapier@gentoo.org>
24899
24900 * Makerules (lib-version): Rename from V.
24901 (install-lib-nosubdir): Change V to lib-version.
24902
15d0da8c
WS
249032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24904
24905 [BZ #14252]
24906 * powerpc32/power6/wcschr.c: New file.
24907 * powerpc32/power6/wcscpy.c: New file.
24908 * powerpc32/power6/wcsrchr.c: New file.
24909 * powerpc64/power6/wcschr.c: New file.
24910 * powerpc64/power6/wcscpy.c: New file.
24911 * powerpc64/power6/wcsrchr.c: New file.
24912
bcca0895
MK
249132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24914
24915 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24916 (two_way_short_needle): Use it.
5a4aaa33
RM
24917 * string/strstr.c (AVAILABLE1_USES_J): Define.
24918 * string/strcasestr.c: Likewise.
99677e57
MK
24919
24920 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24921 array references.
24922 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24923
400726de
MK
24924 [BZ #11607]
24925 * NEWS: Add an entry.
24926 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24927 define their defaults.
24928 (two_way_short_needle): Detect end-of-string on-the-fly.
24929 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24930 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24931 * string/bug-strcasestr1.c: New test.
24932 * string/Makefile: Run it.
24933
20a71f2c
MK
249342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24935
24936 [BZ #11607]
24937 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24938 the first character.
24939
21ad0558
RM
249402012-08-21 Roland McGrath <roland@hack.frob.com>
24941
24942 * csu/elf-init.c (__libc_csu_irel): Function removed.
24943 * csu/libc-start.c (apply_irel): New function.
24944 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24945
0e1d9911
JM
249462012-08-21 Joseph Myers <joseph@codesourcery.com>
24947
24948 * sysdeps/unix/sysv/linux/kernel-features.h
24949 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24950 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24951 <kernel-features.h>.
24952 [__NR_fadvise64_64]: Make code unconditional.
24953 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24954 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24955 !__NR_fadvise64_64)]: Likewise.
24956 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24957 !__NR_fadvise64_64))]: Likewise.
24958 [__NR_fadvise64]: Make code unconditional.
24959 [!__NR_fadvise64]: Remove conditional code.
24960 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24961 <kernel-features.h>.
24962 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24963 unconditional.
24964 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24965 conditional code.
24966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24967 not include <kernel-features.h>.
24968 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24969 unconditional.
24970 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24971 conditional code.
24972 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24973 include <kernel-features.h>.
24974 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24975 unconditional.
24976 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24977 conditional code.
24978
14a50c9d
WS
249792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24980
24981 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24982 slight instruction rearrangements per scrollpipe analysis.
24983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24984
c0f4faf0
RM
249852012-08-20 Roland McGrath <roland@hack.frob.com>
24986
696da859
RM
24987 * manual/syslog.texi (syslog; vsyslog, closelog):
24988 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24989 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24990
c0f4faf0
RM
24991 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24992 DSOCAPS to match condition on defining it.
24993
348363b2
JM
249942012-08-20 Joseph Myers <joseph@codesourcery.com>
24995
a35cbf28
JM
24996 * sysdeps/unix/sysv/linux/kernel-features.h
24997 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24999 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25000 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25002 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25003 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25005 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25006 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25007
445f7ecd
JM
25008 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25009 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25010
348363b2
JM
25011 * sysdeps/unix/sysv/linux/kernel-features.h
25012 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25013 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25014 unconditional.
25015 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25016 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25017 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25018 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25019 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25020 Make code unconditional.
25021 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25022 (__mmap64) [!__NR_mmap2]: Likewise.
25023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25024 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25025 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25026 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25027 [__NR_mmap2]: Make code unconditional.
25028 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25029 (__mmap64) [!__NR_mmap2]: Likewise.
25030
bc5bc0e5
AK
250312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25032
25033 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25034
88d506de
AJ
250352012-08-18 Andreas Jaeger <aj@suse.de>
25036
25037 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25038
493387d2
MF
250392012-08-18 Mike Frysinger <vapier@gentoo.org>
25040
25041 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25042 * include/unistd.h (__have_sock_cloexec): Likewise.
25043 (__have_pipe2): Likewise.
25044 (__have_dup3): Likewise.
25045
a277af22
MF
250462012-08-18 Mike Frysinger <vapier@gentoo.org>
25047
25048 [BZ #9685]
25049 * include/unistd.h (__have_pipe2): Change define into an extern int.
25050 (__have_dup3): Likewise.
25051 * socket/have_sock_cloexec.c: Include fcntl.h.
25052 (__have_pipe2): New variable.
25053 (__have_dup3): Likewise.
25054
fdab8fd3
MF
250552012-08-17 Mike Frysinger <vapier@gentoo.org>
25056
25057 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25058
31035e80
MP
250592012-08-17 Marek Polacek <polacek@redhat.com>
25060
25061 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25062 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25063
3bd9e993
RM
250642012-08-17 Roland McGrath <roland@hack.frob.com>
25065
c91c505f
RM
25066 * configure.in: Add AC_SUBST for sysheaders.
25067 * configure: Regenerated.
25068 * config.make.in (sysheaders): New substituted variable.
25069
7c6f9d53
RM
25070 * sysdeps/unix/mkfifo.c: Moved ...
25071 * sysdeps/posix/mkfifo.c: ... here.
25072 * sysdeps/unix/mkfifoat.c: Moved ...
25073 * sysdeps/posix/mkfifoat.c: ... here.
25074
25075 * sysdeps/unix/utime.c: Moved ...
25076 * sysdeps/posix/utime.c: ... here.
25077
25078 * sysdeps/unix/time.c: Moved ...
25079 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25080 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25081 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25082
25083 * sysdeps/unix/nice.c: Moved ...
25084 * sysdeps/posix/nice.c: ... here.
25085
25086 * sysdeps/unix/alarm.c: Moved ...
25087 * sysdeps/posix/alarm.c: ... here.
25088
3bd9e993
RM
25089 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25090
d1f09384
JL
250912012-08-17 Jeff Law <law@redhat.com>
25092
25093 * intl/Makefile (codeset_mo): New variable.
25094 ($(codeset_mo)): New target.
25095 (tst-codeset.out): Depend on that. Remove explicit rule.
25096 (tst-gettext3.out, tst-gettext5.out): Likewise.
25097 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25098 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25099 * intl/tst-codeset.sh: Remove.
25100 * intl/tst-gettext3.sh: Likewise.
25101 * intl/tst-gettext5.sh: Likewise.
25102
2ae1ae5c
RM
251032012-08-17 Roland McGrath <roland@hack.frob.com>
25104
c31fdb83
RM
25105 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25106 * sysdeps/unix/syscalls.list: ... here.
25107
a0844057
RM
25108 * sysdeps/posix/getaddrinfo.c
25109 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25110 (gaiconf_init, gaiconf_reload): Use them.
25111 [!_STATBUF_ST_NSEC]
25112 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25113 Define using time_t rather than struct timespec.
25114
750c1f2a
RM
25115 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25116 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25117 Macros removed.
25118 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25119 [!NO_THREADS].
25120 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25121 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25122 Likewise.
25123
2ae1ae5c
RM
25124 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25125 __libc_cleanup_push argument.
25126
e66a42f5
RM
25127 * bits/param.h: New file.
25128 * misc/sys/param.h: New file.
25129 * include/sys/param.h: New file.
25130 * misc/Makefile (headers): Add bits/param.h.
25131 * sysdeps/generic/sys/param.h: File removed.
25132 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25133 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25134 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25135 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25136
b7c08a66
RM
25137 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25138 last change.
25139
b2e1c562
RM
25140 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25141 [_IO_MTSAFE_IO].
25142 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25143 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25144 New macros.
25145
c75ccd4c
RM
25146 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25147 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25148 rather than -D_IO_MTSAFE_IO conditionally.
25149 * stdio-common/Makefile (CPPFLAGS): Likewise.
25150 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25151 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25152 Use $(libio-mtsafe).
25153 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25154 of -D_IO_MTSAFE_IO.
25155 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25156 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25157 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25158 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25159 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25160 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25161 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25162 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25163 (CFLAGS-fread_u_chk.c): Likewise.
25164 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25165 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25166 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25167 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25168 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25169 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25170 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25171 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25172 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25173
25174 * libio/Makefile: Test [$(libc-reentrant) = yes]
25175 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25176
25177 * Makeconfig
25178 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25179 * sysdeps/pthread/configure: File removed.
25180 * sysdeps/pthread/Makeconfig: New file.
25181 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25182 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25183
d9195db8
GB
251842012-08-16 Gary Benson <gbenson@redhat.com>
25185
25186 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25187 unmapping the first object in a namespace.
25188
86466cd9
RM
251892012-08-16 Roland McGrath <roland@hack.frob.com>
25190
25191 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25192 (__internal_setnetgrent): ... this. Add internal_function to
25193 definition. Add libc_hidden_def.
25194 (setnetgrent): Update caller.
25195 (internal_endnetgrent): Renamed to ...
25196 (__internal_endnetgrent): ... this. Add internal_function to
25197 definition. Add libc_hidden_def.
25198 (endnetgrent): Update caller.
25199 (internal_getnetgrent_r): Renamed to ...
25200 (__internal_getnetgrent_r): ... this. Add internal_function to
25201 definition. Add libc_hidden_def.
25202 (__getnetgrent_r): Update caller.
25203 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25204
c3c8283c
JM
252052012-08-16 Joseph Myers <joseph@codesourcery.com>
25206
25207 * stdlib/longlong.h: Update from GCC.
25208
db1ee0a8
RM
252092012-08-16 Roland McGrath <roland@hack.frob.com>
25210
25211 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25212 on _QL, which is set by umul_ppmm but never used.
25213 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25214 variables, which are set by GMP macros but never used.
25215 * stdio-common/_itowa.c (_itowa): Likewise.
25216 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25217 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25218
30f69637
CD
252192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25220
25221 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25222 struct La_sh_regs is not constant.
25223 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25224 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25225 and struct La_sparc64_regs are not constant.
25226
93a78ac4
JM
252272012-08-16 Joseph Myers <joseph@codesourcery.com>
25228
25229 * sysdeps/unix/sysv/linux/kernel-features.h
25230 (__ASSUME_POSIX_TIMERS): Remove.
25231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25233 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25234 Make code unconditional.
25235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25236 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25237 Make code unconditional.
25238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25239 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25240 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25242 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25243 Make code unconditional.
25244 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25245 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25246 (__libc_missing_posix_timers): Remove.
25247
dd924cd7
RM
252482012-08-15 Roland McGrath <roland@hack.frob.com>
25249
4b4f2771
RM
25250 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25251 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25252
601c888b
RM
25253 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25254
176790a7
RM
25255 * elf/dl-sym.c: Include <stdlib.h>.
25256
329bc018
RM
25257 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25258 constants, which avoids warnings in 32-bit builds.
25259
e04e272d
RM
25260 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25261 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25262
952bf94a
RM
25263 * misc/lseek.c: File moved to ...
25264 * io/lseek.c: ... here.
25265
7c99b50a
RM
25266 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25267
dd924cd7
RM
25268 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25269 shifting LEN more than 31 bits at once.
25270
b3f479a8
LD
252712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25272
25273 [BZ #14195]
8c4ae0d4
RM
25274 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25275 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25276 * string/test-strncasecmp.c (check1): Renamed to...
25277 (bz12205): ...this.
25278 (bz14195): Add new testcase for two empty input strings and N > 0.
25279 (test_main): Call new testcase, adapt for renamed function.
25280
9c55864e
AJ
252812012-08-15 Andreas Jaeger <aj@suse.de>
25282
25283 [BZ #14090]
25284 * crypt/md5test2.c: New test, based on test supplied by Serge
25285 Belyshev <belyshev@depni.sinp.msu.ru>.
25286 * crypt/Makefile (xtests): Add md5test-giant..
25287 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25288
02dcb6c5
PE
252892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25290
25291 [BZ #14090]
25292 * crypt/md5.c (md5_process_block): Don't assume the buffer
25293 length is less than 2**32.
25294 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25295 length is less than 2**64.
25296
a3f95dcc
RM
252972012-08-15 Roland McGrath <roland@hack.frob.com>
25298
be75d758
RM
25299 * string/str-two-way.h: Include <sys/param.h>.
25300 (MAX): Macro removed.
25301
7312ca90
RM
25302 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25303 Move #define and #undef of memmove to just before and after
25304 including <string.h>.
25305
9a0a5486
RM
25306 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25307 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25308 and after including <string.h>. Move declarations of
25309 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25310 to before #include "string/memmove.c".
25311
67cc348d
RM
25312 * include/dirent.h: Declare __getdirentries.
25313
a3f95dcc
RM
25314 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25315 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25316
ca98e171
MF
253172012-08-14 Mike Frysinger <vapier@gentoo.org>
25318
25319 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25320 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25321 * sysdeps/i386/configure: Regenerated.
25322 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25323 STABS_CURRENT_FILE, and STABS_FUN.
25324 (END): Remove call to STABS_FUN_END.
25325 (STABS_CURRENT_FILE1): Delete.
25326 (STABS_CURRENT_FILE): Likewise.
25327 (STABS_FUN): Likewise.
25328 (STABS_FUN_END): Likewise.
25329 (STABS_FUN2): Likewise.
25330 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25331 * sysdeps/x86_64/configure: Regenerated.
25332
5908bf46
RM
253332012-08-14 Roland McGrath <roland@hack.frob.com>
25334
25335 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25336 * elf/dl-lookup.c: Likewise.
5908bf46 25337
f2c05b9e
JM
253382012-08-14 Joseph Myers <joseph@codesourcery.com>
25339
25340 * sysdeps/unix/sysv/linux/kernel-features.h
25341 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25342 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25343 unconditionally.
25344 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25345 unconditionally.
25346 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25347 condition on __ASSUME_CLONE_THREAD_FLAGS.
25348
e11f5155
AJ
253492012-08-14 Andreas Jaeger <aj@suse.de>
25350
25351 * sysdeps/i386/fpu/libm-test-ulps: Update.
25352
51a9ba86
MK
253532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25354
2fdd4f78
AJ
25355 * include/atomic.h (atomic_exchange_and_add): Split into ...
25356 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25357 New atomic macros.
51a9ba86 25358
ba6cba9e
MT
253592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25360
25361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25362
42443a47
JL
253632012-08-13 Jeff Law <law@redhat.com>
25364
25365 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25366 null byte in the output string.
25367
121dce05
JM
253682012-08-10 Joseph Myers <joseph@codesourcery.com>
25369
25370 * sysdeps/unix/sysv/linux/kernel-features.h
25371 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25372 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25373 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25374 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25375 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25376 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25377 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25378
bf51f568
JL
253792012-08-09 Jeff Law <law@redhat.com>
25380
25381 [BZ #13939]
25382 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25383 When avoid_arena is set, don't retry in the that arena. Pick the
25384 next one, whatever it might be.
25385 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25386 (arena_lock): Pass in new parameter to arena_get2.
25387 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25388 arena_get2.
25389 (__libc_malloc): Unify retrying after main arena failure with
25390 __libc_memalign version.
25391 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25392
f85fa270
L
253932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25394
25395 [BZ #14166]
25396 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25397 to __redirect_strstr.
25398 (__strstr_sse42): Use typeof __redirect_strstr.
25399 (__strstr_ia32): Likewise.
25400 (__libc_strstr): New prototype.
25401 (strstr): Renamed to ...
25402 (__libc_strstr): This.
25403 (strstr): New strong alias of __libc_strstr.
25404 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25405 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25406 __redirect_time.
25407 Include <time.h>.
25408 (__libc_time): New prototype.
25409 (time_ifunc): Replace time with __libc_time.
25410 (time): New strong alias and hidden definition of __libc_time.
25411 (__GI_time): Remove strong alias.
25412 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25413 Include <stddef.h>.
25414 (memmove): Redefined to __redirect_memmove.
25415 (__memmove_sse2): Use typeof __redirect_memmove.
25416 (__memmove_ssse3): Likewise.
25417 (__memmove_ssse3_back): Likewise.
25418 (__libc_memmove): New prototype.
25419 (memmove): Renamed to ...
25420 (__libc_memmove): This.
25421 (memmove): New strong alias of __libc_memmove.
25422
33b4a91e
MS
254232012-08-08 Mark Salter <msalter@redhat.com>
25424
25425 * elf/elf.h
25426 (R_MN10300_TLS_GD): Define.
25427 (R_MN10300_TLS_LD): Likewise.
25428 (R_MN10300_TLS_LDO): Likewise.
25429 (R_MN10300_TLS_GOTIE): Likewise.
25430 (R_MN10300_TLS_IE): Likewise.
25431 (R_MN10300_TLS_LE): Likewise.
25432 (R_MN10300_TLS_DTPMOD): Likewise.
25433 (R_MN10300_TLS_DTPOFF): Likewise.
25434 (R_MN10300_TLS_TPOFF): Likewise.
25435 (R_MN10300_SYM_DIFF): Likewise.
25436 (R_MN10300_ALIGN): Likewise.
25437 (R_MN10300_NUM): Update.
25438
b36137f1
JM
254392012-08-08 Joseph Myers <joseph@codesourcery.com>
25440
25441 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25442 Remove.
25443
cdd915fd
RM
254442012-08-08 Roland McGrath <roland@hack.frob.com>
25445
a2433aac
RM
25446 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25447
cdd915fd
RM
25448 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25449 sysdeps/unix -> sysdeps/posix move.
25450 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25451
bf9b740a
AM
254522012-08-07 Allan McRae <allan@archlinux.org>
25453
25454 [BZ #14303]
25455 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25456 (SUNOS_CPP): Likewise.
25457 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25458 not found.
25459 (open_input): Call CPP using execvp.
25460
93df14ee
JM
254612012-08-07 Joseph Myers <joseph@codesourcery.com>
25462
25463 * sysdeps/unix/sysv/linux/kernel-features.h
25464 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25465 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25466 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25467 (__ASSUME_WAITID_SYSCALL): Likewise.
25468 * sysdeps/unix/sysv/linux/dl-execstack.c
25469 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25470 code unconditional.
25471 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25472 conditional code.
25473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25474 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25475 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25476 code.
25477 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25478 unconditional.
25479 [__ASSUME_WAITID_SYSCALL]: Likewise.
25480 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25481
d34689de
RM
254822012-08-07 Roland McGrath <roland@hack.frob.com>
25483
a281decc
RM
25484 * sysdeps/unix/closedir.c: Renamed to ...
25485 * sysdeps/posix/closedir.c: ... here.
25486 * sysdeps/unix/dirfd.c: Renamed to ...
25487 * sysdeps/posix/dirfd.c: ... here.
25488 * sysdeps/unix/dirstream.h: Renamed to ...
25489 * sysdeps/posix/dirstream.h: ... here.
25490 * sysdeps/unix/fdopendir.c: Renamed to ...
25491 * sysdeps/posix/fdopendir.c: ... here.
25492 * sysdeps/unix/opendir.c: Renamed to ...
25493 * sysdeps/posix/opendir.c: ... here.
25494 * sysdeps/unix/readdir.c: Renamed to ...
25495 * sysdeps/posix/readdir.c: ... here.
25496 * sysdeps/unix/readdir_r.c: Renamed to ...
25497 * sysdeps/posix/readdir_r.c: ... here.
25498 * sysdeps/unix/rewinddir.c: Renamed to ...
25499 * sysdeps/posix/rewinddir.c: ... here.
25500 * sysdeps/unix/seekdir.c: Renamed to ...
25501 * sysdeps/posix/seekdir.c: ... here.
25502 * sysdeps/unix/telldir.c: Renamed to ...
25503 * sysdeps/posix/telldir.c: ... here.
25504 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25505 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25506 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25507 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25508
22895b47
RM
25509 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25510 * bits/fcntl.h: ... here.
25511
707a53b6
RM
25512 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25513 not 0.
25514 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25515 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25516 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25517 (struct flock): Move l_start, l_len to the beginning.
25518 Use __pid_t for l_pid.
25519 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25520 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25521 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25522 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25523 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25524 [__USE_LARGEFILE64] (struct flock64): New type.
25525 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25526
f0bd3e25
RM
25527 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25528 * bits/dirent.h: ... here.
25529
d34689de
RM
25530 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25531 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25532
6dad2c06
JM
255332012-08-07 Joseph Myers <joseph@codesourcery.com>
25534
25535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25536 Change from 2.6.0 to 2.6.16.
25537 * sysdeps/unix/sysv/linux/configure: Regenerated.
25538 * sysdeps/unix/sysv/linux/kernel-features.h
25539 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25540 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25541 version.
25542 (__ASSUME_UTIMES): Likewise.
25543 (__ASSUME_CLONE_STOPPED): Remove.
25544 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25545 architectures, not kernel version.
25546 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25547 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25548 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25549 (__ASSUME_WAITID_SYSCALL): Likewise.
25550 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25551 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25552 * README: State 2.6.16 as minimum Linux kernel version. Do not
25553 refer to older versions.
25554
03af9520
RM
255552012-08-06 Roland McGrath <roland@hack.frob.com>
25556
8e49df1d
RM
25557 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25558 Define alphasort64 as an alias.
25559 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25560 Define versionsort64 as an alias.
25561 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25562 Define scandir64 as an alias.
25563 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25564 Define scandirat64 as an alias.
25565 * dirent/alphasort64.c (alphasort64):
25566 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25567 * dirent/versionsort64.c: Likewise.
25568 * dirent/scandir64.c: Likewise.
25569 * dirent/scandirat64.c: Likewise.
25570 * sysdeps/wordsize-64/alphasort.c: File removed.
25571 * sysdeps/wordsize-64/alphasort64.c: File removed.
25572 * sysdeps/wordsize-64/scandir.c: File removed.
25573 * sysdeps/wordsize-64/scandir64.c: File removed.
25574 * sysdeps/wordsize-64/scandirat.c: File removed.
25575 * sysdeps/wordsize-64/scandirat64.c: File removed.
25576 * sysdeps/wordsize-64/versionsort.c: File removed.
25577 * sysdeps/wordsize-64/versionsort64.c: File removed.
25578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25579 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25581 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25583 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25584 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25585 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25586
25587 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25589 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25591 [defined __arch64__ || defined __sparcv9]
25592 (__INO_T_MATCHES_INO64_T): New macro.
25593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25594 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25595 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25596 * sysdeps/unix/sysv/linux/bits/dirent.h
25597 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25598 (_DIRENT_MATCHES_DIRENT64): New macro.
25599
03af9520
RM
25600 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25601 Define lockf64 as an alias.
25602 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25603 Define fseeko64 as an alias.
25604 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25605 Define ftello64 as an alias.
25606 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25607 Define _IO_fgetpos64 and fgetpos64 as aliases.
25608 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25609 Define _IO_fsetpos64 and fsetpos64 as aliases.
25610 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25611 Conditionalize body on this.
25612 * libio/fseeko64.c: Likewise.
25613 * libio/ftello64.c: Likewise.
25614 * libio/iofgetpos64.c: Likewise.
25615 * libio/iofsetpos64.c: Likewise.
25616 * sysdeps/wordsize-64/lockf.c: File removed.
25617 * sysdeps/wordsize-64/lockf64.c: File removed.
25618 * sysdeps/wordsize-64/fseeko.c: File removed.
25619 * sysdeps/wordsize-64/fseeko64.c: File removed.
25620 * sysdeps/wordsize-64/ftello.c: File removed.
25621 * sysdeps/wordsize-64/ftello64.c: File removed.
25622 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25623 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25624 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25625 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25629 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25631 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25632 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25633 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25636
25637 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25639 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25641 [defined __arch64__ || defined __sparcv9]
25642 (__OFF_T_MATCHES_OFF64_T): New macro.
25643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25644 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25646 (__OFF_T_MATCHES_OFF64_T): New macro.
25647
c5757acd
L
256482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25649
25650 * stdlib/secure-getenv.c (__secure_getenv): Replace
25651 GLIBC_2_16 with GLIBC_2_17.
25652
3a31811e
L
256532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25654
25655 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25656 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25657
faa2bccb
DM
256582012-08-03 David S. Miller <davem@davemloft.net>
25659
25660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25661
85fe1997
JM
256622012-08-03 Joseph Myers <joseph@codesourcery.com>
25663
25664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25665 Remove.
25666 (__ASSUME_CORRECT_SI_PID): Likewise.
25667 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25668 (__ASSUME_TMPFS_NAME): Likewise.
25669 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25670 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25671 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25672 (HAVE_AUX_SECURE): Make definition unconditional.
25673 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25674 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25675
4f75b7a0
RM
256762012-08-03 Roland McGrath <roland@hack.frob.com>
25677
25678 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25679 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25680 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25681 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25682 __eloop_threshold instead of SYMLOOP_MAX.
25683
25684 * sysdeps/generic/eloop-threshold.h: New file.
25685 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25686 of MAXSYMLINKS.
25687 * elf/chroot_canon.c (chroot_canon): Likewise.
25688
7aab07e4
JM
256892012-08-03 Joseph Myers <joseph@codesourcery.com>
25690
25691 [BZ #13717]
25692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25693 Change to 2.6.0 everywhere.
25694 * sysdeps/unix/sysv/linux/configure: Regenerated.
25695 * sysdeps/unix/sysv/linux/kernel-features.h
25696 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25697 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25698 kernel versions.
25699 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25700 (__ASSUME_FUTEX_REQUEUE): Remove.
25701 (__ASSUME_STATFS64): Define unconditionally.
25702 (__ASSUME_AT_SECURE): Likewise.
25703 (__ASSUME_CORRECT_SI_PID): Likewise.
25704 (__ASSUME_TGKILL): Define without depending on kernel version for
25705 i386.
25706 (__ASSUME_UTIMES): Likewise.
25707 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25708 kernel version.
25709 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25710 (__ASSUME_TMPFS_NAME): Likewise.
25711 * README: Update reference to Linux kernel versions.
25712
b67e9372
MP
257132012-08-02 Marek Polacek <polacek@redhat.com>
25714
1f529f7d 25715 [BZ# 14150]
b67e9372
MP
25716 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25717 libc_cv_asm_type_prefix with %.
25718 * configure: Regenerated.
d2441631
RM
25719 * include/libc-symbols.h: Remove comment about
25720 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25721 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25722 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25723 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25724 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25725 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25726 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25727 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25728 * elf/tst-unique2mod1.c: Likewise.
25729 * elf/tst-unique1mod2.c: Likewise.
25730 * elf/tst-unique1mod1.c: Likewise.
25731 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25732 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25733 Replace ASM_TYPE_DIRECTIVE with .type.
25734 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25735 * sysdeps/i386/sysdep.h: Likewise.
25736 * sysdeps/x86_64/sysdep.h: Likewise.
25737 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25739 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25740 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25741 * sysdeps/powerpc/powerpc32/sysdep.h:
25742 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25743 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25744 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25745 * sysdeps/i386/fpu/e_powf.S: Likewise.
25746 * sysdeps/i386/fpu/e_expl.S: Likewise.
25747 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25748 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25749 * sysdeps/i386/fpu/e_pow.S: Likewise.
25750 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25752 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25753 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25754 * sysdeps/i386/fpu/e_log2.S: Likewise.
25755 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25757 * sysdeps/i386/fpu/e_powl.S: Likewise.
25758 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25759 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25760 * sysdeps/i386/fpu/e_logl.S: Likewise.
25761 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25762 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25763 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25764 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25766 * sysdeps/i386/fpu/e_log.S: Likewise.
25767 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25768 * sysdeps/i386/fpu/e_logf.S: Likewise.
25769 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25770 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25771 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25772 * sysdeps/i386/fpu/e_log10.S: Likewise.
25773 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25775 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25776 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25777 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25778 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25779 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25780 * sysdeps/i386/i686/strtok.S: Likewise.
25781 * sysdeps/i386/i386-mcount.S: Likewise.
25782 * sysdeps/i386/strtok.S: Likewise.
25783 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25784 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25785 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25786 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25787 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25788 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25789 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25790 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25791 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25792 * sysdeps/x86_64/_mcount.S: Likewise.
25793 * sysdeps/x86_64/strtok.S: Likewise.
25794 * sysdeps/sh/_mcount.S: Likewise.
25795
2747bf9a
RM
257962012-08-01 Roland McGrath <roland@hack.frob.com>
25797
25798 * libio/iofopen.c: Include <fcntl.h>.
25799 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25800 (_IO_fopen64, fopen64): Define as aliases.
25801 * libio/iofopen64.c: Include <fcntl.h>.
25802 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25803 Conditionalize body on this.
25804 * sysdeps/wordsize-64/iofopen.c: File removed.
25805 * sysdeps/wordsize-64/iofopen64.c: File removed.
25806
3fb791b8
MP
258072012-08-01 Marek Polacek <polacek@redhat.com>
25808
25809 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25810 Use dlfcn directly instead of a variable.
25811 (binfmt-subdir): Do not define.
25812 (dlfcn): Likewise.
25813
a9f1039f
JM
258142012-08-01 Joseph Myers <joseph@codesourcery.com>
25815
23bddc06
JM
25816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25817 Remove all definitions.
25818 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25819 <kernel-features.h>.
25820 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25821 (miss_F_GETOWN_EX): Remove all definitions.
25822 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25823 macro definition.
25824 [!__ASSUME_FCNTL64]: Remove conditional code.
25825 [__ASSUME_FCNTL64]: Make code unconditional.
25826 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25827 <kernel-features.h>.
25828 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25829 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25830 (lockf64) [__NR_fcntl64]: Make code unconditional.
25831 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25832
a9f1039f
JM
25833 * sysdeps/unix/sysv/linux/kernel-features.h
25834 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25835 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25836 Make code unconditional.
25837 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25838 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25840 [__NR_vfork]: Make code unconditional.
25841 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25842 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25844 [__NR_vfork]: Make code unconditional.
25845 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25846 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25847
09c0ee5f
RM
258482012-08-01 Roland McGrath <roland@hack.frob.com>
25849
48aec5b9
RM
25850 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25851 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25852
cd97c966
RM
25853 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25854 Define mkstemp64 as an alias.
3f55550c
RM
25855 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25856 Define mkstemps64 as an alias.
cd97c966
RM
25857 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25858 Define mkostemp64 as an alias.
b8625cfc
RM
25859 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25860 Define mkostemps64 as an alias.
cd97c966
RM
25861 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25862 Conditionalize body on this.
25863 * misc/mkostemp64.c: Likewise.
b8625cfc 25864 * misc/mkostemps64.c: Likewise.
3f55550c 25865 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25866 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25867 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25868 * sysdeps/wordsize-64/mkostemp.c: File removed.
25869 * sysdeps/wordsize-64/mkstemp.c: File removed.
25870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25871 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25872 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25873 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25874
09c0ee5f
RM
25875 [BZ #14138]
25876 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25877 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25878 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25879 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25880
25881 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25882 compat_symbol macros from <shlib-compat.h> rather than the underlying
25883 default_symbol_version and symbol_version macros, so that DEFAULT
25884 lines in shlib-versions are respected.
25885 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25886
7e66ee51
FW
258872012-08-01 Florian Weimer <fweimer@redhat.com>
25888
25889 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25890 Declare with warn_unused_result.
25891 (setgid, setregid, setegid, setresgid): Likewise.
25892 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25893 Likewise.
25894 * WUR-REPORT: Remove set*id functions.
25895
d2a54255
PT
258962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25897
25898 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25899
7ecdb005
RM
259002012-07-31 Roland McGrath <roland@hack.frob.com>
25901
b4180a5e 25902 [BZ #10191]
789bd351
RM
25903 * include/sys/socket.h (__libc_accept, __libc_accept4):
25904 Add attribute_hidden.
25905 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25906
40ce302d
RM
25907 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25908 use of PTR_MANGLE.
25909 * inet/getnetgrent_r.c (setup): Likewise.
25910
7ecdb005
RM
25911 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25912
e2eabb2c
DM
259132012-07-31 David S. Miller <davem@davemloft.net>
25914
25915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25916
d0419dbf
JM
259172012-07-31 Joseph Myers <joseph@codesourcery.com>
25918
25919 [BZ #13629]
25920 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25921 value between 1.0 and 2.0 and smaller part has absolute value less
25922 than 1.0.
25923 * math/s_clog10.c (__clog10): Likewise.
25924 * math/s_clog10f.c (__clog10f): Likewise.
25925 * math/s_clog10l.c (__clog10l): Likewise.
25926 * math/s_clogf.c (__clogf): Likewise.
25927 * math/s_clogl.c (__clogl): Likewise.
25928 * math/libm-test.inc (clog_test): Add more tests.
25929 (clog10_test): Likewise.
25930 * sysdeps/i386/fpu/libm-test-ulps: Update.
25931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25932
2bc13872
FW
259332012-07-31 Florian Weimer <fweimer@redhat.com>
25934
25935 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25936 Exit with zero in case no suitable GID is found, and write a
25937 message to standard error.
25938
bea9b193
RM
259392012-07-30 Roland McGrath <roland@hack.frob.com>
25940
25941 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25942 rather than to 1.
25943 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25944 (MAXPATHLEN): Removed.
25945 (NOGROUP, NODEV): New macros.
25946 (setbit, clrbit, isset, isclr): New macros.
25947 (howmany, roundup, powerof2): New macros.
25948 (DEV_BSIZE): New macro.
25949
25950 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25951 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25952
25953 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25954 definition on [!__NO_LONG_DOUBLE_MATH].
25955
25956 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25957 PTR_MANGLE and PTR_DEMANGLE.
25958
25959 * socket/accept4.c (accept4): Rename to __libc_accept4.
25960 Define accept4 as a weak alias.
25961
25962 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25963 on [_DIRENT_HAVE_D_TYPE].
25964 * io/ftw.c (ftw_dir): Likewise.
25965
25966 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25967
25968 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25969
25970 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25971 Use the BSD numbers rather than the arbitrary ones we had.
25972 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25973 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25974 (SIGXCPU, SIGXFSZ): New macros.
25975 (_NSIG): Now 32.
25976
25977 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25978 initializer on [_LIBC_REENTRANT].
25979
25980 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25981 definitions inside [_POSIX_MAPPED_FILES].
25982
25983 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25984
25985 * dirent/opendir.c: Include <fcntl.h>.
25986
25987 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25988 (__libc_getspecific): Likewise.
25989 (__libc_key_create): Likewise.
25990
25991 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25992 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25993 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25994 (tmpfile64): Define as alias.
25995 * sysdeps/wordsize-64/tmpfile.c: File removed.
25996 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25997 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25998 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25999
26000 * stdio-common/vfscanf.c: Include <stdbool.h>.
26001 * nss/makedb.c: Likewise.
26002 * stdio-common/_i18n_number.h: Likewise.
26003 * argp/argp-help.c: Likewise.
26004 * posix/wordexp.c: Likewise.
26005 * sysdeps/posix/spawni.c: Likewise.
26006 * nss/nss_files/files-initgroups.c: Likewise.
26007 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26008 * nss/nss_files/files-initgroups.c: Likewise.
26009 * nss/nss_db/db-netgrp.c: Likewise.
26010 * nss/nss_db/db-initgroups.c: Likewise.
26011 * io/fchmodat.c: Include <sys/stat.h>.
26012
26013 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26014 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26015
26016 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26017 [HAVE_MMAP].
26018
26019 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26020 Add multiple inclusion protection.
26021
e5abc686
DM
260222012-07-27 David S. Miller <davem@davemloft.net>
26023
26024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26025
815e6fa3
GB
260262012-07-27 Gary Benson <gbenson@redhat.com>
26027
26028 [BZ #14298]
26029 * elf/rtld.c: Include <stap-probe.h>.
26030 (dl_main): Added static probes "init_start" and "init_complete".
26031 * elf/dl-load.c: Include <stap-probe.h>.
26032 (lose): Take new parameter "nsid".
26033 Added static probe "map_failed".
26034 (_dl_map_object_from_fd): Pass namespace id to lose.
26035 Added static probe "map_start".
26036 (open_verify): Pass namespace id to lose.
26037 * elf/dl-open.c: Include <stap-probe.h>.
26038 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26039 and "reloc_complete".
26040 * elf/dl-close.c: Include <stap-probe.h>.
26041 (_dl_close_worker): Added static probes "unmap_start" and
26042 "unmap_complete".
26043 * elf/rtld-debugger-interface.txt: New file documenting the above.
26044
9f98c16c
RM
260452012-07-26 Roland McGrath <roland@hack.frob.com>
26046
26047 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26048 rather than a string variable.
26049 * sunrpc/rpc_main.c (h_output): Likewise.
26050 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26051
f3c22df3
PT
260522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26053
26054 * inet/check_native.c: New file.
26055
3129cfc6
JM
260562012-07-26 Joseph Myers <joseph@codesourcery.com>
26057
da865e95
JM
26058 [BZ #13629]
26059 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26060 if larger part has absolute value 1.0.
26061 * math/s_clog10.c (__clog10): Likewise.
26062 * math/s_clog10f.c (__clog10f): Likewise.
26063 * math/s_clog10l.c (__clog10l): Likewise.
26064 * math/s_clogf.c (__clogf): Likewise.
26065 * math/s_clogl.c (__clogl): Likewise.
26066 * math/libm-test.inc (clog_test): Add more tests.
26067 (clog10_test): Likewise.
26068 * sysdeps/i386/fpu/libm-test-ulps: Update.
26069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26070
3129cfc6
JM
26071 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26072 (pltexit): Likewise.
26073 (La_regs): Likewise.
26074 (La_retval): Likewise.
26075 (int_retval): Likewise.
26076 Update #error for removed macros to refer only to definitions in
26077 tst-audit.h.
26078 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26079 macro.
26080 (pltexit): Likewise.
26081 (La_regs): Likewise.
26082 (La_retval): Likewise.
26083 (int_retval): Likewise.
26084 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26085 macro.
26086 (pltexit): Likewise.
26087 (La_regs): Likewise.
26088 (La_retval): Likewise.
26089 (int_retval): Likewise.
26090 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26091 macro.
26092 (pltexit): Likewise.
26093 (La_regs): Likewise.
26094 (La_retval): Likewise.
26095 (int_retval): Likewise.
26096 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26097 macro.
26098 (pltexit): Likewise.
26099 (La_regs): Likewise.
26100 (La_retval): Likewise.
26101 (int_retval): Likewise.
26102 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26103 macro.
26104 (pltexit): Likewise.
26105 (La_regs): Likewise.
26106 (La_retval): Likewise.
26107 (int_retval): Likewise.
26108 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26109 macro.
26110 (pltexit): Likewise.
26111 (La_regs): Likewise.
26112 (La_retval): Likewise.
26113 (int_retval): Likewise.
26114 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26115 macro definitions in tst-audit.h.
26116 * sysdeps/i386/tst-audit.h: New file.
26117 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26118 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26119 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26120 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26121 * sysdeps/sh/tst-audit.h: Likewise.
26122 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26123 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26124 * sysdeps/x86_64/tst-audit.h: Likewise.
26125
bfc07087
AJ
261262012-07-26 Andreas Jaeger <aj@suse.de>
26127
b1b2aaf8
AJ
26128 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26129 ptrace.
26130
26131 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26132 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26133 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26134 PTRACE_O_MASK.
26135 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26136 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26137 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26138
bfc07087
AJ
26139 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26140 value.
26141
26142 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26143 _sigsys.
26144 (si_call_addr, si_syscall, si_arch): Define new macro.
26145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26146 _sigsys.
26147 (si_call_addr, si_syscall, si_arch): Define new marcro.
26148 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26149 _sigsys.
26150 (si_call_addr, si_syscall, si_arch): Define new macro.
26151 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26152 _sigsys.
26153 (si_call_addr, si_syscall, si_arch): Define new macro.
26154
89b4b02f
JM
261552012-07-25 Joseph Myers <joseph@codesourcery.com>
26156
26157 [BZ #13717]
26158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26159 Change to 2.4.21 where previously 2.4.1.
26160 * sysdeps/unix/sysv/linux/configure: Regenerated.
26161 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26162 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26163 Linux kernel version.
26164 (__ASSUME_STD_AUXV): Remove.
26165 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26166 kernel version.
26167 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26168 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26169 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26170 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26171 (__ASSUME_NETLINK_SUPPORT): Likewise.
26172 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26173 (__no_netlink_support): Remove conditional definition.
26174 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26175 Remove.
26176 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26177 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26178 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26179 (if_nameindex_ioctl): Remove.
26180 (if_nameindex_netlink): Do not handle __no_netlink_support.
26181 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26182 code.
26183 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26184 Remove conditional code.
26185 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26186 code.
26187 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26188 unconditional.
26189 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26190 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26191 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26192 Remove.
26193 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26194 [!__ASSUME_STD_AUXV]: Remove conditional code.
26195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26196 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26197 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26199 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26200 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26201 code.
26202 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26204 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26205 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26206 conditional code.
26207 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26209 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26210 code.
26211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26212 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26213 conditional code.
26214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26215 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26216 code unconditional.
26217 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26218 conditional code.
26219 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26220 unconditional.
26221 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26222 conditional code.
26223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26224 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26225 unconditional.
26226 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26227 conditional code.
26228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26229 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26230 code unconditional.
26231 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26232 conditional code.
26233 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26234 unconditional.
26235 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26236 conditional code.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26238 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26239 code unconditional.
26240 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26241 conditional code.
26242 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26243 unconditional.
26244 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26245 conditional code.
26246
842a39cd
AS
262472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26248
26249 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26250 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26251 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26252 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26253 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26254 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26255 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26256 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26257 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26258 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26259 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26260 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26261 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26262 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26263 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26264 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26265 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26266 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26267 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26269 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26270 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26272
84b3fd84
FW
262732012-07-25 Florian Weimer <fweimer@redhat.com>
26274
26275 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26276 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26277 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26278 Introduce __libc_secure_getenv.
0c7936d5
FW
26279 * stdlib/Versions (2.17): Add secure_getenv
26280 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26281 * stdlib/secure-getenv.c: Rename __secure_getenv to
26282 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26283 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26284 * stdlib/tst-secure-getenv.c: New.
26285 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26286 * manual/startup.texi (Environment Access): Document
26287 secure_getenv.
84b3fd84
FW
26288 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26289 __libc_secure_getenv.
26290 * inet/ruserpass.c (ruserpass): Likewise.
26291 * malloc/mtrace.c (mtrace): Likewise.
26292 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26293 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26294 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26295 * sysdeps/posix/tempname.c: Likewise. Evaluate
26296 HAVE_SECURE_GETENV.
26297 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26298 __secure_getenv to __libc_secure_getenv.
84b3fd84 26299 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26301 Likewise.
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26303 Likewise.
26304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26311
56e49b71
JM
263122012-07-25 Joseph Myers <joseph@codesourcery.com>
26313
26314 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26315 (struct La_i86_retval): Likewise.
26316 (struct La_x86_64_regs): Likewise.
26317 (struct La_x86_64_retval): Likewise.
26318 (struct La_x32_regs): Likewise.
26319 (struct La_x32_retval): Likewise.
26320 (struct La_ppc32_regs): Likewise.
26321 (struct La_ppc32_retval): Likewise.
26322 (struct La_ppc64_regs): Likewise.
26323 (struct La_ppc64_retval): Likewise.
26324 (struct La_sh_regs): Likewise.
26325 (struct La_sh_retval): Likewise.
26326 (struct La_s390_32_regs): Likewise.
26327 (struct La_s390_32_retval): Likewise.
26328 (struct La_s390_64_regs): Likewise.
26329 (struct La_s390_64_retval): Likewise.
26330 (struct La_sparc32_regs): Likewise.
26331 (struct La_sparc32_retval): Likewise.
26332 (struct La_sparc64_regs): Likewise.
26333 (struct La_sparc64_retval): Likewise.
26334 (struct audit_ifaces): Remove architecture-specific pltenter and
26335 pltexit members.
26336 * sysdeps/i386/ldsodefs.h: New file.
26337 * sysdeps/powerpc/ldsodefs.h: Likewise.
26338 * sysdeps/s390/ldsodefs.h: Likewise.
26339 * sysdeps/sh/ldsodefs.h: Likewise.
26340 * sysdeps/sparc/ldsodefs.h: Likewise.
26341 * sysdeps/x86_64/ldsodefs.h: Likewise.
26342
354691b7
MP
263432012-07-25 Marek Polacek <polacek@redhat.com>
26344
26345 [BZ #6808]
26346 * math/libm-test.inc (yn_test): Add another test.
26347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26348 to ERANGE when the result is +-Inf.
26349 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26350 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26351 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26352 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26353
bf9e2071
JM
263542012-07-24 Joseph Myers <joseph@codesourcery.com>
26355
26356 * conform/data/time.h-data (NULL): Use macro-constant. Require
26357 equal to 0.
26358 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26359 clock_t.
26360 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26361
57633811
TS
263622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26363
26364 * configure.in <sysdeps resolving>: Correct printing
26365 Implies_before.
26366 * configure: Regenerate.
26367
c23c33b0
TS
263682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26369
26370 * math/w_ilogb.c: Include <limits.h>.
26371 * math/w_ilogbl.c: Likewise.
26372
b5982523
JM
263732012-07-20 Joseph Myers <joseph@codesourcery.com>
26374
26375 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26376 va_copy. Document allowing for unavailable va_copy only as
26377 pre-C99 compatibility.
26378 * manual/string.texi (Copying and Concatenation): Use va_copy
26379 instead of __va_copy in concat example.
26380
ac4ea442
PT
263812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26382
26383 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26384 (__sendto): Use create_address_port. Initialize APORT and deallocate
26385 it if not null.
26386
f98eafbd
PT
26387 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26388 with O_NOLINK passed to __file_name_lookup.
26389
898c7aab
PT
26390 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26391 with O_NOLINK passed to __file_name_lookup.
26392
0ced335a
PT
26393 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26394 negative N or less than NGIDS.
26395
b3404dbd
PT
26396 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26397 type to string_t. Set ERANGE as errno and return it if NAME is not big
26398 enough. Use memcpy instead of strncpy.
26399
0f48659e
JM
264002012-07-20 Joseph Myers <joseph@codesourcery.com>
26401
26402 * elf/Makefile (check-data): Remove.
26403 (localplt.data): New vpath directive.
26404 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26405 instead of $(check-data).
26406 * scripts/data/localplt-generic.data: Move to ...
26407 * sysdeps/generic/localplt.data: ... here.
26408 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26409 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26410 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26412 ... here.
26413 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26415 ... here.
26416 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26418 ... here.
26419 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26421 ... here.
26422 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26424 ... here.
26425 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26427 ... here.
26428
d37cbdaa
AZ
264292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26430
26431 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26432 PPC32 and PPC64 files.
26433 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26434 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26435
46f85fc2
AK
264362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26437
26438 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26439 __makecontext_ret to ...
26440 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26441 ... here and call exit if uc_link is NULL. New file.
26442 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26443 __makecontext_ret.S.
26444 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26445 __makecontext_ret to ...
26446 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26447 ... here and call exit if uc_link is NULL. New file.
26448 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26449 __makecontext_ret.S.
26450
08f43f9b
AK
264512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26452
26453 * elf/elf.h (R_390_IRELATIVE): New definition.
26454 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26455 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26456 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26457 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26458 (elf_machine_lazy_rel): Likewise.
26459 * sysdeps/s390/dl-irel.h: New file.
26460 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26461 * sysdeps/s390/s390-64/memset.S: New asm code.
26462 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26463 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26464 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26465 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26466 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26467 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26468 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26469 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26470 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26471 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26472 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26473 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26474 * sysdeps/s390/s390-32/memset.S: New asm code.
26475 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26476
3b05db33
MP
264772012-07-17 Marek Polacek <polacek@redhat.com>
26478
26479 [BZ #14349]
26480 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26481 * sysdeps/s390/s390-64/configure.in: Likewise.
26482 * sysdeps/sparc/configure.in: Likewise.
26483 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26484 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26485 * sysdeps/i386/configure.in: Likewise.
26486 * sysdeps/x86_64/configure.in: Likewise.
26487 * sysdeps/sh/configure.in: Likewise.
26488 * sysdeps/s390/s390-32/configure: Regenerated.
26489 * sysdeps/s390/s390-64/configure: Likewise.
26490 * sysdeps/x86_64/configure: Likewise.
26491 * sysdeps/sh/configure: Likewise.
26492 * sysdeps/powerpc/powerpc64/configure: Likewise.
26493 * sysdeps/powerpc/powerpc32/configure: Likewise.
26494 * sysdeps/sparc/configure: Likwise.
26495 * sysdeps/i386/configure: Likewise.
26496
a66877c6
MP
26497 * elf/dl-open.c: Comment fixes.
26498
cfc82fd8
JM
264992012-07-17 Joseph Myers <joseph@codesourcery.com>
26500
bd29910a
JM
26501 * Makefile [CXX] (check-data): Remove.
26502 [CXX] (c++-types.data): New vpath directive.
26503 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26504 vpath. Do not allow for C++ type data being missing.
26505 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26506 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26507 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26508 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26509 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26510 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26511 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26513 ... here.
26514 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26516 ... here.
26517 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26519 ... here.
26520 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26522 ... here.
26523 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26525 ... here.
26526 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26528 ... here.
26529 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26531 ... here.
26532 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26534
cfc82fd8
JM
26535 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26536 definitions to architecture-specific files.
26537 (TLS_IE): Likewise.
26538 (TLS_LD): Likewise.
26539 (TLS_GD): Likewise.
26540 * sysdeps/i386/tls-macros.h: New file.
26541 * sysdeps/powerpc/tls-macros.h: Likewise.
26542 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26543 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26544 * sysdeps/sh/tls-macros.h: Likewise.
26545 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26546 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26547 * sysdeps/x86_64/tls-macros.h: Likewise.
26548
f7db3170
TS
265492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26550
07cbfc23
TS
26551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26552 zero value for regular exit case.
26553
f7db3170
TS
26554 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26555 (__start_context): Preserve zero value for regular exit case.
26556
dc97c227
TS
265572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26558 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26559
26560 * manual/setjmp.texi (setcontext): Clarify normal process
26561 termination when uc_link is the null pointer.
26562 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26563 exit call.
26564
d0cd7d02
AS
265652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26566
26567 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26568 preprocessor. Test for each exception mask separately.
26569
dd318934
AJ
265702012-07-16 Andreas Jaeger <aj@suse.de>
26571
26572 * po/ru.po: Update from translation team.
26573
8048311a
JM
265742012-07-15 Joseph Myers <joseph@codesourcery.com>
26575
26576 * conform/data/string.h-data (NULL): Use macro-constant. Require
26577 equal to 0.
26578 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26579 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26580 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26581 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26583
b637d46e
AJ
265842012-07-13 Andreas Jaeger <aj@suse.de>
26585
26586 * po/fr.po: Update from translation team.
26587
541428fe
MP
265882012-07-12 Marek Polacek <polacek@redhat.com>
26589
26590 [BZ #14173]
26591 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26592 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26593 loop condition.
26594
ec332e94
JM
265952012-07-12 Joseph Myers <joseph@codesourcery.com>
26596
26597 [BZ #13717]
26598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26599 Change to 2.4.1 where previously 2.4.0.
26600 * sysdeps/unix/sysv/linux/configure: Regenerated.
26601 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26602 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26603 version.
26604 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26605 (__ASSUME_AT_CLKTCK): Remove.
26606 (__ASSUME_AT_PAGESIZE): Likewise.
26607 (__ASSUME_AT_XID): Likewise.
26608 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26609 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26610 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26611 unconditionally.
26612 (HAVE_AUX_PAGESIZE): Likewise.
26613 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26614 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26615 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26616
7b6e99be
JB
266172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26618
26619 [BZ #14307]
26620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26621 the temporary buffer used to invoke __gethostbyname2_r,
26622 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26623 host_data / struct gaih_addrtuple.
26624 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26625 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26626 header file nss/nsswitch.h.
26627 * nss/nsswitch.h (global scope): Add definition of implementation
26628 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26629 resolv/nss_dns/dns-host.c).
26630
608404eb
AJ
266312012-07-11 Andreas Jaeger <aj@suse.de>
26632
26633 * po/fr.po: Update from translation team.
26634
71220aca
AJ
26635 * po/sv.po: Update from translation team
26636 * po/fr.po: Another update from translation team.
26637
28cfe843
AZ
266382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26639
26640 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26641 for subnormals or multiply small sinh result by itself.
26642 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26644
6b90f981
DM
266452012-07-11 David S. Miller <davem@davemloft.net>
26646
26647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26648
c6825772
AS
266492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26650
26651 [BZ #14347]
26652 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26653 (INTERNAL_MARK): Shift it here.
26654
7b8e0d49
MP
266552012-07-10 Marek Polacek <polacek@redhat.com>
26656
26657 [BZ #14151]
26658 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26659 libc_cv_asm_global_directive with .globl.
26660 * configure: Regenerated.
26661 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26662 with .globl.
26663 * sysdeps/i386/configure: Regenerated.
26664 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26665 with .globl.
26666 * sysdeps/x86_64/configure: Regenerated.
26667 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26668 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26669 * elf/tst-unique2mod2.c: Likewise.
26670 * elf/tst-unique2mod1.c: Likewise.
26671 * elf/tst-unique1mod2.c: Likewise.
26672 * elf/tst-unique1mod1.c: Likewise.
26673 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26674 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26675 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26676 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26677 * sysdeps/mach/sysdep.h: Likewise.
26678 * sysdeps/i386/sysdep.h: Likewise.
26679 * sysdeps/i386/i386-mcount.S: Likewise.
26680 * sysdeps/x86_64/_mcount.S: Likewise.
26681 * sysdeps/x86_64/sysdep.h: Likewise.
26682 * sysdeps/sh/_mcount.S: Likewise.
26683 * sysdeps/sh/sysdep.h: Likewise.
26684 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26685 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26686 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26687 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26688 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26689 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26690 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26691 * locale/localeinfo.h: Likewise.
26692 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26693 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26694
6c55cda3
RM
266952012-07-09 Roland McGrath <roland@hack.frob.com>
26696
26697 [BZ #14336]
26698 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26699 system".
26700 * manual/message.texi (The Uniforum approach): Likewise.
26701 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26702 (glibc iconv Implementation): Likewise.
26703
638a572e
JM
267042012-07-09 Joseph Myers <joseph@codesourcery.com>
26705
26706 [BZ #14337]
26707 * math/s_clog.c (__clog): Avoid scaling a value down where that
26708 could result in underflow.
26709 * math/s_clog10.c (__clog10): Likewise.
26710 * math/s_clog10f.c (__clog10f): Likewise.
26711 * math/s_clog10l.c (__clog10l): Likewise.
26712 * math/s_clogf.c (__clogf): Likewise.
26713 * math/s_clogl.c (__clogl): Likewise.
26714 * math/libm-test.inc (clog_test): Add more tests.
26715 (clog10_test): Likewise.
26716 * sysdeps/i386/fpu/libm-test-ulps: Update.
26717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26718
261f4859
AS
267192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26720
0abaf3e4
AS
26721 [BZ #14283]
26722 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26723 by 7 not 8 to examine high bit of fractional part.
26724
261f4859
AS
26725 [BZ #14042]
26726 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26727 for call to __mcount_internal.
26728 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26729 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26730 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26731
f17ac40d
JM
267322012-07-06 Joseph Myers <joseph@codesourcery.com>
26733
9ad63c23
JM
26734 [BZ #14154]
26735 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26736 approximation for values within 0x1p-13f of an odd multiple of
26737 pi/4.
26738 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26739 exception. Add more tests.
26740 * sysdeps/i386/fpu/libm-test-ulps: Update.
26741
f17ac40d
JM
26742 [BZ #6778]
26743 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26744 inputs and return -1 for them. Do not check for +Inf in case not
26745 reachable for +Inf.
26746 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26747 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26749 and return -1 for them. Do not check for +Inf in case not
26750 reachable for +Inf.
26751 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26752 define.
26753 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26754 and return -1 for them. Do not check for +Inf in case not
26755 reachable for +Inf.
26756 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26757 spurious underflow.
26758 * sysdeps/i386/fpu/libm-test-ulps: Update.
26759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26760
fb21f89b
MF
267612012-07-06 Mike Frysinger <vapier@gentoo.org>
26762
26763 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26764
cdfe2c5e
JM
267652012-07-05 Joseph Myers <joseph@codesourcery.com>
26766
26767 [BZ #14157]
26768 [BZ #14331]
26769 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26770 could result in spurious underflow. Scale down values above
26771 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26772 * math/s_csqrtf.c (__csqrtf): Likewise.
26773 * math/s_csqrtl.c (__csqrtl): Likewise.
26774 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26775 spurious underflow.
26776 * sysdeps/i386/fpu/libm-test-ulps: Update.
26777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26778
70d35b67
AS
267792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26780
704bc459
AS
26781 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26782 xopen-msg.sed.
26783 * catgets/xopen-msg.awk: New file.
26784 * catgets/xopen-msg.sed: Removed.
26785
70d35b67
AS
26786 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26787 po2text.sed.
26788 * intl/po2test.awk: New file.
26789 * intl/po2test.sed: Removed.
26790
ca61cf32
JM
267912012-07-04 Joseph Myers <joseph@codesourcery.com>
26792
26793 [BZ #14328]
26794 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26795 or multiply small sinh result by itself.
26796 * math/s_ctanf.c (__ctanf): Likewise.
26797 * math/s_ctanh.c (__ctanh): Likewise.
26798 * math/s_ctanhf.c (__ctanhf): Likewise.
26799 * math/s_ctanhl.c (__ctanhl): Likewise.
26800 * math/s_ctanl.c (__ctanl): Likewise.
26801 * math/libm-test.inc (ctan_test_tonearest): New function.
26802 (ctan_test_towardzero): Likewise.
26803 (ctan_test_downward): Likewise.
26804 (ctan_test_upward): Likewise.
26805 (ctanh_test_tonearest): Likewise.
26806 (ctanh_test_towardzero): Likewise.
26807 (ctanh_test_downward): Likewise.
26808 (ctanh_test_upward): Likewise.
26809 (main): Call these new functions.
26810 * sysdeps/i386/fpu/libm-test-ulps: Update.
26811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26812
ca48a46a
MF
268132012-07-03 Mike Frysinger <vapier@gentoo.org>
26814
26815 * .gitignore: Delete /ports entry.
26816
9d63d37d
AJ
268172012-07-03 Andreas Jaeger <aj@suse.de>
26818
26819 * po/bg.po: Update from translation team.
26820 * po/cs.po: Likewise.
26821 * po/de.po: Likewise.
26822 * po/hr.po: Likewise.
26823 * po/nl.pl: Likewise.
26824 * po/pl.po: Likewise.
26825 * po/vi.po: Likewise.
26826
370ca3d2
JM
268272012-07-03 Joseph Myers <joseph@codesourcery.com>
26828
95f5a9a8
JM
26829 * Makeconfig [!+link] (+link-before-libc): New variable.
26830 [!+link] (+link-after-libc): Likewise.
26831 [!+link] (+link-tests): Likewise.
26832 [!+link] (+link): Define in terms of $(+link-before-libc) and
26833 $(+link-after-libc).
26834 [!+link-static] (+link-static-before-libc): New variable.
26835 [!+link-static] (+link-static-after-libc): Likewise.
26836 [!+link-static] (+link-static-tests): Likewise.
26837 [!+link-static] (+link-static): Define in terms of
26838 $(+link-static-before-libc) and $(+link-static-after-libc).
26839 [build-shared] (link-libc-before-gnulib): New variable.
26840 [build-shared] (link-libc-tests): Likewise.
26841 [build-shared] (link-libc): Define in terms of
26842 $(link-libc-before-gnulib).
26843 [!build-shared] (link-libc-tests): New variable.
26844 (link-libc-static-tests): New variable.
26845 [!gnulib] (gnulib-arch): New variable.
26846 [!gnulib] (gnulib-tests): Likewise.
26847 [!gnulib] (static-gnulib-arch): Likewise.
26848 [!gnulib] (static-gnulib-tests): Likewise.
26849 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26850 Define with "=" instead of ":=".
26851 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26852 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26853 * Rules (binaries-all-notests): New variable.
26854 (binaries-all-tests): Likewise.
26855 (binaries-static-notests): Likewise.
26856 (binaries-static-tests): Likewise.
26857 (binaries-all): Define using $(binaries-all-notests) and
26858 $(binaries-all-tests).
26859 (binaries-static): Define using $(binaries-static-notests) and
26860 $(binaries-static-tests).
26861 (binaries-shared-tests): New variable.
26862 (binaries-shared-notests): Likewise.
26863 (binaries-shared): Remove variable.
26864 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26865 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26866 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26867 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26868 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26869 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26870 * elf/Makefile (sln-modules): New variable.
26871 (extra-objs): Add $(sln-modules:=.o).
26872 (ldconfig-modules): Add static-stubs.
26873 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26874 * elf/static-stubs.c: New file.
26875
7a845b2c
JM
26876 [BZ #14283]
26877 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26878 by 7 not 8 to examine high bit of fractional part. Use volatile
26879 variables when splitting into final array of floats if
26880 __FLT_EVAL_METHOD__ != 0.
26881 * math/libm-test.inc (cos_test): Add another test.
26882 (sin_test): Likewise.
26883 * sysdeps/i386/fpu/libm-test-ulps: Update.
26884
e2283f38
JM
26885 [BZ #14273]
26886 * math/libm-test.inc (cosh_test): Add more tests.
26887
370ca3d2
JM
26888 * version.h (RELEASE): Set to "development".
26889 (VERSION): Set to "2.16.90".
26890
ee9247c3
CD
268912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26892
26893 * NEWS: Update copyright. Remove last-updated date.
26894 Mention math library bug fixes and timezone data changes.
26895 * README: Mention GNU/Hurd, x32, and HPPA support status.
26896
4648c381
TS
268972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26898
26899 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26900
aac78a43
AJ
269012012-06-27 Andreas Jaeger <aj@suse.de>
26902
26903 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26904
ed3dbfad
AJ
269052012-06-25 Andreas Jaeger <aj@suse.de>
26906
26907 * sysdeps/s390/fpu/libm-test-ulps: Update.
26908
4d0ee855
AS
269092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26910 Thomas Schwinge <thomas@codesourcery.com>
26911
26912 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26913 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26915 fanotify_mark.
26916
af1bce34
TS
269172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26918
a9fa33ba
TS
26919 * sysdeps/mach/start.c: Remove file.
26920 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26921 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26922 * sysdeps/sh/init-first.c: Likewise.
26923
58f902b8
TS
26924 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26925 registers for frame unwinding purposes, add CFI directives.
26926 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26928 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26929 Likewise.
26930
1518f58b
TS
26931 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26932 __fortify_fail returning.
26933 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26934
db9b5059
TS
26935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26936 sysdeps/sh/____longjmp_chk.S.
26937 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26938 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26939 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26940 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26941
967705fe
TS
26942 * sysdeps/sh/abort-instr.h: New file.
26943 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26944 process in case exit returns.
26945
a9def8c4
TS
26946 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26947 initialize the GOT register before use.
26948
2a649725
TS
26949 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26950 calculation of ARGC > 4.
26951
af1bce34
TS
26952 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26953 meaningful names to some local labels.
26954
d230f50a
KK
269552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26956 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26957
26958 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26959 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26960 (__arch_compare_and_exchange_val_16_acq): Likewise.
26961 (__arch_compare_and_exchange_val_32_acq): Likewise.
26962 (atomic_exchange_and_add): Fix gUSA sequence.
26963 (atomic_add): Likewise.
26964 (atomic_add_negative): Likewise.
26965 (atomic_add_zero): Likewise.
26966 (atomic_bit_test_set): Likewise.
26967
0479b305
AS
269682012-06-22 Andreas Schwab <schwab@redhat.com>
26969
26970 [BZ #13579]
26971 * include/link.h (struct link_map): Add l_free_initfini.
26972 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26973 l_initfini.
26974 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26975 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26976 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26977 set.
26978
0e3933b9
CD
269792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26980
26981 * configure.in: Use AC_LANG_SOURCE.
26982 * configure: Regenerate.
26983
4248b1b1
RM
269842012-06-22 Roland McGrath <roland@hack.frob.com>
26985
26986 * configure.in (libc_cv_localstatedir): New substituted variable.
26987 * configure: Regenerated.
26988 * config.make.in (localstatedir): New variable, substituted from
26989 libc_cv_localstatedir.
26990 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26991 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26992 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26993 * sysdeps/gnu/configure: Regenerated.
26994
006dd861
JL
269952012-06-21 Jeff Law <law@redhat.com>
26996
26997 [BZ #14277]
26998 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26999 free. Simplify list management for _LIBC case.
27000
79662d42
JM
270012012-06-21 Joseph Myers <joseph@codesourcery.com>
27002
b7abb4bf
JM
27003 [BZ #14273]
27004 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27005 Clear sign bit of 64-bit integer value before comparing against
27006 overflow value.
27007
79662d42
JM
27008 * sysdeps/mach/configure: Regenerated.
27009
1f150908
L
270102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27011
27012 [BZ #14278]
27013 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27014
28363bbf
JL
270152012-06-21 Jeff Law <law@redhat.com>
27016
27017 [BZ #13882]
27018 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27019 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27020 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27021 * elf/dl-open.c (dl_open_worker): Likewise.
27022
09615db4
CD
270232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27024
27025 * scripts/list-sources.sh: Scan PORTS for translations.
27026 * po/libc.pot: Regenerated.
27027
2174c6dd
AJ
270282012-06-21 Andreas Jaeger <aj@suse.de>
27029
27030 [BZ #12194]
27031 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27032 warning.
27033 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27034 * bits/byteswap-16.h (__bswap_16): Likewise.
27035 * bits/byteswap.h (__bswap_constant_16): Likewise.
27036
3ee947b1
L
270372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 [BZ #14117]
a2f34833
L
27040 * sysdeps/i386/fpu_control.h: Removed.
27041 * sysdeps/x86_64/fpu_control.h: Moved to ...
27042 * sysdeps/x86/fpu_control.h: Here.
27043
3ee947b1
L
27044 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27045 (_FPU_SETCW): Likewise.
27046
ed1825f8
L
270472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27048
25f1282a
L
27049 [BZ #14117]
27050 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27051 * sysdeps/x86/fpu/bits/mathinline.h: This.
27052 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27053
ed1825f8
L
27054 [BZ #14050]
27055 [BZ #14117]
27056 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27057 functions if __x86_64__ is defined.
27058
36d54b74
CLT
270592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27060
27061 * string/endian.h: Add !__ASSEMBLER__ condition for including
27062 conversion interfaces.
27063
10285c21
JM
270642012-06-15 Joseph Myers <joseph@codesourcery.com>
27065
27066 [BZ #14241]
27067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27068 of ABS(x) in calculating zero to negative powers other than odd
27069 integers.
27070 * math/libm-test.inc (pow_test): Add more tests.
27071
06c5abbd
AJ
270722012-06-15 Andreas Jaeger <aj@suse.de>
27073
27074 * manual/contrib.texi (Contributors): Update entry of Liubov
27075 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27076 Machado Filho.
27077
a3aeac40
CH
270782012-06-15 Cyril Hrubis <metan@ucw.cz>
27079
27080 * string/string.h: Add __wur to GNU version of strerror_r.
27081
49bdf4c1
L
270822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 [BZ #14229]
27085 * string/Makefile (tests): Add tst-strtok_r.
27086 * string/tst-strtok_r.c: New file.
27087 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27088 RAX_LP/RDX_LP on SAVE_PTR.
27089
834f9b8d
RM
270902012-06-14 Roland McGrath <roland@hack.frob.com>
27091
27092 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27093
75fa1921
JM
270942012-06-14 Joseph Myers <joseph@codesourcery.com>
27095
27096 * libm_test.inc (csqrt_test): Allow more spurious underflow
27097 exceptions.
27098 (j0_test): Likewise.
27099 (j1_test): Likewise.
27100 (y0_test): Likewise.
27101 (y1_test): Likewise.
27102
771766df
CD
271032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27104
27105 * po/Makefile (libc.pot): Use UTF-8 charset.
27106
ceb9e56b
PP
271072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27108
27109 [BZ #14210]
27110 Suppress sign-conversion warning from FD_SET.
27111 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27112 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27113 not unsigned long int.
27114 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27115
ddb28975
L
271162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27117
27118 [BZ #14050]
27119 [BZ #14117]
27120 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27121 __extern_always_inline instead of __extern_inline.
27122 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27123 (__signbit): Likewise.
27124 (__signbitl): Support C++ namespace.
27125 (lrintf): New inline function.
27126 (lrint): Likewise.
27127 (llrintf): Likewise.
27128 (llrint): Likewise.
27129 (fmaxf): Likewise.
27130 (fmax): Likewise.
27131 (fminf): Likewise.
27132 (fmin): Likewise.
27133 (rint): Likewise.
27134 (rintf): Likewise.
27135 (ceil): Likewise.
27136 (ceilf): Likewise.
27137 (floor): Likewise.
27138 (floorf): Likewise.
27139 (nearbyint): Likewise.
27140 (nearbyintf): Likewise.
27141
d7b4fb26
TS
271422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27143
27144 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27145 non-default versions.
27146
eb55f5c2
RM
271472012-06-11 Roland McGrath <roland@hack.frob.com>
27148
27149 [BZ #14218]
27150 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27151
366af02c
TS
271522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27153
99ff6e5c
TS
27154 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27155 (FE_UPWARD, FE_DOWNWARD): Don't define.
27156 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27157 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27158
366af02c
TS
27159 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27160 reading it.
27161 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27162 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27163
793ea851
KK
271642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27165
27166 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27169 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27170
a728a38f
L
271712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27172
27173 [BZ #14117]
c08010c7
L
27174 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27175 * sysdeps/i386/fpu/Implies: New file.
27176 * sysdeps/x86_64/fpu/Implies: Likewise.
27177 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27178 * sysdeps/x86/fpu/bits/fenv.h: This.
27179
a728a38f
L
27180 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27181 __SSE_MATH__.
27182
6e230d11
SP
271832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27184
27185 [BZ #14134]
27186 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27187 character 0xffff that matches the last element of the
27188 conversion table.
27189
1b671feb
AZ
271902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27191
27192 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27193 fmodl commit.
27194
6043738b
AZ
271952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27196
27197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27198 values higher than 25.6283.
27199
34ae0b32
AZ
272002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27201
27202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27203 subnormal exponent extraction and add some __builtin_expect.
27204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27205 Fix for subnormal mantissa calculation.
27206
1214ec8f
MF
272072012-06-04 Mike Frysinger <vapier@gentoo.org>
27208
27209 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27210 cpu2 is -1 and errno is not ENOSYS.
27211
f3d1f93c
L
272122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27213
27214 [BZ #14117]
0e4a3cd7
L
27215 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27216 * sysdeps/x86/bits/string.h: This.
27217 * sysdeps/x86_64/bits/string.h: Removed.
27218
6704c645
L
27219 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27220 if not compiling for x86-64, but compiling for >= i486.
27221
48495318
L
27222 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27223 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27224
14adcbfc
L
27225 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27226 New macro from Linux kernel 3.4.0.
27227 (FP_XSTATE_MAGIC2): Likewise.
27228 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27229 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27230 (struct _fpx_sw_bytes): New struct.
27231 (struct _xsave_hdr): Likewise.
27232 (struct _ymmh_state): Likewise.
27233 (struct _xstate): Likewise.
27234
68e408ab
L
27235 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27236 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27238 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27240 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27241
f3d1f93c
L
27242 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27243 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27244 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27245 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27246 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27247 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27248
d9dc34cd
TMQMF
272492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27250
27251 [BZ #13743]
27252 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27253 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27254 (sysdep_headers): Include sys/platform/ppc.h.
27255 * sysdeps/powerpc/test-gettimebase.c: Test for
27256 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27257 * manual/Makefile (appendices): Include platform.texi.
27258 * manual/contrib.texi (Contributors): Update @node pointers.
27259 * manual/maint.texi (Maintenance): Likewise.
27260 (Platform): New node.
27261 * manual/platform.texi: New file. Document the new features.
27262
4af3879c
SP
272632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27264 Jakub Jelinek <jakub@redhat.com>
27265
27266 [BZ #14188]
27267 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27268 where __builtin_expect is unavailable.
27269
2fd6ff13
DM
272702012-06-03 David S. Miller <davem@davemloft.net>
27271
27272 * stdlib/longlong.h: Updated from GCC.
27273
173f7220
AS
272742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27275
27276 [BZ #14042]
27277 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27278 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27279 __mcount_internal.
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27281 (GLIBC_2.16): Likewise.
27282
f34a1c6f
L
272832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27284
27285 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27286
88a4576f
JM
272872012-06-01 Joseph Myers <joseph@codesourcery.com>
27288
ea32bcdd
JM
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27290 (default-abi): New variable.
27291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27292 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27293 variable.
27294 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27295 Likewise.
27296 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27297 Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27299 Likewise.
27300
88a4576f
JM
27301 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27302 definition. Document in comment.
27303
402fe938
DM
273042012-06-01 David S. Miller <davem@davemloft.net>
27305
27306 * stdlib/longlong.h: Updated from GCC.
27307
3553723f
L
273082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27309
27310 [BZ #14117]
3bd872c4
L
27311 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27312 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27313 sys/debugreg.h sys/io.h here.
27314 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27315 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27316 sys/io.h.
27317 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27318 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27319 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27320 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27321 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27322 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27323
3553723f
L
27324 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27325 Define only if __x86_64__ is defined.
27326
4842e4fe
JM
273272012-06-01 Joseph Myers <joseph@codesourcery.com>
27328
c5bfe3d5
JM
27329 [BZ #14048]
27330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27331 Use int64_t for variable i.
27332 * math/libm-test.inc (fmod_test): Add more tests.
27333
4842e4fe
JM
27334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27335 z computation is not scheduled after fetestexcept.
27336 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27337 Use math_force_eval instead of asm to ensure calculation scheduled
27338 before exception test.
27339 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27340 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27341
efb73488
AJ
273422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27343
27344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27345 computation is not scheduled after fetestexcept.
27346
29bcce7c
L
273472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27348
27349 [BZ #14117]
27350 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27351 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27352
73a68f94
AZ
273532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27354
27355 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27356 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27357
67b6df78
L
273582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27359
edf2933a 27360 [BZ #14117]
ebc64a18
L
27361 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27362 <bits/wordsize.h>.
27363 (__WCHAR_MIN): Support __WORDSIZE == 64.
27364 (__WCHAR_MAX): Likewise.
27365
edf2933a
L
27366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27368
57c6cf40
L
27369 [BZ #14183]
27370 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27371 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27372
67b6df78 27373 [BZ #14117]
8eb6281e
L
27374 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27375 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27376
aac639f4
L
27377 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27378 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27379
67b6df78
L
27380 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27381 Defined to 1 if __x86_64__ isn't defined.
27382 (_STAT_VER_LINUX_OLD): New.
27383 (st_atime): Remove duplicate.
27384 (st_mtime): Likewise.
27385 (st_ctime): Likewise.
27386
1c2cfe81
DM
273872012-05-31 David S. Miller <davem@davemloft.net>
27388
27389 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27390 entries.
27391
5be8418c
AS
273922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27393
e7725326
AS
27394 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27395 gen-libm-test.pl.
27396
5be8418c
AS
27397 [BZ #14132]
27398 * elf/dl-reloc.c: Include <_itoa.h>.
27399 (_dl_reloc_bad_type): Remove use of INTUSE.
27400 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27401 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27402 * stdio-common/psiginfo.c (psiginfo): Likewise.
27403 * stdio-common/psignal.c (psignal): Likewise.
27404 * string/strsignal.c (strsignal): Likewise.
27405 * include/signal.h (_sys_siglist): Declare hidden proto.
27406 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27407 INTVARDEF with libc_hidden_data_def.
27408 * stdio-common/itoa-udigits.c: Likewise.
27409 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27410 (_itoa_lower_digits_internal): Remove declaration.
27411 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27412 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27413 (_sys_sigabbrev_internal): Remove aliases.
27414 (_sys_siglist): Define hidden alias.
27415
507352f1
MT
274162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27417
27418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27419 bits/sysctl.h.
27420
42bbb1c3
L
274212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27422
27423 [BZ #14117]
6bd784b6
L
27424 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27425 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27426
8bca20f0
L
27427 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27428 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27429 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27430 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27432 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27433
f9e890a9
L
27434 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27435 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27436 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27437
471101a1
L
27438 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27439 with __addr.
27440 (insw): Likewise.
27441 (insl): Likewise.
27442 (outsb): Likewise.
27443 (outsw): Likewise.
27444 (outsl): Likewise.
27445
6451c862
L
27446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27447 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27448 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27449
a254b8c9
L
27450 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27451 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27452 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27453 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27454 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27455 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27456
b8dfdd92
L
27457 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27458 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27459
578cd270
L
27460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27461 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27462
de662f5f
L
27463 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27465 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27466
25653439
L
27467 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27468 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27469 to ...
27470 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27471
6bad24a0
L
27472 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27473 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27474 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27475
42bbb1c3
L
27476 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27477 for x86-64.
27478 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27479
2d10d547
JM
274802012-05-31 Joseph Myers <joseph@codesourcery.com>
27481
27482 * math/math.h (M_El): Use two more decimal places.
27483 (M_LOG2El): Likewise.
27484 (M_LOG10El): Likewise.
27485 (M_LN2l): Likewise.
27486 (M_LN10l): Likewise.
27487 (M_PIl): Likewise.
27488 (M_PI_2l): Likewise.
27489 (M_PI_4l): Likewise.
27490 (M_1_PIl): Likewise.
27491 (M_2_PIl): Likewise.
27492 (M_2_SQRTPIl): Likewise.
27493 (M_SQRT2l): Likewise.
27494 (M_SQRT1_2l): Likewise.
27495
f230c29b
DM
274962012-05-31 David S. Miller <davem@davemloft.net>
27497
27498 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27499 values between float registers.
27500 * sysdeps/sparc/sparc64/memset.S: Likewise.
27501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27502
fed806c3
MF
275032012-05-31 Mike Frysinger <vapier@gentoo.org>
27504
27505 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27506 -D_FORTIFY_SOURCE=1.
27507 (CPPFLAGS-tst-longjmp_chk.c): Define.
27508 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27509 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27510 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27511 CFLAGS-tst-wchar-h.c.
27512
30917259
MP
275132012-05-31 Marek Polacek <polacek@redhat.com>
27514
27515 [BZ #14132]
27516 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27517 __endmntent_internal): Remove declaration.
27518 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27519 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27520 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27521
1c58d5dc
DM
275222012-05-30 David S. Miller <davem@davemloft.net>
27523
27524 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27525 (___Q_simulate_exceptions): Use real FP ops rather than writing
27526 into the %fsr.
27527 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27528 Likewise.
27529
7dc00e0d
L
275302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27531
27532 [BZ #14117]
0bd53985
L
27533 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27534 * sysdeps/x86/bits/xtitypes.h: This.
27535
3a257e66
L
27536 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27537 * sysdeps/x86/bits/wordsize.h: This.
27538
62f62904
L
27539 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27540 * sysdeps/x86/bits/huge_vall.h: This.
27541
404fe9d9
L
27542 * sysdeps/i386/bits/select.h: Removed.
27543 * sysdeps/x86_64/bits/select.h: Renamed to ...
27544 * sysdeps/x86/bits/select.h: This.
27545
d48d0446
L
27546 * sysdeps/i386/bits/setjmp.h: Removed.
27547 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27548 * sysdeps/x86/bits/setjmp.h: This.
27549
7dc00e0d
L
27550 * sysdeps/i386/bits/mathdef.h: Removed.
27551 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27552 * sysdeps/x86/bits/mathdef.h: This.
27553
03277f8f
AS
275542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27555
27556 [BZ #14132]
27557 * include/sys/socket.h (__connect_internal)
27558 (__libc_sa_len_internal): Remove declaration.
27559 (__connect, __libc_sa_len): Declare hidden_proto.
27560 (SA_LEN): Remove use of INTUSE.
27561 * socket/connect.c: Add libc_hidden_def.
27562 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27563 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27564 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27565 alias.
27566 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27567 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27568 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27569 of adding _internal alias.
27570
13764867
L
275712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27572
27573 [BZ #14117]
6bd97696
L
27574 * sysdeps/i386/bits/link.h: Removed.
27575 * sysdeps/i386/bits/linkmap.h: Likewise.
27576 * sysdeps/x86_64/bits/link.h: Renamed to ...
27577 * sysdeps/x86/bits/link.h: This.
27578 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27579 * sysdeps/x86/bits/linkmap.h: This.
27580
f726f0bb
L
27581 * sysdeps/i386/bits/endian.h: Removed.
27582 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27583 * sysdeps/x86/bits/endian.h: This.
27584
13764867
L
27585 * sysdeps/i386/bits/byteswap.h: Removed.
27586 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27587 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27588 * sysdeps/x86/bits/byteswap.h: This.
27589 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27590 * sysdeps/x86/bits/byteswap-16.h: This.
27591 * sysdeps/i386/Implies: Add x86.
27592 * sysdeps/x86_64/Implies: Likewise.
27593
ae251b0b
DM
275942012-05-30 David S. Miller <davem@davemloft.net>
27595
27596 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27597 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27598 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27599 (FP_TRAPPING_EXCEPTIONS): Define.
27600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27601 (FP_TRAPPING_EXCEPTIONS): Define.
27602 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27603 subnormals only when inexact has been signalled or underflow
27604 exceptions are enabled.
27605 (_FP_PACK_CANONICAL): Likewise.
27606
d5c90867
L
276072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27608
27609 [BZ #14183]
27610 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27611 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27612
63f1549e
RH
276132012-05-30 Richard Henderson <rth@twiddle.net>
27614
8d8f2279
RH
27615 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27616 with #ifndef NOT_IN_libc.
27617
63f1549e
RH
27618 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27619 marked to avoid plt entry.
27620
0ab0291b
L
276212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27622
27623 [BZ #14112]
27624 * Makeconfig (default-abi): New macro.
27625 (abi-includes): Likewise.
27626 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27627 $(abi-$(default-abi)-lib-soname) for soname if defined.
27628 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27629 abi-variants.
27630 * Makefile (installed-stubs): Likewise.
27631 * include/stubs-biarch.h: Removed.
27632 * scripts/lib-names.awk: Only handle one library at a time.
27633 * scripts/soversions.awk: Remove WORDSIZE support.
27634 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27635 entries.
27636 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27637 Removed.
27638 (syscall-list-default-condition): Likewise.
27639 (syscall-list-default-condition): Likewise.
27640 (syscall-list-includes): Likewise.
27641 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27642 syscall-list-* with abi-*. Handle undefined abi-variants.
27643 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27644 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27645 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27646 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27647 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27648 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27649 Removed.
27650 (syscall-list-32-options): Likewise.
27651 (syscall-list-32-condition): Likewise.
27652 (syscall-list-64-options): Likewise.
27653 (syscall-list-64-condition): Likewise.
27654 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27655 macro.
27656 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27657 Renamed to ...
27658 (abi-*): This.
27659 (abi-64-ld-soname): New macro.
27660 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27661 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27662 Renamed to ...
27663 (abi-*): This.
27664 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27665 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27666
4da0431d
JM
276672012-05-30 Joseph Myers <joseph@codesourcery.com>
27668
3a85279c
JM
27669 * sysdeps/unix/sysv/linux/kernel-features.h
27670 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27671 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27672 include <kernel-features.h>.
27673 [!__NR_ftruncate64]: Remove conditional code.
27674 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27675 [__NR_ftruncate64]: Make code unconditional.
27676 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27677 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27678 include <kernel-features.h>.
27679 [!__NR_ftruncate64]: Remove conditional code.
27680 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27681 [__NR_ftruncate64]: Make code unconditional.
27682 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27684 include <kernel-features.h>.
27685 [!__NR_ftruncate64]: Remove conditional code.
27686 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27687 [__NR_ftruncate64]: Make code unconditional.
27688 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27690 include <kernel-features.h>.
27691 [!__NR_ftruncate64]: Remove conditional code.
27692 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27693 [__NR_ftruncate64]: Make code unconditional.
27694 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27695
4da0431d
JM
27696 * configure.in (libc_cv_fpie): Weaken to a compile test using
27697 LIBC_TRY_CC_OPTION.
27698 * configure: Regenerated.
27699
11ef492c
AK
277002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27701
27702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27706 Refreshed.
27707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27713 Refreshed.
27714
d66ef399
DM
277152012-05-27 David S. Miller <davem@davemloft.net>
27716
27717 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27718 (___Q_zero): New.
27719 (__Q_simulate_exceptions): Return void. Change to simulate
27720 exceptions by writing into the %fsr.
27721 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27722 (__Qp_handle_exceptions): Likewise.
27723 (numbers): Delete.
27724 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27725 __Qp_handle_exceptions.
27726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27727 __Qp_handle_exceptions.
27728 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27729 as unused and give dummy FP_RND_NEAREST initializer.
27730 (FP_INHIBIT_RESULTS): Define.
27731 (___Q_simulate_exceptions): Update declaration.
27732 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27733 formatting.
27734 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27735 as unused and give dummy FP_RND_NEAREST initializer.
27736 (__Qp_handle_exceptions): Update declaration.
27737 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27738 formatting.
27739
04fb54b5
TS
277402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27741
27742 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27743 the temporary FPU control word.
27744 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27745 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27746 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27747 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27748 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27749 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27750 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27751 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27752 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27753 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27754 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27755
3f99608f
KK
277562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27757
27758 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27759 fields.
27760
65a4de4e
CLT
277612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27762
27763 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27764 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27765 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27766 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27767 Likewise.
27768 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27769 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27770 Likewise.
27771
15749d40
UD
277722012-05-27 Ulrich Drepper <drepper@gmail.com>
27773
27774 * po/h.po: Update from translation team.
27775
25dbcb27
AS
277762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27777
3d3f8e55
AS
27778 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27779
25dbcb27
AS
27780 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27781 handling of denormals.
27782 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27783 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27784 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27785 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27789 Likewise.
27790
7ad47a80 277912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27792
27793 [BZ #14152]
27794 * math/libm-test.inc (fma_test): Don't always expect underflow
27795 exception.
27796
9c6ea9fa
SP
277972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27798
27799 [BZ #12416]
27800 * elf/tst-execstack.c: Include stackinfo.h.
27801 (do_test): Adjust test case to ensure that pthread_getattr_np
27802 behaviour remains the same after marking stack executable.
27803
a8239222
JM
278042012-05-25 Joseph Myers <joseph@codesourcery.com>
27805
27806 * sysdeps/unix/sysv/linux/kernel-features.h
27807 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27808 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27809 kernel-features.h.
27810 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27811 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27812 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27813 kernel-features.h.
27814 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27815 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27816
918b5606
L
278172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27818
27819 * configure.in: Define the default includes to being none.
27820 * configure: Regenerated.
27821
3a097cc7
RM
278222012-05-25 Roland McGrath <roland@hack.frob.com>
27823
8422c9a5
RM
27824 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27825 * sysdeps/x86_64/setjmp.S: Likewise.
27826 * sysdeps/i386/bsd-setjmp.S: Likewise.
27827 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27828 * sysdeps/i386/setjmp.S: Likewise.
27829 * sysdeps/i386/__longjmp.S: Likewise.
27830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27831 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27832
3a097cc7
RM
27833 * include/stap-probe.h: New file.
27834 * configure.in: Handle --enable-systemtap.
27835 * configure: Regenerated.
27836 * config.h.in (USE_STAP_PROBE): New #undef.
27837 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27838 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27839 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27840
21708942
JM
278412012-05-25 Joseph Myers <joseph@codesourcery.com>
27842
27843 [BZ #13717]
27844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27845 to 2.4.0 where earlier.
27846 * sysdeps/unix/sysv/linux/configure: Regenerated.
27847 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27848 <kernel-features.h>.
27849 [__ASSUME_32BITUIDS]: Make code unconditional.
27850 [!__ASSUME_32BITUIDS]: Remove conditional code.
27851 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27852 <kernel-features.h>.
27853 [__ASSUME_32BITUIDS]: Make code unconditional.
27854 [!__ASSUME_32BITUIDS]: Remove conditional code.
27855 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27856 [__ASSUME_32BITUIDS]: Make code unconditional.
27857 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27858 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27859 <kernel-features.h>.
27860 [__ASSUME_32BITUIDS]: Make code unconditional.
27861 [!__ASSUME_32BITUIDS]: Remove conditional code.
27862 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27863 <kernel-features.h>.
27864 [__ASSUME_32BITUIDS]: Make code unconditional.
27865 [!__ASSUME_32BITUIDS]: Remove conditional code.
27866 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27867 <kernel-features.h>.
27868 [__ASSUME_32BITUIDS]: Make code unconditional.
27869 [!__ASSUME_32BITUIDS]: Remove conditional code.
27870 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27871 <kernel-features.h>.
27872 [__ASSUME_32BITUIDS]: Make code unconditional.
27873 [!__ASSUME_32BITUIDS]: Remove conditional code.
27874 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27875 <kernel-features.h>.
27876 [__ASSUME_32BITUIDS]: Make code unconditional.
27877 [!__ASSUME_32BITUIDS]: Remove conditional code.
27878 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27879 <kernel-features.h>.
27880 [__ASSUME_32BITUIDS]: Make code unconditional.
27881 [!__ASSUME_32BITUIDS]: Remove conditional code.
27882 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27883 <kernel-features.h>.
27884 [__ASSUME_32BITUIDS]: Make code unconditional.
27885 [!__ASSUME_32BITUIDS]: Remove conditional code.
27886 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27887 <kernel-features.h>.
27888 [__ASSUME_32BITUIDS]: Make code unconditional.
27889 [!__ASSUME_32BITUIDS]: Remove conditional code.
27890 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27891 <kernel-features.h>.
27892 [__ASSUME_32BITUIDS]: Make code unconditional.
27893 [!__ASSUME_32BITUIDS]: Remove conditional code.
27894 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27895 <kernel-features.h>.
27896 [__ASSUME_32BITUIDS]: Make code unconditional.
27897 [!__ASSUME_32BITUIDS]: Remove conditional code.
27898 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27899 <kernel-features.h>.
27900 [__NR_setresgid] (__setresgid): Do not declare.
27901 [__ASSUME_32BITUIDS]: Make code unconditional.
27902 [!__ASSUME_32BITUIDS]: Remove conditional code.
27903 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27904 <kernel-features.h>.
27905 [__NR_setresuid] (__setresuid): Do not declare.
27906 [__ASSUME_32BITUIDS]: Make code unconditional.
27907 [!__ASSUME_32BITUIDS]: Remove conditional code.
27908 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27909 <kernel-features.h>.
27910 [__ASSUME_32BITUIDS]: Make code unconditional.
27911 [!__ASSUME_32BITUIDS]: Remove conditional code.
27912 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27913 <kernel-features.h>.
27914 [__ASSUME_32BITUIDS]: Make code unconditional.
27915 [!__ASSUME_32BITUIDS]: Remove conditional code.
27916 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27917 <kernel-features.h>.
27918 [__ASSUME_32BITUIDS]: Make code unconditional.
27919 [!__ASSUME_32BITUIDS]: Remove conditional code.
27920 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27921 <kernel-features.h>.
27922 [__ASSUME_32BITUIDS]: Make code unconditional.
27923 [!__ASSUME_32BITUIDS]: Remove conditional code.
27924 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27925 <kernel-features.h>.
27926 [__ASSUME_32BITUIDS]: Make code unconditional.
27927 [!__ASSUME_32BITUIDS]: Remove conditional code.
27928 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27929 <kernel-features.h>.
27930 [__ASSUME_32BITUIDS]: Make code unconditional.
27931 [!__ASSUME_32BITUIDS]: Remove conditional code.
27932 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27933 <kernel-features.h>.
27934 [__ASSUME_32BITUIDS]: Make code unconditional.
27935 [!__ASSUME_32BITUIDS]: Remove conditional code.
27936 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27937 <kernel-features.h>.
27938 [__ASSUME_32BITUIDS]: Make code unconditional.
27939 [!__ASSUME_32BITUIDS]: Remove conditional code.
27940 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27941 <kernel-features.h>.
27942 [__ASSUME_32BITUIDS]: Make code unconditional.
27943 [!__ASSUME_32BITUIDS]: Remove conditional code.
27944 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27945 <kernel-features.h>.
27946 [__ASSUME_32BITUIDS]: Make code unconditional.
27947 [!__ASSUME_32BITUIDS]: Remove conditional code.
27948 * sysdeps/unix/sysv/linux/kernel-features.h
27949 (__ASSUME_SETRESUID_SYSCALL): Remove.
27950 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27951 (__ASSUME_32BITUIDS): Likewise.
27952 (__ASSUME_LDT_WORKS): Likewise.
27953 (__ASSUME_O_DIRECTORY): Likewise.
27954 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27955 architecture but not kernel version.
27956 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27957 (__ASSUME_MMAP2_SYSCALL): Likewise.
27958 (__ASSUME_STAT64_SYSCALL): Likewise.
27959 (__ASSUME_IPC64): Likewise.
27960 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27961 <kernel-features.h>.
27962 [__ASSUME_32BITUIDS]: Make code unconditional.
27963 [!__ASSUME_32BITUIDS]: Remove conditional code.
27964 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27965 <kernel-features.h>.
27966 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27967 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27968 132096]: Remove conditional code.
27969 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27970 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27971 <kernel-features.h>.
27972 [__ASSUME_32BITUIDS]: Make code unconditional.
27973 [!__ASSUME_32BITUIDS]: Remove conditional code.
27974 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27975 <kernel-features.h>.
27976 [__ASSUME_32BITUIDS]: Make code unconditional.
27977 [!__ASSUME_32BITUIDS]: Remove conditional code.
27978 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27979 <kernel-features.h>.
27980 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27981 unconditional.
27982 (__setresgid): Do not declare.
27983 [__ASSUME_32BITUIDS]: Make code unconditional.
27984 [!__ASSUME_32BITUIDS]: Remove conditional code.
27985 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27986 <kernel-features.h>.
27987 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27988 unconditional.
27989 (__setresuid): Do not declare.
27990 [__ASSUME_32BITUIDS]: Make code unconditional.
27991 [!__ASSUME_32BITUIDS]: Remove conditional code.
27992 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27993 <kernel-features.h>.
27994 [__ASSUME_32BITUIDS]: Make code unconditional.
27995 [!__ASSUME_32BITUIDS]: Remove conditional code.
27996 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27997 <kernel-features.h>.
27998 [__ASSUME_32BITUIDS]: Make code unconditional.
27999 [!__ASSUME_32BITUIDS]: Remove conditional code.
28000
a386f1cc
RH
280012012-05-25 Richard Henderson <rth@twiddle.net>
28002
28003 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28004 dl_hwcap to ifunc resolver.
28005 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28006 elf_ifunc_invoke.
28007 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28008 dl_hwcap to ifunc resolver.
28009 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28010
b6550497
JM
280112012-05-24 Joseph Myers <joseph@codesourcery.com>
28012
28013 [BZ #14153]
28014 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28015 for |x| <= 2**-26, not 2**-57.
28016 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28017 exception.
28018
b0bc23a1
JL
280192012-05-24 Jeff Law <law@redhat.com>
28020
28021 * stdio-common/Makefile (tests): Add bug25.
28022 * stdio-common/bug25.c: New test.
28023
347c92e9
L
280242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28025
28026 [BZ #13576]
28027 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28028 multiple of MALLOC_ALIGNMENT in size.
28029 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28030
6bcc8b3f
JM
280312012-05-24 Joseph Myers <joseph@codesourcery.com>
28032
28033 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28034 Require >= 256.
28035 (FILENAME_MAX): Use macro-int-constant.
28036 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28037 (_IOFBF): Use macro-int-constant.
28038 (_IOLBF): Likewise.
28039 (_IONBF): Likewise.
28040 (SEEK_CUR): Likewise.
28041 (SEEK_END): Likewise.
28042 (SEEK_SET): Likewise.
28043 (TMP_MAX): Likewise.
28044 (EOF): Use macro-int-constant. Require < 0.
28045 (NULL): Use macro-constant. Require == 0.
28046 (stdin): Require type to be FILE *.
28047 (stdout): Likewise.
28048 (stderr): Likewise.
28049 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28050 macro-int-constant.
28051 (EXIT_SUCCESS): Likewise.
28052 (NULL): Use macro-constant. Require == 0.
28053 (RAND_MAX): Use macro-int-constant.
28054 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28055 [C99-based standards] (strtof): Require function.
28056 [C99-based standards] (strtold): Likewise.
28057 [C99-based standards] (strtoll): Likewise.
28058 [C99-based standards] (strtoull): Likewise.
28059 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28060 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28061 [ISO || ISO99 || ISO11] (math.h): Likewise.
28062 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28063 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28065
d18ea0c5
AS
280662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28067
28068 [BZ #14132]
56d25bb8
AS
28069 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28070 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28071 * intl/dgettext.c (DCGETTEXT): Likewise.
28072 * intl/gettext.c (DCGETTEXT): Likewise.
28073 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28074 * posix/regex_internal.h (gettext): Likewise.
28075 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28076 Remove declaration.
28077 * include/argz.h (__argz_count_internal)
28078 (__argz_stringify_internal): Remove declaration.
28079 (__argz_count, __argz_stringify): Declare hidden proto.
28080 * intl/dcgettext.c: Remove use of INTDEF.
28081 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28082 * string/argz-stringify.c: Likewise.
28083 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28084 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28085 Declare hidden proto.
d18ea0c5
AS
28086 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28087 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28088 Declare hidden proto.
28089 * include/stdio.h (__asprintf_internal): Don't declare.
28090 (__asprintf): Don't define as macro. Declare hidden proto.
28091 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28092 (__fsetlocking): Declare hidden proto.
28093 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28094 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28095 hidden proto.
28096 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28097 (_IO_setlinebuf): Remove use of INTUSE.
28098 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28099 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28100 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28101 Remove declaration.
28102 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28103 (_IO_do_flush): Remove use of INTUSE.
28104 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28105 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28106 (_IO_adjust_column, _IO_least_wmarker)
28107 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28108 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28109 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28110 (_IO_default_doallocate, _IO_wdefault_doallocate)
28111 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28112 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28113 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28114 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28115 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28116 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28117 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28118 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28119 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28120 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28121 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28122 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28123 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28124 proto.
28125 (_IO_flush_all_internal, _IO_adjust_column_internal)
28126 (_IO_default_uflow_internal, _IO_default_finish_internal)
28127 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28128 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28129 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28130 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28131 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28132 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28133 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28134 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28135 (_IO_file_close_internal, _IO_file_close_it_internal)
28136 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28137 (_IO_file_init_internal, _IO_file_attach_internal)
28138 (_IO_file_fopen_internal, _IO_file_read_internal)
28139 (_IO_file_sync_internal, _IO_file_seek_internal)
28140 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28141 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28142 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28143 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28144 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28145 (_IO_list_all_internal, _IO_link_in_internal)
28146 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28147 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28148 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28149 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28150 (_IO_do_write_internal, _IO_padn_internal)
28151 (_IO_getline_info_internal, _IO_getline_internal)
28152 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28153 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28154 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28155 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28156 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28157 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28158 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28159 with libc_hidden_ver, remove use of INTUSE.
28160 * libio/genops.c: Likewise.
28161 * libio/freopen.c: Likewise.
28162 * libio/freopen64.c: Likewise.
28163 * libio/iofclose.c: Likewise.
28164 * libio/iofdopen.c: Likewise.
28165 * libio/iofflush.c: Likewise.
28166 * libio/iofflush_u.c: Likewise.
28167 * libio/iofgets.c: Likewise.
28168 * libio/iofgets_u.c: Likewise.
28169 * libio/iofopen.c: Likewise.
28170 * libio/iofopncook.c: Likewise.
28171 * libio/iofread.c: Likewise.
28172 * libio/iofread_u.c: Likewise.
28173 * libio/ioftell.c: Likewise.
28174 * libio/iofwrite.c: Likewise.
28175 * libio/iogetline.c: Likewise.
28176 * libio/iogets.c: Likewise.
28177 * libio/iogetwline.c: Likewise.
28178 * libio/iopadn.c: Likewise.
28179 * libio/iopopen.c: Likewise.
28180 * libio/ioseekoff.c: Likewise.
28181 * libio/ioseekpos.c: Likewise.
28182 * libio/iosetbuffer.c: Likewise.
28183 * libio/iosetvbuf.c: Likewise.
28184 * libio/ioungetc.c: Likewise.
28185 * libio/ioungetwc.c: Likewise.
28186 * libio/iovdprintf.c: Likewise.
28187 * libio/iovsprintf.c: Likewise.
28188 * libio/iovsscanf.c: Likewise.
28189 * libio/memstream.c: Likewise.
28190 * libio/obprintf.c: Likewise.
28191 * libio/oldfileops.c: Likewise.
28192 * libio/oldiofclose.c: Likewise.
28193 * libio/oldiofdopen.c: Likewise.
28194 * libio/oldiofopen.c: Likewise.
28195 * libio/oldiopopen.c: Likewise.
28196 * libio/oldstdfiles.c: Likewise.
28197 * libio/putc.c: Likewise.
28198 * libio/setbuf.c: Likewise.
28199 * libio/setlinebuf.c: Likewise.
28200 * libio/stdfiles.c: Likewise.
28201 * libio/strops.c: Likewise.
28202 * libio/vasprintf.c: Likewise.
28203 * libio/vscanf.c: Likewise.
28204 * libio/vsnprintf.c: Likewise.
28205 * libio/vswprintf.c: Likewise.
28206 * libio/wfiledoalloc.c: Likewise.
28207 * libio/wfileops.c: Likewise.
28208 * libio/wgenops.c: Likewise.
28209 * libio/wmemstream.c: Likewise.
28210 * libio/wstrops.c: Likewise.
28211 * libio/__fpurge.c: Likewise.
28212 * libio/__fsetlocking.c: Likewise.
28213 * assert/assert.c: Likewise.
28214 * debug/fgets_chk.c: Likewise.
28215 * debug/fgets_u_chk.c: Likewise.
28216 * debug/fread_chk.c: Likewise.
28217 * debug/fread_u_chk.c: Likewise.
28218 * debug/gets_chk.c: Likewise.
28219 * debug/obprintf_chk.c: Likewise.
28220 * debug/vasprintf_chk.c: Likewise.
28221 * debug/vdprintf_chk.c: Likewise.
28222 * debug/vsnprintf_chk.c: Likewise.
28223 * debug/vsprintf_chk.c: Likewise.
28224 * malloc/mtrace.c: Likewise.
28225 * misc/error.c: Likewise.
28226 * misc/syslog.c: Likewise.
28227 * stdio-common/asprintf.c: Likewise.
28228 * stdio-common/fxprintf.c: Likewise.
28229 * stdio-common/getw.c: Likewise.
28230 * stdio-common/isoc99_fscanf.c: Likewise.
28231 * stdio-common/isoc99_scanf.c: Likewise.
28232 * stdio-common/isoc99_vfscanf.c: Likewise.
28233 * stdio-common/isoc99_vscanf.c: Likewise.
28234 * stdio-common/isoc99_vsscanf.c: Likewise.
28235 * stdio-common/printf-prs.c: Likewise.
28236 * stdio-common/printf_fp.c: Likewise.
28237 * stdio-common/printf_fphex.c: Likewise.
28238 * stdio-common/printf_size.c: Likewise.
28239 * stdio-common/putw.c: Likewise.
28240 * stdio-common/scanf.c: Likewise.
28241 * stdio-common/sprintf.c: Likewise.
28242 * stdio-common/tmpfile.c: Likewise.
28243 * stdio-common/vfprintf.c: Likewise.
28244 * stdio-common/vfscanf.c: Likewise.
28245 * stdlib/strfmon_l.c: Likewise.
28246 * sunrpc/openchild.c: Likewise.
28247 * sunrpc/xdr_stdio.c: Likewise.
28248 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28249 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28250
d6c33fda
RM
282512012-05-24 Roland McGrath <roland@hack.frob.com>
28252
c1487492
RM
28253 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28254
28255 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28256 in the third column, to generate for the shared library an IFUNC
28257 that uses _dl_vdso_vsym.
28258 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28259 * Makeconfig (object-suffixes-noshared): New variable.
28260
28261 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28262 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28263 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28264 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28265
d6c33fda
RM
28266 [BZ #14132]
28267 * include/sys/time.h (__gettimeofday): Remove macro.
28268 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28269 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28270 Remove INTDEF.
28271 (__gettimeofday): Add libc_hidden_def.
28272 (gettimeofday): Add libc_hidden_weak.
28273 * sysdeps/mach/gettimeofday.c: Likewise.
28274 * sysdeps/posix/gettimeofday.c: Likewise.
28275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28276 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28278 (__gettimeofday_internal): Remove strong_alias.
28279 (__gettimeofday): Add libc_hidden_def.
28280 (gettimeofday): Add libc_hidden_weak.
28281 * sysdeps/unix/syscalls.list (gettimeofday):
28282 Remove __gettimeofday_internal alias.
28283
b5a2bbe6
L
282842012-05-24 Daniel Jacobowitz <drow@false.org>
28285 H.J. Lu <hongjiu.lu@intel.com>
28286
28287 [BZ #12495]
28288 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28289 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28290 (largebin_index_32_big): New.
28291 (largebin_index): Use it for 16-byte alignment.
28292 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28293 correction with front_misalign.
28294
cfba4fda
L
282952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28296
7f907421
L
28297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28299 Likewise.
28300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28301 Likewise.
28302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28303 Likewise.
28304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28305 Likewise.
28306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28307 Likewise.
28308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28309 Likewise.
28310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28311 Likewise.
28312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28313 Likewise.
28314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28315 Likewise.
28316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28317 Likewise.
28318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28319 Likewise.
28320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28321 Likewise.
28322
cfba4fda
L
28323 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28324 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28325
80bad0cc
JM
283262012-05-24 Joseph Myers <joseph@codesourcery.com>
28327
7a25eb06
JM
28328 [BZ #10846]
28329 [BZ #14036]
28330 * math/libm-test.inc (exp_test): Add test from bug 14036.
28331 (pow_test): Add test from bug 10846.
28332
795405f9
JM
28333 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28334 and other flags.
28335 (special_function): Do not include flags in test name.
28336 (parse_args): Likewise.
28337 * sysdeps/i386/fpu/libm-test-ulps: Update.
28338 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28339 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28342
80bad0cc
JM
28343 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28344 exceptions.
28345 * math/libm-test.inc ("Philosophy"): Update comment about
28346 exception testing.
28347 (UNDERFLOW_EXCEPTION): New macro.
28348 (UNDERFLOW_EXCEPTION_OK): Likewise.
28349 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28350 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28351 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28352 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28353 (INVALID_EXCEPTION_OK): Update value.
28354 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28355 (OVERFLOW_EXCEPTION_OK): Likewise.
28356 (IGNORE_ZERO_INF_SIGN): Likewise.
28357 (test_exceptions): Handle underflow exceptions.
28358 (acos_test): Update for underflow exception expectations.
28359 (cexp_test): Likewise.
28360 (clog_test): Likewise.
28361 (clog10_test): Likewise.
28362 (csqrt_test): Likewise.
28363 (ctan_test): Likewise.
28364 (ctanh_test): Likewise.
28365 (exp_test): Likewise.
28366 (exp10_test): Likewise.
28367 (exp2_test): Likewise.
28368 (expm1_test): Likewise.
28369 (fma_test): Likewise.
28370 (j0_test): Likewise.
28371 (jn_test): Likewise.
28372 (nexttoward_test): Likewise.
28373 (pow_test): Likewise.
28374 (scalbn_test): Likewise.
28375 (scalbln_test): Likewise.
28376 (tan_test): Likewise.
28377 (y1_test): Likewise.
28378 * sysdeps/i386/fpu/libm-test-ulps: Update.
28379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28380
9e0e3d0b
DM
283812012-05-23 David S. Miller <davem@davemloft.net>
28382
28383 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28384 (__libc_sigaction): Remove unused local variables.
28385
ccd0a08f
L
283862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28387
28388 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28389
62bdf9a6
PE
283902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28391
f8591f80
PE
28392 mktime: avoid signed integer overflow
28393 * time/mktime.c (__mktime_internal): Do not mishandle the case
28394 where diff == INT_MIN.
28395
94c7d826
PE
28396 mktime: simplify computation of average
28397 * time/mktime.c (ranged_convert): Use new time_t_avg function
28398 instead of rolling our own (probably-slower) code.
28399
ce73d683
PE
28400 mktime: do not assume signed right shift propagates sign bit
28401 * time/mktime.c (isdst_differ): New static function.
28402 (__mktime_internal): No need to normalize tm_isdst now.
28403 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28404 tm_isdst values.
28405
72a22e59
PE
28406 mktime: merge another wrapv change from gnulib
28407 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28408 from some compilers.
28409
68605433
PE
28410 mktime: remove incorrect attempt at unusual arithmetics
28411 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28412 The code didn't really work on such machines anyway.
28413 (TYPE_MINIMUM): Assume two's complement.
28414 (twos_complement_arithmetic): Verify that long_int and time_t
28415 are two's complement (or unsigned, in the latter case).
28416
03cf7fe3
PE
28417 mktime: check signed shifts on long_int and time_t, too
28418 * time/mktime.c (SHR): Check that shifts work as desired
28419 on the types long_int and time_t too, as SHR is used on
28420 such types.
28421
f04dfbc2
PE
28422 mktime: do not assume 'long' is wide enough
28423 * time/mktime.c (verify): Move decl up.
28424 (long_int): New type.
28425 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28426 to remove assumption in the code that 'long' is wide enough to
28427 store year values. This assumption is not true on x32 and on
28428 some non-glibc platforms.
28429
62bdf9a6
PE
28430 mktime: merge wrapv change from gnulib
28431 * time/mktime.c (WRAPV): New macro.
28432 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28433 (guess_time_tm, __mktime_internal): Do not assume that signed
28434 integer overflow wraps around; modern compilers generate code
28435 where this assumption is no longer valid.
28436
5e292e4f
L
284372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28438
28439 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28440 Replace "jmp L(pseudo_end)" with "ret".
28441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28442 Likewise.
28443
8caf8c87
AJ
284442012-05-23 Andreas Jaeger <aj@suse.de>
28445
28446 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28447 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28448
1a09dc56
AJ
284492012-05-23 Andreas Jaeger <aj@suse.de>
28450 Maximilian Attems <max@stro.at>
28451
28452 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28453 New macros.
28454
1c87aba0
L
284552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28456
28457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28458 code so that pseudo_end is just ret and the stack pointer is
28459 correct also for static library in error case.
28460
40e45bd5
JM
284612012-05-23 Joseph Myers <joseph@codesourcery.com>
28462
c2670533
JM
28463 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28464 move to syscalls.list.
28465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28469
40e45bd5
JM
28470 * manual/install.texi (Running make install): Do not mention Linux
28471 kernel version for which pt_chown is not needed.
28472 (Linux): Do not mention problems with nscd with 2.0 kernels.
28473 * INSTALL: Regenerated.
28474
be08eda5
AJ
284752012-05-23 Andreas Jaeger <aj@suse.de>
28476
28477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28478 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28479 macro.
28480 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28481 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28482 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28484 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28485 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28488 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28489 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28490 * sysdeps/unix/sysv/linux/bits/in.h
28491 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28492
a6a056bb
RM
284932012-05-22 Roland McGrath <roland@hack.frob.com>
28494
28495 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28496 (PREPARE_VERSION): Just use assert instead, it will be elided
28497 under [NDEBUG] anyway.
28498
c9009328
L
284992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28500
28501 * sysdeps/unix/sysv/linux/Makefile: Include
28502 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28503 (sysdep_routines): Remove sysctl.
c9009328
L
28504 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28505 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28506 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28507 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28508 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28509
73338355
AJ
285102012-05-22 Andreas Jaeger <aj@suse.de>
28511
28512 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28513 that pseudo_end is just ret and the stack pointer is correct also
28514 for static library in error case.
28515
d44638b0
PP
285162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28517
28518 [BZ #14122]
28519 * nss/nsswitch.c (defconfig_entries): New variable.
28520 (__nss_database_lookup): Don't leak defconfig entries.
28521 (nss_parse_service_list): Don't leak on error paths.
28522 (free_database_entries): New function.
28523 (free_defconfig): New function.
28524 (free_mem): Move common code to free_database_entries.
28525
31a39bd8
L
285262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28527
da0331a8
L
28528 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28529 Add arch_prctl.
28530 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28531
31a39bd8
L
28532 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28533 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28535 New macro.
28536 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28537 (INTERNAL_SYSCALL_TYPES): Likewise.
28538 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28539 (LOAD_REGS_TYPES_[1-6]): Likewise.
28540 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28541 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28542
45470df3
AZ
285432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28544
28545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28546 copysignl for GLIBC_2_0.
28547 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28548 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28550 logbl for GLIBC_2_0.
28551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28552 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28553
98a61bcb
L
285542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28555
a4f6e481
L
28556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28557 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28558
f63d5db6
L
28559 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28560 Use "neg %eax".
28561
98a61bcb
L
28562 * time/mktime.c: Update copyright years.
28563
95770f14
PE
285642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28565
6226efbd
PE
28566 mktime: merge comment-quoting-style change from gnulib
28567 * time/mktime.c: Quote 'like this' in comments.
28568 The GNU coding standards suggest that we no longer quote `like this',
28569 as "`" and "'" are typically rendered asymmetrically nowadays.
28570 The typical gnulib style is to quote 'like this' when quoting
28571 code, and "like this" when quoting English.
28572
b99e4f78
PE
28573 * time/mktime.c (compile-command): Add "-I.".
28574
643e01e6
PE
28575 mktime: merge mktime-internal.h change from gnulib
28576 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28577
2554247d
PE
28578 mktime: merge time_r change from gnulib
28579 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28580
826dd0ab
PE
28581 mktime: merge DEBUG change from gnulib
28582 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28583 case system <time.h> has a #define.
28584
bd83aabe
PE
28585 mktime: merge <sys/types.h> change from gnulib
28586 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28587 since <time.t> is now guaranteed to define time_t.
28588
95770f14
PE
28589 mktime: merge HAVE_CONFIG_H change from gnulib
28590 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28591
5e1a27a9
L
285922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28593
0e44a77e
L
28594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28595 Use "neg %eax".
28596
5e1a27a9
L
28597 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28598 __rlim_t cast.
28599 (struct rusage): Use anonymous union to pad each field to
28600 __syscall_slong_t.
28601
46259bec
DM
286022012-05-21 David S. Miller <davem@davemloft.net>
28603
28604 * Makefules (o-iterator): Remove .s cases.
28605 (compile-command.s): Delete.
28606 (COMPILE.s): Delete.
28607 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28608
59f0c22e
JM
286092012-05-21 Joseph Myers <joseph@codesourcery.com>
28610
28611 * configure.in (libc_cv_predef_stack_protector): Only consider
28612 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28613 * configure: Regenerated.
28614
20c07380
L
286152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28616
bbb3154b
L
28617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28618 New macro. Use R*LP on int and pointer.
28619 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28620 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28621 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28622 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28623
20c07380
L
28624 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28625 [__WORDSIZE_TIME64_COMPAT32] instead of
28626 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28627 (struct utmp): Likewise.
28628 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28629 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28630 Renamed to ...
28631 (__WORDSIZE_TIME64_COMPAT32): This.
28632 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28633 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28634 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28635 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28636 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28637 (__WORDSIZE_TIME64_COMPAT32): New macro.
28638
d8d1017e
AJ
286392012-05-21 Andreas Jaeger <aj@suse.de>
28640
28641 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28642 only if [SHARED]. Add prototype for __wcschr_ia32.
28643
6c7fb145
RM
286442012-05-21 Roland McGrath <roland@hack.frob.com>
28645
28646 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28647 of %rbp unmolested in the jmp_buf while mangling the low bits.
28648 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28649 unmolested high bits of %rbp while demangling the low bits.
28650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28651
66274218
AJ
286522012-05-21 Andreas Jaeger <aj@suse.de>
28653
07c58f8f
AJ
28654 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28655 * sunrpc/svc_simple.c: Use it for registerrpc.
28656 * sunrpc/xcrypt.c: Use it for passwd2des.
28657
66274218
AJ
28658 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28659
61f65140
L
286602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28661
28662 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28663 Don't define if [__SYSCALL_WORDSIZE != 32].
28664 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28665 New macro.
28666
5fefb436
AJ
286672012-05-21 Bruno Haible <bruno@clisp.org>
28668 Andreas Jaeger <aj@suse.de>
28669
28670 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28671 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28672 inptr and inend for must_buffer_ch.
28673 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28674 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28675 * stdio-common/Makefile (tests): Remove bug15.
28676 (bug15-ENV): Remove macro.
28677 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28678 anymore.
28679
d8e272ab
AJ
286802012-05-19 Andreas Jaeger <aj@suse.de>
28681 Roland McGrath <roland@hack.frob.com>
28682
28683 * manual/contrib.texi: Completely rewritten. It contains now an
28684 alphabetical list of contributors and their contributions.
28685
4a56a162
RH
286862012-05-21 Richard Henderson <rth@twiddle.net>
28687
28688 * misc/getauxval.c (__getauxval): Use unsigned long int.
28689 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28690 (getauxval): Use unsigned long int.
28691
d024d23c
L
286922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28693
28694 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28695
cbc00a03
RM
286962012-05-21 Roland McGrath <roland@hack.frob.com>
28697
28698 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28699 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28700 __alignof__ (long double).
28701
478143fa
AZ
287022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28703
28704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28705
c7683a6d
RH
287062012-05-20 Richard Henderson <rth@twiddle.net>
28707
28708 * misc/getauxval.c: New file.
28709 * misc/sys/auxv.h: New file.
28710 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28711 (routines): Add getauxval.
28712 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28713 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28714 * elf/dl-sysdep.c (_dl_auxv): Remove.
28715 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28716 * elf/dl-support.c (_dl_auxv): New variable.
28717 (_dl_aux_init): Initialize it.
28718 * manual/startup.texi (Auxiliary Vector): New node.
28719 * sysdeps/generic/bits/hwcap.h: New file.
28720 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28721 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28722 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28723 * sysdeps/sparc/sysdep.h: ... here. Include it.
28724 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28727 Update.
c7683a6d
RH
28728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28736
a6f1845d
AZ
287372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28738
28739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28740
cbcbe830
DM
287412012-05-19 David S. Miller <davem@davemloft.net>
28742
28743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28744
e0b16cc2
JM
287452012-05-19 Joseph Myers <joseph@codesourcery.com>
28746
28747 [BZ #14123]
28748 * math/s_ccosh.c: Include <float.h>
28749 (__ccosh): Avoid internal overflow calculating sinh and cosh
28750 values before multiplying by sin and cos values.
28751 * math/s_ccoshf.c: Likewise.
28752 * math/s_ccoshl.c: Likewise.
28753 * math/s_csin.c: Likewise.
28754 * math/s_csinf.c: Likewise.
28755 * math/s_csinl.c: Likewise.
28756 * math/s_csinh.c: Likewise.
28757 * math/s_csinhf.c: Likewise.
28758 * math/s_csinhl.c: Likewise.
28759 * math/libm-test.inc (ccos_test): Add more tests.
28760 (ccosh_test): Likewise.
28761 (csin_test): Likewise.
28762 (csinh_test): Likewise.
28763 * sysdeps/i386/fpu/libm-test-ulps: Update.
28764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28765
6ad13e08
L
287662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28767
f66f0ce8
L
28768 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28769 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28770
6ad13e08
L
28771 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28772
b1d072a7
JM
287732012-05-19 Joseph Myers <joseph@codesourcery.com>
28774
28775 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28776 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28777 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28778 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28779 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28780 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28781 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28782 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28783 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28784 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28785 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28786 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28787 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28788 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28789 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28790 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28791 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28792 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28793 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28794 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28795 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28796 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28797 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28798 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28799 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28800 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28801 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28802 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28803 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28804 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28805 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28806
9eae47cb
AJ
288072012-05-18 Andreas Jaeger <aj@suse.de>
28808
28809 * csu/.gitignore: Delete.
28810
bb07f69f
L
288112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28812
28813 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28814 (timex): Use __syscall_slong_t.
28815
e6bdb741
AJ
288162012-05-18 Andreas Jaeger <aj@suse.de>
28817 Carlos O'Donell <carlos_odonell@mentor.com>
28818
28819 * manual/install.texi (Configuring and compiling): Update
28820 description about files modified in the source directory.
d6c33fda 28821 * INSTALL: Regenerated.
e6bdb741 28822
1b74487e
L
288232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28824
28825 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28826 value. Use "or" to set return value to -1.
28827 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28828 negate return value.
28829
a88b64b9
TMQMF
288302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28831
57f41c40
AS
28832 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28833 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28834 failure if the compiler has Graphite support disabled.
28835 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28836 Likewise.
57f41c40
AS
28837 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28838 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28840 Likewise.
28841
3707636e
L
288422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28843
610b8622
L
28844 * sysdeps/x86_64/x32/_itoa.h: New file.
28845
7cd195df
L
28846 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28847 getdents system call only if kernel and user dirents have the
28848 same d_ino and d_off.
28849
94b07d20
L
28850 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28851 LLONG_MAX != LONG_MAX.
28852 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28853 (_fitoa_word): Likewise.
28854
18298070
L
28855 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28856 years.
28857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28858 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28860
553c7ea4
L
28861 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28862 include <bits/wordsize.h>. Check __x86_64__ instead of
28863 __WORDSIZE.
28864 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28865 if __x86_64__ is defined. Use anonymous union on fpstate.
28866
3707636e
L
28867 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28868 anonymous union.
28869
b53ef01a
AS
288702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28871
37fb1dc0
AS
28872 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28873 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28874 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28875 Refer to _rtld_local_ro instead of _rtld_global_ro.
28876 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28877 Likewise.
28878 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28879 Likewise.
28880 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28881 Likewise.
28882 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28883 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28884 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28885
b53ef01a
AS
28886 * sysdeps/powerpc/powerpc32/dl-machine.c
28887 (__elf_machine_runtime_setup) [PROF]: Don't reference
28888 _dl_prof_resolve.
28889
7a185db2
AJ
288902012-05-18 Andreas Jaeger <aj@suse.de>
28891
28892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28893 function only available for GCCs before 3.4 since GCC 3.4
28894 introduced a builtin.
28895 (lrint): Likewise.
28896 (llrintf): Likewise.
28897 (llrint): Likewise.
28898 (fmaxf): Likewise.
28899 (fmax): Likewise.
28900 (fminf): Likewise.
28901 (fmin): Likewise.
28902 (rint): Likewise.
28903 (rintf): Likewise.
28904 (nearbyint): Likewise.
28905 (nearbyintf): Likewise.
28906 (ceil): Likewise.
28907 (ceilf): Likewise.
28908 (floor): Likewise.
28909 (floorf): Likewise.
28910
3e5aef87
L
289112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28912
428bd707
L
28913 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28914 on both fields and cast pointer to __syscall_ulong_t.
28915
3e5aef87
L
28916 * bits/types.h (__fsword_t): New type.
28917 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28918 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28920 (__FSWORD_T_TYPE): Likewise.
28921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28922 (__FSWORD_T_TYPE): Likewise.
28923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28924 (__FSWORD_T_TYPE): Likewise.
28925 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28926 (__FSWORD_T_TYPE): Likewise.
28927 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28928 __SWORD_TYPE with __fsword_t.
28929 (statfs64): Likewise.
28930
1ba7c3dc
DM
289312012-05-17 David S. Miller <davem@davemloft.net>
28932
28933 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28934
59910343
AJ
289352012-05-17 Andreas Jaeger <aj@suse.de>
28936
28937 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28938 warning.
28939
2e4c1e9e
L
289402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28941
28942 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28943
de7f5ce7
AJ
289442012-05-17 Andreas Jaeger <aj@suse.de>
28945
28946 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28947 when it is used.
28948
286abc3d
CM
289492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28950
28951 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28952
477cc68e
L
289532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28954
28955 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28956 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28957
1a0994f5
CD
289582012-05-17 Andreas Jaeger <aj@suse.de>
28959 Carlos O'Donell <carlos_odonell@mentor.com>
28960
28961 [BZ #14059]
28962 * sysdeps/x86_64/multiarch/init-arch.h
28963 (bit_YMM_Usable): Rename to...
28964 (bit_AVX_Usable): ... this.
28965 (bit_FMA4_Usable): New macro.
28966 (bit_XMM_state): New macro.
28967 (bit_YMM_state): New macro.
28968 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28969 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28970 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28971 (CPUID_OSXSAVE): New macro.
28972 (CPUID_AVX): New macro.
28973 (CPUID_FMA4): New macro.
28974 (index_YMM_Usable): Rename to...
28975 (index_AVX_Usable): ... this.
28976 (HAS_AVX): Use HAS_ARCH_FEATURE.
28977 (HAS_FMA4): Likewise.
28978 (HAS_YMM_USABLE): Remove.
28979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28980 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28981 are present.
28982 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28983 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28984 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28985 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28986 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28987
0af797de
CM
289882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28989
28990 * math/libm-test.c: Support platforms without multiple rounding modes.
28991 * math/bug-nextafter.c: Support platforms without FP exceptions.
28992 * math/bug-nexttoward.c: Likewise.
28993 * math/test-fenv.c: Likewise.
28994 * math/test-misc.c: Likewise.
28995 * stdlib/bug-getcontext.c: Likewise.
28996
e39745ff
AJ
289972012-05-17 Andreas Jaeger <aj@suse.de>
28998
28999 * manual/examples/search.c (critter_cmp): Change signature to
29000 avoid warnings.
29001 * manual/string.texi (Collation Functions): Likewise.
29002
48970aba
L
290032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29004
29005 * bits/types.h: Fold copyright years.
29006 * bits/typesizes.h: Likewise.
29007 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29008 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29011 * time/time.h: Likewise.
29012
bedee953
PP
290132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29014
29015 [BZ #208]
29016 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29017 in instead of returning them. Return void.
29018 (__libc_mallinfo): Accumulate over all arenas.
29019 (__malloc_stats): Adjust for change in int_mallinfo interface.
29020
61653dfb
RM
290212012-05-16 Roland McGrath <roland@hack.frob.com>
29022
30b99d79
RM
29023 [BZ #10375]
29024 * configure.in (NM): Add AC_CHECK_TOOL for it.
29025 (libc_extra_cflags): New substituted variable.
29026 Check for -fstack-protector being used implicitly.
29027 * configure: Regenerated.
29028 * config.make.in (config-extra-cflags): New variable,
29029 gets @libc_extra_cflags@.
29030 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29031
61653dfb
RM
29032 [BZ #10375]
29033 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29034 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29035 * configure: Regenerated.
29036 * config.make.in (CPPUNDEFS): New substituted variable.
29037 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29038 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29039 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29040
661768bb
L
290412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29042
29043 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29044 (mq_attr): Use __syscall_slong_t.
29045
d4261567
L
290462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29047
29048 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29049 Check __x86_64__ instead of __WORDSIZE.
29050 (_STAT_VER_LINUX): Likewise.
29051 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29052 __syscall_ulong_t and __syscall_slong_t.
29053 (stat64): Likewise.
29054
cf3ff365
L
290552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29056
29057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29058
76cf3e4d
L
290592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29060
29061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29062
a637753a
L
290632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29066 __syscall_ulong_t.
29067
d5e05119
L
29068 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29069 include <bits/wordsize.h>. Check __x86_64__ instead of
29070 __WORDSIZE.
29071 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29072 defined.
29073 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29074
f62ee380
L
29075 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29076 include <bits/wordsize.h>. Check __x86_64__ instead of
29077 __WORDSIZE.
29078 (user_regs_struct): Use "__extension__ unsigned long long"
29079 instead of "unsigned long" if __x86_64__ is defined.
29080 (user): Likewise. Pad after pointer field if __ILP32__ is
29081 defined.
29082
4e124ced
JM
290832012-05-16 Joseph Myers <joseph@codesourcery.com>
29084
6a3951a0
JM
29085 * configure.in (makeinfo): Require version 4.5 or later. Allow
29086 versions 5 to 9.
29087 * configure: Regenerated.
29088 * manual/install.texi (texinfo): Increase version requirement to
29089 4.5 or later.
29090 * INSTALL: Regenerated.
29091
4e124ced
JM
29092 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29093
953ca31a
L
290942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29095
29096 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29097
617aca05
L
29098 * sysdeps/x86_64/x32/ffs.c: New file.
29099
5762f7ae
L
29100 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29101 __syscall_ulong_t.
29102 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29103 defined. Use __syscall_ulong_t.
29104 (shminfo): Use __syscall_ulong_t.
29105 (shm_info): Likewise.
29106
a26b6856
L
29107 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29108 __syscall_ulong_t.
29109
cb2b9ef7
L
29110 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29111 <bits/wordsize.h>.
29112 (msgqnum_t): Use __syscall_ulong_t.
29113 (msglen_t): Likewise.
29114 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29115 __syscall_ulong_t.
29116
34683bb0
L
29117 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29119
84a68786
L
29120 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29121
48baa5f1
L
29122 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29123 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29124
180be88b
L
29125 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29126 __syscall_slong_t.
29127
5e90c8ad
L
29128 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29129 include <bits/wordsize.h>. Check __x86_64__ instead of
29130 __WORDSIZE.
29131
23dfb58b
L
29132 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29133 "unsigned long long int" if __x86_64__ is defined.
29134 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29135
ce5d54b0
L
29136 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29137 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29138 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29139
13dc9eac
L
29140 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29141 <stdint.h>.
29142 (GET_PC): Cast to uintptr_t first.
29143 (GET_FRAME): Likewise.
29144 (GET_STACK): Likewise.
29145
a7895d15
L
29146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29147 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29148 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29149 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29150 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29151 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29152 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29153 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29154 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29155 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29156 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29160 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29164 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29166 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29167 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29168 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29169 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29170 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29171 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29172 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29174 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29175
656416c9
AS
291762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29177
5bd66283
AS
29178 * Makerules (+depfiles): Also collect depfiles from .oS in
29179 $(extra-objs).
29180 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29181 .oS, $(libnldbl-routines)).
29182
656416c9
AS
29183 * Makerules (native-compile-mkdep-flags): Define.
29184 * sunrpc/Makefile (extra-objs): Add $(addprefix
29185 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29186 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29187 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29188 calling $(make-target-directory).
29189
a46f2169
L
291902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 * bits/types.h (__snseconds_t): Removed.
29193 * time/time.h (struct timespec): Replace __snseconds_t with
29194 __syscall_slong_t.
29195 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29196 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29197 Likewise.
29198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29199 (__SNSECONDS_T_TYPE): Likewise.
29200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29201 (__SNSECONDS_T_TYPE): Likewise.
29202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29203 (__SNSECONDS_T_TYPE): Likewise.
29204
6af6528b
L
292052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29206
29207 * sysdeps/mach/hurd/bits/typesizes.h
29208 (__SYSCALL_SLONG_TYPE): New macro.
29209 (__SYSCALL_ULONG_TYPE): Likewise.
29210
de986b56
L
292112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29212
29213 * bits/types.h (__syscall_slong_t): New type.
29214 (__syscall_ulong_t): Likewise.
29215
29216 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29217 (__SYSCALL_ULONG_TYPE): Likewise.
29218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29219 (__SYSCALL_SLONG_TYPE): Likewise.
29220 (__SYSCALL_ULONG_TYPE): Likewise.
29221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29222 (__SYSCALL_SLONG_TYPE): Likewise.
29223 (__SYSCALL_ULONG_TYPE): Likewise.
29224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29225 (__SYSCALL_SLONG_TYPE): Likewise.
29226 (__SYSCALL_ULONG_TYPE): Likewise.
29227
85736dc7
L
292282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29231 Add sigaltstack-offsets.sym.
29232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29233 <sigaltstack-offsets.h>.
29234 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29235 longjmp_msg pointer.
29236 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29237 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29238 signal stack.
29239 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29240
cc03b296
JM
292412012-05-15 Joseph Myers <joseph@codesourcery.com>
29242
a9538892
JM
29243 * elf/stackguard-macros.h: Remove file.
29244 * sysdeps/generic/stackguard-macros.h: New file.
29245 * sysdeps/i386/stackguard-macros.h: Likewise.
29246 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29247 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29248 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29249 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29250 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29251 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29252 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29253 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29254 <elf/stackguard-macros.h>.
29255
cc03b296
JM
29256 [BZ #14109]
29257 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29258 __aligned__ in attribute.
29259 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29260 (gregset_t): Likewise.
29261
93171016
L
292622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29263
29264 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29265 * sysdeps/x86_64/64/Implies-after: Here. New file.
29266 * sysdeps/x86_64/x32/Implies-after: New file.
29267
d86813a0
L
292682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29269
29270 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29271 and access return value for _dl_profile_fixup. Use R10_LP to
29272 load frame size.
29273
2953ec75
L
292742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29275
29276 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29277
3b550e9e
L
292782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29279
29280 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29281 * sysdeps/x86_64/x32/sysdep.h: New file.
29282
eda41706
L
292832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29284
29285 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29286 * sysdeps/x86_64/setjmp.S: Likewise.
29287
9ea01d93
AZ
292882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29289
29290 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29291 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29292 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29293 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29294 remove unused global constant.
29295
02a91938
CM
292962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29297
29298 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29299 include of <not-cancel.h>.
29300
6540185f
RM
293012012-05-15 Roland McGrath <roland@hack.frob.com>
29302
29303 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29304
509072a0
AJ
293052012-05-15 Jeff Law <law@redhat.com>
29306 Andreas Jaeger <aj@suse.de>
29307
29308 [BZ #13594]
29309 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29310 out from...
29311 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29312 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29313 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29314 code changing __hst_map_handle.map.
29315
ba75122d
RM
293162012-05-15 Roland McGrath <roland@hack.frob.com>
29317
29318 * configure.in (sysnames): Look for Implies-before and Implies-after
29319 files.
29320 * configure: Regenerated.
29321
890d8bd8
L
293222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29323
29324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29325 8-byte data alignment with LP_SIZE alignment.
29326
f6ee6623
L
293272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29328
29329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29330 into R10_LP.
29331
ea2626f6
L
293322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29333
29334 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29335
085f715e
L
293362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29337
29338 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29339 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29341 Likewise.
29342 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29343
be8498fc
L
293442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29345
29346 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29347 (stackinfo_sub_sp): Likewise.
29348
70bc83b9
L
293492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29350
29351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29352 RAX_LP.
29353
9bc0b730
L
293542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29355
29356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29357 into R*_LP.
29358
6d2850e7
L
293592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29360
29361 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29362 sizes into R*_LP.
29363
3cb84561
L
293642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29365
29366 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29367
54e2ed81
L
293682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29369
29370 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29371 into R11_LP and load __x86_64_shared_cache_size_half into
29372 R8_LP.
29373
8a17f349
L
293742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29375
29376 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29377 R8_LP.
29378
777b1eea
AZ
293792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29380
29381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29382 logb for POWER7.
29383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29384 logbf for POWER7.
29385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29386 logbl for POWER7.
29387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29388 powerpc32/power7/fpu/s_logb.c via #include.
29389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29390 powerpc32/power7/fpu/s_logbf.c via #include.
29391 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29392 powerpc32/power7/fpu/s_logbl.c via #include.
29393
d20d4ac2
JM
293942012-05-15 Joseph Myers <joseph@codesourcery.com>
29395
29396 * README.libm: Remove file.
29397
6cdef1ab
L
293982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29399
29400 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29401 count for x32. Use R*_LP and omit operand-size suffix.
29402
0b254d8f
L
294032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29404
29405 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29406 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29407 * sysdeps/x86_64/x32/shlib-versions: New file.
29408
ceb809dc
RM
294092012-05-14 Roland McGrath <roland@hack.frob.com>
29410
29411 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29412 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29413 Use _dl_fatal_printf instead.
29414
37f1abd4
JM
294152012-05-14 Joseph Myers <joseph@codesourcery.com>
29416
29417 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29418 set if not set by the user. Do not allow for being unset.
29419 * sysdeps/unix/sysv/linux/configure: Regenerated.
29420
11de3a33
L
294212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29422
29423 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29424 the `q' suffix from lea and replace .quad with ASM_ADDR.
29425
e02f153a
L
294262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29427
29428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29429 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29430 instead of $17.
29431 (PTR_DEMANGLE): Likewise.
29432
520ae0fd
L
294332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29434
29435 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29436 (LP_OP): Likewise.
29437 (ASM_ADDR): Likewise.
29438 (RAX_LP): Likewise.
29439 (RBP_LP): Likewise.
29440 (RBX_LP): Likewise.
29441 (RCX_LP): Likewise.
29442 (RDI_LP): Likewise.
29443 (RSI_LP): Likewise.
29444 (RSP_LP): Likewise.
29445 (R8_LP): Likewise.
29446 (R9_LP): Likewise.
29447 (R10_LP): Likewise.
29448 (R10_LP): Likewise.
29449 (R11_LP): Likewise.
29450 (R12_LP): Likewise.
29451 (R13_LP): Likewise.
29452 (R14_LP): Likewise.
29453 (R15_LP): Likewise.
29454
b985be81
L
294552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29456
29457 * sysdeps/x86_64/x32/dl-machine.h: New file.
29458
6a4888ff
AJ
294592012-05-14 Andreas Jaeger <aj@suse.de>
29460
29461 * manual/Makefile (subdir): Remove export of subdir.
29462 (all): Remove target.
29463 (.PHONY): Remove all from list.
29464 (mkinstalldirs): Remove.
29465 (.PHONY): Remove installdirs from list.
29466 ($(inst_infodir)/libc.info): Use make-target-directory.
29467 (installdirs): Remove.
29468 (subdir_%): Remove.
29469 (glibc-targets): Remove.
29470 (lib): Remove.
29471 (stubs): Remove.
29472 ($(objpfx)stubs ../po/manual.pot): Remove.
29473 ($(objpfx)stamp%): Remove.
29474 (make-target-directory): Remove.
29475 (subdir_install): Remove.
29476 (routines): Remove.
29477 (aux): Remove.
29478 (sources): Remove.
29479 (objects): Remove.
29480 (headers): Remove.
29481
29482 [BZ #13750]
29483 * manual/.gitignore: Remove, it's not needed anymore.
29484 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29485 all files in it.
29486 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29487 directory.
29488 (texis): Renamed to $(objpfx)texis.
29489 (texis-path): New, contains path to generated files.
29490 (chapters.%): Use texis-path for complete path, add extra argument
29491 libc-texinfo.sh.
29492 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29493 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29494 (summary,texi, stamp-summary): Use complete path of
29495 files. Generate files in build dir.
29496 (dir-add.texi): Build in build dir.
29497 (libm-err.texi,stamp-libm-err): Likewise.
29498 (version.texi, stamp-version): Likewise.
29499 (.%c.texi): Likewise.
29500 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29501 (mostlyclean): Remove target.
29502 (realclean): Remove target.
29503 (generated): Add new variable with contents from mostlyclean and
29504 realclean, remove entries duplicated in common-mostlyclean, add
29505 stamp-libm-err and stamp-version.
29506 (generated-dirs): Add libc directory.
29507 ($(inst_infodir)/libc.info): Install files from build dir.
29508
29509 * manual/install.texi (Configuring and compiling): Adjust since
29510 the info files are not part of the tar ball anymore.
29511
7ac77294
AJ
295122012-05-14 Andreas Jaeger <aj@suse.de>
29513
29514 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29515 variable.
29516
ffb7875d
JM
295172012-05-14 Joseph Myers <joseph@codesourcery.com>
29518
29519 [BZ #13717]
29520 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29521 to 2.2.0 where earlier.
29522 * sysdeps/unix/sysv/linux/configure: Regenerated.
29523 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29524 Remove conditional code.
29525 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29526 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29527 Remove conditional code.
29528 [!__NR_lchown]: Likewise.
29529 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29530 [__NR_lchown]: Likewise.
29531 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29532 comment referencing __ASSUME_LCHOWN_SYSCALL.
29533 * sysdeps/unix/sysv/linux/i386/sigaction.c
29534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29536 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29537 Remove conditional code.
29538 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29539 (__protocol_available): Remove #if 0 code.
29540 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29541 conditional code.
29542 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29543 * sysdeps/unix/sysv/linux/kernel-features.h
29544 (__ASSUME_GETCWD_SYSCALL): Don't define.
29545 (__ASSUME_REALTIME_SIGNALS): Likewise.
29546 (__ASSUME_PREAD_SYSCALL): Likewise.
29547 (__ASSUME_PWRITE_SYSCALL): Likewise.
29548 (__ASSUME_POLL_SYSCALL): Likewise.
29549 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29550 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29551 non-SPARC.
29552 (__ASSUME_SIOCGIFNAME): Don't define.
29553 (__ASSUME_MSG_NOSIGNAL): Likewise.
29554 (__ASSUME_SENDFILE): Define unconditionally.
29555 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29556 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29557 conditional code.
29558 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29559 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29560 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29561 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29562 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29563 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29564 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29569 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29578 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29581 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29587 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29589 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29590 Remove conditional code.
29591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29592 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29593 Remove conditional code.
29594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29595 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29596 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29597 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29598 Remove conditional code.
29599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29600 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29601 Remove conditional code.
29602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29603 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29604 Remove conditional code.
29605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29606 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29607 Remove conditional code.
29608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29609 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29610 Remove conditional code.
29611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29612 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29613 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29615 * sysdeps/unix/sysv/linux/sigaction.c
29616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29618 * sysdeps/unix/sysv/linux/sigpending.c
29619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29621 * sysdeps/unix/sysv/linux/sigprocmask.c
29622 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29623 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29624 * sysdeps/unix/sysv/linux/sigsuspend.c
29625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29627 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29628 (__libc_missing_rt_sigs): Remove.
29629 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29630 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29631 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29632 Remove conditional code.
29633 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29634 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29635 return 1.
29636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29637 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29638 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29639 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29640
1bfb7291
AJ
296412012-05-14 Andreas Jaeger <aj@suse.de>
29642
caae5a81
AJ
29643 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29644 it's not used in glibc.
29645 (__coshm1): Likewise.
29646 (__acosh1p): Likewise.
29647 (__sgn): Likewise.
29648
1bfb7291
AJ
29649 * manual/string.texi (Copying and Concatenation): Add missing
29650 variable in concat example.
29651 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29652
c044d724
L
296532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29654
144c5467 29655 [BZ #14103]
c044d724
L
29656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29657 __builtin_clzl with __builtin_clzll.
29658
2523c62b
L
296592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29660
29661 [BZ #14104]
29662 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29663 libc_freeres_ptr.
29664
d7bb4c42
LD
296652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29666
29667 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29668 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29669 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29670 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29671
9dc4e1fb
MF
296722012-05-14 Mike Frysinger <vapier@gentoo.org>
29673
29674 * NEWS: Update ia64 info.
29675
c7df0112
AS
296762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29677
29678 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29679 used as bcopy.
29680
dc70356c
TS
296812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29682
29683 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29684 * sysdeps/unix/syscalls.list (dup3): Likewise.
29685 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29686 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29687
9fb1a21f
L
296882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29689
29690 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29691 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29692
4822a2a5
L
296932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29694
29695 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29696 thread pointer.
29697 (TLS_IE): Use mov/add instead of movq/addq to load thread
29698 pointer.
29699 (TLS_GD_PREFIX): New.
29700 (TLS_GD): Use it.
29701
842b81d6
DM
297022012-05-11 David S. Miller <davem@davemloft.net>
29703
29704 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29705 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29706 (_FPU_SETCW): Likewise.
29707
1cf463cd
L
297082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29709
29710 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29711 is 32-byte aligned.
29712
60cc4a18
AS
297132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29714
29715 [BZ #11837]
29716 * iconvdata/gb18030.c: Update tables.
29717 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29718 characters specially.
29719 (BODY for TO_LOOP): Add encoding of missing ranges.
29720
febb44a4
TS
297212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29722
29723 [BZ #13673]
29724 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29725 * sysdeps/mach/hurd/dup3.c: Likewise.
29726 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29727 * sysdeps/powerpc/memmove.c:: Likewise.
29728
0a10fb9e
L
297292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29730
29731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29732 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29733
df8a552f
L
297342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29735
29736 * elf/elf.h (R_X86_64_RELATIVE64): New.
29737 (R_X86_64_NUM): Updated.
29738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29739 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29740 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29741 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29742 tst-quad1pie tst-quad2pie
29743 (modules-names): Add tst-quadmod1 tst-quadmod2.
29744 ($(objpfx)tst-quad1): New dependency.
29745 ($(objpfx)tst-quad2): Likewise.
29746 ($(objpfx)tst-quad1pie): Likewise.
29747 ($(objpfx)tst-quad2pie): Likewise.
29748 * sysdeps/x86_64/tst-quad1.c: New file.
29749 * sysdeps/x86_64/tst-quad1pie.c: New file.
29750 * sysdeps/x86_64/tst-quad2.c: Likewise.
29751 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29752 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29753 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29754 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29755 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29756
f34d6f84
ST
297572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29758
f42d41d1
ST
29759 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29760 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29761 * streams/stropts.h (t_scalar_t): Define type.
29762
3c3571fc
ST
29763 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29764 (_PATH_PRESERVE): Set to "/var/lib".
29765 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29766
61f06bd3
ST
29767 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29768 instead of int.
29769
918d4d71
ST
29770 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29771 if __dir_mkfile succeeded.
29772
f34d6f84
ST
29773 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29774 checking for _hurd_dtablesize. Unlock it right after having
29775 finished _hurd_dtable allocation.
29776
10589b4a
TS
297772012-05-10 Thomas Schwinge <thomas@schwinge.name>
29778
674cdbc7
TS
29779 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29780 * sysdeps/mach/hurd/configure: Regenerated.
29781 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29782 special-casing to...
29783 * sysdeps/gnu/configure.in: ... this new file.
29784 * sysdeps/unix/sysv/linux/configure: Regenerated.
29785 * sysdeps/gnu/configure: New generated file.
29786
8e41b99f
TS
29787 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29788 for Linux: use nsec instead of usec, as well as:
29789 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29790 members of type struct timespec.
29791 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29792 New macros.
29793 (struct stat64): Likewise.
29794 (_STATBUF_ST_NSEC): New macro.
29795 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29796
10589b4a
TS
29797 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29798 __strtoul_internal rather than strtoul.
29799
63643c85
PT
298002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29801
29802 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29803 and reject them.
29804
3faebe6a
ST
298052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29806
29807 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29808 which preserves existing values.
29809 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29810
c6474b07
PT
298112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29812
29813 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29814 TIMEOUT values. Return EINVAL for NFDS values either negative or
29815 greater than FD_SETSIZE.
29816
1043890b
ST
298172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29818
29819 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29820 allocated, call __vm_protect to finish enabling the existing space, and
29821 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29822 allocate the remainder.
29823
37ed8b9b
PT
298242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29825
29826 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29827 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29828
db653660
ST
298292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29830
37ed8b9b
PT
29831 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29832 sysdeps/mach/hurd/readlink.c.
b29d4053 29833
db653660
ST
29834 * posix/tst-sysconf.c (posix_options): Only use
29835 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29836 _POSIX_SYNCHRONIZED_IO when they are defined
29837 * sysdeps/mach/hurd/bits/posix_opt.h:
29838 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29839 (_XOPEN_REALTIME): Undefine macro.
29840 (_XOPEN_REALTIME_THREADS): Undefine macro.
29841 (_XOPEN_SHM): Undefine macro.
29842 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29843 macro to -1.
29844 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29845 macro to -1.
29846 (_POSIX_ASYNC_IO): Undefine macro.
29847 (_POSIX_PRIORITIZED_IO): Undefine macro.
29848 (_POSIX_SPIN_LOCKS): Define macro to -1.
29849
ee16e894
ST
29850 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29851 SA_NODEFER, SA_RESETHAND.
29852 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29853 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29854 F_DUPFD_CLOEXEC.
29855
6103ae3b
TS
298562012-05-10 Thomas Schwinge <thomas@schwinge.name>
29857
29858 * elf/Makefile (pldd-modules): Define unconditionally.
29859
80b4e5f3
TS
298602012-05-10 Thomas Schwinge <thomas@schwinge.name>
29861
29862 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29863
edadcbd6
ST
298642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29865
29866 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29867 Return ENOENT when name is empty.
29868 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29869
80694780
TS
298702012-05-10 Thomas Schwinge <thomas@schwinge.name>
29871
1792c087
TS
29872 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29873
80694780
TS
29874 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29875
6b645f0d
ST
298762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29877
80694780
TS
29878 Fix mlock in all cases except non-readable pages.
29879 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29880 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29881
6b645f0d
ST
29882 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29883 (__mkdir): When path is `/', just fail with EEXIST.
29884 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29885
e468f8a3
TS
298862012-05-10 Thomas Schwinge <thomas@schwinge.name>
29887
29888 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29889 <sys/uio.h> (for writev).
29890 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29891 and <sys/param.h> (for MIN).
29892
a4186cff
PT
298932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29894
29895 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29896 REQUESTED_TIME. Properly set the remaining time and return EINTR
29897 if interrupted.
29898
510bbf14
TS
298992012-05-10 Thomas Schwinge <thomas@schwinge.name>
29900
29901 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29902 Depend on against $(link-rpcuserlibs).
29903
5d5722e8
ST
299042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29905
a4186cff
PT
29906 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29907 (__libc_stack_end): Do not use attribute_relro.
29908 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29909 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29910 to libthread-provided value.
a4186cff
PT
29911 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29912 attribute_relro.
5d5722e8 29913
37233df9
TS
299142012-05-10 Thomas Schwinge <thomas@schwinge.name>
29915
be971a2b
TS
29916 [BZ #3748]
29917 * bits/libc-lock.h (__libc_once_get): New macro.
29918 * sysdeps/mach/bits/libc-lock.h: Likewise.
29919 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29920 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29921 instead of using implementation details.
29922
37233df9
TS
29923 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29924 * libio/freopen.c: Likewise.
29925 * libio/freopen64.c: Likewise.
29926 * misc/syslog.c: Likewise.
29927 * nscd/connections.c: Likewise.
29928 * nscd/netgroupcache.c: Likewise.
29929 * sysdeps/posix/getcwd.c: Likewise.
29930
38de94a5
RM
299312012-05-10 Roland McGrath <roland@hack.frob.com>
29932
29933 * math/w_ilogbf.c: Add #include <limits.h>.
29934
67530489
ST
299352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29936
a4186cff 29937 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29938 path instead of returning without unlocking.
29939
67530489
ST
29940 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29941 immediate-write ioctls.
29942 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29943
5aa3a74a
TS
299442012-05-10 Thomas Schwinge <thomas@schwinge.name>
29945
18bad2ae
TS
29946 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29947 __builtin_frame_address instead of making assumptions about the
29948 location of the return address relative to DATA. Force early load of
29949 the return address.
29950 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29951 __builtin_frame_address.
29952
5aa3a74a
TS
29953 dup3 for GNU Hurd.
29954 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29955 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29956 implement dup3 and do some further code clean-ups.
29957 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29958 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29959
ecd0de9a
ST
299602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29961
cd9fa985
ST
29962 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29963
a4186cff
PT
29964 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29965 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29966 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29967 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29968 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29969 d->port.lock.
802ca5a5 29970
a4186cff
PT
29971 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29972 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29973 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29974
bcf55240
TS
299752012-05-10 Thomas Schwinge <thomas@schwinge.name>
29976
6960eb42
TS
29977 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29978 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29979 definitions.
29980
eb43375f
TS
29981 accept4 for GNU Hurd.
29982 * include/sys/socket.h (__libc_accept4): New prototype.
29983 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29984 to implement __libc_accept4.
29985 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29986 __libc_accept4.
29987 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29988
bcf55240
TS
29989 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29990 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29991 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29992 signal-defines.sym.
29993
6178c55b
ST
299942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29995
a4186cff 29996 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29997
6f080c2f
TS
299982012-05-10 Thomas Schwinge <thomas@schwinge.name>
29999
30000 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30001 assertion on O_CLOEXEC flag.
30002 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30003 * hurd/intern-fd.c: Likewise.
30004 * hurd/port2fd.c: Likewise.
30005
bcfe3a54
ST
300062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30007
30008 [BZ #3906]
30009 * bits/in.h (IPV6_PKTINFO): Define new macro.
30010 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30011
89c9aa49
AZ
300122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30013
30014 [BZ #13954]
30015 [BZ #13955]
30016 [BZ #13956]
30017 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30019 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30020 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30022 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30023 * math/libm-test.inc (logb_test) : Additional logb tests.
30024
021db4be
AJ
300252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30026 Andreas Jaeger <aj@suse.de>
30027
30028 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30029 * configure: Regenerated.
30030 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30031 * config.make.in (link-obsolete-rpc): New substituted variable.
30032 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30033 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30034 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30035 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30036 so that libc.a contains the symbols.
30037 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30038 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30039 * sunrpc/auth_none.c: Likewise.
30040 * sunrpc/auth_unix.c: Likewise.
30041 * sunrpc/authdes_prot.c: Likewise.
30042 * sunrpc/authuxprot.c: Likewise.
30043 * sunrpc/clnt_gen.c: Likewise.
30044 * sunrpc/clnt_perr.c: Likewise.
30045 * sunrpc/clnt_raw.c: Likewise.
30046 * sunrpc/clnt_simp.c: Likewise.
30047 * sunrpc/clnt_tcp.c: Likewise.
30048 * sunrpc/clnt_udp.c: Likewise.
30049 * sunrpc/clnt_unix.c: Likewise.
30050 * sunrpc/des_crypt.c: Likewise.
30051 * sunrpc/des_soft.c: Likewise.
30052 * sunrpc/get_myaddr.c: Likewise.
30053 * sunrpc/key_call.c: Likewise.
30054 * sunrpc/key_prot.c: Likewise.
30055 * sunrpc/netname.c: Likewise.
30056 * sunrpc/pm_getmaps.c: Likewise.
30057 * sunrpc/pm_getport.c: Likewise.
30058 * sunrpc/pmap_clnt.c: Likewise.
30059 * sunrpc/pmap_prot.c: Likewise.
30060 * sunrpc/pmap_prot2.c: Likewise.
30061 * sunrpc/pmap_rmt.c: Likewise.
30062 * sunrpc/publickey.c: Likewise.
30063 * sunrpc/rpc_cmsg.c: Likewise.
30064 * sunrpc/rpc_common.c: Likewise.
30065 * sunrpc/rpc_dtable.c: Likewise.
30066 * sunrpc/rpc_prot.c: Likewise.
30067 * sunrpc/rpc_thread.c: Likewise.
30068 * sunrpc/rtime.c: Likewise.
30069 * sunrpc/svc.c: Likewise.
30070 * sunrpc/svc_auth.c: Likewise.
30071 * sunrpc/svc_raw.c: Likewise.
30072 * sunrpc/svc_run.c: Likewise.
30073 * sunrpc/svc_tcp.c: Likewise.
30074 * sunrpc/svc_udp.c: Likewise.
30075 * sunrpc/svc_unix.c: Likewise.
30076 * sunrpc/svcauth_des.c: Likewise.
30077 * sunrpc/xcrypt.c: Likewise.
30078 * sunrpc/xdr.c: Likewise.
30079 * sunrpc/xdr_array.c: Likewise.
30080 * sunrpc/xdr_float.c: Likewise.
30081 * sunrpc/xdr_intXX_t.c: Likewise.
30082 * sunrpc/xdr_mem.c: Likewise.
30083 * sunrpc/xdr_rec.c: Likewise.
30084 * sunrpc/xdr_ref.c: Likewise.
30085 * sunrpc/xdr_sizeof.c: Likewise.
30086 * sunrpc/xdr_stdio.c: Likewise.
30087
b5c086a2
RM
300882012-05-10 Roland McGrath <roland@hack.frob.com>
30089
30090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30091 change. Update copyright years.
30092
6d74dd09
JM
300932012-05-10 Joseph Myers <joseph@codesourcery.com>
30094
30095 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30096
28e72501
MK
300972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30098 Joseph Myers <joseph@codesourcery.com>
30099 Paul Pluzhnikov <ppluzhnikov@google.com>
30100
30101 [BZ #14012]
30102 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30103 requiring rpcgen.
30104 [cross-compiling] (extra-libs): Likewise.
30105 [cross-compiling] (extra-libs-others): Likewise.
30106 [cross-compiling] (librpcsvc-routines): Likewise.
30107 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30108 [cross-compiling] (omit-deps): Likewise.
30109 (sunrpc-CPPFLAGS): New variable.
30110 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30111 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30112 (cross-rpcgen-objs): New variable.
30113 (extra-objs): Append $(cross-rpcgen-objs).
30114 ($(cross-rpcgen-objs)): New rule.
30115 ($(objpfx)cross-rpcgen): Likewise.
30116 (rpcgen-cmd): Define to use $(built-program-file). Expand
30117 comment.
30118 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30119 ($(objpfx)x%.stmp): Likewise.
30120 * sunrpc/proto.h [IS_IN_build] (_): Define.
30121 [IS_IN_build] (_libc_intl_domainname): Likewise.
30122
c8c59454
L
301232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30124
30125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30126 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30127 and R_X86_64_TPOFF64.
30128
6f27cd16
JM
301292012-05-10 Joseph Myers <joseph@codesourcery.com>
30130
30131 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30132 sysdeps/unix/sysv/syscalls.list.
30133 (stime): Likewise.
30134 (utime): Likewise.
30135 * sysdeps/unix/sysv/syscalls.list: Remove file.
30136
02467e1c
PE
301372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30138
30139 [BZ #3440]
30140 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30141 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30142 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30143 (__LC_IDENTIFICATION): Make these macros useful in #if
30144 expressions, as required by C99.
30145
da392631
AS
301462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30147
30148 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30149 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30150 after this.
30151
8115f29b
L
301522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30153
30154 * stdlib/longlong.h: Updated from GCC.
30155
bdd74070
AJ
301562012-05-09 Andreas Jaeger <aj@suse.de>
30157
edfe0dbe
AJ
30158 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30159 default is first entry.
30160 (run_mode): Set type.
30161 (main): Remove informal message about syslog.
30162 (options): Fix typo.
30163
bcfe3a54
ST
30164 [BZ #14053]
30165 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30166 to asm.
bcfe3a54
ST
30167 (lrint): Likewise.
30168 (llrintf): Likewise.
30169 (llrint): Likewise.
30170 (rint): Likewise.
30171 (rintf): Likewise.
30172 (nearbyint): Likewise.
30173 (nearbyintf): Likewise.
bdd74070 30174
91d8d69e
AJ
301752012-05-09 Andreas Jaeger <aj@suse.de>
30176 Pedro Alves <palves@redhat.com>
30177
30178 * nscd/nscd.c (run_mode): Use enum.
30179 (main): Cleanup coding style issue.
30180
bb90b80b
AJ
301812012-05-09 Alexandre Oliva <aoliva@redhat.com>
30182 Andreas Jaeger <aj@suse.de>
30183
bcfe3a54
ST
30184 * nscd/nscd.c (go_background): Replaced with...
30185 (run_mode): ... this.
bb90b80b 30186 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30187 (options): Add -F --foreground.
30188 (main): Implement it.
30189 (parse_opt): Parse it.
bb90b80b 30190
1a4b75a1
AJ
301912012-05-09 Andreas Jaeger <aj@suse.de>
30192
30193 [BZ #14083]
30194 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30195 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30196 -Wconversion warning.
30197 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30198 Likewise.
30199
b1cc2472
JM
302002012-05-09 Joseph Myers <joseph@codesourcery.com>
30201
30202 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30203 == 0.
30204 (LC_ALL): Use macro-int-constant.
30205 (LC_COLLATE): Likewise.
30206 (LC_CTYPE): Likewise.
30207 (LC_MESSAGES): Likewise.
30208 (LC_MONETARY): Likewise.
30209 (LC_NUMERIC): Likewise.
30210 (LC_TIME): Likewise.
30211 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30212 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30214 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30215 Specify type.
30216 [C99-based standards] (float_t): Expect type.
30217 [C99-based standards] (double_t): Expect type.
30218 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30219 type.
30220 [C99-based standards] (HUGE_VALL): Likewise.
30221 [C99-based standards] (INFINITY): Likewise.
30222 [C99-based standards] (NAN): Likewise.
30223 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30224 [C99-based standards] (FP_NAN): Likewise.
30225 [C99-based standards] (FP_NORMAL): Likewise.
30226 [C99-based standards] (FP_SUBNORMAL): Likewise.
30227 [C99-based standards] (FP_ZERO): Likewise.
30228 [C99-based standards] (FP_FAST_FMA): Use
30229 optional-macro-int-constant. Specify type. Require == 1.
30230 [C99-based standards] (FP_FAST_FMAF): Likewise.
30231 [C99-based standards] (FP_FAST_FMAL): Likewise.
30232 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30233 [C99-based standards] (FP_ILOGBNAN): Likewise.
30234 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30235 Specify type.
30236 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30237 [C99-based standards] (math_errhandling): Specify type.
30238 [ISO99 || ISO11] (signgam): Do not allow.
30239 [non-C99-based standards] (copysignf): Do not allow.
30240 [non-C99-based standards] (exp2f): Likewise.
30241 [non-C99-based standards] (log2f): Likewise.
30242 [non-C99-based standards] (modff): Allow.
30243 [non-C99-based standards] (erff): Do not allow.
30244 [non-C99-based standards] (erfcf): Likewise.
30245 [non-C99-based standards] (gammaf): Likewise.
30246 [non-C99-based standards] (hypotf): Likewise.
30247 [non-C99-based standards] (j0f): Likewise.
30248 [non-C99-based standards] (j1f): Likewise.
30249 [non-C99-based standards] (jnf): Likewise.
30250 [non-C99-based standards] (lgammaf): Likewise.
30251 [non-C99-based standards] (tgammaf): Likewise.
30252 [non-C99-based standards] (y0f): Likewise.
30253 [non-C99-based standards] (y1f): Likewise.
30254 [non-C99-based standards] (ynf): Likewise.
30255 [non-C99-based standards] (isnanf): Likewise.
30256 [non-C99-based standards] (acoshf): Likewise.
30257 [non-C99-based standards] (asinhf): Likewise.
30258 [non-C99-based standards] (atanhf): Likewise.
30259 [non-C99-based standards] (cbrtf): Likewise.
30260 [non-C99-based standards] (expm1f): Likewise.
30261 [non-C99-based standards] (ilogbf): Likewise.
30262 [non-C99-based standards] (log1pf): Likewise.
30263 [non-C99-based standards] (logbf): Likewise.
30264 [non-C99-based standards] (nextafterf): Likewise.
30265 [non-C99-based standards] (remainderf): Likewise.
30266 [non-C99-based standards] (rintf): Likewise.
30267 [non-C99-based standards] (scalbf): Likewise.
30268 [non-C99-based standards] (copysignl): Likewise.
30269 [non-C99-based standards] (exp2l): Likewise.
30270 [non-C99-based standards] (log2l): Likewise.
30271 [non-C99-based standards] (modfl): Allow.
30272 [non-C99-based standards] (erfl): Do not allow.
30273 [non-C99-based standards] (erfcl): Likewise.
30274 [non-C99-based standards] (gammal): Likewise.
30275 [non-C99-based standards] (hypotl): Likewise.
30276 [non-C99-based standards] (j0l): Likewise.
30277 [non-C99-based standards] (j1l): Likewise.
30278 [non-C99-based standards] (jnl): Likewise.
30279 [non-C99-based standards] (lgammal): Likewise.
30280 [non-C99-based standards] (tgammal): Likewise.
30281 [non-C99-based standards] (y0l): Likewise.
30282 [non-C99-based standards] (y1l): Likewise.
30283 [non-C99-based standards] (ynl): Likewise.
30284 [non-C99-based standards] (isnanl): Likewise.
30285 [non-C99-based standards] (acoshl): Likewise.
30286 [non-C99-based standards] (asinhl): Likewise.
30287 [non-C99-based standards] (atanhl): Likewise.
30288 [non-C99-based standards] (cbrtl): Likewise.
30289 [non-C99-based standards] (expm1l): Likewise.
30290 [non-C99-based standards] (ilogbl): Likewise.
30291 [non-C99-based standards] (log1pl): Likewise.
30292 [non-C99-based standards] (logbl): Likewise.
30293 [non-C99-based standards] (nextafterl): Likewise.
30294 [non-C99-based standards] (remainderl): Likewise.
30295 [non-C99-based standards] (rintl): Likewise.
30296 [non-C99-based standards] (scalbl): Likewise.
30297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30298 [non-C99-based standards] (FP_*): Do not allow.
30299 [C99-based standards] (FP_*): Change to
30300 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30301 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30302 allow.
30303 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30304 (SIG_ERR): Likewise.
30305 [X/Open-based standards] (SIG_HOLD): Likewise.
30306 (SIG_IGN): Likewise.
30307 (SIGABRT): Use macro-int-constant. Specify type. Require
30308 positive value.
30309 (SIGFPE): Likewise.
30310 (SIGILL): Likewise.
30311 (SIGINT): Likewise.
30312 (SIGSEGV): Likewise.
30313 (SIGTER): Likewise.
30314 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30315 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30316 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30317 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30318 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30319 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30320 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30321 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30322 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30323 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30324 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30325 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30326 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30327 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30328 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30329 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30330 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30331 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30332 [X/Open-based standards] (SIGTRAP): Likewise.
30333 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30334 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30335 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30336 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30337 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30338 allow.
30339
b9f1922d
IW
303402012-05-08 Ian Wienand <ianw@vmware.com>
30341
30342 [BZ #14080]
30343 * time/tzset.c (__tzset_parse_tz): Update default rules for
30344 daylight time changes in the Energy Policy Act of 2005.
30345
1db86e88
AJ
303462012-05-09 Andreas Jaeger <aj@suse.de>
30347
30348 [BZ #13983]
30349 * elf/ldconfig.c (parse_conf): Change string to make clear that
30350 ldconfig only issued a warning if ld.so.conf does not exist.
30351
dee4a4e3
DM
303522012-05-08 David S. Miller <davem@davemloft.net>
30353
ee0db190
DM
30354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30355 movxtod instead of popping the value on the stack.
30356
dee4a4e3
DM
30357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30358
6a43ec98
CD
303592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30360
30361 * config.h.in: Add HAVE_ARM_PCS_VFP.
30362
05c2c961
RMG
303632012-05-08 Roland Mc Grath <roland@hack.frob.com>
30364
bcfe3a54
ST
30365 [BZ #13979]
30366 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30367 checking but the checks are disabled for any reason.
05c2c961 30368
4b30f61a
L
303692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30370
30371 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30372 and ELF64_R_TYPE with ELFW(R_TYPE).
30373
eee2bc67
JM
303742012-05-08 Joseph Myers <joseph@codesourcery.com>
30375
7ea5391a
JM
30376 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30377 (ulimit): Likewise.
30378
eee2bc67
JM
30379 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30380 (settimeofday): Likewise.
30381
abb66a67
MF
303822012-05-08 Mike Frysinger <vapier@gentoo.org>
30383
30384 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30385 a struct th_u2 inside the union, and move tu_block/tu_code into
30386 a new th_u3 union of tu_block/tu_code inside of that. Move
30387 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30388 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30389 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30390 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30391 (th_stuff): Change to th_u1.tu_stuff.
30392 (th_data): Define.
30393 (th_msg): Change to th_u1.th_u2.tu_data.
30394
7f18b530
DM
303952012-05-07 David S. Miller <davem@davemloft.net>
30396
05760585
DM
30397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30398
7f18b530
DM
30399 [BZ #14074]
30400 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30401 (SETUP_PIC_REG): Use it.
30402 (SETUP_PIC_REG_LEAF): Use it.
30403
495fd99f
JM
304042012-05-07 Joseph Myers <joseph@codesourcery.com>
30405
30406 [BZ #13885]
30407 [BZ #13923]
30408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30409 USE_AS_EXPM1L.
30410 (EXPL_FINITE): Likewise.
30411 (FLDLOG): Likewise.
30412 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30413 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30414 e_expl.S.
30415 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30416 USE_AS_EXPM1L.
30417 (EXPL_FINITE): Likewise.
30418 (FLDLOG): Likewise.
30419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30420 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30421 e_expl.S.
30422 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30423 test of -max_value argument for long double.
30424 * sysdeps/i386/fpu/libm-test-ulps: Update.
30425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30426
6693d694
DM
304272012-05-06 David S. Miller <davem@davemloft.net>
30428
30429 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30430 quad soft-float symbols whose references which are compiler
30431 generated.
30432 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30433
6c23e11c
JM
304342012-05-06 Joseph Myers <joseph@codesourcery.com>
30435
d8b82cad
JM
30436 [BZ #13884]
30437 [BZ #13914]
30438 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30439 USE_AS_EXP10L.
30440 (EXPL_FINITE): Likewise.
30441 (FLDLOG): Likewise.
30442 (c0): Likewise.
30443 (c1): Likewise.
30444 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30445 Adjust comments for base varying.
30446 (__expl_finite): Change alias to EXPL_FINITE.
30447 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30448 e_expl.S.
30449 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30450 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30451 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30452 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30454 USE_AS_EXP10L.
30455 (EXPL_FINITE): Likewise.
30456 (FLDLOG): Likewise.
30457 (c0): Likewise.
30458 (c1): Likewise.
30459 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30460 Adjust comments for base varying.
30461 (__expl_finite): Change alias to EXPL_FINITE.
30462 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30463 tests for bugs.
30464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30465
6c23e11c
JM
30466 [BZ #14064]
30467 * math/libm-test.inc (check_float_internal): Correct ulp
30468 calculation for subnormal expected results.
30469
29ba805c
AJ
304702012-05-06 Andreas Jaeger <aj@suse.de>
30471
30472 * Makeconfig (+math-flags): New, set to -frounding-math.
30473 (+cflags): Add +math-flags so that all of glibc gets compiled with
30474 it.
30475
30476 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30477
7b17aeda
JM
304782012-05-05 Joseph Myers <joseph@codesourcery.com>
30479
5779f134
JM
30480 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30481 Disable one test.
30482
41498f4d
JM
30483 [BZ #13787]
30484 [BZ #13922]
30485 [BZ #14036]
30486 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30487 (__ieee754_expl): Allow for and saturate large arguments.
30488 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30489 (u_threshold): Likewise.
30490 (__exp): Call __ieee754_exp before checking for overflow and
30491 underflow.
30492 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30493 (u_threshold): Likewise.
30494 (__expf): Call __ieee754_expf before checking for overflow and
30495 underflow.
30496 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30497 (u_threshold): Likewise.
30498 (__expl): Call __ieee754_expl before checking for overflow and
30499 underflow.
30500 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30501 (__ieee754_expl): Allow for and saturate large arguments.
30502 * math/libm-test.inc (exp_test): Add another test. Do not allow
30503 missing overflow exception on overflow.
30504 (expm1_test): Do not allow missing overflow exception on overflow.
30505
6698b8bf
JM
30506 * sysdeps/i386/fpu/e_expl.c: Move to ...
30507 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30508 rather than using inline asm.
30509 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30510 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30511 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30512
7b17aeda
JM
30513 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30514 (nice): Likewise.
30515 (poll): Likewise.
30516 (signal): Likewise.
30517 (time): Likewise.
30518 (times): Likewise.
30519
f7c85819
JM
305202012-05-04 Joseph Myers <joseph@codesourcery.com>
30521
30522 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30523 sysdeps/unix/common/syscalls.list.
30524 (fchmod): Likewise.
30525 (fchown): Likewise.
30526 (ftruncate): Likewise.
30527 (getrusage): Likewise.
30528 (gettimeofday): Likewise.
30529 (setpgid): Likewise.
30530 (setregid): Likewise.
30531 (setreuid): Likewise.
30532 (sigaction): Likewise.
30533 (truncate): Likewise.
30534 (vhangup): Likewise.
30535 * sysdeps/unix/common/syscalls.list: Remove file.
30536 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30537 * sysdeps/unix/sysv/linux/Implies: Likewise.
30538
336270d0
L
305392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30543 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30544 Moved to ...
30545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30546 Here.
30547 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30548 to ...
30549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30550 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30551 to ...
30552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30553 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30554 to ...
30555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30556 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30557 to ...
30558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30559 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30560 to ...
30561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30562 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30563 to ...
30564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30565 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30566 to ...
30567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30568 Here.
30569 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30570 to ...
30571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30572 Here.
30573 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30574 to ...
30575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30576 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30577 Moved to ...
30578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30579 Here.
30580 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30581 to ...
30582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30583
d128e450
JM
305842012-05-04 Joseph Myers <joseph@codesourcery.com>
30585
fa8ee516
JM
30586 * sysdeps/unix/common/bits/dirent.h: Remove file.
30587 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30588
d128e450
JM
30589 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30590 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30591 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30592 * sysdeps/unix/bsd/isatty.c: Likewise.
30593 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30594 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30595 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30596
ff8faaf0 305972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30598
62881be4 30599 [BZ #13563]
31dc8730
AZ
30600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30601 long double comparison inaccuracies.
30602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30604
6fef930c
AS
306052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30606
30607 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30609
8f203e6c
JM
306102012-05-04 Joseph Myers <joseph@codesourcery.com>
30611
30612 [BZ #14049]
30613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30614 nonzero digits before rounding a hex value.
30615 * stdlib/tst-strtod.c (tests): Add another test.
30616
5197d9c2
AK
306172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30618
30619 * sysdeps/s390/fpu/libm-test-ulps: Update.
30620
f0c1dedf
AJ
306212012-05-03 Andreas Jaeger <aj@suse.de>
30622
30623 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30624 does not get optimized out.
30625 (malloc_opt_barrier): New.
30626
a65ef2ae 306272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30628 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30629
2b942cb7 30630 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30631 intermediate file deletion.
2b942cb7 30632 (generated): Add .symlist files.
a65ef2ae 30633
54b71e02
JM
306342012-05-03 Joseph Myers <joseph@codesourcery.com>
30635
30636 [BZ #13775]
30637 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30638 Redirect under this condition.
30639 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30640 [__USE_GNU] (__dprintf_chk): Not under this condition.
30641 [__USE_GNU] (__vdprintf_chk): Likewise.
30642 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30643 under this condition.
30644 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30645 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30646 [__USE_XOPEN2K8] (vdprintf): Likewise.
30647 [__USE_GNU] (__dprintf_chk): Not under this condition.
30648 [__USE_GNU] (__vdprintf_chk): Likewise.
30649 [__USE_GNU] (dprintf): Likewise.
30650 [__USE_GNU] (vdprintf): Likewise.
30651
d3dfcc41
RM
306522012-05-03 Roland McGrath <roland@hack.frob.com>
30653
30654 * elf/Makefile (common-generated): Set this instead of generated for
30655 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30656 $(all-built-dso)-derived lists.
30657
7ac30cc5
AJ
306582012-05-03 Andreas Jaeger <aj@suse.de>
30659
0c51e550
AJ
30660 * sysdeps/i386/fpu/libm-test-ulps: Update.
30661
7ac30cc5
AJ
30662 * FAQ: Removed.
30663 * FAQ.in: Likewise.
30664 * scripts/gen-FAQ.pl: Likewise.
30665 * manual/install.texi (Installation): Point to online location of
30666 FAQ.
30667 * Makefile (files-for-dist): Remove FAQ.
30668 (FAQ): Remove.
30669
d4c2917f
AM
306702012-05-02 Allan McRae <allan@archlinux.org>
30671
30672 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30673 (LDFLAGS-reldepmod5.so): Likewise.
30674 (LDFLAGS-reldep6mod1.so): Likewise.
30675 (LDFLAGS-reldep6mod4.so): Likewise.
30676 (LDFLAGS-reldep8mod3.so): Likewise.
30677 (LDFLAGS-unload4mod1.so): Likewise.
30678 (LDFLAGS-unload4mod2.so): Likewise.
30679 (LDFLAGS-tst-initorder): Likewise.
30680 (LDFLAGS-tst-initordera2.so): Likewise.
30681 (LDFLAGS-tst-initordera3.so): Likewise.
30682 (LDFLAGS-tst-initordera4.so): Likewise.
30683 (LDFLAGS-tst-initorderb2.so): Likewise.
30684 (LDFLAGS-noload): Likewise.
30685 (LDFLAGS-next): Likewise.
30686 (LDFLAGS-order2mod1.so): Likewise.
30687 (LDFLAGS-order2mod2.so): Likewise.
30688 (LDFLAGS-tst-initorder2): Likewise.
30689 (LDFLAGS-tst-initorder2a.so): Likewise.
30690 (LDFLAGS-tst-initorder2b.so): Likewise.
30691 (LDFLAGS-tst-initorder2c.so): Likewise.
30692 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30693
d77f993f
DM
306942012-05-02 David S. Miller <davem@davemloft.net>
30695
30696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30697
171a70b4
PP
306982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30699
30700 [BZ #14055]
30701 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30702
0be196ad
AJ
307032012-05-02 Andreas Jaeger <aj@suse.de>
30704
30705 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30706 since we manipulate rounding mode.
30707 (CPPFLAGS-test-idouble.c): Likewise.
30708 (CPPFLAGS-test-ifloat.c): Likewise.
30709 (CFLAGS-test-ldouble.c): Likewise.
30710 (CFLAGS-test-double.c): Likewise.
30711 (CFLAGS-test-float.c): Likewise.
30712 (CFLAGS-test-misc.c): Likewise.
30713 (CFLAGS-test-test-fenv.c): Likewise.
30714
4f9d04aa
AZ
307152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30716
2b942cb7
RM
30717 [BZ #2550]
30718 [BZ #2570]
30719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30720 comparisons to determine direction to adjust input.
4f9d04aa 30721
82a79e7d
RM
307222012-05-01 Roland McGrath <roland@hack.frob.com>
30723
f5a01ca9
RM
30724 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30725 output to the target.
30726
90fe4186
RM
30727 * scripts/localplt.awk: New file.
30728 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30729 (check-localplt-CFLAGS): Variable removed.
30730 ($(all-built-dso:=.jmprel)): New static pattern rule.
30731 (generated): Add those targets.
30732 (localplt-built-dso): New variable.
30733 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30734
30735 * elf/check-localplt.c: File removed.
30736
82397ed6
RM
30737 * scripts/check-execstack.awk: New file.
30738 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30739 (check-execstack-CFLAGS): Variable removed.
30740 ($(objpfx)check-execstack.h): Target removed.
30741 ($(objpfx)execstack-default): New target.
30742 (generated): Add that instead of check-execstack.h.
30743 ($(all-built-dso:=.phdr)): New static pattern rule.
30744 (generated): Add those targets.
30745 * elf/check-execstack.c: File removed.
30746
82a79e7d
RM
30747 * scripts/check-textrel.awk: New file.
30748 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30749 (check-textrel-CFLAGS): Variable removed.
30750 (all-built-dso): Use := to define.o
30751 ($(all-built-dso:=.dyn)): New static pattern rule.
30752 (generated): Add those targets.
30753 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30754 * config.make.in (READELF): New substituted variable.
30755 * elf/check-textrel.c: File removed.
30756
62fde54f 307572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30758
615605c9
JM
30759 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30760 allow.
30761 * conform/data/ctype.h-data [C99-based standards] (isblank):
30762 Expect function.
30763 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30764 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30766 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30767 Specify type. Require positive value.
30768 (EILSEQ): Likewise.
30769 (ERANGE): Likewise.
30770 [ISO || POSIX] (EILSEQ): Do not expect.
30771 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30772 Specify type. Require positive value.
30773 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30774 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30775 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30776 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30777 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30778 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30779 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30780 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30781 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30782 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30783 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30784 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30785 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30786 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30787 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30788 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30789 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30790 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30791 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30792 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30793 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30794 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30795 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30796 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30797 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30798 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30799 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30800 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30801 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30802 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30803 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30804 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30805 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30806 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30807 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30808 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30809 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30810 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30811 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30812 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30813 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30814 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30815 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30816 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30817 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30818 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30819 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30820 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30821 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30822 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30824 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30825 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30847 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30848 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30849 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30850 Require >= 2.
30851 (FLT_ROUNDS): Expect as macro, not constant.
30852 (FLT_MANT_DIG): Use macro-int-constant.
30853 (DBL_MANT_DIG): Likewise.
30854 (LDBL_MANT_DIG): Likewise.
30855 (FLT_DIG): Likewise.
30856 (DBL_DIG): Likewise.
30857 (LDBL_DIG): Likewise.
30858 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30859 (DBL_MIN_EXP): Likewise.
30860 (LDBL_MIN_EXP): Likewise.
30861 (FLT_MAX_EXP): Use macro-int-constant.
30862 (DBL_MAX_EXP): Likewise.
30863 (LDBL_MAX_EXP): Likewise.
30864 (FLT_MAX_10_EXP): Likewise.
30865 (DBL_MAX_10_EXP): Likewise.
30866 (LDBL_MAX_10_EXP): Likewise.
30867 (FLT_MAX): Use macro-constant.
30868 (DBL_MAX): Likewise.
30869 (LDBL_MAX): Likewise.
30870 (FLT_EPSILON): Use macro-constant. Give upper bound.
30871 (DBL_EPSILON): Likewise.
30872 (LDBL_EPSILON): Likewise.
30873 (FLT_MIN): Likewise.
30874 (DBL_MIN): Likewise.
30875 (LDBL_MIN): Likewise.
30876 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30877 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30878 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30879 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30880 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30881 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30882 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30883 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30884 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30885 [ISO11] (FLT_TRUE_MIN): Likewise.
30886 [ISO11] (LDBL_TRUE_MIN): Likewise.
30887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30888 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30889 (SCHAR_MIN): Use macro-int-constant. Specify type.
30890 (SCHAR_MAX): Likewise.
30891 (UCHAR_MAX): Likewise.
30892 (CHAR_MIN): Likewise.
30893 (CHAR_MAX): Likewise.
30894 (MB_LEN_MAX): Use macro-int-constant.
30895 (SHRT_MIN): Use macro-int-constant. Specify type.
30896 (SHRT_MAX): Likewise.
30897 (USHRT_MAX): Likewise.
30898 (INT_MAX): Likewise.
30899 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30900 bound negative.
30901 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30902 bound with "U".
30903 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30904 bound with "L".
30905 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30906 bound negative. Suffix upper bound with "L".
30907 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30908 bound with "UL".
30909 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30910 Specify type.
30911 [C99-based standards] (LLONG_MAX): Likewise.
30912 [C99-based standards] (ULLONG_MAX): Likewise.
30913 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30914 == 0.
30915 [ISO11] (max_align_t): Require type.
30916 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30917
c9140a62
JM
30918 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30919 from $CFLAGS, without defining away __attribute__ calls.
30920 (checknamespace): Use $CFLAGS_namespace.
30921
9af0bf29
JM
30922 * conform/conformtest.pl (@keywords): Only include C99 keywords
30923 for standards based on C99 or C11.
30924
343222a2
JM
30925 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30926 Disable tests.
30927 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30928 UNIX98]: Likewise.
30929
661f8cf0
JM
30930 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30931 usability of symbols in #if.
30932
ee74b9cb
JM
30933 * conform/conformtest.pl: If macro or constant types start
30934 "promoted:", expect the symbol to be of the following type
30935 promoted by the integer promotions.
62fde54f 30936
aafc49b3
JM
30937 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30938 in one place. Also handle "macro-constant".
30939
fefdf574
JM
30940 * conform/conformtest.pl: Only accept expected macro values with
30941 "==". Parse all "macro" lines in one place.
30942 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30943
f2d922fe
JM
30944 * conform/conformtest.pl: Handle braced types on "constant" lines
30945 instead of handling "typed-constant".
30946 * conform/data/signal.h-data: Use "constant" instead of
30947 "typed-constant".
30948
d22956c9
JM
30949 * conform/conformtest.pl: Handle "optional-" at start of lines in
30950 one place rather than duplicating several cases. Handle each
30951 format of "macro" line with initial "optional-".
30952
028e2e38
JM
30953 * conform/conformtest.pl: Only accept expected constant or
30954 optional-constant values with "==". Parse all "constant" lines in
30955 one place. Parse all "optional-constant" lines in one place.
30956 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30957 * conform/data/fmtmsg.h-data: Likewise.
30958 * conform/data/netinet/in.h-data: Likewise.
30959 * conform/data/tar.h-data: Likewise.
30960 * conform/data/limits.h-data: Use "==" form on "constant" and
30961 "optional-constant" lines.
30962
1b8f2850
JM
30963 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30964 Use -std=c99 for XOPEN2K.
30965 (@knownproblems): Remove.
30966 (newtoken): Don't check %isknown.
30967
a05a144b
JM
30968 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30969 Do not expect macro.
30970 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30982 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30983 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31000 [XPG3] (acosh): Likewise.
31001 [XPG3] (asinh): Likewise.
31002 [XPG3] (atanh): Likewise.
31003 [XPG3] (cbrt): Likewise.
31004 [XPG3] (expm1): Likewise.
31005 [XPG3] (ilogb): Likewise.
31006 [XPG3] (log1p): Likewise.
31007 [XPG3] (logb): Likewise.
31008 [XPG3] (nextafter): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31011 [XPG3] (remainder): Likewise.
31012 [XPG3] (rint): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31020 [UNIX98 || XOPEN2K] (scalb): Expect.
31021 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31022 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31129 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31130 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31131 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31158
73c5ebe3
JM
31159 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31160 _XOPEN_SOURCE_EXTENDED for XPG4.
31161
39c33b6c
JM
31162 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31163
62fde54f
JM
31164 * Makeconfig (localtime): Remove variable.
31165 (inst_localtime-file): Likewise.
31166
0741d64c
AS
311672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31168
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31170 Update.
31171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31172 Update.
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31174 Update.
31175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31176 Update.
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31178 Update.
31179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31180 Update.
31181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31182 Update.
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31184 Update.
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31186 Update.
31187
7cb029ee
JM
311882012-05-01 Joseph Myers <joseph@codesourcery.com>
31189
31190 [BZ #2550]
31191 [BZ #2570]
31192 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31193 comparisons to determine direction to adjust input.
31194 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31195 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31196 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31197 Likewise.
31198 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31199 Likewise.
31200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31201 Likewise.
31202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31204 Likewise.
31205 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31206 Likewise.
31207 * math/libm-test.inc (nexttoward_test): Add more tests.
31208
412bd966
AS
312092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31210
31211 [BZ #14040]
31212 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31213 in version GLIBC_2.1, not GLIBC_2.0.
31214 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31215 Likewise.
31216
9568c0c2
JM
312172012-04-30 Joseph Myers <joseph@codesourcery.com>
31218
adfbc8ac
JM
31219 [BZ #13942]
31220 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31221 (1 - x) * (1 + x).
31222 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31223 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31224 * math/libm-test.inc (acos_test): Add more tests.
31225 (asin_test): Likewise.
31226 * sysdeps/i386/fpu/libm-test-ulps: Update.
31227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31228
5ba3cc69
JM
31229 [BZ #14034]
31230 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31231 of square root.
31232 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31233 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31234 * math/libm-test.inc (acos_test_tonearest): New function.
31235 (acos_test_towardzero): Likewise.
31236 (acos_test_downward): Likewise.
31237 (acos_test_upward): Likewise.
31238 (asin_test_tonearest): Likewise.
31239 (asin_test_towardzero): Likewise.
31240 (asin_test_downward): Likewise.
31241 (asin_test_upward): Likewise.
31242 (main): Call the new functions.
31243 * sysdeps/i386/fpu/libm-test-ulps: Update.
31244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31245
9568c0c2
JM
31246 [BZ #13884]
31247 [BZ #13924]
31248 * math/e_exp10.c: Include <float.h>.
31249 (__ieee754_exp10): Handle underflow here rather than multiplying
31250 large negative argument by M_LN10.
31251 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31252 of __ieee754_expf.
31253 * math/e_exp10l.c: Include <float.h>.
31254 (__ieee754_exp10l): Handle underflow here rather than multiplying
31255 large negative argument by M_LN10l.
31256 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31257 spurious overflow exception on underflow.
31258
5ac3ea17
MP
312592012-04-29 Marek Polacek <polacek@redhat.com>
31260
31261 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31262 (__fortify_function): New macro.
31263 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31264 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31265 __extern_always_inline.
31266 * libio/bits/stdio2.h: Likewise.
31267 * libio/bits/stdio.h: Likewise.
31268 * string/string.h: Likewise.
31269 * string/bits/string3.h: Likewise.
31270 * include/stdio.h: Likewise.
31271 * stdlib/bits/stdlib.h: Likewise.
31272 * stdlib/stdlib.h: Likewise.
31273 * rt/bits/mqueue2.h: Likewise.
31274 * rt/mqueue.h: Likewise.
31275 * posix/bits/unistd.h: Likewise.
31276 * posix/unistd.h: Likewise.
31277 * io/bits/poll2.h: Likewise.
31278 * io/bits/fcntl2.h: Likewise.
31279 * io/fcntl.h: Likewise.
31280 * io/sys/poll.h: Likewise.
31281 * misc/bits/syslog.h: Likewise.
31282 * misc/bits/syslog-ldbl.h: Likewise.
31283 * misc/sys/syslog.h: Likewise.
31284 * socket/bits/socket2.h: Likewise.
31285 * socket/sys/socket.h: Likewise.
31286 * debug/tst-chk1.c: Likewise.
31287 * wcsmbs/bits/wchar2.h: Likewise.
31288 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31289 * wcsmbs/wchar.h: Likewise.
31290
ecf0ebfb
AJ
312912012-04-29 Andreas Jaeger <aj@suse.de>
31292
31293 * Makerules (tests): Remove enable-check-abi protection.
31294 (check-abi-warn): Remove.
31295 (check-abi-%): Remove check-abi-warn usage.
31296
31297 * configure.in: Remove check-abi configure option.
31298 * configure: Regenerated.
31299 * config.make.in (enable-check-abi): Remove.
31300
6d5c57fa
AS
313012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31302
24c5d07e 31303 [BZ #14033]
ded5180a
AS
31304 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31305 double functions to double *_finite functions.
31306
7e0d315d
AS
31307 [BZ #13941]
31308 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31309 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31310 LDBL_MIN_EXP.
31311 * stdio-common/Makefile (tests): Add tst-sprintf3.
31312 * stdio-common/tst-sprintf3.c: New file.
31313
6d5c57fa
AS
31314 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31315 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31316
0749ff8b
JM
313172012-04-28 Joseph Myers <joseph@codesourcery.com>
31318
31319 * conform/conformtest.pl: Remove duplicate typed-constant
31320 handling.
31321
8dbd5d7b
DM
313222012-04-28 David S. Miller <davem@davemloft.net>
31323
31324 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31325 (check-abi-%): Remove AWK script prerequisite and explicit
31326 abilist directory.
31327 (check-abi): Rewrite to just diff the symlist with the abilist.
31328 (config-tls, config-abi-config): Delete, no longer used.
31329 (update-abi-%): Remove AWK script and explicit abilist directory.
31330 (update-abi): Rewrite to simply compare and conditionally copy the
31331 symlist and the sysdep abilist file. Remove update-abi-config
31332 checks.
31333 * abilist/ld.abilist: Remove.
31334 * abilist/libBrokenLocale.abilist: Remove.
31335 * abilist/libanl.abilist: Remove.
31336 * abilist/libcrypt.abilist: Remove.
31337 * abilist/libdl.abilist: Remove.
31338 * abilist/librt.abilist: Remove.
31339 * abilist/libthread_db.abilist: Remove.
31340 * abilist/libutil.abilist: Remove.
31341 * scripts/extract-abilist.awk: Remove.
31342 * scripts/merge-abilist.awk: Remove.
31343 * sysdeps/generic/libcidn.abilist: New file.
31344 * sysdeps/generic/libnss_compat.abilist: New file.
31345 * sysdeps/generic/libnss_db.abilist: New file.
31346 * sysdeps/generic/libnss_dns.abilist: New file.
31347 * sysdeps/generic/libnss_files.abilist: New file.
31348 * sysdeps/generic/libnss_hesiod.abilist: New file.
31349 * sysdeps/generic/libnss_nis.abilist: New file.
31350 * sysdeps/generic/libnss_nisplus.abilist: New file.
31351 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31352 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31353 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31354 file.
31355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31356 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31357 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31358 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31359 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31360 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31361 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31362 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31363 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31364 file.
31365 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31366 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31368 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31369 file.
31370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31371 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31372 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31373 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31374 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31375 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31376 file.
31377 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31378 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31379 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31380 file.
31381 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31383 New file.
31384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31385 New file.
31386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31387 New file.
31388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31389 New file.
31390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31391 New file.
31392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31393 New file.
31394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31395 New file.
31396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31397 New file.
31398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31399 New file.
31400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31401 New file.
31402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31403 New file.
31404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31405 New file.
31406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31407 New file.
31408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31409 file.
31410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31411 New file.
31412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31413 New file.
31414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31415 file.
31416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31417 New file.
31418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31419 New file.
31420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31421 file.
31422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31423 New file.
31424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31425 New file.
31426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31427 New file.
31428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31429 New file.
31430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31431 New file.
31432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31433 New file.
31434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31436 file.
31437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31438 New file.
31439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31440 file.
31441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31442 file.
31443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31444 file.
31445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31446 file.
31447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31448 file.
31449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31450 New file.
31451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31452 file.
31453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31454 file.
31455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31456 New file.
31457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31458 file.
31459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31461 file.
31462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31463 New file.
31464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31465 file.
31466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31467 file.
31468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31469 file.
31470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31471 file.
31472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31473 file.
31474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31475 New file.
31476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31477 file.
31478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31479 file.
31480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31481 New file.
31482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31483 file.
31484 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31485 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31486 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31487 file.
31488 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31489 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31490 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31491 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31492 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31493 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31494 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31496 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31497 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31500 file.
31501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31502 New file.
31503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31504 file.
31505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31506 file.
31507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31508 file.
31509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31510 file.
31511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31512 file.
31513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31514 New file.
31515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31516 New file.
31517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31518 file.
31519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31520 New file.
31521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31522 file.
31523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31525 file.
31526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31527 New file.
31528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31529 file.
31530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31531 file.
31532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31533 file.
31534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31535 file.
31536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31537 file.
31538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31539 New file.
31540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31541 New file.
31542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31543 file.
31544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31545 New file.
31546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31547 file.
31548
41d73a1b
JM
315492012-04-28 Joseph Myers <joseph@codesourcery.com>
31550
31551 * conform/conformtest.pl: Fix typo in handling typed-constant from
31552 allow-header.
31553
28aeeda4
JM
315542012-04-27 Joseph Myers <joseph@codesourcery.com>
31555
adae8f5e
JM
31556 * README: Cut down references to pre-2.6 Linux kernels and
31557 Linuxthreads. Update lists of configurations in libc and ports
31558 and sort alphabetically. Say "or newer" with Linux kernel version
31559 requirements.
31560
28aeeda4
JM
31561 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31562
a462cb63
RA
315632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31564
31565 [BZ #887]
31566 * math/libm-test.inc (logb_test_downward): New test to expose
31567 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31568 rounding mode.
31569
6ad3493e
JM
315702012-04-27 Joseph Myers <joseph@codesourcery.com>
31571
31572 [BZ #14027]
31573 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31574 to be done.
31575 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31576 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31577
2ce4f015
JM
315782012-04-26 Joseph Myers <joseph@codesourcery.com>
31579
5aeb141a
JM
31580 * sysdeps/unix/i386/brk.S: Remove file.
31581 * sysdeps/unix/i386/dl-brk.S: Likewise.
31582 * sysdeps/unix/i386/pipe.S: Likewise.
31583 * sysdeps/unix/i386/sigreturn.S: Likewise.
31584 * sysdeps/unix/i386/syscall.S: Likewise.
31585 * sysdeps/unix/i386/vfork.S: Likewise.
31586 * sysdeps/unix/i386/wait.S: Likewise.
31587
7143acae
JM
31588 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31589 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31590
2ce4f015
JM
31591 * configure.in (arm*-none*): Do not allow without
31592 --enable-hacker-mode.
31593 (netbsd*): Remove case setting base_os.
31594 (386bsd*): Likewise.
31595 (freebsd*): Likewise.
31596 (bsdi*): Likewise.
31597 (osf*): Likewise.
31598 (sunos*): Likewise.
31599 (ultrix*): Likewise.
31600 (newsos*): Likewise.
31601 (dynix*): Likewise.
31602 (*bsd*): Likewise.
31603 (sysv*): Likewise.
31604 (isc*): Likewise.
31605 (esix*): Likewise.
31606 (sco*): Likewise.
31607 (minix*): Likewise.
31608 (irix4*): Likewise.
31609 (irix6*): Likewise.
31610 (solaris[2-9]*): Likewise.
31611 (none): Likewise.
31612 * configure: Regenerated.
31613
0ac229c8
AZ
316142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31615
31616 [BZ #11521]
31617 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31618 overflow or cancellation in calculating denominator.
31619 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31621 down expression to avoid unexpected rounding in newer GCCs.
31622 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31623
33f244f4
DM
316242012-04-26 David S. Miller <davem@davemloft.net>
31625
31626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31627 long-double compat symbols.
31628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31641
cfa1f3e8
DM
316422012-04-25 David S. Miller <davem@davemloft.net>
31643
31644 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31645 HWCAP_* values only after the memory barriers have been defined.
31646 (atomic_full_barrier): Define.
31647 (atomic_read_barrier): Define.
31648 (atomic_write_barrier): Define.
31649
6e236b92
SP
316502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31651
31652 * shlib-versions: Add libgcc_s version information.
31653 * sysdeps/generic/libgcc_s.h: Remove.
31654 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31655 libgcc_s.h.
31656 * sysdeps/gnu/unwind-resume.c: Likewise.
31657 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31658
aab39a09
DM
316592012-04-25 David S. Miller <davem@davemloft.net>
31660
31661 * sysdeps/unix/sparc/brk.S: Delete.
31662 * sysdeps/unix/sparc/dl-brk.S: Delete.
31663 * sysdeps/unix/sparc/pipe.S: Delete.
31664 * sysdeps/unix/sparc/sysdep.S: Delete.
31665 * sysdeps/unix/sparc/sysdep.h: Delete.
31666 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31667 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31668 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31670 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31671 (JUMPTARGET): Remove.
31672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31673 sysdeps/unix/sparc/sysdep.h
31674 (ENTRY, END): Remove.
31675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31676
a3cc4f48
JM
316772012-04-25 Joseph Myers <joseph@codesourcery.com>
31678
2ed8cda2
JM
31679 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31680 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31681 -DIS_IN_build.
31682
35d76d59
JM
31683 * timezone/README: Update upstream location and email address for
31684 tzcode and tzdata.
31685 * timezone/zdump.c: Update from tzcode 2012b.
31686 * timezone/zic.c: Likewise.
31687
a3cc4f48
JM
31688 * configure.in (libc_cv_as_needed): Remove test.
31689 * configure: Regenerated.
31690 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31691 conditional definition.
31692 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31693 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31694 * config.make.in (have-as-needed): Remove variable.
31695
ceab42c3
SP
316962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31697 Paul Pluzhnikov <ppluzhnikov@google.com>
31698
31699 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31700 strings correctly.
31701
3ce2865f
CLT
317022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31703
31704 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31705 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31706 * sysdeps/sh/strlen.S: Likewise.
31707
f37e0d68
JM
317082012-04-24 Joseph Myers <joseph@codesourcery.com>
31709
ae186e9a
JM
31710 * sysdeps/unix/fork.S: Remove file.
31711 * sysdeps/unix/i386/fork.S: Likewise.
31712 * sysdeps/unix/sparc/fork.S: Likewise.
31713
b96914af
JM
31714 * sysdeps/unix/system.c: Remove file.
31715 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31716
f37e0d68
JM
31717 * sysdeps/unix/getegid.S: Remove file.
31718 * sysdeps/unix/geteuid.S: Likewise.
31719
87ef29ca
RM
317202012-04-24 Roland McGrath <roland@hack.frob.com>
31721
83bcd236
RM
31722 * scripts/check-localplt.awk: New file.
31723 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31724 of diff.
31725 * scripts/data/localplt-generic.data: Add a comment.
31726
87ef29ca
RM
31727 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31728 NODE when __dir_mkfile failed.
31729 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31730 Reported by Ludovic Courtès <ludo@gnu.org>.
31731
e5a6e567
AJ
317322012-04-24 Andreas Jaeger <aj@suse.de>
31733
31734 * Makerules (common-clean): Also remove gen-as-const-headers
31735 files.
31736
c1820385
JM
317372012-04-24 Joseph Myers <joseph@codesourcery.com>
31738
31739 * Makerules (native-compile): Do not change working directory for
31740 build. Use $(OUTPUT_OPTION) in command.
31741 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31742
94e02fc4
AZ
317432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31744
31745 [BZ #13886]
31746 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31747 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31748 * math/libm-test.inc (floor_test): Add more tests.
31749 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31750
3a533ca3
JM
317512012-04-24 Joseph Myers <joseph@codesourcery.com>
31752
940ab4b3
JM
31753 * sysdeps/unix/getdents.c: Remove file.
31754 * sysdeps/unix/sysv/getdents.c: Likewise.
31755 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31756
90e037bd
JM
31757 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31758 sysdeps/unix/mman/syscalls.list.
31759 (mmap): Likewise.
31760 (mprotect): Likewise.
31761 (msync): Likewise.
31762 (munmap): Likewise.
31763 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31764 * sysdeps/unix/mman/syscalls.list: Remove.
31765 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31766
3a533ca3
JM
31767 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31768 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31769 * configure: Regenerated.
31770 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31771 $(libgcc_s_suffix).
31772 * config.make.in (libgcc_s_suffix): Remove variable.
31773
1ad743de
JM
317742012-04-23 Joseph Myers <joseph@codesourcery.com>
31775
4ad451e2
JM
31776 * sysdeps/unix/sysv/gethostname.c: Move to ...
31777 * sysdeps/posix/gethostname.c: ... here.
31778
5e37ce39
JM
31779 * sysdeps/unix/execve.S: Remove file.
31780
1ad743de
JM
31781 * sysdeps/unix/_exit.S: Remove file.
31782
4e681b5b
AJ
317832012-04-23 Andreas Jaeger <aj@suse.de>
31784
31785 [BZ #13739]
31786 * manual/Makefile: Remove make dist support, there's no
31787 need for a stand-alone documentation tar ball.
31788 (TEXI2DVI): Define always, it's not in Makeconfig.
31789 (dist): Removed.
31790 (tar-it): Removed.
31791 (edition): Removed.
31792 (glibc-doc-$(edition).tar): Removed
31793 (%.Z): Removed.
31794 (%.gz): Removed.
31795 (%.uu): Removed.
31796 (ETAGS): Remove, it's in Makeconfig.
31797 (move-if-change): Remove, it's in Makeconfig.
31798
38686a03 317992012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31800
31801 [BZ #13970]
31802 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31803 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31804 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31805 (strtod_l, strtof_l, strtold_l): Remove __wur.
31806 It is not necessarily an error to ignore strtol's return value.
31807 One can reliably look at the stored endptr to decide whether
31808 the number had valid syntax.
31809
7c0616fa
AJ
318102012-04-21 Andreas Jaeger <aj@suse.de>
31811
803cb6b7 31812 [BZ #13739]
7c0616fa
AJ
31813 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31814
b0fe253f
JM
318152012-04-21 Joseph Myers <joseph@codesourcery.com>
31816
31817 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31818 * sysdeps/unix/sysv/Versions: Remove file.
31819
8280f22d
MT
318202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31821
31822 [BZ #13927]
31823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31824
75ce411f 318252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31826
31827 [BZ #7064]
31828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31829 version from __vm86.
31830
097d59fa
JM
318312012-04-20 Joseph Myers <joseph@codesourcery.com>
31832
a90f3bcb
JM
31833 * sysdeps/unix/common/lxstat.c: Remove file.
31834 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31835
edc7ea78
JM
31836 * sysdeps/unix/sysv/Makefile: Remove file.
31837
cb78c221
JM
31838 * sysdeps/unix/sysv/direct.h: Remove file.
31839
efa6a45f
JM
31840 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31841 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31842 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31843 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31844 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31845 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31846 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31847
9c9f2d0c
JM
31848 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31849
4541c83b
JM
31850 * sysdeps/unix/xmknod.c: Remove file.
31851 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31852
f5d153a0
JM
31853 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31854
aa746595
JM
31855 * sysdeps/unix/sysv/i386/time.S: Remove file.
31856
cce5905e
JM
31857 * sysdeps/unix/fxstat.c: Remove file.
31858 * sysdeps/unix/xstat.c: Likewise.
31859 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31860
37fa3841
JM
31861 * sysdeps/unix/sysv/sigaction.c: Remove file.
31862
ff1962a3
JM
31863 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31864 (sysdep_headers): Remove variable.
31865 [termio.h not in sysdep_headers] (generated): Likewise.
31866 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31867 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31868 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31869 * sysdeps/unix/sysv/tcflow.c: Likewise.
31870 * sysdeps/unix/sysv/tcflush.c: Likewise.
31871 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31872 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31873 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31874 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31875 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31876
e7740d31
JM
31877 * sysdeps/unix/siglist.c: Remove file.
31878
ee06f18b
JM
31879 * sysdeps/unix/getppid.S: Remove file.
31880
097d59fa
JM
31881 * sysdeps/unix/mkdir.c: Remove file.
31882 * sysdeps/unix/rmdir.c: Likewise.
31883
ff3d51ec
AS
318842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31885
31886 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31887 ERR_MAX value.
31888 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31889 errlist-compat value.
31890
50f81fd7
DM
318912012-04-18 David S. Miller <davem@davemloft.net>
31892
31893 * sysdeps/generic/memcopy.h (reg_char): Delete.
31894 * debug/strcat_chk.c: Use char, not reg_char.
31895 * debug/strcpy_chk.c: Likewise.
31896 * debug/strncat_chk.c: Likewise.
31897 * debug/strncpy_chk.c: Likewise.
31898 * string/memchr.c: Likewise.
31899 * string/memrchr.c: Likewise.
31900 * string/rawmemchr.c: Likewise.
31901 * string/strcat.c: Likewise.
31902 * string/strchr.c: Likewise.
31903 * string/strchrnul.c: Likewise.
31904 * string/strcmp.c: Likewise.
31905 * string/strcpy.c: Likewise.
31906 * string/strncat.c: Likewise.
31907 * string/strncmp.c: Likewise.
31908 * string/strncpy.c: Likewise.
31909
8ff41c46
WS
319102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31911
31912 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31913 __builtin_memcopy is called when src and dest ranges are known to not
31914 overlap.
31915
6b652f46
WS
319162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31917
31918 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31919 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31920 fwd_align_merge macro call.
31921 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31922 bwd_align_merge macro call.
31923 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31924
b282631e
WS
319252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31926
31927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31928 bwd_align_merge macros.
31929 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31930 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31931 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31932
95aa737c
DM
319332012-04-18 David S. Miller <davem@davemloft.net>
31934
31935 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31936
7a99a614
AJ
319372012-04-18 Andreas Jaeger <aj@suse.de>
31938
31939 [BZ# 6794]
31940 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31941 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31942 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31943
31944 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31945 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31946 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31947
31948 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31949 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31950 Adjust for changed ldbl-128 files.
31951
31952 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31953 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31954 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31955
e5270c23
DM
319562012-04-17 David S. Miller <davem@davemloft.net>
31957
31958 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31959
fb5e92c9
AS
319602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31961
31962 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31963 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31964 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31965 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31966 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31967 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31968
76da7265
AZ
319692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31970
31971 [BZ #6794]
31972 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31973 * math/libm-test.inc: Add ilogb errno and exception tests.
31974 * math/w_ilogb.c: New file: ilogb wrapper.
31975 * math/w_ilogbf.c: New file: ilogbf wrapper.
31976 * math/w_ilogbl.c: New file: ilogbl wrapper.
31977 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31978 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31979 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31980 exception being thrown with 0.0 as argument.
31981 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31982 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31983 exception being thrown with 0.0 as argument.
31984 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31985 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31986 exception being thrown with 0.0 as argument.
31987 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31988 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31989 exception being thrown with 0.0 as argument.
31990 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31991 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31992 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31993 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31994 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31995 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31996 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31997 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31998 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31999
0396e69d
PB
320002012-04-17 Petr Baudis <pasky@ucw.cz>
32001
32002 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32003 with altivec.
32004
750b5926
MP
320052012-04-16 Marek Polacek <polacek@redhat.com>
32006
32007 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32008
751728a1
MP
320092012-04-16 Marek Polacek <polacek@redhat.com>
32010
32011 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32012 operands of fdivp instruction.
32013
34a27407
L
320142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32015
32016 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32017 * elf/tst-auditmod3b.c: Likewise.
32018 * elf/tst-auditmod4b.c: Likewise.
32019 * elf/tst-auditmod5b.c: Likewise.
32020 * elf/tst-auditmod6b.c: Likewise.
32021 * elf/tst-auditmod6c.c: Likewise.
32022 * elf/tst-auditmod7b.c: Likewise.
32023 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32024 * sysdeps/x86_64/preconfigure.in: Likewise.
32025 * sysdeps/x86_64/preconfigure: Regenerated.
32026
7e73e17d
L
320272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32028
32029 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32030 __ILP32__.
32031
c7a6ab72
AB
320322012-04-13 Antoine Balestrat <merkil33@gmail.com>
32033
32034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32035 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32036
a9e8e0e0
CL
320372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32038
32039 [BZ #13973]
32040 * locale/iso-639.def: Fix gl language name. Spotted by
32041 Yaron Shahrabani.
32042
ec98af7d
RM
320432012-04-12 Roland McGrath <roland@hack.frob.com>
32044
32045 [BZ #2074]
32046 * libio/libio.h (__io_write_fn): Update comment.
32047
247c3ede
PB
320482012-04-12 Petr Baudis <pasky@ucw.cz>
32049
32050 [BZ #2074]
32051 * stdio.texi (Hook Functions): The user provided writer function
32052 is not allowed to return -1.
32053
55939d6d
DM
320542012-04-11 David S. Miller <davem@davemloft.net>
32055
32056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32057
90020f5a
MF
320582012-04-11 Mike Frysinger <vapier@gentoo.org>
32059
32060 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32061 Add a leading slash to rtkaio.
32062
288f9098
JM
320632012-04-11 Jim Meyering <meyering@redhat.com>
32064
90020f5a
MF
32065 [BZ #11959]
32066 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32067 It is not necessarily an error to ignore fwrite's return
32068 value. One can reliably use ferror to test for errors after
32069 the fact.
288f9098 32070
4be2b570
L
320712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32072
32073 * bits/types.h (__snseconds_t): New type.
32074 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32075
32076 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32078 (__SNSECONDS_T_TYPE): Likewise.
32079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32080 (__SNSECONDS_T_TYPE): Likewise.
32081 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32082 (__SNSECONDS_T_TYPE): Likewise.
32083
288f9098 320842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32085
32086 [BZ #2636]
32087 * manual/time.texi (Processor Time): Return type of times is
32088 elapsed real time since an arbitrary point in the past.
32089 (CPU Time): Move CLK_TCK from here...
32090 (Processor Time): ...to here. Correct description.
32091 * manual/conf.texi (Constants for Sysconf): Correct description of
32092 _SC_CLK_TCK.
32093
d7dd4413
DM
320942012-04-10 David S. Miller <davem@davemloft.net>
32095
32096 [BZ #13967]
32097 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32098 where the is a gap between DT_REL(A) and DT_JMPREL.
32099
b46068fc
L
321002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32101
32102 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32103 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32104 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32105
73d65cc3
SP
321062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32107
32108 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32109 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32110 (dl_main): Handle --inhibit-cache.
32111 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32112 _dl_inhibit_cache.
32113 * elf/dl-load.c (_dl_map_object): Use it.
32114 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32115
bcc8d661
JM
321162012-04-09 Joseph Myers <joseph@codesourcery.com>
32117
8f9a2fae
JM
32118 [BZ #13872]
32119 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32120 (__ieee754_powl): Saturate large exponents rather than testing for
32121 overflow of y*log2(x).
32122 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32123 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32124 exceptions.
32125
bcc8d661
JM
32126 [BZ #11521]
32127 * math/s_ctan.c: Include <float.h>.
32128 (__ctan): Avoid internal overflow or cancellation in calculating
32129 denominator.
32130 * math/s_ctanf.c: Likewise.
32131 * math/s_ctanl.c: Likewise.
32132 * math/s_ctanh.c: Likewise.
32133 * math/s_ctanhf.c: Likewise.
32134 * math/s_ctanhl.c: Likewise.
32135 * math/libm-test.inc (ctan_test): Add more tests.
32136 (ctanh_test): Likewise.
32137 * sysdeps/i386/fpu/libm-test-ulps: Update.
32138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32139
823fbbb4
AJ
321402012-04-09 Andreas Jaeger <aj@suse.de>
32141
03879793
AJ
32142 [BZ #6894]
32143 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32144 is an optional BSD extension.
32145
823fbbb4
AJ
32146 [BZ #10254]
32147 * manual/stdio.texi (Opening Streams): Document additional fopen
32148 parameters.
32149
8de131cb
RM
321502012-04-09 Roland McGrath <roland@hack.frob.com>
32151
32152 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32153 %eax without telling the compiler.
32154
c0ed9d7d
CD
321552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32156
32157 [BZ # 13963]
32158 * manual/install.texi: Use sourceware.org.
32159
c483f6b4
JM
321602012-04-09 Joseph Myers <joseph@codesourcery.com>
32161
d7dd9453
JM
32162 [BZ #13873]
32163 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32164 (__ieee754_pow): Generate overflow and underflow using huge*huge
32165 and tiny*tiny rather than just returning constant infinity or zero
32166 for large exponents.
32167 * math/libm-test.inc (pow_test): Require overflow exceptions for
32168 applicable cases of large exponents.
32169
c483f6b4
JM
32170 [BZ #706]
32171 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32172 (__ieee754_pow): Use iterative multiplication algorithm only for
32173 integer exponents with absolute value below 1024. Check for odd
32174 integer exponents when using algorithm for real exponents.
32175 * math/libm-test.inc (pow_test): Add more tests.
32176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32177
d2de7579
JM
321782012-04-08 Joseph Myers <joseph@codesourcery.com>
32179
32180 [BZ #13705]
32181 * math/libm-test.inc (exp_test): Do not allow overflow exception
32182 on underflow test.
32183
f77f1232
AJ
321842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32185
32186 [BZ #13705]
32187 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32188 instead of __kernel_standard_f.
32189
3884932b
MF
321902012-04-08 Mike Frysinger <vapier@gentoo.org>
32191
32192 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32193 * sysdeps/x86_64/memset_chk.S: Likewise.
32194
54472e9c
AJ
321952012-04-08 Andreas Jaeger <aj@suse.de>
32196
6ab0fbfc
AJ
32197 [BZ #10153]
32198 * manual/startup.texi (Environment Access): Describe return value
32199 for putenv and setenv.
32200
61efba8c
AJ
32201 [BZ #6895]
32202 * manual/filesys.texi (Directory Entries): Add description for
32203 DT_LNK.
32204
95c3f29a
AJ
32205 [BZ #6890]
32206 * manual/filesys.texi (Directory Entries): Clarify that it's file
32207 system not operating system in the description of DT_UNKNOWN.
32208
54472e9c
AJ
32209 [BZ #6578]
32210 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32211
624254b1
SC
322122012-04-08 Stephen Compall <s11@member.fsf.org>
32213
32214 [BZ #6649]
32215 * manual/llio.texi (Opening and Closing Files): Add cross
32216 reference to explain mode argument.
32217
1e4920e0
MF
322182012-04-07 Mike Frysinger <vapier@gentoo.org>
32219
32220 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32221 * sysdeps/x86_64/memset_chk.S: Likewise.
32222
5ed848f3
DM
322232012-04-07 David S. Miller <davem@davemloft.net>
32224
32225 * elf/elf.h (R_SPARC_WDISP10): Define.
32226 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32227 R_SPARC_SIZE32.
32228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32229 R_SPARC_SIZE64 and R_SPARC_H34.
32230
96154cd8
CD
322312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32232
32233 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32234 conditions and remove no longer applicable assertion.
32235
9904dc47
L
322362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32237
32238 * bits/byteswap.h: Include <features.h>.
32239 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32240 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32241
f8887d0a
L
322422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32243
32244 * bits/byteswap.h (__bswap_16): Removed.
32245 Include <bits/byteswap-16.h> to get __bswap_16.
32246 * sysdeps/i386/bits/byteswap.h: Likewise.
32247 * sysdeps/s390/bits/byteswap.h: Likewise.
32248 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32249 * bits/byteswap-16.h: New file.
32250 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32251 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32252 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32253 * string/Makefile (headers): Add bits/byteswap-16.h.
32254
62470f60
PP
322552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32256
32257 [BZ #13895]
32258 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32259 extra indirection.
32260 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32261 * nss/tst-nss-static.c: New.
32262
4dad7bab
RM
322632012-04-06 Robert Millan <rmh@gnu.org>
32264
32265 [BZ #6486]
32266 * manual/llio.texi (File Position Primitive): lseek
32267 refers to WHENCE when it really means OFFSET.
32268
e9142a17
AJ
322692012-04-06 Andreas Jaeger <aj@suse.de>
32270
2c040eff
AJ
32271 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32272 strncmp declarations.
32273
e9142a17
AJ
32274 * abilist/libc.abilist: Add __poll and __ppoll.
32275
ff9f1c5f
DM
322762012-04-05 David S. Miller <davem@davemloft.net>
32277
dcd2ae90
DM
32278 * scripts/check-local-headers.sh: Accept a host triplet in the
32279 path matched by the exclude regexp.
32280
993eb054
DM
32281 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32282 definition.
32283 * sysdeps/powerpc/powerpc32/dl-machine.h
32284 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32285 * sysdeps/s390/s390-32/dl-machine.h
32286 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32287 * sysdeps/sparc/sparc32/dl-machine.h
32288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32289 * sysdeps/sparc/sparc64/dl-machine.h
32290 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32291
ff9f1c5f
DM
32292 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32293 lazy binding.
48e2e132 32294 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32295 undefined symbol errors.
32296
48e2e132 32297 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32298 DT_NEEDED entries.
32299
e80d6f94
MM
323002012-04-05 Michael Matz <matz@suse.de>
32301
32302 [BZ #13592]
32303 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32304
349fa79f
AJ
323052012-04-05 Andreas Jaeger <aj@suse.de>
32306
32307 [BZ #13908]
32308 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32309 comment.
32310
f402708f
KK
323112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32312
32313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32314 which ROUND is no valid rounding mode.
32315
2ecccfc9
KK
323162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32317
32318 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32319 read again.
32320 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32321
8a53f50f
KK
323222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32323
32324 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32325 an exception using FPU order intentionally.
32326
323272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32328
32329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32330 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32331 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32332 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32333
d653abb7
SJ
323342012-04-05 Simon Josefsson <simon@josefsson.org>
32335
32336 [BZ #12340]
32337 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32338 EINVAL when BUFLEN is too smal.
32339
c3b1bf7d
TS
323402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32341
32342 [BZ #13553]
32343 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32344 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32345
b1aa60f3
AJ
323462012-04-03 Andreas Jaeger <aj@suse.de>
32347
c3b1bf7d 32348 [BZ #13938]
67f60a26
AJ
32349 * manual/setjmp.texi (System V contexts): Fix sentence.
32350
b1aa60f3
AJ
32351 [BZ #13926]
32352 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32353 New macro for this case.
32354 [!__GNUC__] (__bswap_64): New inline function for this case.
32355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32356 * bits/byteswap.h: Likewise.
32357 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32358 ull, guard with __GLIBC_HAVE_LONG_LONG.
32359
32360 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32361 __GLIBC_HAVE_LONG_LONG.
32362
32363 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32364 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32365
39c59c35
TMQMF
323662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32367
32368 [BZ #13691]
32369 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32370 inptr and inend, rather than using last_ch.
32371
135ffda8
DM
323722012-04-02 David S. Miller <davem@davemloft.net>
32373
32374 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32375 * stdio-common/printf-parse.h (read_int): Change return type to
32376 'int', return -1 on INT_MAX overflow.
32377 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32378 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32379 overflows INT_MAX. Check for overflow of in-format-string precision
32380 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32381 SIZE_MAX not INT_MAX for integer overflow test.
32382 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32383 skip the construct in the format string but do not record anything.
32384 * stdio-common/bug22.c: Adjust to test both width/prevision
32385 INT_MAX overflow as well as total length INT_MAX overflow. Check
32386 explicitly for proper errno values.
32387
228c019e
TS
323882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32389
302cadd3
TS
32390 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32391 CHAR_MAX.
32392 * string/test-strcmp.c [! WIDE]: Likewise.
32393 * time/tst-mktime2.c: Likewise for INT_MAX.
32394 * string/test-string.h: #include <sys/param.h> for MIN.
32395
228c019e
TS
32396 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32397 * sysdeps/i386/init-first.c (init): Likewise.
32398 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32399 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32400 * sysdeps/sh/init-first.c (init): Likewise.
32401
cfa633f5
UD
324022012-04-01 Ulrich Drepper <drepper@gmail.com>
32403
32404 * po/ru.po: Update from translation team.
d1635ef8 32405 * po/vi.po: Likewise.
cfa633f5 32406
6cd0a5ea
SP
324072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32408
32409 * resolv/nss_dns/dns-host.c: Merge copyright years.
32410
4b43400f
LD
324112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32412
32413 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32414 Optimize memcpy with prefetch if
32415 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32416 src, dst pointers have unequal 16 byte alignments.
32417
48c41d04
SP
324182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32419
32420 [BZ #13928]
32421 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32422 from a CNAME entry and return the minimum ttl for the query.
32423 (gaih_getanswer_slice): Likewise.
32424
b8dc394d
JL
324252012-03-30 Jeff Law <law@redhat.com>
32426
32427 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32428 due to long keys.
32429 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32430 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32431
2f5a5ed0
JL
32432 * resolv/nss_dns/dns-host.c: Update copyright year.
32433
1d39e359
UD
324342012-03-30 Ulrich Drepper <drepper@gmail.com>
32435
c030f70c 32436 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32437 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32438
1d39e359
UD
32439 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32440 comments for sendmmsg.
32441
324422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32443
32444 [BZ #13691]
32445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32446 with only 1 character between 0x0041 and 0x01b0.
32447 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32448 * wcsmbs/tst-mbsnrtowcs.c: New file.
32449
20fde227
DM
324502012-03-29 David S. Miller <davem@davemloft.net>
32451
32452 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32453 small copies by hand.
32454
984a4237
JL
324552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32456
32457 [BZ #13761]
57f41c40
AS
32458 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32459 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32460 group memberships.
984a4237 32461
18c9d62b
DM
324622012-03-28 David S. Miller <davem@davemloft.net>
32463
88d85d4f
DM
32464 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32465 that branches into memcpy.
32466 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32469 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32471 bits.
32472 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32473 implementation too.
32474 * sysdeps/sparc/mempcpy.S: New file.
32475
e5aa83e1
DM
32476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32477 the IFUNC routine in the libc case.
32478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32479
88570753
DM
32480 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32481 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32482 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32483 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32484 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32485 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32486 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32487 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32488
249d7567
DM
32489 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32490 loop to 256 bytes instead of 64 bytes and fix test signedness.
32491
18c9d62b
DM
32492 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32493 * sysdeps/sparc/sparc32/Makefile: rather than here...
32494 * sysdeps/sparc/sparc64/Makefile: and here.
32495
05f3d1f6
UD
324962012-03-28 Ulrich Drepper <drepper@gmail.com>
32497
32498 * malloc/mallocbug.c: Avoid warnings about unused variables.
32499
86ae07a8
JL
325002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32501
32502 [BZ #13760]
32503 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32504 in the right place. Discard and retry query if response is
32505 larger than input buffer size.
32506
41bf21a1
JM
325072012-03-28 Joseph Myers <joseph@codesourcery.com>
32508
d6270972
JM
32509 [BZ #369]
32510 [BZ #2678]
32511 [BZ #3866]
32512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32513 x for large integer exponent.
32514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32515 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32516 sign of result as needed afterwards.
32517 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32518 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32519 result for underflowing pow the same as for overflow.
32520 (__kernel_standard_l): Handle powl overflow and underflow here
32521 rather than calling __kernel_standard.
32522 * math/libm-test.inc (pow_test): Add more tests.
32523
414fca03 32524 [BZ #3868]
41bf21a1
JM
32525 [BZ #13879]
32526 [BZ #13910]
32527 [BZ #13911]
32528 [BZ #13912]
32529 [BZ #13913]
32530 [BZ #13915]
32531 [BZ #13916]
32532 [BZ #13917]
32533 [BZ #13918]
32534 [BZ #13919]
32535 [BZ #13920]
32536 [BZ #13921]
32537 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32538 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32539 (__kernel_standard_l): New function.
32540 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32541 __kernel_standard.
32542 * math/w_acosl.c (__acosl): Likewise.
32543 * math/w_asinl.c (__asinl): Likewise.
32544 * math/w_atan2l.c (__atan2l): Likewise.
32545 * math/w_atanhl.c (__atanhl): Likewise.
32546 * math/w_coshl.c (__coshl): Likewise.
32547 * math/w_exp10l.c (__exp10l): Likewise.
32548 * math/w_exp2l.c (__exp2l): Likewise.
32549 * math/w_fmodl.c (__fmodl): Likewise.
32550 * math/w_hypotl.c (__hypotl): Likewise.
32551 * math/w_j0l.c (__j0l, __y0l): Likewise.
32552 * math/w_j1l.c (__j1l, __y1l): Likewise.
32553 * math/w_jnl.c (__jnl, __ynl): Likewise.
32554 * math/w_lgammal.c (__lgammal): Likewise.
32555 * math/w_log10l.c (__log10l): Likewise.
32556 * math/w_log2l.c (__log2l): Likewise.
32557 * math/w_logl.c (__logl): Likewise.
32558 * math/w_powl.c (__powl): Likewise.
32559 * math/w_remainderl.c (__remainderl): Likewise.
32560 * math/w_scalbl.c (sysv_scalbl): Likewise.
32561 * math/w_sinhl.c (__sinhl): Likewise.
32562 * math/w_sqrtl.c (__sqrtl): Likewise.
32563 * math/w_tgammal.c (__tgammal): Likewise.
32564 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32565 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32566 * math/libm-test.inc (acos_test): Add more tests.
32567 (acosh_test): Likewise.
32568 (asin_test): Likewise.
32569 (atanh_test): Likewise.
32570 (exp_test): Likewise.
32571 (exp10_test): Likewise.
32572 (exp2_test): Likewise.
32573 (expm1_test): Likewise.
32574 (lgamma_test): Likewise.
32575 (log_test): Likewise.
32576 (log10_test): Likewise.
32577 (log1p_test): Likewise.
32578 (log2_test): Likewise.
32579 (pow_test): Do not allow some spurious overflow exceptions.
32580 (sqrt_test): Add more tests.
32581 (tgamma_test): Likewise.
32582 (y0_test): Likewise.
32583 (y1_test): Likewise.
32584 (yn_test): Likewise.
32585
dd62fda6
AB
325862012-03-27 Anton Blanchard <anton@samba.org>
32587
32588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32589 MAP_HUGETLB.
32590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32591 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32593
1e3cdfda
AJ
325942012-03-27 David S. Miller <davem@davemloft.net>
32595
b855ab85
DM
32596 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32597
1e3cdfda
AJ
32598 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32599 have-as-vis3 check.
32600
326012012-03-27 Andreas Jaeger <aj@suse.de>
32602
32603 * sysdeps/x86_64/elf/configure.in: Moved to ...
32604 * sysdeps/x86_64/configure.in: ... here.
32605 * sysdeps/x86_64/elf/start.S: Moved to ...
32606 * sysdeps/x86_64/start.S: ... here.
32607 * sysdeps/x86_64/elf/configure: Delete.
32608
32609 * sysdeps/x86_64/configure.in: Merge contents from
32610 sysdeps/i386/configure.in (without i686 check).
32611
32612 * sysdeps/i386/elf/Versions: Merge into ...
32613 * sysdeps/i386/Versions: ... this.
32614 * sysdeps/i386/elf/Versions: Delete file.
32615 * sysdeps/i386/elf/start.S: Moved to ...
32616 * sysdeps/i386/start.S: ...here.
32617 * sysdeps/i386/elf/configure.in: Merge into...
32618 * sysdeps/i386/configure.in: ...here.
32619 * sysdeps/i386/elf/configure.in: Delete file.
32620 * sysdeps/i386/elf/configure: Delete file.
32621
32622 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32623 * debug/backtracesyms.c: ... here.
32624 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32625 * debug/backtracesymsfd.c: ... here.
32626 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32627 * sysdeps/generic/ifunc-sel.h: ... here.
32628
32629 * sysdeps/unix/i386/start.c: Delete file.
32630 * sysdeps/unix/sparc/start.c: Delete file.
32631 * sysdeps/unix/start.c: Delete file.
32632
32633 * sysdeps/sh/elf/configure.in: Moved to ...
32634 * sysdeps/sh/configure.in: ... here.
32635 * sysdeps/sh/elf/start.S: Moved to ...
32636 * sysdeps/sh/start.S: ... here.
32637 * sysdeps/sh/elf/configure: Delete file.
32638
32639 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32640 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32641 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32642 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32643 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32644 * sysdeps/powerpc/powerpc64/start.S: here.
32645 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32646 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32647 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32648 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32649 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32650
32651 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32652 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32653 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32654 * sysdeps/powerpc/powerpc32/start.S: ... here.
32655 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32656 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32657 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32658
32659 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32660 * sysdeps/powerpc/ifunc-sel.h: ... here.
32661 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32662 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32663
32664 * sysdeps/sparc/elf/configure.in: Moved to ...
32665 * sysdeps/sparc/configure.in: ... here.
32666 * sysdeps/sparc/elf/configure: Delete file.
32667 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32668 * sysdeps/sparc/sparc32/start.S: ... here.
32669 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32670 * sysdeps/sparc/sparc64/start.S: ... here.
32671 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32672 * sysdeps/sparc/sparc32/Makefile: ... this.
32673 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32674 * sysdeps/sparc/sparc64/Makefile: ... this.
32675
32676 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32677 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32678 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32679 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32680 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32681 * sysdeps/s390/s390-32/setjmp.S: ... here.
32682 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32683 * sysdeps/s390/s390-32/configure.in: ... here.
32684 * sysdeps/s390/s390-32/elf/configure: Delete file.
32685 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32686 * sysdeps/s390/s390-32/start.S: ... here.
32687
32688 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32689 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32690 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32691 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32692 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32693 * sysdeps/s390/s390-64/setjmp.S: ... here.
32694 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32695 * sysdeps/s390/s390-64/configure.in: ... here
32696 * sysdeps/s390/s390-64/elf/configure: Delete file.
32697 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32698 * sysdeps/s390/s390-64/start.S: ... here.
32699 * sysdeps/s390/s390-64/elf/configure: Delete.
32700
32701 * configure.in: Remove support for elf directories in sysdeps.
32702
32703 * configure: Regenerated.
32704 * sysdeps/i386/configure: Regenerated.
32705 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32706 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32707 * sysdeps/s390/s390-32/configure: Regenerated.
32708 * sysdeps/s390/s390-64/configure: Regenerated.
32709 * sysdeps/sh/configure: Regenerated.
32710 * sysdeps/sparc/configure: Regenerated.
32711 * sysdeps/x86_64/configure: Regenerated.
32712
a3f61311
AS
327132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32714
c876e002
AS
32715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32716
a3f61311
AS
32717 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32718 denormal result into account.
32719
ac4c54f0
RM
327202012-03-25 Roland McGrath <roland@hack.frob.com>
32721
32722 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32723 Reported by Allan McRae <allan@archlinux.org>.
32724
6a9b9c02
JL
327252012-03-23 Jeff Law <law@redhat.com>
32726
32727 * nss/getnssent.c (__nss_getent): Fix typo.
32728
4c42a0c1
DM
327292012-03-23 David S. Miller <davem@davemloft.net>
32730
32731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32732
1532c7ac
L
327332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32734
32735 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32736 to pad to uint64_t for each field.
32737 (dl_tls_index): Replace unsigned long with uint64_t.
32738
3ff42526
PP
327392012-03-23 Daniel Jacobowitz <dmj@google.com>
32740 Paul Pluzhnikov <ppluzhnikov@google.com>
32741
32742 [BZ #6528]
32743 * grp/Makefile (otherlibs): Don't set it.
32744 * inet/Makefile (otherlibs): Likewise.
32745 * login/Makefile (otherlibs): Likewise.
32746 * nscd/Makefile (otherlibs): Likewise.
32747 * posix/Makefile (otherlibs): Likewise.
32748 * pwd/Makefile (otherlibs): Likewise.
32749 * rt/Makefile (otherlibs): Likewise.
32750 * sunrpc/Makefile (otherlibs): Likewise.
32751 * nss/Makefile (otherlibs): Likewise.
32752 Add libnss_files to routines and static-only-routines.
32753 ($(objpfx)getent): Remove rule.
32754 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32755 static-only-routines.
32756
7c69cd14
JM
327572012-03-22 Joseph Myers <joseph@codesourcery.com>
32758
32759 [BZ #13892]
32760 * math/s_cexp.c: Include <float.h>.
32761 (__cexp): Handle exp result overflowing not necessarily
32762 overflowing both real and imaginary parts of result.
32763 * math/s_cexpf.c: Likewise.
32764 * math/s_cexpl.c: Likewise.
32765 * math/libm-test.inc (cexp_test): Add more tests.
32766 * sysdeps/i386/fpu/libm-test-ulps: Update.
32767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32768
81b035fe
L
327692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32770
32771 * include/link.h (ELFW): New macro.
32772 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32773 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32774
1da7940c
L
327752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32776
32777 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32778 with uint64_t.
32779
b749dbb9
L
327802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32783 declaration.
32784 (struct La_x32_retval): Likewise.
32785
2ff87f3f
L
327862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32787
32788 * sysdeps/x86_64/preconfigure.in: New file.
32789 * sysdeps/x86_64/preconfigure: New generated file.
32790
c0df8e69
JM
327912012-03-22 Joseph Myers <joseph@codesourcery.com>
32792
48e44791
JM
32793 [BZ #13824]
32794 * math/e_exp2l.c: Include <float.h>.
32795 (__ieee754_exp2l): Handle overflow and underflow cases
32796 separately. Only pass fractional part of argument to
32797 __ieee754_expl.
32798 * math/libm-test.inc (exp2_test): Add more tests.
32799
c0df8e69
JM
32800 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32801 negating x to take absolute value.
32802 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32803 Likewise.
32804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32806 Likewise.
32807 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32808 computing low part if x was negated.
32809 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32810
c8e43ba7
L
328112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32812
32813 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32814 la_x32_gnu_pltexit.
32815 (pltexit): Cast int_retval to ptrdiff_t.
32816 * elf/tst-auditmod3b.c: Likewise.
32817 * elf/tst-auditmod4b.c: Likewise.
32818 * elf/tst-auditmod5b.c: Likewise.
32819 * elf/tst-auditmod6b.c: Likewise.
32820 * elf/tst-auditmod6c.c: Likewise.
32821 * elf/tst-auditmod7b.c: Likewise.
32822
32823 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32824 and x32_gnu_pltexit.
32825
32826 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32827 __ELF_NATIVE_CLASS.
32828 (La_x32_regs): New macro.
32829 (La_x32_retval): Likewise.
32830 (la_x32_gnu_pltenter): New function prototype.
32831 (la_x32_gnu_pltexit): Likewise.
32832
7998fa78
AS
328332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32834
dcb33988
AS
32835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32836 exponent.
32837
233fc563
AS
32838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32839
7998fa78
AS
32840 * configure.in (libc_cv_cc_nofma): Check for option to disable
32841 generation of FMA instructions.
32842 * configure: Regenerate.
32843 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32844 * sysdeps/ieee754/dbl-64/Makefile: New file.
32845 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32846 Remove brandred-fma4.
32847 (CFLAGS-brandred-fma4.c): Remove.
32848 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32850 define.
32851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32852 define.
32853
8e95c99a
L
328542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32855
32856 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32857 LLONG_MAX != LONG_MAX.
32858 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32859 (_fitoa_word): Likewise.
32860 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32861 LLONG_MAX != LONG_MAX.
32862 * stdio-common/_itowa.h: Include <_itoa.h>.
32863 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32864 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32865 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32866 only if not defined.
32867 (_ITOA_WORD_TYPE): Likewise.
32868 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32869 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32870
6f4db457
DM
328712012-03-21 David S. Miller <davem@davemloft.net>
32872
32873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32874
7785fe5a
L
328752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32876
32877 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32878 of x86_64 when setting libc_cv_slibdir, libdir and
32879 libc_cv_localedir.
32880 * sysdeps/unix/sysv/linux/configure: Regenerated.
32881
4535cd55
JM
328822012-03-21 Joseph Myers <joseph@codesourcery.com>
32883
32884 * manual/lang.texi (Old Varargs): Remove section.
32885 (How Variadic): Update menu.
32886 (va_start): Do not mention varargs.h.
32887
17228132
TS
328882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32889 Joseph Myers <joseph@codesourcery.com>
32890
32891 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32892 link test.
32893 * configure: Regenerated.
32894
8149f976
TS
328952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32896
05f3d1f6
UD
32897 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32898 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32899 conformtest.pl
8149f976 32900
1a4ac776
JM
329012012-03-21 Joseph Myers <joseph@codesourcery.com>
32902
be22ce65
JM
32903 * NOTES: Remove.
32904 * Makefile (files-for-dist): Remove NOTES.
32905 (NOTES): Remove rule.
32906 * README: Don't refer to NOTES.
32907 * manual/creature.texi: Don't include macros.texi.
32908 * manual/intro.texi (creature.texi): Remove comment referring to
32909 NOTES.
32910
40b601fb
JM
32911 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32912 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32913 * configure: Regenerated.
32914 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32915 LIBC_TRY_CC_OPTION.
32916 (libc_cv_as_i686): Likewise.
32917 (libc_cv_cc_avx): Likewise.
32918 (libc_cv_cc_sse2avx): Likewise.
32919 (libc_cv_cc_fma4): Likewise.
32920 (libc_cv_cc_novzeroupper): Likewise.
32921 * sysdeps/i386/configure: Regenerated.
32922
1a4ac776
JM
32923 [BZ #13883]
32924 * sysdeps/i386/fpu/s_cexp.S: Remove.
32925 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32926 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32927 * math/libm-test.inc (cexp_test): Add more tests.
32928 * sysdeps/i386/fpu/libm-test-ulps: Update.
32929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32930
a458e7fe
AM
329312012-03-21 Allan McRae <allan@archlinux.org>
32932
32933 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32934
0cb7efc5
JM
329352012-03-21 Joseph Myers <joseph@codesourcery.com>
32936
32937 [BZ #13871]
32938 * math/w_exp2.c: Do not include <float.h>.
32939 (o_threshold, u_threshold): Remove.
32940 (__exp2): Calculate result before checking finiteness and calling
32941 __kernel_standard.
32942 * math/w_exp2f.c: Likewise.
32943 * math/w_exp2l.c: Likewise.
32944 * math/libm-test.inc (exp2_test): Require overflow exception for
32945 1e6 input.
2460d3aa
JM
32946
32947 [BZ #3866]
32948 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32949 range of signed 64-bit integers before using fistpll. Remove
32950 checks for whether integers fit in mantissa bits.
32951 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32952 the range of signed 32-bit integers before using fistpl. Remove
32953 checks for whether integers fit in mantissa bits.
32954 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32955 (__ieee754_powl): Test for y outside the range of signed 64-bit
32956 integers before using fistpll. Reduce 64-bit values to 63-bit
32957 ones as needed.
32958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32959 divide-by-zero is raised for zero to large negative powers.
32960 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32961 (__ieee754_powl): Test for y outside the range of signed 64-bit
32962 integers before using fistpll. Reduce 64-bit values to 63-bit
32963 ones as needed.
32964 * math/libm-test.inc (pow_test): Add more tests.
32965
eb96ffb0
L
329662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32967
32968 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32969 <stdio-common/_itoa.h>.
32970 * debug/segfault.c: Likewise.
32971 * elf/dl-cache.c: Likewise.
32972 * elf/dl-minimal.c: Likewise.
32973 * elf/dl-misc.c: Likewise.
32974 * elf/dl-sysdep.c: Likewise.
32975 * elf/dl-version.c: Likewise.
32976 * elf/rtld.c: Likewise.
32977 * hurd/hurdsock.c: Likewise.
32978 * hurd/lookup-retry.c: Likewise.
32979 * malloc/malloc.c: Likewise.
32980 * malloc/mtrace.c: Likewise.
32981 * nscd/nscd_getgr_r.c: Likewise.
32982 * nscd/nscd_getpw_r.c: Likewise.
32983 * nscd/nscd_getserv_r.c: Likewise.
32984 * posix/getopt_init.c: Likewise.
32985 * posix/wordexp.c: Likewise.
32986 * stdio-common/_itoa.c: Likewise.
32987 * stdio-common/printf_fphex.c: Likewise.
32988 * stdio-common/vfprintf.c: Likewise.
32989 * string/_strerror.c: Likewise.
32990 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32991 * sysdeps/i386/i686/hp-timing.h: Likewise.
32992 * sysdeps/mach/_strerror.c: Likewise.
32993 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32994 * sysdeps/mach/hurd/sethostid.c: Likewise.
32995 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32996 * sysdeps/mach/xpg-strerror.c: Likewise.
32997 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32999 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33000 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33001 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33002 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33003 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33004 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33005 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33006 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33007 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33008 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33009 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33010 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33011 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33012 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33013 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33014 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33015 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33016 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33017 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33018
33019 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33020
33021 * stdio-common/_itoa.h: Moved to ...
33022 * sysdeps/generic/_itoa.h: Here.
33023
33024 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33025
33026 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33027 instead of "_itoa.h" and "_itowa.h".
33028 * stdio-common/vfprintf.: Likewise.
33029
d1af992d
L
330302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33031
33032 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33033 <bits/wordsize.h>.
33034 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33035 (__signbit): Likwise.
33036 (llrintf): Likwise.
33037 (llrint): Likwise.
33038
114883e0
L
330392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33042 __WORDSIZE != 64.
33043
c135cc1b
JM
330442012-03-20 Joseph Myers <joseph@codesourcery.com>
33045
33046 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33047 OVERFLOW_EXCEPTION_OK.
33048 * math/libm-test.inc ("Philosophy"): Update comment about
33049 exception testing.
33050 (OVERFLOW_EXCEPTION): Define.
33051 (OVERFLOW_EXCEPTION_OK): Likewise.
33052 (INVALID_EXCEPTION_OK): Renumber.
33053 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33054 (IGNORE_ZERO_INF_SIGN): Likewise.
33055 (test_exceptions): Handle FE_OVERFLOW.
33056 (exp10_test): Expect overflow exceptions.
33057 (exp2_test): Likewise.
33058 (expm1_test): Likewise.
33059 (nextafter_test): Likewise.
33060 (pow_test): Likewise.
33061 (scalbn_test): Likewise.
33062 (scalbln_test): Likewise.
33063
95443d88
L
330642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33065
33066 * sysdeps/x86_64/bits/atomic.h
33067 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33068 64bit integer.
33069 (atomic_exchange_acq): Likewise.
33070 (__arch_exchange_and_add_body): Likewise.
33071 (__arch_add_body): Likewise.
33072 (atomic_add_negative): Likewise.
33073 (atomic_add_zero): Likewise.
33074
490df6c4
L
330752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33076
c2722551 33077 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33078 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33079
5e52b189
L
330802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33081
33082 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33083 Check __x86_64__ instead of __WORDSIZE.
33084
a9879d4c
L
330852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33086
33087 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33088
5df98260
DM
330892012-03-19 David S. Miller <davem@davemloft.net>
33090
e1497744
DM
33091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33092
5df98260
DM
33093 * sysdeps/sparc/fpu/fenv_private.h: New file.
33094 * sysdeps/sparc/fpu/math_private.h: Use it.
33095 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33096 Remove.
57f41c40 33097 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33098 (libc_feholdexcept_setroundl): Remove.
33099 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33100 Remove.
33101 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33102 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33103
b4c35121
L
331042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33105
33106 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33107 int64_t instead of long int.
33108 (INSERT_WORDS64): Likwise.
33109
56965fd7
L
331102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33111
33112 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33113 _Unwind_GetCFA return to _Unwind_Ptr first.
33114
83d1aec8
JM
331152012-03-19 Joseph Myers <joseph@codesourcery.com>
33116
1897ad44
JM
33117 [BZ #13629]
33118 * math/s_clog.c: Include <float.h>.
33119 (__clog): Scale large or subnormal inputs.
33120 * math/s_clogf.c: Likewise.
33121 * math/s_clogl.c: Likewise.
33122 * math/s_clog10.c: Include <float.h>.
33123 (M_LOG10_2): Define.
33124 (__clog10): Scale large or subnormal inputs.
33125 * math/s_clog10f.c: Likewise.
33126 * math/s_clog10l.c: Likewise.
33127 * math/libm-test.inc (clog_test): Add more tests.
33128 (clog10_test): Likewise.
33129 * sysdeps/i386/fpu/libm-test-ulps: Update.
33130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33131
7726d6a9
JM
33132 [BZ #11451]
33133 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33134 x and y.
33135 * math/libm-test.inc (atan2_test): Add another test.
33136
83d1aec8
JM
33137 * Makerules (common-objdir-compile): Remove.
33138 * sysdeps/unix/Makefile (config-generated): Do not add
33139 $(unix-generated) to variable.
33140 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33141 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33142 Remove rule.
33143 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33144 Likewise.
33145 [generic bits/local_lim.h] (before-compile): Do not append to
33146 variable.
33147 [generic bits/local_lim.h] (common-generated): Likewise.
33148 [generic sys/param.h] (before-compile): Do not append to variable.
33149 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33150 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33151 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33152 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33153 include.
33154 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33155 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33156 [generic sys/param.h] ($(addprefix
33157 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33158 [generic sys/param.h] (common-generated): Do not append to
33159 variable.
33160 [generic sys/param.h] (sysdep_headers): Likewise.
33161 [generic bits/errno.h] (before-compile): Do not append to
33162 variable.
33163 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33164 rule.
33165 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33166 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33167 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33168 [generic bits/errno.h] (common-generated): Do not append to
33169 variable.
33170 [generic bits/ioctls.h] (before-compile): Do not append to
33171 variable.
33172 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33173 rule.
33174 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33175 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33176 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33177 rule.
33178 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33179 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33180 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33181 [generic bits/ioctls.h] (common-generated): Do not append to
33182 variable.
33183 [generic sys/syscall.h] (syscall.h): Remove variable.
33184 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33185 rule.
33186 [generic sys/syscall.h] (before-compile): Do not append to
33187 variable.
33188 [generic sys/syscall.h] (common-generated): Likewise.
33189 * sysdeps/unix/errnos-tmpl.c: Remove file.
33190 * sysdeps/unix/errnos.awk: Likewise.
33191 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33192 * sysdeps/unix/ioctls.awk: Likewise.
33193 * sysdeps/unix/mk-local_lim.c: Likewise.
33194 * sysdeps/unix/snarf-ioctls: Likewise.
33195
4851a949
RH
331962012-03-19 Richard Henderson <rth@twiddle.net>
33197
bd37f2ee
RH
33198 * sysdeps/i386/fpu/fenv_private.h: New file.
33199 * sysdeps/i386/fpu/math_private.h: Use it.
33200 (math_opt_barrier, math_force_eval): Remove.
33201 (libc_feholdexcept_setround_53bit): Remove.
33202 (libc_feupdateenv_53bit): Remove.
33203 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33204 (math_opt_barrier, math_force_eval): Remove.
33205 (libc_feholdexcept): Remove.
33206 (libc_feholdexcept_setround): Remove.
33207 (libc_fetestexcept, libc_fesetenv): Remove.
33208 (libc_feupdateenv_test): Remove.
33209 (libc_feupdateenv, libc_feholdsetround): Remove.
33210 (libc_feresetround): Remove.
33211
d0adc922
RH
33212 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33213 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33214
0fe0f1f8
RH
33215 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33216 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33217 (libc_feupdateenv_testl): New.
33218 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33219 (libc_feupdateenv_testf): New.
33220 (libc_feupdateenv): Use libc_feupdateenv_test.
33221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33222 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33223
eb92c487
RH
33224 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33225 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33226 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33227 (libc_feresetround_noex): New.
33228 (libc_feresetround_noexf): New.
33229 (libc_feresetround_noexl): New.
33230 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33231 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33232 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33233 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33234 SET_RESTORE_ROUND.
33235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33237 (__cos): Likewise.
33238 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33240 SET_RESTORE_ROUND_NOEX.
33241 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33242 SET_RESTORE_ROUND_NOEXF.
33243 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33244 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33245 (libc_feholdsetroundf): New.
33246 (libc_feresetround, libc_feresetroundf): New.
33247
7d2e8012
RH
33248 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33249 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33250 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33251
b4dabbb4
RH
33252 * sysdeps/generic/math_private.h: Include <fenv.h>.
33253 (default_libc_feholdexcept): New.
33254 (default_libc_feholdexcept_setround): New.
33255 (default_libc_fesetenv, default_libc_feupdateenv): New.
33256 (libc_feholdexcept): Only define if undefined.
33257 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33258 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33259 (libc_feholdexcept_setroundl): Likewise.
33260 (libc_feholdexcept_setround_53bit): Likewise.
33261 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33262 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33263 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33264 (libc_feupdateenv_53bit): Likewise.
33265 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33266 (libc_feholdexcept): Convert from macro to inline function.
33267 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33268 (libc_fesetenv, libc_feupdateenv): Likewise.
33269
4851a949
RH
33270 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33271 not previously defined.
33272 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33273 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33274 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33275 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33276 * sysdeps/ieee754/flt-32/math_private.h: New file.
33277 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33278 math_private.h below SET_FLOAT_WORD.
33279 (__isnan, __isinf_ns, __finite): Remove.
33280 (__isnanf, __isinf_nsf, __finitef): Remove.
33281
e79d442e
AS
332822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33283
33284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33285
90b80344
DM
332862012-03-17 David S. Miller <davem@davemloft.net>
33287
33288 [BZ #6471]
33289 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33290 for 2.16.
33291
edc21804
DM
332922012-03-16 David S. Miller <davem@davemloft.net>
33293
77e927af
DM
33294 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33295 warnings.
33296
374976dd
DM
33297 [BZ #6471]
33298 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33299 properly.
33300 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33301 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33302 sysdep_routines when subdir is sysvipc.
33303 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33304 __getshmlba helper.
33305
edc21804
DM
33306 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33307
473c3ef3
L
333082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33309
33310 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33311 [__LP64__].
33312
eb0f39b6
L
333132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33314
33315 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33316 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33317 (__lround): Renamed to ...
33318 (__llround): This. Replace long int with long long int.
33319 Define lround functions as aliases of llround functions.
33320 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33321
6b6cd74b
L
333222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33323
33324 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33325 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33326 adresses to uintptr_t. Replace "long int" and "unsigned long
33327 int" with "greg_t" on va_arg.
33328
f1a77b01
L
333292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33330
33331 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33332 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33333
33334 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33335 Move e_machine check before EI_CLASS check. Handle x32
33336 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33337 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33338 SKIP_EM_IA_64 and include
33339 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33340
33341 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33342 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33343 (add_system_dir): New macro.
33344
33345 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33346 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33347
11b90b9f
JM
333482012-03-16 Joseph Myers <joseph@codesourcery.com>
33349
c36e1d23
JM
33350 [BZ #2551]
33351 [BZ #2552]
33352 [BZ #2553]
33353 [BZ #2554]
33354 [BZ #2562]
33355 [BZ #2563]
33356 [BZ #2565]
33357 [BZ #2566]
33358 [BZ #2576]
33359 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33360 (y0): Likewise.
33361 * math/w_j0f.c (j0f): Likewise.
33362 (y0f): Likewise.
33363 * math/w_j0l.c (__j0l): Likewise.
33364 (__y0l): Likewise.
33365 * math/w_j1.c (j1): Likewise.
33366 (y1): Likewise.
33367 * math/w_j1f.c (j1f): Likewise.
33368 (y1f): Likewise.
33369 * math/w_j1l.c (__j1l): Likewise.
33370 (__y1l): Likewise.
33371 * math/w_jn.c (jn): Likewise.
33372 (yn): Likewise.
33373 * math/w_jnf.c (jnf): Likewise.
33374 (ynf): Likewise.
33375 * math/w_jnl.c (__jnl): Likewise.
33376 (__ynl): Likewise.
33377 * math/libm-test.inc (j0_test): Add more tests.
33378 (j1_test): Likewise.
33379 (jn_test): Likewise. Add trailing semicolon to existing test.
33380 (y0_test): Likewise.
33381 (y1_test): Likewise.
33382 * sysdeps/i386/fpu/libm-test-ulps: Update.
33383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33384
11b90b9f
JM
33385 [BZ #13851]
33386 [BZ #13854]
33387 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33388 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33389 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33391 (__tanl): Set errno for infinite argument.
33392 * sysdeps/i386/fpu/mptan.c: Remove.
33393 * sysdeps/i386/fpu/s_tan.S: Likewise.
33394 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33395 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33396 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33397 * math/libm-test.inc (tan_test): Add more tests and enable more
33398 tests for double and long double.
33399 * sysdeps/i386/fpu/libm-test-ulps: Update.
33400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33401
6a1bd2a1
JK
334022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33403
33404 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33405 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33406
10a803e0
RM
334072012-03-16 Roland McGrath <roland@hack.frob.com>
33408
33409 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33410 * configure.in: Use it for both main tree and add-ons.
33411 * configure: Regenerated.
33412
f196c7f7
L
334132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33414
33415 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33416
8848d99d
JM
334172012-03-16 Joseph Myers <joseph@codesourcery.com>
33418
96cbe7f4
JM
33419 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33420 in comment.
33421
8848d99d
JM
33422 [BZ #13851]
33423 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33424 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33426 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33427 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33428 infinite argument.
33429 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33431 != 0 for prec == 2.
33432 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33433 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33434 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33435 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33436 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33437 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33438 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33439 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33440 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33441 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33442 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33443 * math/libm-test.inc (cos_test): Add more tests and enable more
33444 tests for long double.
33445 (sin_test): Likewise.
33446 (sincos_test): Likewise.
33447 * sysdeps/i386/fpu/libm-test-ulps: Update.
33448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33449
dd7f4703
DM
334502012-03-16 David S. Miller <davem@davemloft.net>
33451
33452 * sysdeps/sparc/fpu/math_private.h: New file.
33453
006f1daa
DM
334542012-03-15 David S. Miller <davem@davemloft.net>
33455
c0c83bc8
DM
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33457 file.
e6a62e18 33458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33460 file.
e6a62e18
DM
33461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33467 sysdep routines.
33468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33469
88cb87d9
DM
33470 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33471 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33472
006f1daa 33473 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33475 sparc-ifunc.h
006f1daa 33476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33478 Likewise.
33479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33480 Likewise.
006f1daa
DM
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33485 Likewise.
006f1daa
DM
33486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33491 Likewise.
33492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33493 Likewise.
006f1daa
DM
33494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33518
11e0098e
AS
335192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33520
33521 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33522 scaling.
33523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33524
e85b09d0
AJ
335252012-03-15 Andreas Jaeger <aj@suse.de>
33526
33527 [BZ #13852]
33528 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33529 ieee754/flt-32 implementation for sin, cos and sincos.
33530 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33531 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33532 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33533 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33534 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33535 ieee754/flt-32 implementation for tan.
33536
33537 * math/libm-test.inc (cos_test): Enable some large input tests for
33538 float as well
33539 (sin_test): Likewise.
33540 (sincos_test): Likewise.
33541 (tan_test): Add tests for large input.
33542
33543 * sysdeps/i386/fpu/libm-test-ulps: Update.
33544
81c64153
AJ
335452012-03-15 Andreas Jaeger <aj@suse.de>
33546
33547 [BZ #13658]
33548 * math/libm-test.inc (cos_test): Add more test cases.
33549 (sin_test): Likewise.
33550 (sincos_test): Likewise.
33551
7bbfa5c6
AJ
335522012-03-15 Andreas Jaeger <aj@suse.de>
33553
33554 [BZ #13837]
33555 * math/libm-test.inc (cos_test): Add a test case for large input
33556 value.
33557 (sin_test): Likewise.
33558 (sincos_test): Likewise.
33559
57f41c40
AS
335602012-03-15 Andreas Jaeger <aj@suse.de>
33561 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33562
33563 [BZ #13658]
0671f479 33564 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33565 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33566 * sysdeps/i386/fpu/branred.c: Likewise.
33567 * sysdeps/i386/fpu/dosincos.c: Likewise.
33568 * sysdeps/i386/fpu/mpa.c: Likewise.
33569 * sysdeps/i386/fpu/s_cos.S: Likewise.
33570 * sysdeps/i386/fpu/s_sin.S: Likewise.
33571 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33572 * sysdeps/i386/fpu/sincos32.c: Likewise.
33573
33574 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33575 Define.
33576 (libc_feupdateenv_53bit): Define.
33577 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33578 Define.
33579 (libc_feupdateenv_53bit): Define.
33580
33581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33582 53 bit (without extend i386 double precision).
33583
33584 * math/libm-test.inc (sincos_test): Add tests for large input.
33585 (sin): Likewise.
33586 (cos): Likewise.
33587
33588 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33589
9cad04ea
AS
335902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33591
33592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33593
f7062b9a
DM
335942012-03-15 David S. Miller <davem@davemloft.net>
33595
33596 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33597 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33598 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33599 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33612 file.
f7062b9a 33613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33615 file.
f7062b9a 33616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33618 file.
f7062b9a 33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33621 file.
f7062b9a
DM
33622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33624 fmin/fmax sysdep routines.
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33626
7bd951ff
DM
336272012-03-14 David S. Miller <davem@davemloft.net>
33628
559398ab
DM
33629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33658 routines.
33659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33660 file.
559398ab 33661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33663 file.
559398ab 33664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33666 file.
559398ab 33667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33669 file.
559398ab 33670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33672 file.
559398ab 33673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33675 file.
33676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33677 file.
33678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33679 file.
33680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33681 file.
33682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33683 New file.
33684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33685 file.
33686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33687 file.
559398ab 33688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33690 file.
559398ab 33691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33693 file.
559398ab 33694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33696 file.
559398ab 33697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33699 VIS3 routines.
559398ab
DM
33700
33701 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33702 New file.
33703
5a1c1e32
DM
33704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33705
eae47a36
DM
33706 * sysdeps/sparc/configure.in: New file.
33707 * sysdeps/sparc/configure: Generate.
33708 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33709 * configure: Regenerate.
33710 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33711 * config.make.in (have-as-vis3): New.
33712 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33713 available use -Av9d instead of -Av9a.
33714 * sysdeps/sparc/sparc64/Makefile: Likewise.
33715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33717 New file.
33718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33719 file.
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33721 New file.
33722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33723 file.
eae47a36
DM
33724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33729
c0c83bc8
DM
33730 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33731 fzeros/fnegs to load 0x80000000 into a float register instead of
33732 using the stack.
7bd951ff
DM
33733 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33734
bd951ccb
JM
337352012-03-14 Joseph Myers <joseph@codesourcery.com>
33736
33737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33738 bits/syscall.h.
33739 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33740 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33741 ($(inst_includedir)/bits/syscall.h): Remove rule.
33742 ($(objpfx)bits/syscall.d): Include instead of
33743 $(objpfx)syscall-list.d.
33744 (generated): Change syscall-list.h and syscall-list.d to
33745 bits/syscall.h and bits/syscall.d.
33746
bb4e6db2
RM
337472012-03-14 Roland McGrath <roland@hack.frob.com>
33748
33749 [BZ #13846]
33750 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33751
aa4a2ae1
JM
337522012-03-14 Joseph Myers <joseph@codesourcery.com>
33753
e456826d
JM
33754 [BZ #13841]
33755 * math/s_csqrt.c: Include <float.h>.
33756 (__csqrt): Scale large or subnormal inputs.
33757 * math/s_csqrtf.c: Likewise.
33758 * math/s_csqrtl.c: Likewise.
33759 * math/libm-test.inc (csqrt_test): Add more tests.
33760 * sysdeps/i386/fpu/libm-test-ulps: Update.
33761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33762
aa4a2ae1
JM
33763 [BZ #13840]
33764 * math/libm-test.inc (hypot_test): Add more tests.
33765
7c10fd35
DM
337662012-03-13 David S. Miller <davem@davemloft.net>
33767
33768 [BZ #13840]
33769 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33770 double-precision for the calculation instead of scaling.
33771
f453b98b
JM
337722012-03-13 Joseph Myers <joseph@codesourcery.com>
33773
33774 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33775 manipulate bits before adding and subtracting TWO52[sx].
33776 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33777 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33778 Likewise.
33779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33780
09a3453f
DM
337812012-03-13 David S. Miller <davem@davemloft.net>
33782
8e59da90
DM
33783 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33784 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33786 rtld-global-offsets.h
33787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33788
2a8ab7f2
DM
33789 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33790 large parameters.
33791
10f62770
DM
33792 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33793
5f0bdb18
DM
33794 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33795 'err' in the ifdef scope in which it is actually used.
33796
09a3453f
DM
33797 * nss/nss_db/db-init.c: Include string.h
33798
b4b2eb5e
DM
337992012-03-12 David S. Miller <davem@davemloft.net>
33800
98bb2f1c
DM
33801 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33802 masking out of the most significant byte of random value used.
33803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33804 Fix coding style in previous change.
33805
b4b2eb5e
DM
33806 * sysdeps/unix/sysv/linux/kernel-features.h
33807 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33808 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33809 expression.
33810 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33811 later.
33812
6e226b09
DM
338132012-03-11 David S. Miller <davem@davemloft.net>
33814
a1bcbd40
DM
33815 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33816 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33817 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33818 for 'resultvar' otherwise things get truncated on 64-bit.
33819
cb9d6174
DM
33820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33821 Fix masking out of the most significant byte of random value used.
33822
6e226b09
DM
33823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33824
058c132d
AS
338252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33826
33827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33828
2d2cd515
DM
338292012-03-09 David S. Miller <davem@davemloft.net>
33830
33831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33832 variables with appropriate CPP guards.
57f41c40
AS
33833 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33834 from the frame pointer, not the stack pointer. Correct layout
33835 comments. Fix test on resulting framesize and the management of
33836 the outregs buffer for pltexit. Preserve floating point return
33837 values across _dl_call_pltexit call.
2d2cd515
DM
33838 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33839 framesize and the management of the outregs buffer for pltexit.
33840 Preserve floating point return values across _dl_call_pltexit
33841 call.
57f41c40
AS
33842 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33843 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33844 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33845 (print_exit): Fix format string for return register value.
33846
9a07f9d0
JM
338472012-03-10 Joseph Myers <joseph@codesourcery.com>
33848
33849 * sunrpc/Makefile (others): Add rpcgen.
33850 ($(objpfx)rpcgen): Remove special build rule and dependency on
33851 libc.
33852 * sunrpc/rpcgen.c: New file.
33853
547b5e30
PE
338542012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33855
c524201a
PE
33856 [BZ #13673]
33857 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33858 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33859 * sysdeps/i386/crti.S: Likewise.
33860 * sysdeps/i386/crtn.S: Likewise.
33861 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33862 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33863 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33864 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33865 * sysdeps/sh/crti.S: Likewise.
33866 * sysdeps/sh/crtn.S: Likewise.
33867 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33868
7b6235f2
PE
33869 [BZ #13673]
33870 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33871 with URL.
33872 * locale/programs/locfile-kw.gperf: Likewise.
33873 * locale/programs/charmap-kw.h: Regenerated.
33874 * locale/programs/locfile-kw.h: Likewise.
33875
547b5e30
PE
33876 [BZ #13673]
33877 * intl/plural.y: Replace FSF snail mail address with URL.
33878 * intl/plural.c: Regenerated.
33879
5f0a5dae
RH
338802012-03-09 Richard Henderson <rth@twiddle.net>
33881
33882 * include/math_private.h: Remove file.
33883 * math/math_private.h: Move file ...
33884 * sysdeps/generic/math_private.h: ... here.
33885
b8c03620
RH
33886 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33887 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33888 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33889
4e234f5d 33890 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33891 and <math_private.h>.
33892 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33893 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33894 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33895 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33896 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33900 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33901 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33914 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33916 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33917 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33918 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33922 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33923 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33924 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33925 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33926 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33927 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33928 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33929 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33930 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33931 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33932 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33933 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33934 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33935 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33937 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33938 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33939 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33940 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33941 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33942 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33943 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33944 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33945 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33946 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33947 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33950 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33951 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33955 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33956 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33966 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33970 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33973 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33974 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33980 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33981 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33983 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33985 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33986 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33987 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33988 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33989 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33990 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33991 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33992 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33993 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33994 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33995 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33996 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33997 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33998 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33999 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34000 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34001 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34002 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34003 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34004 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34005 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34006 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34007 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34008 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34009 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34011 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34012 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34013 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34014 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34015 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34016 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34017 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34018 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34019 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34020 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34021 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34022 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34023 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34024 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34025 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34026 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34027 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34028 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34030 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34031 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34032 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34033 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34034 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34035 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34036 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34037 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34038 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34039 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34040 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34041 * sysdeps/ieee754/k_standard.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34051 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34054 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34055 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34056 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34059 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34063 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34068 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34069 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34073 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34119 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34124 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34133 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34157 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34161 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34162 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34164 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34167 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34168 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34169 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34170 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34171 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34174 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34175 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34179 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34180 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34181 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34184 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34185 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34188 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34190 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34191 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34192 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34196 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34198 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34200 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34201 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34202 * sysdeps/ieee754/s_lib_version.c: Likewise.
34203 * sysdeps/ieee754/s_matherr.c: Likewise.
34204 * sysdeps/ieee754/s_signgam.c: Likewise.
34205 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34206 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34207 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34208 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34209 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34210 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34211 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34212 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34213 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34214 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34215 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34216 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34217 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34218 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34219 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34220 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34221 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34222 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34223 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34226
1991fa03
JM
342272012-03-09 Joseph Myers <joseph@codesourcery.com>
34228
34229 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34230 * sunrpc/rpc_main.c: Likewise.
34231 * sunrpc/rpc_svcout.c: Likewise.
34232
60d6f5a6
DM
342332012-03-09 David S. Miller <davem@davemloft.net>
34234
34235 * include/math_private.h: New file.
34236
4962050e
JM
342372012-03-09 Joseph Myers <joseph@codesourcery.com>
34238
02a6f887
JM
34239 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34240 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34241 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34242 from <bits/socket_type.h>.
34243 (enum __socket_type): Don't define here.
34244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34246 bits/socket_type.h.
34247
c6e013c1
JM
34248 [BZ #13566]
34249 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34250 checking __USE_GNU.
34251
4962050e
JM
34252 * Makerules ($(inst_includedir)/%.h): New rule.
34253 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34254 (install-others): Remove variable setting.
34255 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34256
38842f45
RH
342572012-03-08 Richard Henderson <rth@twiddle.net>
34258
67bb6da6
RH
34259 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34260 from macro to inline function; merge with the
34261 !__LIBC_INTERNAL_MATH_INLINES version.
34262 (__ieee754_sqrtf): Likewise.
34263
15194b4b
RH
34264 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34265 to inline function.
34266 (__rintf, __floor, __floorf): Likewise.
34267
64e21ede
RH
34268 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34269 macro to inline function.
34270 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34271
38842f45
RH
34272 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34273 not <math/math_private.h>.
34274
c64bf5fe
DM
342752012-03-08 David S. Miller <davem@davemloft.net>
34276
34277 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34278 copyright year.
34279 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34280
82d86f28
TS
342812012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34282
34283 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34284 normalization.
34285 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34286 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34287
aea5d727
UD
342882012-03-08 Ulrich Drepper <drepper@gmail.com>
34289
34290 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34291 be defined individually, they must be defined as a block. Define
34292 S for printing a string instead of hidint the different by using a
34293 macro for adding the 'l'.
34294 * stdio-common/tst-fphex-wide.c: Adjust.
34295
70bca0a3
MP
342962012-03-07 Marek Polacek <polacek@redhat.com>
34297
34298 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34299
65b81130
MP
343002012-03-08 Marek Polacek <polacek@redhat.com>
34301
34302 [BZ #13806]
34303 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34304 * stdio-common/tst-fphex.c: Define a few macros to make the
34305 test reusable. Use them.
34306 * stdio-common/tst-fphex-wide.c: New file.
34307
07037eeb
JM
343082012-03-08 Joseph Myers <joseph@codesourcery.com>
34309
a7a93d50
JM
34310 [BZ #6911]
34311 * manual/macros.texi (gnusystems): New macro.
34312 (nongnusystems): Likewise.
34313 (gnulinuxhurdsystems): Likewise.
34314 (gnuhurdsystems): Likewise..
34315 (gnulinuxsystems): Likewise.
34316 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34317 variants of the GNU system, not "GNU system".
34318 * manual/conf.texi: Likewise.
34319 * manual/errno.texi: Likewise. Update example of errno macro
34320 expansion.
34321 * manual/filesys.texi: Likewise.
34322 (getumask): Document as specific to GNU/Hurd.
34323 * manual/install.texi: Likewise. Reword some references to
34324 GNU/Linux.
34325 * manual/intro.texi: Likewise.
34326 * manual/io.texi: Likewise.
34327 (File Name Portability): Detail which constraints are inapplicable
34328 to all GNU systems and which are only inapplicable to GNU/Hurd.
34329 * manual/job.texi: Likewise.
34330 * manual/llio.texi: Likewise.
34331 (O_NOCTTY): Document as present on GNU/Linux.
34332 * manual/maint.texi: Likewise.
34333 * manual/memory.texi: Likewise.
34334 * manual/pattern.texi: Likewise.
34335 * manual/pipe.texi: Likewise.
34336 * manual/process.texi: Likewise.
34337 * manual/resource.texi: Likewise.
34338 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34339 child on GNU/Hurd.
34340 * manual/setjmp.texi: Likewise.
34341 * manual/signal.texi: Likewise.
34342 * manual/startup.texi: Likewise.
34343 * manual/stdio.texi: Likewise.
34344 * manual/terminal.texi: Likewise.
34345 (ONLCR): Document as POSIX.
34346 (OXTABS): Document availability on GNU/Linux as XTABS.
34347 (ONOEOT): Document availability separately from other bits.
34348 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34349 * manual/time.texi: Likewise.
34350 * manual/users.texi: Likewise.
34351 * INSTALL: Regenerated.
34352 * sysdeps/gnu/errlist.c: Regenerated.
34353
07037eeb
JM
34354 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34355 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34356 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34357 puts.
34358 * configure: Regenerated.
34359
d1d3431a
JM
343602012-03-07 Joseph Myers <joseph@codesourcery.com>
34361
af6a1e37
JM
34362 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34363 default includes instead of AC_HEADER_CHECK.
34364 * sysdeps/i386/configure: Regenerated.
34365
d1d3431a
JM
34366 [BZ #10716]
34367 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34368 * math/s_cacoshf.c (__cacoshf): Likewise.
34369 * math/s_cacoshl.c (__cacoshl): Likewise.
34370 * math/s_casinh.c (__casinh): Set signs of result from argument.
34371 * math/s_casinhf.c (__casinhf): Likewise.
34372 * math/s_casinhl.c (__casinhl): Likewise.
34373 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34374 (casinh_test): Add more tests.
34375 * sysdeps/i386/fpu/libm-test-ulps: Update.
34376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34377
482ff4da
UD
343782012-03-07 Ulrich Drepper <drepper@gmail.com>
34379
872fda05
UD
34380 * po/zh_TW.po: Update from translation team.
34381
a4300c7a
UD
34382 * login/Makefile (distribute): Remove variable.
34383 * catgets/Makefile: Likewise.
34384 * mach/Makefile: Likewise.
34385 * malloc/Makefile: Likewise.
34386 * misc/Makefile: Likewise.
34387 * iconv/Makefile: Likewise.
34388 * nscd/Makefile: Likewise.
34389 * hurd/Makefile: Likewise.
34390 * manual/Makefile: Likewise.
34391 * locale/Makefile: Likewise.
34392 * intl/Makefile: Likewise.
34393 * conform/Makefile: Likewise.
34394 * nss/Makefile: Likewise.
34395 * time/Makefile: Likewise.
34396 * soft-fp/Makefile: Likewise.
34397 * dirent/Makefile: Likewise.
34398 * gmon/Makefile: Likewise.
34399 * po/Makefile: Likewise.
34400 * rt/Makefile: Likewise.
34401 * socket/Makefile: Likewise.
34402 * math/Makefile: Likewise.
34403 * signal/Makefile: Likewise.
34404 * debug/Makefile: Likewise.
34405 * elf/Makefile: Likewise.
34406 * timezone/Makefile: Likewise.
34407 * stdlib/Makefile: Likewise.
34408 * iconvdata/Makefile: Likewise.
34409 * sunrpc/Makefile: Likewise.
34410 * io/Makefile: Likewise.
34411 * argp/Makefile: Likewise.
34412 * inet/Makefile: Likewise.
34413 * hesiod/Makefile: Likewise.
34414 * grp/Makefile: Likewise.
34415 * csu/Makefile: Likewise.
34416 * wctype/Makefile: Likewise.
34417 * crypt/Makefile: Likewise.
34418 * libio/Makefile: Likewise.
34419 * string/Makefile: Likewise.
34420 * nis/Makefile: Likewise.
34421 * resolv/Makefile: Likewise.
34422 * stdio-common/Makefile: Likewise.
34423 * wcsmbs/Makefile: Likewise.
34424 * dlfcn/Makefile: Likewise.
34425 * posix/Makefile: Likewise.
34426
3b7c4e74 34427 [BZ #6959]
482ff4da
UD
34428 * timezone/Makefile: Don't install timezone files, just the programs
34429 and scripts.
34430
f72ed77d
UD
344312012-03-06 Ulrich Drepper <drepper@gmail.com>
34432
a000466f
UD
34433 * nss/databases.def: Add missing gshadow entry.
34434
f72ed77d
UD
34435 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34436
a53b7a4e
MP
344372012-03-06 Marek Polacek <polacek@redhat.com>
34438
34439 [BZ #13726]
34440 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34441 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34442 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34443 * stdio-common/tst-long-dbl-fphex.c: New file.
34444
e9258400
DM
344452012-03-06 David S. Miller <davem@davemloft.net>
34446
34447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34448 (set_obp_int): New function.
34449 (get_obp_int): New function.
34450 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34451 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34452 Avoid unused variable warnings on 'val' and use builtin_expect.
34453 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34454 __builtin_expect.
e9258400
DM
34455 (INLINE_CLONE_SYSCALL): Likewise.
34456
3bd2c723
DM
344572012-03-05 David S. Miller <davem@davemloft.net>
34458
34459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34460
bbb78d03
AS
344612012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34462
884c5db4
AS
34463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34464
bbb78d03
AS
34465 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34466 only for |x| >= 40.
34467 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34468
1c9f702a 344692012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34470
34471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34472 Replace gettimeofday with __vdso_gettimeofday.
34473
7be16f82
RM
34474 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34475 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34476 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34477
34478 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34479 time with __vdso_time.
34480
ed58a00f
JM
344812012-03-05 Joseph Myers <joseph@codesourcery.com>
34482
34483 * manual/lang.texi (size_t): Note types to which size_t may be
34484 equivalent with the GNU C Library, but do not describe when
34485 differences between them are significant.
34486
30ee4ced
AJ
344872012-03-05 Andreas Jaeger <aj@suse.de>
34488
34489 * sysdeps/i386/fpu/libm-test-ulps: Update.
34490
b7cd39e8
JM
344912012-03-05 Joseph Myers <joseph@codesourcery.com>
34492
34493 [BZ #3976]
34494 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34495 (__ieee754_pow): Save and restore rounding mode and use
34496 round-to-nearest for main computations.
34497 * math/libm-test.inc (pow_test_tonearest): New function.
34498 (pow_test_towardzero): Likewise.
34499 (pow_test_downward): Likewise.
34500 (pow_test_upward): Likewise.
34501 (main): Call the new functions.
34502 * sysdeps/i386/fpu/libm-test-ulps: Update.
34503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34504
34505 [BZ #3976]
34506 * math/libm-test.inc (cosh_test_tonearest): New function.
34507 (cosh_test_towardzero): Likewise.
34508 (cosh_test_downward): Likewise.
34509 (cosh_test_upward): Likewise.
34510 (sinh_test_tonearest): Likewise.
34511 (sinh_test_towardzero): Likewise.
34512 (sinh_test_downward): Likewise.
34513 (sinh_test_upward): Likewise.
34514 (main): Call the new functions.
34515 * sysdeps/i386/fpu/libm-test-ulps: Update.
34516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34517
6c6a98c9
TV
345182012-03-05 Tom de Vries <tom@codesourcery.com>
34519
34520 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34521 default stack guard is set in last bytes.
34522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34523
21bb2d2e 345242012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34525
21bb2d2e 34526 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34527
21bb2d2e
AJ
34528 [BZ #13656]
34529 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34530 possibly allocate from heap instead of stack.
34531 * stdio-common/bug-vfprintf-nargs.c: New file.
34532 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34533
c6922934
AS
345342012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34535
34536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34537
bc957d53
MP
345382012-03-03 Marek Polacek <polacek@redhat.com>
34539
34540 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34541 * math/math_private.h: Likewise.
34542 * stdlib/tst-strtod.c: Likewise.
34543 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34544 * sysdeps/x86_64/bits/atomic.h: Likewise.
34545
6358490d
DM
345462012-03-02 David S. Miller <davem@davemloft.net>
34547
34548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34552 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34553 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34554 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34555 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34556
01ae168d
RM
345572012-03-02 Roland McGrath <roland@hack.frob.com>
34558
d9a17c07
RM
34559 [BZ #13792]
34560 * manual/examples/README: New file, says the example source files
34561 can be used under GPL>=2.
34562 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34563 line containing just "*/".
34564 * manual/examples/add.c: Add copyright header (GPL>=2).
34565 * manual/examples/argp-ex1.c: Likewise.
34566 * manual/examples/argp-ex2.c: Likewise.
34567 * manual/examples/argp-ex3.c: Likewise.
34568 * manual/examples/argp-ex4.c: Likewise.
34569 * manual/examples/atexit.c: Likewise.
34570 * manual/examples/db.c: Likewise.
34571 * manual/examples/dir.c: Likewise.
34572 * manual/examples/dir2.c: Likewise.
34573 * manual/examples/execinfo.c: Likewise.
34574 * manual/examples/filecli.c: Likewise.
34575 * manual/examples/filesrv.c: Likewise.
34576 * manual/examples/fmtmsgexpl.c: Likewise.
34577 * manual/examples/genpass.c: Likewise.
34578 * manual/examples/inetcli.c: Likewise.
34579 * manual/examples/inetsrv.c: Likewise.
34580 * manual/examples/isockad.c: Likewise.
34581 * manual/examples/longopt.c: Likewise.
34582 * manual/examples/memopen.c: Likewise.
34583 * manual/examples/memstrm.c: Likewise.
34584 * manual/examples/mkfsock.c: Likewise.
34585 * manual/examples/mkisock.c: Likewise.
34586 * manual/examples/mygetpass.c: Likewise.
34587 * manual/examples/pipe.c: Likewise.
34588 * manual/examples/popen.c: Likewise.
34589 * manual/examples/rprintf.c: Likewise.
34590 * manual/examples/search.c: Likewise.
34591 * manual/examples/select.c: Likewise.
34592 * manual/examples/setjmp.c: Likewise.
34593 * manual/examples/sigh1.c: Likewise.
34594 * manual/examples/sigusr.c: Likewise.
34595 * manual/examples/stpcpy.c: Likewise.
34596 * manual/examples/strdupa.c: Likewise.
34597 * manual/examples/strftim.c: Likewise.
34598 * manual/examples/strncat.c: Likewise.
34599 * manual/examples/subopt.c: Likewise.
34600 * manual/examples/swapcontext.c: Likewise.
34601 * manual/examples/termios.c: Likewise.
34602 * manual/examples/testopt.c: Likewise.
34603 * manual/examples/testpass.c: Likewise.
34604 * manual/examples/timeval_subtract.c: Likewise.
34605
01ae168d
RM
34606 [BZ #13792]
34607 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34608 function to ...
34609 * manual/timeval_subtract.c.texi: ... here, new file.
34610
49efa33d
DM
346112012-03-02 David S. Miller <davem@davemloft.net>
34612
34613 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34614
28afd92d
JM
346152012-03-02 Joseph Myers <joseph@codesourcery.com>
34616
804360ed
JM
34617 [BZ #3976]
34618 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34619 (__sin): Save and restore rounding mode and use round-to-nearest
34620 for all computations.
34621 (__cos): Save and restore rounding mode and use round-to-nearest
34622 for all computations.
34623 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34624 <fenv.h>.
34625 (tan): Save and restore rounding mode and use round-to-nearest for
34626 all computations.
34627 * math/libm-test.inc (cos_test_tonearest): New function.
34628 (cos_test_towardzero): Likewise.
34629 (cos_test_downward): Likewise.
34630 (cos_test_upward): Likewise.
34631 (sin_test_tonearest): Likewise.
34632 (sin_test_towardzero): Likewise.
34633 (sin_test_downward): Likewise.
34634 (sin_test_upward): Likewise.
34635 (tan_test_tonearest): Likewise.
34636 (tan_test_towardzero): Likewise.
34637 (tan_test_downward): Likewise.
34638 (tan_test_upward): Likewise.
34639 (main): Call the new functions.
34640 * sysdeps/i386/fpu/libm-test-ulps: Update.
34641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34642
a6d06d7b
JM
34643 [BZ #10135]
34644 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34645 small n, then large n, before computing and testing k+n.
34646 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34648 Likewise.
34649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34650 Likewise.
34651 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34652 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34653 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34654 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34655 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34656 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34657 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34658 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34659 * math/libm-test.inc (scalbn_test): Add more tests.
34660 (scalbln_test): Likewise.
34661
07e12bb3
JM
34662 * manual/filesys.texi (mode_t): Describe constraints on size and
34663 signedness, not exact equivalence to a particular type.
34664 (ino_t): Likewise.
34665 (ino64_t): Likewise.
34666 (dev_t): Likewise.
34667 (nlink_t): Likewise.
34668 (blkcnt_t): Likewise.
34669 (blkcnt64_t): Likewise.
34670 * manual/llio.texi (off_t): Likewise.
34671
28afd92d
JM
34672 [BZ #3976]
34673 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34674 (__ieee754_exp): Save and restore rounding mode and use
34675 round-to-nearest for all computations.
34676 * math/libm-test.inc (exp_test_tonearest): New function.
34677 (exp_test_towardzero): Likewise.
34678 (exp_test_downward): Likewise.
34679 (exp_test_upward): Likewise.
34680 (main): Call the new functions.
34681 * sysdeps/i386/fpu/libm-test-ulps: Update.
34682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34683
b1eeb65d
CD
346842012-03-01 Chris Demetriou <cgd@google.com>
34685
34686 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34687 have predictable order.
34688
53362a4b
DM
346892012-03-01 David S. Miller <davem@davemloft.net>
34690
3c969083
DM
34691 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34692
759707de
DM
34693 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34694 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34695 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34696 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34697
dfdb8ff2
DM
34698 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34699 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34700 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34702 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34703 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34704 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34705 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34706 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34707
ead89f96
DM
34708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34709
7f66bd07
DM
34710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34711 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34712 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34713
53362a4b
DM
34714 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34715 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34716 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34717 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34718 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34720 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34721 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34722 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34723 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34724 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34725 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34727 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34730 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34731 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34732 * sysdeps/sparc/elf/configure: Regenerated.
34733
7b1902cb
JM
347342012-03-01 Joseph Myers <joseph@codesourcery.com>
34735
bec039bc
JM
34736 * configure.in (AS, LD): Require binutils 2.20 or later.
34737 * configure: Regenerated.
34738 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34739 as required minimum version.
34740 * INSTALL: Regenerated.
34741
7b1902cb
JM
34742 [BZ #2541]
34743 [BZ #4108]
34744 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34745 before squaring exponent.
34746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34747 bottom long double and 27 bits of top long double before squaring
34748 exponent.
34749 * math/libm-test.inc (erfc_test): Add more tests.
34750 * sysdeps/i386/fpu/libm-test-ulps: Update.
34751 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34753
f775c276
KT
347542012-03-01 Kai Tietz <ktietz@redhat.com>
34755
34756 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34757 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34758 containing bit-fields.
34759 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34760 * soft-fp/single.h (_FP_UNION_S): Likewise.
34761 * soft-fp/double.h (_FP_UNION_D): Likewise.
34762
5b8a4d4a
JM
347632012-02-29 Joseph Myers <joseph@codesourcery.com>
34764
0bab47b6
JM
34765 [BZ #13786]
34766 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34767 not include ../strcmp.S.
34768 [USE_AS_STRNCASECMP_L]: Likewise.
34769 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34770 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34771 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34772 (__strncasecmp_l_ia32): Define as alias to
34773 __strncasecmp_l_nonascii.
34774
0fcad3e2
JM
34775 [BZ #5794]
34776 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34777 * sysdeps/i386/fpu/libm-test-ulps: Update.
34778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34779
5b8a4d4a
JM
34780 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34782
8fdceb2e
JL
347832012-02-29 Jeff Law <law@redhat.com>
34784
34785 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34786 out of bounds read.
34787
1f393a11
MP
347882012-02-29 Marek Polacek <polacek@redhat.com>
34789
34790 [BZ #13706]
34791 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34792 * elf/Makefile: Add rules to run tst-unused-dep.out.
34793
8847f037
DM
347942012-02-28 David S. Miller <davem@davemloft.net>
34795
34796 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34797 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34799 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34800 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34801 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34802
169d7f11
JM
348032012-02-29 Joseph Myers <joseph@codesourcery.com>
34804
34805 * math/libm-test.inc (llround_test): Move one test from
34806 lround_test. Use TEST_f_L in moved test.
34807 (lround_test): Move misplaced test to llround_test. Add testcase
34808 from bug 2561.
34809
39adf059
UD
348102012-02-28 Ulrich Drepper <drepper@gmail.com>
34811
34812 * sysdeps/x86_64/fpu/e_expf.S: New file.
34813 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34814
71b5d1c5
SB
348152012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34816
34817 [BZ #13637]
34818 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34819 of remain_len that may cause incomplete multi-byte character and
34820 false match.
34821 * posix/bug-regex33.c: New file.
34822 * posix/Makefile (tests): Add bug-regex33.
34823
1f77f049
JM
348242012-02-28 Joseph Myers <joseph@codesourcery.com>
34825
34826 * manual/macros.texi: New file.
34827 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34828 * manual/libc.texinfo: Include macros.texi.
34829 * manual/creatute.texi: Likewise.
34830 * manual/install.texi: Likewise.
34831 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34832 @glibcadj{} in references to the GNU C Library.
34833 * manual/charset.texi: Likewise.
34834 * manual/conf.texi: Likewise.
34835 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34836 when not using those macros.
34837 * manual/creature.texi: Likewise.
34838 * manual/crypt.texi: Likewise.
34839 * manual/errno.texi: Likewise.
34840 * manual/filesys.texi: Likewise.
34841 * manual/header.texi: Likewise.
34842 * manual/install.texi: Likewise.
34843 * manual/intro.texi: Likewise.
34844 * manual/io.texi: Likewise.
34845 * manual/job.texi: Likewise.
34846 * manual/lang.texi: Likewise.
34847 * manual/libc.texiinfo: Likewise.
34848 * manual/llio.texi: Likewise.
34849 * manual/locale.texi: Likewise.
34850 * manual/maint.texi: Likewise.
34851 * manual/math.texi: Likewise.
34852 * manual/memory.texi: Likewise.
34853 * manual/message.texi: Likewise.
34854 * manual/nss.texi: Likewise.
34855 * manual/pattern.texi: Likewise.
34856 * manual/process.texi: Likewise.
34857 * manual/resource.texi: Likewise.
34858 * manual/search.texi: Likewise.
34859 * manual/setjmp.texi: Likewise.
34860 * manual/signal.texi: Likewise.
34861 * manual/socket.texi: Likewise.
34862 * manual/startup.texi: Likewise.
34863 * manual/stdio.texi: Likewise.
34864 * manual/string.texi: Likewise.
34865 * manual/sysinfo.texi: Likewise.
34866 * manual/syslog.texi: Likewise.
34867 * manual/terminal.texi: Likewise.
34868 * manual/time.texi: Likewise.
34869 * manual/users.texi: Likewise.
34870 * INSTALL: Regenerated.
34871 * NOTES: Regenerated.
d40c5d54 34872 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34873
450bf206
AS
348742012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34875
34876 * include/dirent.h: Include <dirstream.h> before
34877 <dirent/dirent.h>.
34878
741a235b
DM
348792012-02-28 David S. Miller <davem@davemloft.net>
34880
34881 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34882 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34883 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34884 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34885
d6b5aa58
DM
348862012-02-27 David S. Miller <davem@davemloft.net>
34887
1aff59a3
DM
34888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34890 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34891 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34892
d6b5aa58
DM
34893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34894 frame pointer instead of stack pointer relative arg slot.
34895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34896 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34897 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34898
433f48bf
CD
348992012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34900
34901 [BZ #3992]
34902 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34903
d674b76d
DM
349042012-02-27 David S. Miller <davem@davemloft.net>
34905
34906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34910 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34911 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34912 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34913 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34914
0e7727f7
JM
349152012-02-27 Joseph Myers <joseph@codesourcery.com>
34916
34917 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34918 later. Allow versions 5-9.
43be4ca2 34919 * configure: Regenerated.
0e7727f7
JM
34920 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34921 required minimum version and 4.6 as recommended version. Do not
34922 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34923 * INSTALL: Regenerated.
0e7727f7 34924
a78bc654
DM
349252012-02-27 David S. Miller <davem@davemloft.net>
34926
428d5830
DM
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34931 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34932 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34933 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34934 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34935
a78bc654
DM
34936 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34937 manipulate bits before adding and subtracting TWO112[sx].
34938 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34939
4579f81c
RM
349402012-02-27 Roland McGrath <roland@hack.frob.com>
34941
36c8acb4
RM
34942 [BZ #13775]
34943 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34944 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34945 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34946 being in POSIX, because they are in 1003.1-2008.
34947
84ad622b
RM
34948 * rt/tst-aio.c: Include <fcntl.h>.
34949 * rt/tst-aio7.c: Likewise.
34950 * rt/tst-aio64.c: Likewise.
34951
4579f81c
RM
34952 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34953
abd923db
JM
349542012-02-27 Joseph Myers <joseph@codesourcery.com>
34955
34956 * manual/install.texi (--with-headers): Describe headers as
34957 interface headers, not private headers.
34958 (Specific advice for GNU/Linux systems): Describe use of headers
34959 from "make headers_install", not private headers from older
34960 kernels.
43be4ca2 34961 * INSTALL: Regenerated.
abd923db
JM
34962 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34963 Change to 2.6.19.
34964 * sysdeps/unix/sysv/linux/configure: Regenerated.
34965
6664049b
JM
34966 * manual/llio.texi (fclean): Remove documentation.
34967
bb8b6697
JM
34968 * manual/Makefile (libc-texi-generated): New variable. Include
34969 version.texi.
34970 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34971 $(libc-texi-generated), not duplicated list of files.
34972 (version.texi, stamp-version): New rules.
34973 (realclean): Remove $(libc-texi-generated), not individual files
34974 from that list. Do not remove dir-add.texinfo.
34975 * manual/libc.texinfo: Comment out uses of edition numbers and
34976 references to printed manual. Remove last-updated dates.
34977 (EDITION): Comment out.
34978 (ISBN): Likewise.
34979 (VERSION, UPDATED): Remove.
34980 (version.texi): Include.
34981
12e5c3b9
AS
349822012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34983
34984 * sysdeps/posix/spawni.c: Include <signal.h>.
34985 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34986 * sysdeps/pthread/aio_fsync.c: Likewise.
34987
4efeffc1 349882012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34989
ba63ba08
UD
34990 * conform/Makefile (tests): Run only when not cross-compiling and
34991 when fast-check is not defined.
34992
d94a4670
UD
34993 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34994 * conform/data/limits.h-data: Fixes for POSIX2008.
34995 * conform/run-conformtest.sh: Run all tests.
34996 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34997 headers.
34998 * include/bits/dlfcn.h: Likewise.
34999 * include/langinfo.h: Likewise.
35000 * include/monetary.h: Likewise.
35001 * include/sys/poll.h: Likewise.
35002
35003 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35004 for __USE_GNU.
35005 * posix/spawn.h: Define __need_sigset_t.
35006 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35007 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35008 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35009 to get sigevent_t only.
35010 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35011 only for __USE_GNU.
35012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35013 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35014 process_vm_writev only for __USE_GNU.
35015 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35016
35017 * conform/Makefile: For now ignore errors from run-conformtest.
35018 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35019 POSIX to avoid namespace pollution. Don't prepend headers.
35020 * conform/data/aio.h-data: Fixes for POSIX testing.
35021 * conform/data/fcntl.h-data: Likewise.
35022 * conform/data/glob.h-data: Likewise.
35023 * conform/data/grp.h-data: Likewise.
35024 * conform/data/pthread.h-data: Likewise.
35025 * conform/data/pwd.h-data: Likewise.
35026 * conform/data/signal.h-data: Likewise.
35027 * conform/data/spawn.h-data: Likewise.
35028 * conform/data/stdio.h-data: Likewise.
35029 * conform/data/stdlib.h-data: Likewise.
35030 * conform/data/stropts.h-data: Likewise.
35031 * conform/data/sys/mman.h-data: Likewise.
35032 * conform/data/sys/stat.h-data: Likewise.
35033 * conform/data/sys/types.h-data: Likewise.
35034 * conform/data/sys/wait.h-data: Likewise.
35035 * conform/data/time.h-data: Likewise.
35036 * conform/data/unistd.h-data: Likewise.
35037 * conform/data/utime.h-data: Likewise.
35038
35039 * io/sys/stat.h: fchmod was always in POSIX.
35040 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35041 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35042 * rt/aio.h: Define __need_timespec before including <time.h>.
35043 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35044 struct. Add forward declaration of pthread_attr_t and use it in
35045 sigevent.
35046 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35048 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35049 always remove CLK_TCK definition.
35050
c20105c3
AS
350512012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35052
35053 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35054
7a270350
UD
350552012-02-25 Ulrich Drepper <drepper@gmail.com>
35056
31341567
UD
35057 * conform/run-conformtest.sh: New file.
35058 * conform/Makefile: Run run-conformtest for tests.
35059 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35060 support.
35061
35062 * conform/data/uchar.h-data: New file.
35063 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35064 * conform/data/arpa/inet.h-data: Likewise.
35065 * conform/data/assert.h-data: Likewise.
35066 * conform/data/complex.h-data: Likewise.
35067 * conform/data/cpio.h-data: Likewise.
35068 * conform/data/ctype.h-data: Likewise.
35069 * conform/data/dirent.h-data: Likewise.
35070 * conform/data/dlfcn.h-data: Likewise.
35071 * conform/data/errno.h-data: Likewise.
35072 * conform/data/fcntl.h-data: Likewise.
35073 * conform/data/float.h-data: Likewise.
35074 * conform/data/fmtmsg.h-data: Likewise.
35075 * conform/data/fnmatch.h-data: Likewise.
35076 * conform/data/ftw.h-data: Likewise.
35077 * conform/data/glob.h-data: Likewise.
35078 * conform/data/grp.h-data: Likewise.
35079 * conform/data/iconv.h-data: Likewise.
35080 * conform/data/inttypes.h-data: Likewise.
35081 * conform/data/langinfo.h-data: Likewise.
35082 * conform/data/libgen.h-data: Likewise.
35083 * conform/data/limits.h-data: Likewise.
35084 * conform/data/locale.h-data: Likewise.
35085 * conform/data/math.h-data: Likewise.
35086 * conform/data/monetary.h-data: Likewise.
35087 * conform/data/mqueue.h-data: Likewise.
35088 * conform/data/ndbm.h-data: Likewise.
35089 * conform/data/net/if.h-data: Likewise.
35090 * conform/data/netdb.h-data: Likewise.
35091 * conform/data/netinet/in.h-data: Likewise.
35092 * conform/data/nl_types.h-data: Likewise.
35093 * conform/data/poll.h-data: Likewise.
35094 * conform/data/pthread.h-data: Likewise.
35095 * conform/data/pwd.h-data: Likewise.
35096 * conform/data/regex.h-data: Likewise.
35097 * conform/data/sched.h-data: Likewise.
35098 * conform/data/search.h-data: Likewise.
35099 * conform/data/semaphore.h-data: Likewise.
35100 * conform/data/setjmp.h-data: Likewise.
35101 * conform/data/signal.h-data: Likewise.
35102 * conform/data/spawn.h-data: Likewise.
35103 * conform/data/stdarg.h-data: Likewise.
35104 * conform/data/stdio.h-data: Likewise.
35105 * conform/data/stdlib.h-data: Likewise.
35106 * conform/data/string.h-data: Likewise.
35107 * conform/data/strings.h-data: Likewise.
35108 * conform/data/stropts.h-data: Likewise.
35109 * conform/data/sys/ipc.h-data: Likewise.
35110 * conform/data/sys/mman.h-data: Likewise.
35111 * conform/data/sys/msg.h-data: Likewise.
35112 * conform/data/sys/resource.h-data: Likewise.
35113 * conform/data/sys/select.h-data: Likewise.
35114 * conform/data/sys/sem.h-data: Likewise.
35115 * conform/data/sys/shm.h-data: Likewise.
35116 * conform/data/sys/socket.h-data: Likewise.
35117 * conform/data/sys/stat.h-data: Likewise.
35118 * conform/data/sys/statvfs.h-data: Likewise.
35119 * conform/data/sys/time.h-data: Likewise.
35120 * conform/data/sys/timeb.h-data: Likewise.
35121 * conform/data/sys/times.h-data: Likewise.
35122 * conform/data/sys/types.h-data: Likewise.
35123 * conform/data/sys/uio.h-data: Likewise.
35124 * conform/data/sys/un.h-data: Likewise.
35125 * conform/data/sys/utsname.h-data: Likewise.
35126 * conform/data/sys/wait.h-data: Likewise.
35127 * conform/data/syslog.h-data: Likewise.
35128 * conform/data/tar.h-data: Likewise.
35129 * conform/data/termios.h-data: Likewise.
35130 * conform/data/utime.h-data: Likewise.
35131 * conform/data/utmpx.h-data: Likewise.
35132 * conform/data/varargs.h-data: Likewise.
35133 * conform/data/wchar.h-data: Likewise.
35134 * conform/data/wctype.h-data: Likewise.
35135 * conform/data/wordexp.h-data: Likewise.
35136
35137 * include/stropts.h: New file.
35138 * include/uchar.h: New file.
35139 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35140 * include/assert.h: Likewise.
35141 * include/ctype.h: Likewise.
35142 * include/dirent.h: Likewise.
35143 * include/dlfcn.h: Likewise.
35144 * include/fcntl.h: Likewise.
35145 * include/fnmatch.h: Likewise.
35146 * include/glob.h: Likewise.
35147 * include/grp.h: Likewise.
35148 * include/libio.h: Likewise.
35149 * include/locale.h: Likewise.
35150 * include/math.h: Likewise.
35151 * include/net/if.h: Likewise.
35152 * include/netdb.h: Likewise.
35153 * include/netinet/in.h: Likewise.
35154 * include/pthread.h: Likewise.
35155 * include/pwd.h: Likewise.
35156 * include/regex.h: Likewise.
35157 * include/sched.h: Likewise.
35158 * include/search.h: Likewise.
35159 * include/setjmp.h: Likewise.
35160 * include/signal.h: Likewise.
35161 * include/stdio.h: Likewise.
35162 * include/stdlib.h: Likewise.
35163 * include/string.h: Likewise.
35164 * include/sys/cdefs.h: Likewise.
35165 * include/sys/mman.h: Likewise.
35166 * include/sys/msg.h: Likewise.
35167 * include/sys/resource.h: Likewise.
35168 * include/sys/select.h: Likewise.
35169 * include/sys/socket.h: Likewise.
35170 * include/sys/stat.h: Likewise.
35171 * include/sys/statvfs.h: Likewise.
35172 * include/sys/time.h: Likewise.
35173 * include/sys/times.h: Likewise.
35174 * include/sys/uio.h: Likewise.
35175 * include/sys/utsname.h: Likewise.
35176 * include/sys/wait.h: Likewise.
35177 * include/termios.h: Likewise.
35178 * include/time.h: Likewise.
35179 * include/ulimit.h: Likewise.
35180 * include/unistd.h: Likewise.
35181 * include/utime.h: Likewise.
35182 * include/wchar.h: Likewise.
35183 * include/wctype.h: Likewise.
35184 * include/wordexp.h: Likewise.
35185
35186 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35187
7a270350
UD
35188 * time/time.h: TIME_UTC must be a macro.
35189 Make timespec_get available for ISO C11 only as well.
35190
7724defc
UD
351912012-02-24 Ulrich Drepper <drepper@gmail.com>
35192
35193 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35194 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35195
6b1d1d46
JM
351962012-02-24 Joseph Myers <joseph@codesourcery.com>
35197
35198 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35199
0f8bbd69
JM
352002012-02-24 Joseph Myers <joseph@codesourcery.com>
35201
35202 * manual/texinfo.tex: Update to version 2012-01-19.16.
35203
66ab80bc
JM
352042012-02-24 Joseph Myers <joseph@codesourcery.com>
35205
35206 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35207
74981cc5
RM
352082012-02-24 Roland McGrath <roland@hack.frob.com>
35209
ee968201
RM
35210 [BZ #13738]
35211 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35212 * manual/fdl-1.3.texi: New file.
35213 * manual/fdl-1.1.texi: File removed.
35214
74981cc5
RM
35215 [BZ #13738]
35216 * manual/libc.texinfo (FDL_VERSION): New @set.
35217 Use it for mention of FDL in cover text.
35218 (Documentation License): Use it in @include file name.
35219
7bb764bc
JM
352202012-02-22 Joseph Myers <joseph@codesourcery.com>
35221 Roland McGrath <roland@hack.frob.com>
35222
35223 [BZ #5461]
57f41c40
AS
35224 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35225 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35226 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35227 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35228 name.
35229 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35230
6cbeae47
JM
352312012-02-22 Joseph Myers <joseph@codesourcery.com>
35232
35233 [BZ #2547]
35234 [BZ #11365]
35235 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35236 manipulate bits before adding and subtracting TWO23[sx].
35237 * math/libm-test.inc (nearbyint_test): Add more tests.
35238
fe45ce09
JM
352392012-02-22 Joseph Myers <joseph@codesourcery.com>
35240
35241 [BZ #2548]
35242 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35243 bits before adding and subtracting TWO23[sx].
35244 * math/libm-test.inc (rint_test): Add more tests.
35245 (rint_test_tonearest): Likewise.
35246 (rint_test_towardzero): Likewise.
35247 (rint_test_downward): Likewise.
35248 (rint_test_upward: Likewise.
35249
ff3b3d82
JM
352502012-02-22 Joseph Myers <joseph@codesourcery.com>
35251
35252 [BZ #10110]
35253 * include/stdc-predef.h: New file. Extracted from features.h.
35254 * include/features.h: Include stdc-predef.h.
35255 * Makefile (headers): Add stdc-predef.h.
35256 * CONFORMANCE (Compiler limitations): Update.
35257
ef0aab35
JM
352582012-02-22 Joseph Myers <joseph@codesourcery.com>
35259
35260 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35261
58639409
DM
352622012-02-21 David S. Miller <davem@davemloft.net>
35263
35264 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35265 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35266
c0e70b25
DM
352672012-02-20 David S. Miller <davem@davemloft.net>
35268
35269 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35270 using a normal save/restore sequence, rather than allocating a
35271 dummy stack frame just to store a frame pointer and restore.
35272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35273
fb06851d
JM
352742012-02-21 Joseph Myers <joseph@codesourcery.com>
35275
35276 * manual/install.texi: Fix stray word in line-wrapped comment.
35277
7a8b71c3
DM
352782012-02-20 David S. Miller <davem@davemloft.net>
35279
d510c123
DM
35280 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35281 both binutils and gcc support GOTDATA.
35282
0722d7c2
DM
35283 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35284 "rd %pc" in the PIC register setup sequences.
35285
3d2b3019
DM
35286 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35287 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35288 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35289 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35290 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35292 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35293 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35295 (SYSCALL_ERROR_HANDLER): Likewise.
35296 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35297 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35299 (SYSCALL_ERROR_HANDLER): Likewise.
35300
c80098a9
DM
35301 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35302 (HAVE_GCC_GOTDATA): New.
35303 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35304 relocation support in both binutils and gcc.
35305 * sysdeps/sparc/elf/configure: Regenerate.
35306
3a2545a0
DM
35307 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35308 * sysdeps/sparc/sparc32/elf/configure: Delete.
35309 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35310 * sysdeps/sparc/sparc64/elf/configure: Delete.
35311 * sysdeps/sparc/elf/configure.in: New file.
35312 * sysdeps/sparc/elf/configure: Generate.
35313
7a8b71c3
DM
35314 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35315 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35316 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35317 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35318 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35319
f1e86fca
JM
353202012-02-21 Joseph Myers <joseph@codesourcery.com>
35321
35322 * manual/install.texi: Do not mention specific glibc version
35323 numbers.
35324 * manual/libc.texinfo (VERSION, UPDATED): Update.
35325 (@copying): Use @copyright{} and range of years.
35326
0e7dfaef
JM
353272012-02-21 Joseph Myers <joseph@codesourcery.com>
35328
35329 [BZ #13695]
35330 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35331 [crti.S not in sysdirs] (generated): Do not append.
35332 [crti.S not in sysdirs] (omit-deps): Likewise.
35333 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35334 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35335 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35336 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35337 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35338 Likewise.
35339 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35340 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35341 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35342 * csu/defs.awk: Remove file.
35343 * sysdeps/generic/initfini.c: Likewise.
35344 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35345 variable.
35346 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35347 Likewise.
35348
599af3ca
JM
353492012-02-20 Joseph Myers <joseph@codesourcery.com>
35350
35351 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35352 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35353 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35354 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35356 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35357 <bits/epoll.h>.
35358 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35359 (__EPOLL_PACKED): Define to empty if not defined by
35360 <bits/epoll.h>.
35361 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35363 bits/epoll.h.
35364
0e499750
JM
353652012-02-20 Joseph Myers <joseph@codesourcery.com>
35366
35367 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35368 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35369 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35370 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35371 <bits/timerfd.h>.
35372 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35374 bits/timerfd.h.
35375
5ad91f6e
JM
353762012-02-20 Joseph Myers <joseph@codesourcery.com>
35377
35378 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35379 in C locale.
35380 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35381 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35384
06b99b02
AJ
353852012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35386
35387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35389
7638c0fd
AS
353902012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35391
35392 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35393 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35394 defined.
35395 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35396 Likewise.
35397 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35398 entry for 2.16.
35399
92221550
AJ
354002012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35401
35402 * math/w_acos.c: Use non-signaling floating-point comparisons.
35403 * math/w_acosf.c: Likewise.
35404 * math/w_acosh.c: Likewise.
35405 * math/w_acoshf.c: Likewise.
35406 * math/w_acoshl.c: Likewise.
35407 * math/w_acosl.c: Likewise.
35408 * math/w_asin.c: Likewise.
35409 * math/w_asinf.c: Likewise.
35410 * math/w_asinl.c: Likewise.
35411 * math/w_atanh.c: Likewise.
35412 * math/w_atanhf.c: Likewise.
35413 * math/w_atanhl.c: Likewise.
35414 * math/w_exp2.c: Likewise.
35415 * math/w_exp2f.c: Likewise.
35416 * math/w_exp2l.c: Likewise.
35417 * math/w_j0.c: Likewise.
35418 * math/w_j0f.c: Likewise.
35419 * math/w_j0l.c: Likewise.
35420 * math/w_j1.c: Likewise.
35421 * math/w_j1f.c: Likewise.
35422 * math/w_j1l.c: Likewise.
35423 * math/w_jn.c: Likewise.
35424 * math/w_jnf.c: Likewise.
35425 * math/w_log.c: Likewise.
35426 * math/w_log10.c: Likewise.
35427 * math/w_log10f.c: Likewise.
35428 * math/w_log10l.c: Likewise.
35429 * math/w_log2.c: Likewise.
35430 * math/w_log2f.c: Likewise.
35431 * math/w_log2l.c: Likewise.
35432 * math/w_logf.c: Likewise.
35433 * math/w_logl.c: Likewise.
35434 * math/w_sqrt.c: Likewise.
35435 * math/w_sqrtf.c: Likewise.
35436 * math/w_sqrtl.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35439 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35440 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35441 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35442
ebaf36eb
JM
354432012-02-19 Joseph Myers <joseph@codesourcery.com>
35444
35445 [BZ #9739]
35446 * manual/string.texi (strnlen): Use correct parameter name in
35447 equivalent expression.
35448
71c254a6
JM
354492012-02-19 Joseph Myers <joseph@codesourcery.com>
35450
35451 [BZ #11174]
35452 * manual/users.texi (seteuid): Consistently use neweuid for
35453 argument name.
35454
16d2c631
JM
354552012-02-19 Joseph Myers <joseph@codesourcery.com>
35456
35457 [BZ #13704]
35458 * manual/nss.texi (Services in the NSS configuration): Correct
35459 list of services in example configuration file.
35460
cd837b09
NB
354612012-02-19 Nick Bowler <nbowler@draconx.ca>
35462
35463 [BZ #11322]
35464 * manual/arith.texi: Remove statements about negative zero
35465 behaving identically to zero.
35466
02c4bbad
JM
354672012-02-18 Joseph Myers <joseph@codesourcery.com>
35468
35469 [BZ #5993]
35470 * manual/install.texi: Do not document upgrading from libc5.
35471
366842e7
JM
354722012-02-18 Joseph Myers <joseph@codesourcery.com>
35473
35474 [BZ #4596]
35475 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35476
dd54084d
DM
354772012-02-18 David S. Miller <davem@davemloft.net>
35478
35479 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35480 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35481 %o7 across the call.
35482 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35483 instead.
35484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35485 SETUP_PIC_REG_LEAF.
35486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35487 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35488 * sysdeps/sparc/crtn.S: Likewise.
35489
2bcc53a3
UD
354902012-02-17 Ulrich Drepper <drepper@gmail.com>
35491
35492 * aout/Makefile: Remove.
35493
09c093b5
RK
354942012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35495
35496 [BZ #13058]
35497 * manual/examples/argp-ex1.c (main): Format definition in GNU
35498 style.
35499 * manual/examples/argp-ex2.c (main): Likewise.
35500 * manual/examples/argp-ex3.c (main): Likewise.
35501 * manual/examples/argp-ex4.c (main): Likewise.
35502 * manual/examples/longopt.c (main): Use new-style prototype
35503 definition.
35504 * manual/examples/strncat.c (main): Specify return type and use
35505 (void) for arguments.
35506 * manual/examples/subopt.c (main): Use char **argv argument.
35507
2ee633a2
JM
355082012-02-17 Joseph Myers <joseph@codesourcery.com>
35509
35510 [BZ #5077]
35511 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35512 rounding modes.
35513
0520adde
FB
355142012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35515
35516 [BZ #6907]
35517 * manual/string.texi (strchr): Change when strchrnul is
35518 recommended.
35519
3f4081cd
DGM
355202012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35521
35522 [BZ #174]
35523 * manual/locale.texi (setlocale): Document LOCPATH.
35524
d1b10e78
JM
355252012-02-17 Joseph Myers <joseph@codesourcery.com>
35526
35527 [BZ #10210]
35528 * manual/process.texi (execle): Move @dots{} before last argument.
35529
79c6869c
PB
355302012-02-17 Paul Bolle <pebolle@tiscali.nl>
35531
35532 [BZ #12047]
35533 * manual/charset.texi (Generic Charset Conversion): Fix typo
35534 (LC_TYPE -> LC_CTYPE).
35535
cc6e48bc
NB
355362012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35537
35538 [BZ #5805]
35539 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35540 (scalbnf): Likewise.
35541 (scalbnl): Likewise.
35542 (scalbln): Likewise.
35543 (scalblnf): Likewise.
35544 (scalblnl): Likewise.
35545 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35546 (vwarnx): Likewise.
35547 (verr): Likewise.
35548 (verrx): Likewise.
35549 * manual/filesys.texi (telldir): Use braces around return type.
35550 * manual/llio.texi (mmap): Add space after comma.
35551 (mmap64): Likewise.
35552 * manual/math.texi (jn): Use @var{} on parameter names.
35553 (jnf): Likewise.
35554 (jnl): Likewise.
35555 (yn): Likewise.
35556 (ynf): Likewise.
35557 (ynl): Likewise.
35558 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35559 line.
35560 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35561 "...".
35562 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35563 (sched_get_priority_max): Likewise.
35564 * manual/signal.texi (sigvec): Add space after comma.
35565 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35566 names.
35567 (if_indextoname): Likewise.
35568 (if_freenameindex): Likewise.
35569 (sendto): Use ',' instead of '.' in prototype.
35570 * manual/startup.texi (syscall): Use @dots{} instead of literal
35571 "...".
35572 * manual/stdio.texi (__fpending): Separate initial words of
35573 paragraph from @deftypefun line.
35574 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35575 "...".
35576 (vsyslog): Use @var{} on parameter names.
35577 * manual/terminal.texi (stty): Use @var{} on parameter names.
35578 * manual/users.texi (getutmp): Use @var{} on parameter names.
35579 (getutmpx): Likewise.
35580
5b23062f
JM
355812012-02-17 Joseph Myers <joseph@codesourcery.com>
35582
35583 [BZ #6884]
35584 * manual/stdio.texi (fopen): Fix typos in description of
35585 ",ccs=STRING".
35586
8dee4833
AJ
355872012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35588
35589 [BZ #4026]
35590 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35591 get clock_id definition.
35592
9078ce93
TS
355932012-02-17 Thomas Schwinge <thomas@schwinge.name>
35594
35595 [BZ #4822]
35596 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35597 (madvise): Cast every argument to void on its own.
35598
3835c55f
JM
355992012-02-17 Joseph Myers <joseph@codesourcery.com>
35600
35601 [BZ #9902]
35602 * manual/startup.texi (Exit Status): Fix typo.
35603
35c47e37
JM
356042012-02-17 Joseph Myers <joseph@codesourcery.com>
35605
35606 [BZ #10140]
35607 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35608 * manual/examples/argp-ex2.c: Likewise.
35609 * manual/examples/argp-ex3.c: Likewise.
35610
e3b69ca7
RH
356112012-02-16 Richard Henderson <rth@redhat.com>
35612
35613 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35614 * sysdeps/s390/s390-32/initfini.c: Remove.
35615 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35616 * sysdeps/s390/s390-64/initfini.c: Remove.
35617
df83af67
KK
356182012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35619
35620 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35621 compiler output for sysdeps/generic/initfini.c.
35622 * sysdeps/sh/elf/initfini.c: Remove file.
35623
f63f3380
DM
356242012-02-16 David S. Miller <davem@davemloft.net>
35625
fb59b3a4
DM
35626 [BZ #11494]
35627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35628
f63f3380
DM
35629 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35630 * sysdeps/sparc/crti.S: New file.
35631 * sysdeps/sparc/crtn.S: New file.
35632 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35633 * sysdeps/sparc/sparc64/Makefile: Likewise.
35634
df6a4a4a
MF
356352012-02-15 Mike Frysinger <vapier@gentoo.org>
35636
6dd8f3dc 35637 [BZ #3335]
df6a4a4a
MF
35638 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35639
1cac7236
RM
356402012-02-15 Roland McGrath <roland@hack.frob.com>
35641
d2c736f8
RM
35642 [BZ #4822]
35643 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35644
1cac7236
RM
35645 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35646 (write, read, close): Likewise.
35647 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35648
8e475601
JM
356492012-02-15 Joseph Myers <joseph@codesourcery.com>
35650
35651 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35652 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35653 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35654 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35655 <bits/signalfd.h>.
35656 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35658 bits/signalfd.h.
35659
ed656b40
MP
356602012-02-14 Marek Polacek <polacek@redhat.com>
35661
35662 * sysdeps/x86_64/crti.S: New file.
35663 * sysdeps/x86_64/crtn.S: New file.
35664 * sysdeps/x86_64/elf/initfini.c: Remove file.
35665
2a979d3a
JM
356662012-02-13 Joseph Myers <joseph@codesourcery.com>
35667
35668 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35669 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35670 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35671 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35672 <bits/inotify.h>.
35673 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35675 bits/inotify.h.
35676
2a418ac3
JM
356772012-02-13 Joseph Myers <joseph@codesourcery.com>
35678
35679 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35680 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35681 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35682 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35683 <bits/eventfd.h>.
35684 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35686 bits/eventfd.h.
35687
fb779be7
TS
356882012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35689
e19e83c5
RM
35690 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35691 __feraiseexcept instead of feraiseexcept.
7c35ffed 35692
fb779be7
TS
35693 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35694 nanosleep invocations.
35695 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35696 strings, and add error checking for a nanosleep invocations.
35697
59ba27a6
PE
356982012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35699
35700 Replace FSF snail mail address with URLs, as per GNU coding standards.
35701 Most of the snail mail addresses were wrong anyway, and omitting
35702 them makes the source code easier to maintain. Almost all of the
35703 changes are to license notices and to locale LC_IDENTIFICATION
35704 addresses, except for this one:
35705 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35706 not its snail mail address.
35707
57b957eb
RH
357082012-02-09 Richard Henderson <rth@twiddle.net>
35709
af850b1c
RH
35710 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35711 of kernel-features.h.
35712
57b957eb
RH
35713 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35714
6b73181a
MP
357152012-02-08 Marek Polacek <polacek@redhat.com>
35716
35717 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35718 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35719 * sysdeps/gnu/_G_config.h: Likewise.
35720 * sysdeps/generic/_G_config.h: Likewise.
35721
26ecc33a
AS
357222012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35723
6c6dbc63
AS
35724 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35725 tests.
35726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35727
e216c012
AS
35728 * sysdeps/powerpc/powerpc32/crti.S: New file.
35729 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35730 * sysdeps/powerpc/powerpc64/crti.S: New file.
35731 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35732
26ecc33a
AS
35733 * Makeconfig (have-initfini): Don't set.
35734 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35735 * configure.in (nopic_initfini): Don't substitute.
35736 * config.h.in (HAVE_INITFINI): Don't #undef.
35737 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35738 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35739
3add8e13
JM
357402012-02-08 Joseph Myers <joseph@codesourcery.com>
35741
35742 Support crti.S and crtn.S provided directly by architectures.
35743 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35744 [crti.S in sysdirs] (omit-deps): Likewise.
35745 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35746 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35747 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35748 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35749 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35750 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35751 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35752 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35753 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35754 compiler output for sysdeps/generic/initfini.c.
35755 * sysdeps/i386/elf/Makefile: Remove file.
35756 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35757
a22f12b4
MP
357582012-02-07 Marek Polacek <polacek@redhat.com>
35759
35760 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35761 * sysdeps/gnu/_G_config.h: Likewise.
35762 * sysdeps/mach/hurd/_G_config.h: Likewise.
35763
148cf100
MP
357642012-02-07 Marek Polacek <polacek@redhat.com>
35765
35766 * math/Makefile (tests): Add tst-CMPLX2.
35767 * math/tst-CMPLX2.c: New file.
35768
cfdc0dd7
AS
357692012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35770
84ba42c4
AS
35771 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35772
cfdc0dd7
AS
35773 * math/libm-test.inc (jn_test): Add missing L suffix.
35774
622c86f4
MP
357752012-02-06 Marek Polacek <polacek@redhat.com>
35776
35777 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35778 * sysdeps/i386/fpu/e_powf.S: Likewise.
35779 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35780 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35781 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35782 * sysdeps/i386/fpu/e_pow.S: Likewise.
35783 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35784 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35785 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35786 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35787 * sysdeps/i386/fpu/e_log2.S: Likewise.
35788 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35789 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35790 * sysdeps/i386/fpu/e_powl.S: Likewise.
35791 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35793 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35794 * sysdeps/i386/fpu/e_logl.S: Likewise.
35795 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35796 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35797 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35798 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35799 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35800 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35801 * sysdeps/i386/fpu/e_log.S: Likewise.
35802 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35803 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35804 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35805 * sysdeps/i386/fpu/e_logf.S: Likewise.
35806 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35807 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35808 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35809 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35810 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35811 * sysdeps/i386/fpu/e_log10.S: Likewise.
35812 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35813 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35814 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35815 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35816 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35817 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35818 * sysdeps/i386/asm-syntax.h: Likewise.
35819 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35820 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35821 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35822 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35823 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35824 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35825 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35826 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35827 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35828 * sysdeps/powerpc/sysdep.h: Likewise.
35829 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35830 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35831
d4a54ac6
JM
358322012-02-06 Joseph Myers <joseph@codesourcery.com>
35833
35834 [BZ #411]
35835 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35836
314054ea
JM
358372012-02-06 Joseph Myers <joseph@codesourcery.com>
35838
35839 * sysdeps/i386/sysdep.h: Include <features.h>.
35840 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35841 version.
35842
d8e0ca50
JM
358432012-02-05 Joseph Myers <joseph@codesourcery.com>
35844
35845 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35846 Define.
35847 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35848 LOAD_PIC_REG_STR.
35849
b1da7dd9
JM
358502012-02-03 Joseph Myers <joseph@codesourcery.com>
35851
35852 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35853 (SETUP_PIC_REG): Use GET_PC_THUNK.
35854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35855 macro.
35856
9a1d9254
JM
358572012-02-03 Joseph Myers <joseph@codesourcery.com>
35858
35859 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35860 for non-PIC compilation.
35861 (SETUP_PIC_REG): Add .p2align directive.
35862 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35863 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35864 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35865 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35866 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35867 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35868 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35869 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35870 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35871 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35872 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35873 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35874 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35875 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35876 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35877 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35878 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35879 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35880 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35881 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35883 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35884 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35885 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35886 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35888 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35889 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35890 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35891 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35892 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35903
65dc3b75
JM
359042012-02-03 Joseph Myers <joseph@codesourcery.com>
35905
35906 * math/tst-CMPLX.c: Include <stdio.h>.
35907
d55bf177
JM
359082012-01-31 Joseph Myers <joseph@codesourcery.com>
35909
35910 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35911 float.
35912 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35913 * sysdeps/sparc/bits/mathdef.h: Likewise.
35914
69db4f8f
MP
359152012-01-31 Marek Polacek <polacek@redhat.com>
35916
35917 * libio/libio.h: Don't define _PARAMS.
35918 * locale/programs/config.h: Don't define PARAMS.
35919 * stdlib/strtol_l.c: Likewise.
35920 (__strtol_l): Remove PARAMS from the prototype.
35921
41b81892
UD
359222012-01-31 Ulrich Drepper <drepper@gmail.com>
35923
3b49edc0
UD
35924 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35925 names. Just use the correct names. Remove unnecessary wrapper
35926 functions.
35927 * malloc/arena.c: Likewise.
35928 * malloc/hooks.c: Likewise.
35929
41b81892
UD
35930 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35931 ARENA_TEST says not to. Simplify test for creation of a new arena.
35932 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35933
27a25b6e
UD
359342012-01-30 Ulrich Drepper <drepper@gmail.com>
35935
35936 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35937 into tail calls.
35938 (update_get_addr): New function.
35939 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35940 GET_ADDR_MODULE parameter.
35941
c8a89e7d
JM
359422012-01-30 Joseph Myers <joseph@codesourcery.com>
35943
35944 * crypt/cert.c: Remove __STDC__ conditionals.
35945 * crypt/crypt-entry.c: Likewise.
35946 * crypt/crypt_util.c: Likewise.
35947 * libio/filedoalloc.c: Likewise.
35948 * libio/fileops.c: Likewise.
35949 * libio/genops.c: Likewise.
35950 * libio/iofclose.c: Likewise.
35951 * libio/iofdopen.c: Likewise.
35952 * libio/iofopen.c: Likewise.
35953 * libio/iofopen64.c: Likewise.
35954 * libio/iogetdelim.c: Likewise.
35955 * libio/iopopen.c: Likewise.
35956 * libio/obprintf.c: Likewise.
35957 * libio/oldfileops.c: Likewise.
35958 * libio/oldiofclose.c: Likewise.
35959 * libio/oldiofdopen.c: Likewise.
35960 * libio/oldiofopen.c: Likewise.
35961 * libio/oldiopopen.c: Likewise.
35962 * libio/wfiledoalloc.c: Likewise.
35963 * libio/wgenops.c: Likewise.
35964 * locale/programs/xmalloc.c: Likewise.
35965 * misc/syslog.c: Likewise.
35966 * stdio-common/xbug.c: Likewise.
35967 * string/memchr.c: Likewise.
35968 * string/memcmp.c: Likewise.
35969 * string/memrchr.c: Likewise.
35970 * string/rawmemchr.c: Likewise.
35971 * sysdeps/posix/getcwd.c: Likewise.
35972 * time/strftime_l.c: Likewise.
35973
3b100462
JM
359742012-01-30 Joseph Myers <joseph@codesourcery.com>
35975
35976 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35977 * config.make.in (config-cflags-sse2avx): Define.
35978 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35979 Fix typo.
35980
607998af
CM
359812012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35982
35983 * scripts/config.guess: Update from upstream config git repository.
35984 * scripts/config.sub: Likewise.
35985
3601428f
CM
359862012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35987
3ac8b282
CM
35988 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35989 (EM_NUM): Update.
35990 (R_TILEPRO_*, R_TILEGX_*): New macros.
35991
e034841e
CM
35992 * scripts/firstversions.awk: Fix bug in version range handling.
35993
540d7568
CM
35994 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35995
3601428f
CM
35996 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35997
463de862
CM
35998 * include/sys/epoll.h: New file.
35999 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36000 libc_hidden_def.
36001
73139a76
UD
360022012-01-28 Ulrich Drepper <drepper@gmail.com>
36003
96bc5b45
UD
36004 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36005 Avoid unnecessary __WORDSIZE == 64 test.
36006 (fmaxf): Use VEX format if possible.
36007 (fmax): Likewise.
36008 (fminf): Likewise.
36009 (fmin): Likewise.
36010
56f6f6a2
UD
36011 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36012 * math/math_private.h: Remove libc_fegetround* and
36013 libc_fesetround*.
36014 * sysdeps/i386/configure.in: Check for -msse2avx.
36015 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36016 also if SSE2AVX is defined.
36017 Remove libc_fegetround* and libc_fesetround*.
36018 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36019 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36020 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36021 of HAS_YMM_USABLE.
36022 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36023 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36024 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36025 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36026 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36027
73139a76
UD
36028 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36029
d73f93a4
AZ
360302012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36031
36032 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36033 size is not set.
36034 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36035
6ee65ed6
UD
360362012-01-27 Ulrich Drepper <drepper@gmail.com>
36037
36038 [BZ #13618]
36039 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36040 relocation.
36041 * Makeconfig (libm): Define.
36042 * elf/Makefile: Add rules to build and run tst-relsort1.
36043 * elf/tst-relsort1.c: New file.
36044 * elf/tst-relsort1mod1.c: New file.
36045 * elf/tst-relsort1mod2.c: New file.
36046
8db21882
JM
360472012-01-27 Joseph Myers <joseph@codesourcery.com>
36048
36049 * math/s_ldexp.c: Remove __STDC__ conditionals.
36050 * math/s_ldexpf.c: Likewise.
36051 * math/s_ldexpl.c: Likewise.
36052 * math/s_nextafter.c: Likewise.
36053 * math/s_nexttowardf.c: Likewise.
36054 * math/s_significand.c: Likewise.
36055 * math/s_significandf.c: Likewise.
36056 * math/s_significandl.c: Likewise.
36057 * math/w_jnl.c: Likewise.
36058 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36059 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36060 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36061 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36062 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36064 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36065 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36067 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36068 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36070 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36071 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36072 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36073 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36074 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36075 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36077 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36078 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36080 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36082 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36083 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36084 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36085 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36086 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36087 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36088 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36089 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36092 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36093 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36094 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36095 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36096 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36097 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36098 * sysdeps/ieee754/k_standard.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36115 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36118 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36120 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36122 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36125 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36128 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36131 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36139 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36146 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36147 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36148 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36151 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36152 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36156 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36160 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36163 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36165 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36172 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36173 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36174 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36178 * sysdeps/ieee754/s_matherr.c: Likewise.
36179 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36180 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36182 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36183
965a54a4
JM
361842012-01-26 Joseph Myers <joseph@codesourcery.com>
36185
36186 * crypt/md5.h: Remove __STDC__ conditionals.
36187 * libio/libioP.h: Likewise.
36188 * locale/programs/config.h: Likewise.
36189 * sysdeps/generic/sysdep.h: Likewise.
36190 * sysdeps/i386/asm-syntax.h: Likewise.
36191 * sysdeps/s390/asm-syntax.h: Likewise.
36192 * sysdeps/unix/sysdep.h: Likewise.
36193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36195
7071ad79
JM
361962012-01-26 Joseph Myers <joseph@codesourcery.com>
36197
36198 * libio/libio.h: Remove __STDC__ conditionals.
36199 * malloc/obstack.h: Likewise.
36200 * math/complex.h: Likewise.
36201 * math/math.h: Likewise.
36202 * sysdeps/generic/_G_config.h: Likewise.
36203 * sysdeps/gnu/_G_config.h: Likewise.
36204 * sysdeps/mach/hurd/_G_config.h: Likewise.
36205 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36206 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36207 * sysdeps/sparc/bits/mathdef.h: Likewise.
36208
afc5ed09
UD
362092012-01-26 Ulrich Drepper <drepper@gmail.com>
36210
36211 [BZ #13583]
36212 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36213 Clean up HAS_* macros.
afc5ed09 36214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36215 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36216 possible.
36217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36218 HAS_AVX.
36219 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36220 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36222 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36224
bdb6de1d
JM
362252012-01-25 Joseph Myers <joseph@codesourcery.com>
36226
36227 * elf/tst-unique3.cc (gets): Remove declaration.
36228 * elf/tst-unique3lib.cc (gets): Likewise.
36229 * elf/tst-unique3lib2.cc (gets): Likewise.
36230 * elf/tst-unique4.cc (gets): Likewise.
36231
b15549e6
UD
362322012-01-24 Ulrich Drepper <drepper@gmail.com>
36233
36234 * include/stdio.h: Add C++ protection. Add gets declarations and
36235 definitions.
36236 * debug/tst-chk1.c: Don't declare gets here.
36237 * stdio-common/tst-gets.c: Likewise.
36238
a037381f
JM
362392012-01-24 Joseph Myers <joseph@codesourcery.com>
36240
36241 * posix/glob: Remove directory.
36242
f1d4aa75
JM
362432012-01-24 Joseph Myers <joseph@codesourcery.com>
36244
36245 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36246
81c0c964
PT
362472012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36248
36249 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36250 of the non-standard EPFNOSUPPORT.
36251
0ea698ae
ST
362522011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36253
36254 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36255 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36256 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36257
d220b117
UD
362582012-01-21 Ulrich Drepper <drepper@gmail.com>
36259
36260 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36261
3e1aa84e
UD
362622012-01-20 Ulrich Drepper <drepper@gmail.com>
36263
36264 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36265 transient errors.
36266 * nscd/grpcache.c (cache_addgr): Likewise.
36267 * nscd/hstcache.c (cache_addhst): Likewise.
36268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36269 * nscd/pwdcache.c (cache_addpw): Likewise.
36270 * nscd/servicescache.c (cache_addserv): Likewise.
36271
400aa020
UD
362722012-01-16 Ulrich Drepper <drepper@gmail.com>
36273
d77e7869
UD
36274 * malloc/malloc.c: Various cleanups.
36275 * malloc/hooks.c: Likewise.
36276
400aa020
UD
36277 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36278 * stdlib/bug-fmtmsg1.c: New file.
36279
36280 * stdlib/fmtmsg.c (init): Add missing unlock.
36281 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36282
e0a309cf
MP
362832012-01-12 Marek Polacek <polacek@redhat.com>
36284
36285 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36286 and _GNU_SOURCE.
36287
929d11c7
WS
362882012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36289
36290 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36291 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36292 macro to ensure uniqueness of label name.
36293 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36294 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36295
41d0e869
UD
362962012-01-11 Ulrich Drepper <drepper@gmail.com>
36297
0cc5ed3b
UD
36298 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36299
41d0e869
UD
36300 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36301 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36304
a47a831a
UD
363052012-01-10 Ulrich Drepper <drepper@gmail.com>
36306
daa891c0
UD
36307 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36308
36309 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36310 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36311 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36312
e58ef0f2
UD
36313 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36314
a47a831a 36315 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36316 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36317 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36319
36320 * math/bits/math-finite.h: Add ldexp support.
36321
a0bfc9c7
MP
363222012-01-10 Marek Polacek <polacek@redhat.com>
36323
36324 * locale/programs/localedef.h (show_archive_content): Add noreturn
36325 attribute.
36326
d6e97a1d
UD
363272012-01-09 Ulrich Drepper <drepper@gmail.com>
36328
36329 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36330
d5835c26
UD
363312012-01-08 Ulrich Drepper <drepper@gmail.com>
36332
e5f484c6
UD
36333 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36334
d5835c26
UD
36335 * io/Makefile (headers): Add bits/poll2.h.
36336
d1f741e9
WS
363372011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36338
36339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36340 typo #include statement.
36341
ec09c1c4
UD
363422012-01-08 Ulrich Drepper <drepper@gmail.com>
36343
36344 * include/sys/cdefs.h: Define __attribute_alloc_size.
36345 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36346 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36347 * elf/pldd.c: Likewise.
36348 * iconv/iconv_charmap.c: Likewise.
36349 * iconv/iconvconfig.c: Likewise.
36350 * iconv/strtab.c: Likewise.
36351 * locale/programs/locale.c: Likewise.
36352 * locale/programs/localedef.h: Likewise.
36353 * locale/programs/simple-hash.c: Likewise.
36354 * nscd/nscd.h: Likewise.
36355 * nss/makedb.c: Likewise.
36356 * sysdeps/generic/ldconfig.h: Likewise.
36357 * locale/programs/localedef.c: Remove xmalloc prototype.
36358 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36359
20b38e03
PP
363602012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36361
36362 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36363 appropriate.
36364
a0da5fe1
UD
363652012-01-08 Ulrich Drepper <drepper@gmail.com>
36366
1d5a644a 36367 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36368 * math/tst-CMPLX.c: New file.
1d5a644a 36369
8784a6db
UD
36370 * math/complex.h (CMPLXL): Fix typo.
36371
d9a216c0
UD
36372 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36373 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36374 GLIBC_2.16.
36375 * debug/tst-chk1.c: Add poll and ppoll tests.
36376 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36377 * include/sys/poll.h: Add hidden proto for ppoll.
36378 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36379 * sysdeps/mach/hurd/ppoll.c: Likewise.
36380 * io/ppoll.c: Likewise.
36381 * debug/poll_chk.c: New file.
36382 * debug/ppoll_chk.c: New file.
36383 * include/bits/poll2.h: New file.
36384 * io/bits/poll2.h: New file.
36385
ac097f5c
UD
36386 [BZ #1350]
36387 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36388
2119dcfa
UD
36389 * configure.in: static is always set to yes. Remove.
36390 * config.make.in: Don't set build-static.
36391 * Makeconfig: Remove use of build-static.
36392 * dlfcn/Makefile: Likewise.
36393 * elf/Makefile: Likewise.
36394 * math/Makefile: Likewise.
36395 * misc/Makefile: Likewise.
36396 * nptl/Makefile: Likewise.
36397 * sysdeps/mach/hurd/Makefile: Likewise.
36398
121766a9
UD
36399 * configure.in: PWD_P is not used anymore.
36400 * config.make.in: Remove PWD_P entry.
36401
51a1d39c 36402 * configure.in: Remove last remnants of RANLIB.
8720d066 36403 No need to check for signed size_t anymore.
215f4bdc
UD
36404 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36405 and IA-64.
3857022a 36406 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36407 * aclocal.m4: Likewise.
36408
d3ed7225
UD
36409 * wcsmbs/mbrtoc16.c: Implement using towc function.
36410 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36411 * wcsmbs/wcsmbsload.c: Likewise.
36412 * iconv/gconv_simple.c: Likewise.
36413 * iconv/gconv_int.h: Likewise.
36414 * iconv/gconv_builtin.h: Likewise.
36415 * iconv/iconv_prog.c: Remove CHAR16 handling.
36416
36417 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36418
36419 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36420
a0da5fe1
UD
36421 * configure.in: Remove --with-elf and --enable-bounded options.
36422 Dont set base_machine for ia64. More non-ELF conditions removed.
36423 Remove testing and setting of leading underscore information.
36424 * config.make.in (build-bounded): Set to no.
36425 * config.h.in: Remove NO_UNDERSCORES entry.
36426 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36427 them.
36428 * csu/start.c: Remove !NO_UNDERSCORE code.
36429 * locale/localeinfo.h: Likewise.
36430 * sysdeps/generic/machine-gmon.h: Likewise.
36431 * sysdeps/generic/sysdep.h: Likewise.
36432 * sysdeps/i386/sysdep.h: Likewise.
36433 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36434 * sysdeps/mach/sysdep.h: Likewise.
36435 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36436 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36437 * sysdeps/sh/sysdep.h: Likewise.
36438 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36439 * sysdeps/unix/i386/sysdep.S: Likewise.
36440 * sysdeps/unix/sparc/start.c: Likewise.
36441 * sysdeps/unix/sparc/sysdep.S: Likewise.
36442 * sysdeps/unix/sparc/sysdep.h: Likewise.
36443 * sysdeps/unix/start.c: Likewise.
36444 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36445 * sysdeps/x86_64/sysdep.h: Likewise.
36446
df78418a
UD
364472012-01-07 Ulrich Drepper <drepper@gmail.com>
36448
a784e502
UD
36449 [BZ #13553]
36450 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36451 for non-gcc.
36452 * argp/argp-fmtstream.h: Use const instead __const.
36453 * argp/argp.h: Likewise.
36454 * assert/assert.h: Likewise.
36455 * bits/fenv.h: Likewise.
36456 * bits/sched.h: Likewise.
36457 * bits/sigset.h: Likewise.
36458 * bits/sigthread.h: Likewise.
36459 * catgets/nl_types.h: Likewise.
36460 * conform/data/pthread.h-data: Likewise.
36461 * crypt/crypt-private.h: Likewise.
36462 * crypt/crypt.h: Likewise.
36463 * crypt/crypt_util.c: Likewise.
36464 * ctype/ctype.h: Likewise.
36465 * debug/execinfo.h: Likewise.
36466 * debug/mbsnrtowcs_chk.c: Likewise.
36467 * debug/mbsrtowcs_chk.c: Likewise.
36468 * debug/wcsnrtombs_chk.c: Likewise.
36469 * debug/wcsrtombs_chk.c: Likewise.
36470 * debug/wcstombs_chk.c: Likewise.
36471 * dirent/dirent.h: Likewise.
36472 * dlfcn/dlfcn.h: Likewise.
36473 * elf/neededtest4.c: Likewise.
36474 * grp/grp.h: Likewise.
36475 * gshadow/gshadow.h: Likewise.
36476 * iconv/gconv.h: Likewise.
36477 * iconv/gconv_int.h: Likewise.
36478 * iconv/gconv_simple.c: Likewise.
36479 * iconv/iconv.h: Likewise.
36480 * iconv/loop.c: Likewise.
36481 * iconv/skeleton.c: Likewise.
36482 * include/aio.h: Likewise.
36483 * include/aliases.h: Likewise.
36484 * include/argz.h: Likewise.
36485 * include/arpa/inet.h: Likewise.
36486 * include/assert.h: Likewise.
36487 * include/dirent.h: Likewise.
36488 * include/dlfcn.h: Likewise.
36489 * include/execinfo.h: Likewise.
36490 * include/fcntl.h: Likewise.
36491 * include/fenv.h: Likewise.
36492 * include/glob.h: Likewise.
36493 * include/grp.h: Likewise.
36494 * include/libintl.h: Likewise.
36495 * include/mntent.h: Likewise.
36496 * include/netdb.h: Likewise.
36497 * include/pwd.h: Likewise.
36498 * include/rpc/netdb.h: Likewise.
36499 * include/sched.h: Likewise.
36500 * include/search.h: Likewise.
36501 * include/shadow.h: Likewise.
36502 * include/signal.h: Likewise.
36503 * include/stdio.h: Likewise.
36504 * include/stdlib.h: Likewise.
36505 * include/string.h: Likewise.
36506 * include/sys/socket.h: Likewise.
36507 * include/sys/stat.h: Likewise.
36508 * include/sys/statfs.h: Likewise.
36509 * include/sys/statvfs.h: Likewise.
36510 * include/sys/syslog.h: Likewise.
36511 * include/sys/time.h: Likewise.
36512 * include/sys/uio.h: Likewise.
36513 * include/time.h: Likewise.
36514 * include/unistd.h: Likewise.
36515 * include/utmp.h: Likewise.
36516 * include/wchar.h: Likewise.
36517 * include/wctype.h: Likewise.
36518 * inet/aliases.h: Likewise.
36519 * inet/arpa/inet.h: Likewise.
36520 * inet/netinet/ether.h: Likewise.
36521 * inet/netinet/in.h: Likewise.
36522 * intl/libintl.h: Likewise.
36523 * io/bits/fcntl2.h: Likewise.
36524 * io/fcntl.h: Likewise.
36525 * io/ftw.h: Likewise.
36526 * io/sys/poll.h: Likewise.
36527 * io/sys/stat.h: Likewise.
36528 * io/sys/statfs.h: Likewise.
36529 * io/sys/statvfs.h: Likewise.
36530 * io/utime.h: Likewise.
36531 * libio/bits/stdio.h: Likewise.
36532 * libio/bits/stdio2.h: Likewise.
36533 * libio/libio.h: Likewise.
36534 * libio/libioP.h: Likewise.
36535 * libio/stdio.h: Likewise.
36536 * locale/lc-ctype.c: Likewise.
36537 * locale/locale.h: Likewise.
36538 * login/utmp.h: Likewise.
36539 * malloc/arena.c: Likewise.
36540 * malloc/malloc.c: Likewise.
36541 * malloc/malloc.h: Likewise.
36542 * malloc/mcheck.c: Likewise.
36543 * malloc/mtrace.c: Likewise.
36544 * math/bits/mathcalls.h: Likewise.
36545 * math/fenv.h: Likewise.
36546 * math/math_private.h: Likewise.
36547 * misc/bits/error.h: Likewise.
36548 * misc/bits/syslog.h: Likewise.
36549 * misc/err.h: Likewise.
36550 * misc/error.h: Likewise.
36551 * misc/fstab.h: Likewise.
36552 * misc/mntent.h: Likewise.
36553 * misc/regexp.h: Likewise.
36554 * misc/search.h: Likewise.
36555 * misc/sgtty.h: Likewise.
36556 * misc/sys/mman.h: Likewise.
36557 * misc/sys/syslog.h: Likewise.
36558 * misc/sys/uio.h: Likewise.
36559 * misc/sys/xattr.h: Likewise.
36560 * misc/ttyent.h: Likewise.
36561 * nis/rpcsvc/ypclnt.h: Likewise.
36562 * nss/nss.h: Likewise.
36563 * posix/bits/unistd.h: Likewise.
36564 * posix/fnmatch.h: Likewise.
36565 * posix/glob.h: Likewise.
36566 * posix/sched.h: Likewise.
36567 * posix/spawn.h: Likewise.
36568 * posix/sys/wait.h: Likewise.
36569 * posix/unistd.h: Likewise.
36570 * posix/wordexp.h: Likewise.
36571 * pwd/pwd.h: Likewise.
36572 * resolv/netdb.h: Likewise.
36573 * resource/sys/resource.h: Likewise.
36574 * rt/aio.h: Likewise.
36575 * rt/bits/mqueue2.h: Likewise.
36576 * rt/mqueue.h: Likewise.
36577 * shadow/shadow.h: Likewise.
36578 * signal/signal.h: Likewise.
36579 * socket/send.c: Likewise.
36580 * socket/sendto.c: Likewise.
36581 * socket/sys/socket.h: Likewise.
36582 * stdio-common/printf.h: Likewise.
36583 * stdlib/bits/stdlib.h: Likewise.
36584 * stdlib/fmtmsg.h: Likewise.
36585 * stdlib/monetary.h: Likewise.
36586 * stdlib/stdlib.h: Likewise.
36587 * stdlib/ucontext.h: Likewise.
36588 * streams/stropts.h: Likewise.
36589 * string/argz.h: Likewise.
36590 * string/bits/string2.h: Likewise.
36591 * string/string.h: Likewise.
36592 * string/strings.h: Likewise.
36593 * sunrpc/rpc/auth.h: Likewise.
36594 * sunrpc/rpc/auth_des.h: Likewise.
36595 * sunrpc/rpc/clnt.h: Likewise.
36596 * sunrpc/rpc/netdb.h: Likewise.
36597 * sunrpc/rpc/pmap_clnt.h: Likewise.
36598 * sunrpc/rpc/xdr.h: Likewise.
36599 * sysdeps/generic/inttypes.h: Likewise.
36600 * sysdeps/generic/net/if.h: Likewise.
36601 * sysdeps/generic/sys/swap.h: Likewise.
36602 * sysdeps/gnu/net/if.h: Likewise.
36603 * sysdeps/gnu/utmpx.h: Likewise.
36604 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36605 * sysdeps/i386/i486/bits/string.h: Likewise.
36606 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36607 * sysdeps/s390/bits/string.h: Likewise.
36608 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36609 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36610 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36611 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36612 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36613 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36614 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36615 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36616 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36617 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36618 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36619 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36620 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36621 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36622 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36623 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36624 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36626 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36627 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36628 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36629 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36630 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36631 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36632 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36633 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36634 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36635 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36636 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36637 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36638 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36639 * sysvipc/sys/ipc.h: Likewise.
36640 * sysvipc/sys/msg.h: Likewise.
36641 * sysvipc/sys/sem.h: Likewise.
36642 * sysvipc/sys/shm.h: Likewise.
36643 * termios/termios.h: Likewise.
36644 * time/sys/time.h: Likewise.
36645 * time/time.h: Likewise.
36646 * wcsmbs/bits/wchar2.h: Likewise.
36647 * wcsmbs/uchar.h: Likewise.
36648 * wcsmbs/wchar.h: Likewise.
36649 * wctype/wctype.h: Likewise.
36650
0269750c
UD
36651 [BZ #13551]
36652 * Makeconfig: Remove all but ELF support including AIX support.
36653 * Makerules: Likewise.
36654 * config.h.in: Likewise.
36655 * config.make.in: Likewise.
36656 * configure: Likewise.
36657 * configure.in: Likewise.
36658 * csu/Makefile: Likewise.
36659 * csu/version.c: Likewise.
36660 * debug/Makefile: Likewise.
36661 * dlfcn/Makefile: Likewise.
36662 * elf/Makefile: Likewise.
36663 * extra-lib.mk: Likewise.
36664 * iconv/Makefile: Likewise.
36665 * include/libc-symbols.h: Likewise.
36666 * include/shlib-compat.h: Likewise.
36667 * resolv/Makefile: Likewise.
36668 * resolv/res_libc.c: Likewise.
36669 * rt/Makefile: Likewise.
36670 * sysdeps/i386/asm-syntax.h: Likewise.
36671 * sysdeps/i386/sysdep.h: Likewise.
36672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36673 * sysdeps/mach/sysdep.h: Likewise.
36674 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36675 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36676 * sysdeps/s390/asm-syntax.h: Likewise.
36677 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36678 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36679 * sysdeps/sh/sysdep.h: Likewise.
36680 * sysdeps/unix/sparc/sysdep.h: Likewise.
36681 * sysdeps/wordsize-32/divdi3.c: Likewise.
36682 * sysdeps/x86_64/sysdep.h: Likewise.
36683
00bbd29b
UD
36684 * argp/Versions: Remove _argp_unlock_xxx.
36685
36686 [BZ #13559]
36687 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36688 * abilist/libBrokenLocale.abilist: Likewise.
36689 * abilist/libanl.abilist: Likewise.
36690 * abilist/libc.abilist: Likewise.
36691 * abilist/libcrypt.abilist: Likewise.
36692 * abilist/libdl.abilist: Likewise.
36693 * abilist/libm.abilist: Likewise.
36694 * abilist/libnsl.abilist: Likewise.
36695 * abilist/libpthread.abilist: Likewise.
36696 * abilist/libresolv.abilist: Likewise.
36697 * abilist/librt.abilist: Likewise.
36698 * abilist/libthread_db.abilist: Likewise.
36699 * abilist/libutil.abilist: Likewise.
36700 * abilist/libnss_db.abilist: New file.
36701
36702 * scripts/abilist.awk: Add support for indirect functions.
36703
a2693a0e
UD
36704 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36705
3f05895f
UD
36706 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36707
ecb6fb48
UD
36708 * shlib-versions: Remove entries for ports architectures.
36709
664f8cb9
UD
36710 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36711 files in ports.
36712 * elf/stackguard-macros.h: Remove support for IA-64.
36713 * elf/tst-auditmod1.c: Likewise.
36714 * sysdeps/generic/ldsodefs.h: Likewise.
36715
7ae81d88
UD
36716 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36717 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36718 configure files.
36719
bdeba135
UD
36720 [BZ #13552]
36721 * configure.in: Remove --enable-omitfp support.
36722 * FAQ.in: Adjust.
36723 * config.make.in: Likewise.
36724 * Makeconfig: Likewise.
36725 * manual/install.texi: Likewise.
36726
d75a0a62
UD
36727 In case anyone cares, the IA-64 architecture could move to ports.
36728 * sysdeps/ia64/*: Removed.
36729 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36730 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36731
dcc9756b
UD
36732 [BZ #13555]
36733 * configure.in: Remove entries for unsupported architectures.
36734
d3761ebc 36735 [BZ #13533]
9954432e
UD
36736 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36737 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36738 routines.
36739 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36740 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36741 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36742 fall back to using wcrtomb.
36743 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36744 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36745 renaming.
36746 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36747 * wcsmbs/tst-c16c32-1.c: New file.
36748
36749 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36750 local variable.
36751
c3a87236
UD
36752 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36753
28926a1b
UD
36754 * elf/tst-unique3.cc: Add explicit declaration of gets.
36755 * elf/tst-unique3lib.cc: Likewise.
36756 * elf/tst-unique3lib2.cc: Likewise.
36757 * elf/tst-unique4.cc: Likewise.
36758
df78418a
UD
36759 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36760
8ecd6b2a
JM
367612012-01-06 Joseph Myers <joseph@codesourcery.com>
36762
36763 [BZ #13566]
36764 * assert/assert.h (static_assert): Don't define for C++.
36765 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36766 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36767
9f115170
UD
367682012-01-03 Ulrich Drepper <drepper@gmail.com>
36769
5e0d0300
UD
36770 * iconv/loop.c (single loop): Fix assertion in storing of
36771 remaining bytes.
36772
9f115170
UD
36773 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36774
81fb02b0
UD
367752012-01-01 Ulrich Drepper <drepper@gmail.com>
36776
36777 * posix/getconf.c: Update copyright year.
36778 * nss/getent.c: Likewise.
a316c1f6 36779 * nss/makedb.c: Likewise.
81fb02b0
UD
36780 * iconv/iconvconfig.c: Likewise.
36781 * iconv/iconv_prog.c: Likewise.
36782 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36783 * elf/pldd.c: Likewise.
36784 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36785 * catgets/gencat.c: Likewise.
36786 * csu/version.c: Likewise.
36787 * elf/ldd.bash.in: Likewise.
36788 * elf/sprof.c (print_version): Likewise.
36789 * locale/programs/locale.c: Likewise.
36790 * locale/programs/localedef.c: Likewise.
a316c1f6 36791 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36792 * nscd/nscd.c (print_version): Likewise.
36793 * debug/xtrace.sh: Likewise.
36794 * malloc/memusage.sh: Likewise.
36795 * malloc/mtrace.pl: Likewise.
36796 * debug/catchsegv.sh: Likewise.
36797
2ba92745
JJ
367982011-12-30 Jakub Jelinek <jakub@redhat.com>
36799
36800 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36801 pure attribute.
36802
dadebdae
UD
368032011-12-24 Ulrich Drepper <drepper@gmail.com>
36804
d3761ebc 36805 [BZ #13533]
db6af3eb
UD
36806 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36807 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36808 transformations.
36809 * iconv/gconv_int.h: Likewise.
36810 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36811 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36812 from libc for GLIBC_2.16.
36813 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36814 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36815 * wcsmbs/uchar.h: Really define mbstate_t.
36816 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36817 * wcsmbs/c16rtomb.c: New file.
36818 * wcsmbs/mbrtoc16.c: New file.
36819 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36820 for C/POSIX locale.
36821 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36822 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36823
dadebdae
UD
36824 * wcsmbs/wchar.h: Add missing __restrict.
36825
67371b56
UD
368262011-12-23 Ulrich Drepper <drepper@gmail.com>
36827
74033a25
UD
36828 [BZ #13532]
36829 * time/Makefile (routines): Add timespec_get.
36830 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36831 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36832 timespec for ISO C11.
36833 * time/timespec_get.c: New file.
36834 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36835 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36836
380d7e87
UD
36837 [BZ #13531]
36838 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36839 * stdlib/stdlib.h: Declare aligned_alloc.
36840 * Versions.def: Add GLIBC_2.16 for libc.
36841 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36842
4e9e7a35
UD
36843 [BZ 13527]
36844 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36845 ISO C11.
36846
380d7e87 36847 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36848 code.
36849
03a71829
UD
36850 [BZ #13528]
36851 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36852
839e283e
UD
36853 [BZ #13529]
36854 * assert/assert.h (static_assert): Define.
36855
ce5294e2 36856 * version.h: Update for 2.16 development version.
90fa7312 36857
8d44e150 36858 [BZ #13526]
d7809905
UD
36859 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36860 _ISOC11_SOURCE.
36861
c0da14cd
UD
36862 * version.h (RELEASE): Bump for 2.15 release.
36863 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36864
530a3249
MP
36865 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36866 Patch by Marek Polacek <mpolacek@redhat.com>.
36867
67371b56
UD
36868 * bits/byteswap.h: Protect long long constants with __extension__.
36869 * sysdeps/i386/bits/byteswap.h: Likewise.
36870 * sysdeps/ia64/bits/byteswap.h: Likewise.
36871 * sysdeps/s390/bits/byteswap.h: Likewise.
36872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36873
15db4de1
LD
368742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36875
36876 [BZ #13540]
bbe315ea
LD
36877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36878 destination buffer.
15db4de1
LD
36879 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36880
2b2596b1
MP
368812011-12-23 Marek Polacek <polacek@redhat.com>
36882
36883 * elf/dl-addr.c (determine_info): Add inline keyword.
36884 * elf/tst-auditmod4b.c (check_avx): Likewise.
36885 * elf/tst-auditmod6b.c (check_avx): Likewise.
36886 * elf/tst-auditmod6c.c (check_avx): Likewise.
36887 * elf/tst-auditmod7b.c (check_avx): Likewise.
36888
70c6c246
UD
368892011-12-23 Ulrich Drepper <drepper@gmail.com>
36890
36891 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36892 !__SSE_MATH__.
36893
c044cf14
LD
368942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36895
15db4de1 36896 [BZ #13540]
c044cf14
LD
36897 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36898 processing for last bytes.
36899
6b13d9d9
BH
369002011-08-06 Bruno Haible <bruno@clisp.org>
36901
d455f537
BH
36902 [BZ #13061]
36903 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36904 U+0385, not to U+1FEE.
36905
6b13d9d9
BH
36906 [BZ #13062]
36907 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36908 entry for U+00A5 U+0301.
36909
db910efd
UD
369102011-12-22 Ulrich Drepper <drepper@gmail.com>
36911
27deeafc
UD
36912 [BZ #13166]
36913 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36914 buffer for the output is too small.
36915
aed9d171
UD
36916 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36917 optimization.
36918
db910efd
UD
36919 [BZ #13185]
36920 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36921 SSE flags if possible.
36922
2bd779ae
LD
369232011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36924
e7f9dac3 36925 [BZ #13540]
2bd779ae
LD
36926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36927 processing for last bytes.
36928
154bfc16
JM
369292011-12-22 Joseph Myers <joseph@codesourcery.com>
36930
36931 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36932 (syscall-list-default-options, syscall-list-default-condition)
36933 (syscall-list-includes): Define.
36934 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36935 list of ABIs and options and #if conditions for each ABI. Do not
36936 handle common syscalls between ABIs specially.
36937 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36938 Remove.
36939 (syscall-list-variants, syscall-list-32bit-options)
36940 (syscall-list-32bit-condition, syscall-list-64bit-options)
36941 (syscall-list-64bit-condition): Define.
36942 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36943 (syscall-list-variants, syscall-list-32bit-options)
36944 (syscall-list-32bit-condition, syscall-list-64bit-options)
36945 (syscall-list-64bit-condition): Define.
36946 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36947 Remove.
36948 (syscall-list-variants, syscall-list-32bit-options)
36949 (syscall-list-32bit-condition, syscall-list-64bit-options)
36950 (syscall-list-64bit-condition): Define.
36951 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36952 Remove.
36953 (syscall-list-variants, syscall-list-32bit-options)
36954 (syscall-list-32bit-condition, syscall-list-64bit-options)
36955 (syscall-list-64bit-condition): Define.
36956
21eaf3a5
UD
369572011-12-22 Ulrich Drepper <drepper@gmail.com>
36958
16c6f992
UD
36959 * locale/iso-639.def: Add brx entry.
36960
41043168
UD
36961 [BZ #13328]
36962 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36963 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36964
21eaf3a5
UD
36965 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36966 __feraiseexcept_renamed.
36967
e3a851a2
UD
369682011-12-21 Ulrich Drepper <drepper@gmail.com>
36969
4920765e
UD
36970 [BZ #13538]
36971 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36972 EPOLLET with unsigned values.
36973 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36975
e3a851a2
UD
36976 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36977 to large cancellation.
36978 * math/s_cacoshf.c: Likewise.
36979 * math/s_cacoshl.c: Likewise.
36980
b27e24b8
RK
369812011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36982
36983 [BZ #13305]
aebefeee 36984 [BZ #12786]
b27e24b8
RK
36985 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36986 * math/s_cacoshf.c: Likewise.
36987 * math/s_cacoshl.c: Likewise.
36988
ee190f67
UD
369892011-12-21 Ulrich Drepper <drepper@gmail.com>
36990
36991 [BZ #13439]
36992 * iconv/gconv.h: Define __GCONV_SWAP.
36993 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36994 * iconvdata/utf-16.c: Likewise.
36995 * iconvdata/utf-32.c: Likewise.
36996
707f25df
AS
369972011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36998
36999 [BZ #13524]
37000 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37001 numerator after shifting it by one limb.
37002
d2daaa1e
RÁE
370032011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37004
37005 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37006 under [__USE_EXTERN_INLINES].
37007
a4647e72
UD
370082011-12-17 Ulrich Drepper <drepper@gmail.com>
37009
37010 [BZ #13446]
37011 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37012
f0b264f1
AZ
370132011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37014
37015 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37016 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37017 optimized code.
37018 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37019 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37020 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37021 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37022 for strncasecmp/strncasecmp_l compilation.
37023 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37024 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37025
8ef4f244
MP
370262011-12-08 Marek Polacek <mpolacek@redhat.com>
37027
37028 [BZ #13484]
37029 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37030 of __asm__.
37031
97ac2654
UD
370322011-12-17 Ulrich Drepper <drepper@gmail.com>
37033
37034 [BZ #13506]
37035 * time/tzfile.c (__tzfile_read): Check values from file header.
37036
91d2a845
WS
370372011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37038
37039 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37040 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37041 * powerpc/powerpc32/dl-start.S: Likewise.
37042 * powerpc/powerpc32/elf/start.S: Likewise.
37043 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37044 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37045 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37046 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37047 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37048 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37049 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37050 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37051 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37052 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37053 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37054 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37055 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37056 * powerpc/powerpc32/memset.S: Likewise.
37057 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37058 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37059 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37060 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37061 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37062 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37063 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37064 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37065 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37066 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37067 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37068 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37069 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37070
a1267ba1
AZ
370712011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37072
37073 * math/libm-test.inc: Added more nearbyint tests.
37074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37075 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37077 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37078
ad8ac1bd
RL
370792011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37080
37081 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37082 FD_CLOEXEC.
37083
1d3e4b61
UD
370842011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37085
37086 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37087 Add wcscpy-ssse3 wcscpy-c.
37088 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37089 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37090 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37091 * sysdeps/x86_64/wcschr.S: New file.
37092 * sysdeps/x86_64/wcsrchr.S: New file.
37093 * string/test-strcmp.c: Remove checking of wcscmp function for
37094 wrong alignments.
37095 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37096 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37097 wcsrchr-sse2 wcsrchr-c.
37098 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37099 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37100 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37101 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37102 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37103 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37104 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37105 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37106 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37107 * wcsmbc/wcschr.c (WCSCHR): New macro.
37108
5b330a2d
UD
371092011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37110
37111 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37112 * wcsmbs/test-wcsrchr.c: New file.
37113 * string/test-strrchr.c: Add wcsrchr support.
37114 (WIDE): New macro.
37115 * wcsmbs/test-wcscpy.c: New file.
37116 * string/test-strcpy.c: Add wcscpy support.
37117 (WIDE): New macro.
26428b7c 37118
f039c043
UD
371192011-12-10 Ulrich Drepper <drepper@gmail.com>
37120
37121 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37122 the inner loop.
37123
850fb039
AS
371242011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37125
37126 [BZ #13472]
37127 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37128
4efbd5cb
UD
371292011-12-04 Ulrich Drepper <drepper@gmail.com>
37130
52ff5dd0 37131 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37132 Minor optimizations.
52ff5dd0 37133
4efbd5cb
UD
37134 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37135 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37136 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37137
8a426e12
UD
371382011-12-03 Ulrich Drepper <drepper@gmail.com>
37139
aff2453d
UD
37140 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37141 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37142 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37143 for gcc to avoid warnings.
37144 * inet/Makefile (tests): Add tst-checks.
37145 * inet/tst-checks.c: New file.
37146
37147 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37148 warning.
37149
37150 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37151 __wmemcmp_sse2.
37152
37153 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37154 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37155
8a426e12
UD
37156 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37157
9bea3473
UD
371582011-12-02 Ulrich Drepper <drepper@gmail.com>
37159
3a965496
UD
37160 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37161 problem.
37162
9bea3473
UD
37163 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37164
f101631b
UD
371652011-11-29 Joseph Myers <joseph@codesourcery.com>
37166
37167 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37168 conditional on GCC version.
37169 (__arch_compare_and_exchange_val_8_acq)
37170 (__arch_compare_and_exchange_val_16_acq)
37171 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37172 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37173 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37174
a98275aa
UD
371752011-12-02 Joseph Myers <joseph@codesourcery.com>
37176
37177 * sysdeps/sh/backtrace.c: New file.
37178
d4cc29a2
AS
371792011-12-02 Andreas Schwab <schwab@redhat.com>
37180
37181 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37182 parenthesis.
37183
6257af2d
AS
371842011-12-01 Andreas Schwab <schwab@redhat.com>
37185
37186 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37187 falling back to utime.
37188
b5f44c1a
AS
371892011-11-30 Andreas Schwab <schwab@redhat.com>
37190
37191 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37192 expectations for float.
37193
f3a6cc0a
AS
371942011-11-29 Andreas Schwab <schwab@redhat.com>
37195
37196 * locale/weight.h (findidx): Add parameter len.
37197 * locale/weightwc.h (findidx): Likewise.
37198 * posix/fnmatch_loop.c (FCT): Adjust caller.
37199 * posix/regcomp.c (build_equiv_class): Likewise.
37200 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37201 * posix/regexec.c (check_node_accept_bytes): Likewise.
37202 * string/strcoll_l.c (STRCOLL): Likewise.
37203 * string/strxfrm_l.c (STRXFRM): Likewise.
37204
9d65ea3a
UD
372052011-11-17 Ulrich Drepper <drepper@gmail.com>
37206
37207 * Makefile.in: Remove CVSOPT handling.
37208 * configure.in: Remove use of AC_REVISION.
37209 * iconvdata/Makefile (distribute): No need to filter out CVS.
37210 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37211 handling.
37212
5583a086
AS
372132011-11-16 Andreas Schwab <schwab@redhat.com>
37214
37215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37216 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37217 [USE_AS_STRNCASECMP_L]: Likewise.
37218 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37219 NO_TLS_DIRECT_SEG_REFS.
37220 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37221 Fix argument offsets for non-PIC.
37222 [USE_AS_STRNCASECMP_L]: Likewise.
37223 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37224 NO_TLS_DIRECT_SEG_REFS.
37225
d62a8200
UD
372262011-11-15 Ulrich Drepper <drepper@gmail.com>
37227
9d65ea3a 37228 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37229 O_CLOEXEC.
37230 * locale/loadlocale.c (_nl_load_locale): Likewise.
37231
09f93bd3
AS
372322011-11-15 Andreas Schwab <schwab@redhat.com>
37233
446514f9
AS
37234 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37235 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37236 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37237 (SYSCALL_GETTIME): Set errno on error.
37238
09f93bd3
AS
37239 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37240 count references to noai6ai_cached.
37241
312be3f9
UD
372422011-11-15 Ulrich Drepper <drepper@gmail.com>
37243
37244 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37245
37246 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37247 FD_CLOEXEC for /proc/self/maps.
37248
37249 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37250 FD_CLOEXEC for /proc/meminfo.
37251
37252 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37253 gai.conf.
37254
37255 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37256 FD_CLOEXEC for given file.
37257
37258 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37259
37260 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37261 FD_CLOEXEC for /etc/hosts.
37262 (_gethtent): Likewise.
37263
37264 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37265
37266 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37267 cancellation and set FD_CLOEXEC for /etc/netgroup.
37268
37269 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37270 reading /etc/publickey.
37271
37272 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37273 allow cancellation when reading /etc/group.
37274
37275 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37276 cancellation.
37277 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37278
37279 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37280 when using data file.
37281
37282 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37283
37284 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37285 (write_nis_obj): Use "c" and "e" in fopen.
37286
37287 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37288
37289 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37290
37291 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37292
37293 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37294
37295 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37296 locale.alias.
37297
37298 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37299
37300 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37301
37302 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37303
37304 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37305 file parsing and set FD_CLOEXEC.
37306
82af0fa8
UD
373072011-11-14 Ulrich Drepper <drepper@gmail.com>
37308
37309 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37310
a5fb313c
AS
373112011-11-14 Andreas Schwab <schwab@redhat.com>
37312
37313 * malloc/arena.c (arena_get2): Don't call reused_arena when
37314 _int_new_arena failed.
37315
6abf3465
UD
373162011-11-14 Ulrich Drepper <drepper@gmail.com>
37317
37318 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37319 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37320 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37321 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37322 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37323 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37324 to compile strcasecmp and strncasecmp.
37325 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37326 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37327
37328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37329
76e3966e
UD
373302011-11-13 Ulrich Drepper <drepper@gmail.com>
37331
37332 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37333 locale-defines.sym to gen-as-const-headers.
37334 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37335 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37337 to compile strcasecmp and strncasecmp.
37338 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37339 strcasecmp_l and strncasecmp_l.
37340 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37341 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37342 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37343 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37344 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37345 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37346 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37347 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37348 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37349 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37350 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37351
ab26144e
UD
373522011-11-12 Ulrich Drepper <drepper@gmail.com>
37353
7edb22ef
UD
37354 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37355 result of SYSDEP_GETTIME_CPU to retval.
37356 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37357 parameter list to macro. Remove trailing semicolon. Adjust users.
37358
9694fc44
UD
37359 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37360 variable.
37361
8ad89ef8
UD
37362 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37363 mantissa words.
37364 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37365
0c822ef9
UD
37366 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37367 from unused variable.
37368
874e0564
UD
37369 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37370 DWARF definitions.
37371 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37372 for assembling.
37373
3a2edc79
UD
37374 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37375 over namespaces.
37376
f3c2577f
UD
37377 * sunrpc/rpc_prot.c (rejected): Fix case value.
37378
294ce126
UD
37379 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37380 unsigned long long int to avoid warnings in shift.
37381
5e2b63c6
UD
37382 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37383 of use of trans.
37384 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37385 variable tmp.
37386
e7f4b08e
UD
37387 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37388 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37389 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37390
ab26144e
UD
37391 * nis/nis_table.c (nis_list): Use variable of correct type for
37392 result of __follow_path call.
37393
8a6d5255
AZ
373942011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37395
37396 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37397 of math functions ceil, trunc, floor, round, and sqrt, when
37398 avaliable on the platform.
37399 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37400 name clash.
37401 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37402 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37403 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37404
aaddc98c
MP
374052011-10-30 Marek Polacek <mpolacek@redhat.com>
37406
37407 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37408 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37409
95b7042b
RM
374102011-11-11 Roland McGrath <roland@hack.frob.com>
37411
37412 * include/unistd.h: Fix __readlink return type.
37413 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37414
57769839
UD
374152011-11-11 Ulrich Drepper <drepper@gmail.com>
37416
37417 * stdlib/ucontext.h: Undo last change for makecontext.
37418
edc5984d
AS
374192011-11-11 Andreas Schwab <schwab@redhat.com>
37420
98591e58
AS
37421 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37422
edc5984d
AS
37423 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37424 * setjmp/setjmp.h: Mark functions as non-leaf.
37425 * setjmp/bits/setjmp2.h: Likewise.
37426 * stdlib/ucontext.h: Likewise.
37427
77cdc054
AS
374282011-11-10 Andreas Schwab <schwab@redhat.com>
37429
37430 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37431 (reused_arena): Don't check arena limit.
37432 (arena_get2): Atomically check arena limit.
37433
fe72eebd
UD
374342011-11-08 Ulrich Drepper <drepper@gmail.com>
37435
5f078c32
UD
37436 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37437 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37438
fe72eebd
UD
37439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37440 instructions.
37441
ae1bc2fa
AS
374422011-11-07 Andreas Schwab <schwab@redhat.com>
37443
7583a88d
AS
37444 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37445 handler when locking.
37446
ae1bc2fa
AS
37447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37448 Fix size of allocated buffer.
37449
10fb0bfa
AS
374502011-11-04 Andreas Schwab <schwab@redhat.com>
37451
998832a4
AS
37452 [BZ #10103]
37453 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37454 declarations for long double functions.
37455 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37456
10fb0bfa
AS
37457 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37458
3d7ba52b
AS
374592011-11-03 Andreas Schwab <schwab@redhat.com>
37460
a9ae54a1
AS
37461 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37462 installed.
37463
3d7ba52b
AS
37464 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37465 is disabled.
37466
bc8db248
ST
374672011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37468
37469 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37470
45b96dd6
AS
374712011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37472
647776f6
AS
37473 * include/alloca.h (stackinfo_alloca_round): Define.
37474 (extend_alloca): Use it.
37475 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37476 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37477 here.
37478
d91a8b93
AS
37479 * scripts/check-local-headers.sh: Ignore libaudit.h.
37480
45b96dd6
AS
37481 * nscd/Makefile (extra-objs): Make recursively expanded.
37482
432d41ce
UD
374832011-11-01 Ulrich Drepper <drepper@gmail.com>
37484
34372fc6
UD
37485 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37486 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37487
fadb59f8
UD
37488 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37489 * posix/tst-rfc3484-2.c: Likewise.
37490 * posix/tst-rfc3484-3.c: Likewise.
37491
78239589
UD
37492 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37493 process_vm_writev.
37494 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37495 process_vm_writev.
37496 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37497 process_vm_writev from libc using GLIBC_2.15 version.
37498
432d41ce
UD
37499 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37500
02f9c6cf
PP
375012011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37502
37503 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37504 stack usage.
37505
3a2c0242
UD
375062011-10-31 Ulrich Drepper <drepper@gmail.com>
37507
f4ec4833
UD
37508 [BZ #13367]
37509 * nss/getent.c (initgroups_keys): Show error message in case no group
37510 names are given.
37511
3a2c0242
UD
37512 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37513 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37514 __bump_nl_timestamp.
37515 * nscd/connections (nscd_init): When host database is served open
37516 netlink socket and request notification about configuration changes.
37517 (main_loop_poll): Track netlink file descriptor and bump timestamp
37518 in case data becomes available.
37519 (main_loop_epoll): Likewise.
37520 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37521 (database_pers_head): Add extra_data fileds.
37522 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37523 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37524 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37525 Adjust caller.
37526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37527 in6ai data, call __free_in6ai.
37528 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37529 Add -DHAVE_NETLINK.
37530 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37531 interface information. Reuse previous data if netlink timestamp
37532 is not changed.
37533 (__bump_nl_timestamp): New function.
37534 (__free_in6ai): New function.
37535
636064eb
UD
375362011-10-30 Ulrich Drepper <drepper@gmail.com>
37537
37538 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37539 close_not_cancel_no_status here.
37540 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37541
9beb2334
UD
375422011-10-29 Ulrich Drepper <drepper@gmail.com>
37543
6ef76f3b
UD
37544 [BZ #13276]
37545 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37546 return value.
37547
0ffc4f3e 37548 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37549 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37550 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37551
cb95113e
UD
375522011-07-03 Andreas Jaeger <aj@suse.de>
37553
37554 [BZ #10709]
37555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37556 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37557 * math/libm-test.inc (sin_test): Add test case.
37558
a1b560ff
UD
375592011-10-29 Ulrich Drepper <drepper@gmail.com>
37560
c9aaface
UD
37561 [BZ #13337]
37562 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37563 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37564
d272e7f1
UD
37565 * elf/chroot_canon.c (chroot_canon): Cleanups.
37566
1bc33071
UD
37567 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37568
1760874d
TJ
37569 [BZ #13335]
37570 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37571 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37572
51d91b18
UD
37573 * string/test-strchr.c: Make usable for strchrnul testing.
37574 * string/test-strchrnul.c: New file.
37575 * string/Makefile (strop-tests): Add strchrnul.
37576
a1b560ff 37577 * po/it.po: Update from translation team.
b611fb81 37578 * po/es.po: Likewise.
a1b560ff 37579
a5b81e1f
UD
375802011-10-28 Ulrich Drepper <drepper@gmail.com>
37581
fd52bc6d
UD
37582 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37583 the three constants needed as parameters. Drop the others.
37584 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37585 __m128i_strloadu_tolower.
52e4b9eb
UD
37586 Create and initialize variable zero and use it in all the places
37587 where _mm_setzero_si128 was used.
fd52bc6d 37588
a5b81e1f
UD
37589 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37590 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37591 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37592 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37593 anymore.
37594 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37595 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37596 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37597 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37598 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37599 __mpranred, __mptan.
37600 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37601 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37602 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37603 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37604 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37605 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37606 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37607 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37608 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37609
b4343346
AS
376102011-10-28 Andreas Schwab <schwab@redhat.com>
37611
0c92d8a8
AS
37612 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37613 redefine if SHARED.
37614 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37615
b4343346
AS
37616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37617 wide char related routines to wcsmbs subdir.
37618
3871f58f
AS
376192011-10-27 Andreas Schwab <schwab@redhat.com>
37620
37621 [BZ #13344]
37622 * misc/sys/cdefs.h (__THROWNL): Define.
37623 * posix/unistd.h: Use __THREADNL instead of __THREAD
37624 for memory synchronization functions.
37625
94d44d9f
RM
376262011-10-26 Roland McGrath <roland@hack.frob.com>
37627
21b64b15 37628 [BZ #13349]
94d44d9f
RM
37629 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37630 doesn't exist.
37631 * manual/stdio.texi (Obstack Streams): Node removed.
37632
f6ce9294
AS
376332011-10-26 Andreas Schwab <schwab@redhat.com>
37634
80479147
AS
37635 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37636 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37638
f6ce9294
AS
37639 * math/math_private.h (math_force_eval): Allow non-addressable
37640 arguments.
37641 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37642
618280a1
UD
376432011-10-25 Ulrich Drepper <drepper@gmail.com>
37644
e0016b11
UD
37645 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37646 file is not needed.
37647
37648 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37649 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37651 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37652 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37654 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37655 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37656 Add AVX variants.
37657 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37658 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37659 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37660 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37661 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37662 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37663 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37664 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37665 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37666 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37667 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37668 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37669 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37670 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37671 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37672 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37673 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37674 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37675 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37676
37677 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37678 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37679
618280a1
UD
37680 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37681 place. Use VEX encoding when compiling for AVX.
37682
37822576
AS
376832011-10-25 Andreas Schwab <schwab@redhat.com>
37684
1f1e1947
AS
37685 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37686 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37687
37822576
AS
37688 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37689
31ea014d
UD
376902011-10-25 Ulrich Drepper <drepper@gmail.com>
37691
d7826aa1 37692 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37693 useless if() expression.
d7826aa1
UD
37694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37698 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37703 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37704 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37705 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37706 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37708 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37709 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37710 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37712 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37713
31ea014d
UD
37714 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37715
16437fec
AS
377162011-10-25 Andreas Schwab <schwab@redhat.com>
37717
37718 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37719 condition.
37720 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37721
31d3cc00
UD
377222011-10-25 Ulrich Drepper <drepper@gmail.com>
37723
37724 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37725 .text section. Avoid duplicate constants.
37726 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37736 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37738 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37743 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37749 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37750 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37751 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37752 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37753 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37754 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37755 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37756 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37757 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37759 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37760 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37761 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37762 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37764 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37765 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37766 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37767 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37768 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37769 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37770 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37771
58985aa9
UD
377722011-10-24 Ulrich Drepper <drepper@gmail.com>
37773
202c9deb
UD
37774 * sysdeps/x86_64/dla.h: Move to ...
37775 * sysdeps/x86_64/fpu/dla.h: ...here.
37776 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37777 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37778
af968f62
UD
37779 * config.make.in: Add have-mfma4 entry.
37780 * configure.in: Substitute libc_cv_cc_fma4.
37781 * math/Makefile (dbl-only-routines): Add sincostab.
37782 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37783 Use __sincostab not sincos.
37784 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37785 name is a macro.
37786 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37790 using __copysign.
37791 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37792 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37793 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37794 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37795 and __inv.
37796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37797 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37798 __copysign.
37799 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37800 define aliases when function name is a macro.
37801 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37802 sysdeps/ieee754/dbl-64/sincos.tbl.
37803 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37804 fma4-enabled routines.
37805 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37806 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37807 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37808 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37809 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37810 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37812 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37813 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37814 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37815 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37817 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37818 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37819 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37820 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37821 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37822 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37823 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37825 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37826 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37827 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37828 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37829 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37830 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37832 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37833 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37834 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37835
58985aa9
UD
37836 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37837 rename.
37838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37846
a201fbcf
AS
378472011-10-24 Andreas Schwab <schwab@redhat.com>
37848
37849 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37850
fc2ee42a
LD
378512011-10-23 Ulrich Drepper <drepper@gmail.com>
37852
bb3129bd
UD
37853 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37854
0275fff8
UD
37855 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37856 prediction.
37857 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37858
2fa2ae85
UD
37859 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37860 Remove unused variable magic_bits.
37861 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37862
fc2ee42a
LD
37863 * string/strnlen.c: Define and use STRNLEN macro.
37864 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37865 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37866 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37867 * wcsmbs/wcslen.c: Define and use WCSLEN.
37868 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37869 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37870 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37871 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37872 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37873 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37874 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37875
ce7dd29f
LD
378762011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37877
37878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37879 strnlen-sse2-no-bsf.
37880 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37881 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37882 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37883 Add strnlen support.
37884 (USE_AS_STRNLEN): New macro.
37885 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37886 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37887 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37888 * sysdeps/x86_64/wcslen.S: New file.
37889
979c70a3
MZ
378902011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37891
37892 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37893 XMM-moves are used for copying on small sizes.
37894
2d09f82f
LD
378952011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37896
37897 * wcsmbs/Makefile (strop-tests): Add wcschr.
37898 * wcsmbs/test-wcschr.c: New file.
37899 * string/test-strchr.c: Update.
37900 Add wcschr support.
37901 (WIDE): New macro.
37902
619fccca
LD
379032011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37904
2d09f82f 37905 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37906 * wcsmbs/test-wcslen.c: New file.
37907 * string/test-strlen.c: Update.
37908 Add wcslen support.
37909 (WIDE): New macro.
37910
09f699ea
UD
379112011-10-23 Ulrich Drepper <drepper@gmail.com>
37912
37913 * po/it.po: Update from translation team.
37914
95584d3b
LD
379152011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37916
37917 * sysdeps/x86_64/wcscmp.S: Update.
37918 Fix wrong comparison semantics.
37919 wcscmp shall use signed comparison not unsigned.
37920 Don't use substraction to avoid overflow bug.
37921 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37922 * wcsmbc/wcscmp.c: Likewise.
37923 * string/test-strcmp.c: Likewise.
37924 Add new tests to check cases with negative values.
37925
c8b3296b
UD
379262011-10-23 Ulrich Drepper <drepper@gmail.com>
37927
37928 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37929 * sysdeps/x86_64/dla.h: ...here. New file.
37930 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37938 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37939
246ad57a
AS
379402011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37941
37942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37943 __ynl_finite aliases.
37944
a1a87169
UD
379452011-10-22 Ulrich Drepper <drepper@gmail.com>
37946
0d355eb7
UD
37947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37948
a1a87169
UD
37949 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37950 define DLA_FMA.
37951 [DLA_FMA] (EMULV): Use DLA_FMA.
37952 [DLA_FMA] (MUL12): Use EMULV.
37953 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37954 that are not needed.
37955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37960 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37962
ee2aafe0
AS
379632011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37964
37965 * math/s_nan.c: Undef __nan.
37966 * math/s_nanf.c: Undef __nanf.
37967 * math/s_nanl.c: Undef __nanl.
37968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37969 "math_private.h".
37970
bc62c2fb
UD
379712011-10-22 Ulrich Drepper <drepper@gmail.com>
37972
77425c63
UD
37973 * math/s_catan.c: Add branch predictions.
37974 * math/s_catanf.c: Likewise.
37975 * math/s_catanh.c: Likewise.
37976 * math/s_catanhf.c: Likewise.
37977 * math/s_catanhl.c: Likewise.
37978 * math/s_catanl.c: Likewise.
37979 * math/s_cexp.c: Likewise.
37980 * math/s_cexpf.c: Likewise.
37981 * math/s_cexpl.c: Likewise.
37982 * math/s_clog.c: Likewise.
37983 * math/s_clog10.c: Likewise.
37984 * math/s_clog10f.c: Likewise.
37985 * math/s_clog10l.c: Likewise.
37986 * math/s_clogf.c: Likewise.
37987 * math/s_clogl.c: Likewise.
37988 * math/s_csqrt.c: Likewise.
37989 * math/s_csqrtf.c: Likewise.
37990 * math/s_csqrtl.c: Likewise.
37991 * math/s_ctanf.c: Likewise.
37992 * math/s_ctanh.c: Likewise.
37993 * math/s_ctanhf.c: Likewise.
37994 * math/s_ctanhl.c: Likewise.
37995 * math/s_ctanl.c: Likewise.
37996
bc62c2fb
UD
37997 * math/math_private.h: Define __nan, __nanf, __nanl.
37998 * math/s_cacosh.c: Include <math_private.h>.
37999 * math/s_cacoshl.c: Likewise.
38000 * math/s_casinh.c: Likewise.
38001 * math/s_casinhf.c: Likewise.
38002 * math/s_casinhl.c: Likewise.
38003 * math/s_ccos.c: Rely entire on ccosh.
38004 * math/s_ccosf.c: Rely entire on ccoshf.
38005 * math/s_ccosl.c: Rely entirely on ccoshl.
38006 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38007 Remove tests for FE_INVALID.
38008 * math/s_ccoshf.c: Likewise.
38009 * math/s_ccoshl.c: Likewise.
38010 * math/s_csin.c: Likewise.
38011 * math/s_csinf.c: Likewise.
38012 * math/s_csinh.c Likewise.
38013 * math/s_csinhf.c: Likewise.
38014 * math/s_csinhl.c: Likewise.
38015 * math/s_csinl.c: Likewise.
38016 * math/s_ctan.c: Likewise.
38017 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38018 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38019 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38020
8ec250a4
UD
380212011-10-21 Ulrich Drepper <drepper@gmail.com>
38022
c196fed8
UD
38023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38024 compilation problems.
38025
8ec250a4
UD
38026 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38027 __builtin_expect.
38028
8d4f46c6
UD
380292011-10-20 Ulrich Drepper <drepper@gmail.com>
38030
ed72b654
UD
38031 * sysdeps/i386/configure.in: Test for -mfma4 option.
38032 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38033 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38034 COMMON_CPUID_INDEX_80000001.
38035 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38036 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38037 use it if FMA3 is not supported.
38038 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38039
8d4f46c6
UD
38040 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38041 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38042
d45c60c2
AS
380432011-10-20 Andreas Schwab <schwab@redhat.com>
38044
38045 [BZ #12892]
38046 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38047 it would create a cycle with a link time dependency.
38048
d9a4d2ab
UD
380492011-10-19 Ulrich Drepper <drepper@gmail.com>
38050
855d1560
UD
38051 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38052 instruction.
38053 * string/Makefile (strop-tests): Add rawmemchr.
38054 * string/test-rawmemchr.c: New file.
38055
d9a4d2ab
UD
38056 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38058 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38059 when compiling str{,n}casecmp and when AVX is available. Hook up
38060 new optimized code in initializers.
38061
8f3b1ffe
AS
380622011-10-19 Andreas Schwab <schwab@redhat.com>
38063
38064 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38065 __feraiseexcept instead of feraiseexcept.
38066
d38f1dba
UD
380672011-10-18 Ulrich Drepper <drepper@gmail.com>
38068
d9a8d0ab
UD
38069 * math/math_private.h: Define defaults for libc_fetestexcept and
38070 libc_feupdateenv.
38071 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38072 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38073 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38074 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38075 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38076 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38077 libc_fetestexcept and libc_feupdateenv.
38078
4855e3dd
UD
38079 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38080 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38081 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38082 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38083 libc_feholdexcept_setround.
38084
581d30e3
UD
38085 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38086 Add s_nearbyint-c and s_nearbyintf-c.
38087 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38088 nearbyintf inlines.
38089 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38090 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38091 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38092 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38093
d38f1dba
UD
38094 * math/math_private.h: Define defaults for libc_fegetround,
38095 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38096 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38097 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38098 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38099 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38100 standard functions.
38101 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38102 Remove comments and hacks for old compiler versions.
38103 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38104 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38105 libc_feholdexceptl.
38106
caa6c9d8
AS
381072011-10-18 Andreas Schwab <schwab@redhat.com>
38108
38109 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38110 (__feraiseexcept_renamed): Add __NTH.
38111 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38112 namespace violations.
38113
97c066e6
UD
381142011-10-17 Ulrich Drepper <drepper@gmail.com>
38115
99ce7b04
UD
38116 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38117
1004d182
UD
38118 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38119
228a984d
UD
38120 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38121 recently added interfaces.
38122 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38123
c8553a6a
UD
38124 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38125 about macro parameter expansion.
38126
ed22dcf6
UD
38127 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38128 __NO_MATH_INLINES is defined. Cleanups.
38129
38130 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38131 and __floorf is target has SSE4.1.
38132 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38133 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38134 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38135 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38136
b171c137
UD
38137 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38138 name.
38139 (floorf): Likewise.
38140
97c066e6
UD
38141 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38142
629f62ef
AS
381432011-10-17 Andreas Schwab <schwab@redhat.com>
38144
49a43d80
AS
38145 * misc/sys/cdefs.h: Fix last change.
38146
629f62ef
AS
38147 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38148 database lookup.
38149
e453f6cd
UD
381502011-10-16 Ulrich Drepper <drepper@gmail.com>
38151
aa78043a
UD
38152 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38153
ad0f5cad
UD
38154 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38156 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38157 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38158 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38160 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38161 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38162 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38163 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38164 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38165 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38166 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38167 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38168 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38169 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38170 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38171 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38172 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38173 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38174 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38175 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38176
38177 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38178 ceil, ceilf, floor, floorf.
38179
38180 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38181 Perform IRELATIVE relocations last.
38182
e453f6cd
UD
38183 * elf/do-rel.h: Add another parameter nrelative, replacing the
38184 local variable with the same name. Change name of the function
38185 to end in Rel or Rela (uppercase).
38186 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38187 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38188 elf_dynamic_do_##reloc function.
38189
fd5bdc09
UD
381902011-10-15 Ulrich Drepper <drepper@gmail.com>
38191
79b195b5
UD
38192 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38193 is sufficient, at least on modern CPUs.
38194
d4a28569
UD
38195 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38196
b61099b5
UD
38197 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38198 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38199
bcf01e6d
UD
38200 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38201 __expl_finite.
38202 * math/bits/math-finite.h: Add entries for exp.
38203 * math/e_expl.c: Add __*_finite alias.
38204 * sysdeps/i386/fpu/e_exp.S: Likewise.
38205 * sysdeps/i386/fpu/e_expf.S: Likewise.
38206 * sysdeps/i386/fpu/e_expl.c: Likewise.
38207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38208 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38209 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38212 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38213 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38214
ba1a0d59
UD
38215 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38216 is sufficient, at least on modern CPUs.
38217
fd5bdc09
UD
38218 * ctype/ctype-info.c (__ctype_init): Define.
38219 * include/ctype.h (__ctype_init): Declare.
38220 (__ctype_b_loc): The variable is always initialized.
38221 (__ctype_toupper_loc): Likewise.
38222 (__ctype_tolower_loc): Likewise.
38223 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38224 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38225
7872cfb0
AS
382262011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38227
b468825a
AS
38228 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38229
7872cfb0
AS
38230 * configure.in: Also look in $cxxmachine/include for C++ system
38231 headers.
38232
be13f7bf
LD
382332011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38234
38235 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38236 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38237 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38238 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38239 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38240 (USE_AS_WMEMCMP): New macro.
38241 Fixing indents.
38242 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38243 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38244 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38245 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38247 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38248 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38249 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38250 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38251 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38253 (USE_AS_WMEMCMP): New macro.
38254 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38255 * sysdeps/string/test-memcmp.c: Update.
38256 Fix simple_wmemcmp.
38257 Add new tests.
38258 * wcsmbs/wmemcmp.c: Update.
38259 (WMEMCMP): New macro.
38260 Fix overflow bug.
38261
556a2007
AJ
382622011-10-12 Andreas Jaeger <aj@suse.de>
38263
38264 [BZ #13268]
38265 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38266
538faaa7
UD
382672011-10-15 Ulrich Drepper <drepper@gmail.com>
38268
ab6737ff
UD
38269 * libio/iofwide.c (do_length): Avoid warning.
38270
538faaa7
UD
38271 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38272
396a21b1
UD
382732011-10-14 Ulrich Drepper <drepper@gmail.com>
38274
cdf2901f
UD
38275 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38276
38ad40ce
UD
38277 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38278 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38279 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38280 * sysdeps/i386/i686/fpu/e_log.S: New file.
38281 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38282 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38283
396a21b1
UD
38284 * ctype/ctype.h: Add support for inlined isXXX functions when
38285 compiling C++ code.
38286
6b1f68c9
AS
382872011-10-14 Andreas Schwab <schwab@redhat.com>
38288
349290c0
AS
38289 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38290
6b1f68c9
AS
38291 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38292
f2282d42
RM
382932011-10-13 Roland McGrath <roland@hack.frob.com>
38294
38295 [BZ #13291]
38296 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38297
5298ffa8
AS
382982011-10-13 Andreas Schwab <schwab@redhat.com>
38299
714fad23
AS
38300 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38301 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38302 feraiseexcept.
38303
81dcc7fb
AS
38304 * sysdeps/x86_64/memrchr.S: Check for zero size.
38305
5298ffa8
AS
38306 * string/stratcliff.c: Add memrchr tests.
38307
951fbcec
LD
383082011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38309
38310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38311 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38312 rawmemchr-sse2 rawmemchr-sse2-bsf.
38313 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38314 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38315 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38316 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38317 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38318 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38319 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38320 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38321 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38322 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38323 * string/memrchr.c (MEMRCHR): New macro.
38324
0ac5ae23
UD
383252011-10-12 Ulrich Drepper <drepper@gmail.com>
38326
38327 Add integration with gcc's -ffinite-math-only and optimize wrapper
38328 functions in libm.
38329 * Versions.def: Define GLIBC_2.15 version for libm.
38330 * math/Makefile (headers): Add bits/math-finite.h.
38331 * math/bits/math-finite.h: New file.
38332 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38333 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38334 * math/e_acoshl.c: Add __*_finite alias.
38335 * math/e_acosl.c: Likewise.
38336 * math/e_asinl.c: Likewise.
38337 * math/e_atan2l.c: Likewise.
38338 * math/e_atanhl.c: Likewise.
38339 * math/e_coshl.c: Likewise.
38340 * math/e_exp10.c: Likewise.
38341 * math/e_exp10f.c: Likewise.
38342 * math/e_exp10l.c: Likewise.
38343 * math/e_exp2l.c: Likewise.
38344 * math/e_fmodl.c: Likewise.
38345 * math/e_gammal_r.c: Likewise.
38346 * math/e_hypotl.c: Likewise.
38347 * math/e_j0l.c: Likewise.
38348 * math/e_j1l.c: Likewise.
38349 * math/e_jnl.c: Likewise.
38350 * math/e_lgammal_r.c: Likewise.
38351 * math/e_log10l.c: Likewise.
38352 * math/e_log2l.c: Likewise.
38353 * math/e_logl.c: Likewise.
38354 * math/e_powl.c: Likewise.
38355 * math/e_sinhl.c: Likewise.
38356 * math/e_sqrtl.c: Likewise.
38357 * math/e_scalb.c: Completely rewritten and optimized.
38358 * math/e_scalbf.c: Likewise.
38359 * math/e_scalbl.c: Likewise.
38360 * math/w_acos.c: Likewise.
38361 * math/w_acosf.c: Likewise.
38362 * math/w_acosl.c: Likewise.
38363 * math/w_acosh.c: Likewise.
38364 * math/w_acoshf.c: Likewise.
38365 * math/w_acoshl.c: Likewise.
38366 * math/w_asin.c: Likewise.
38367 * math/w_asinf.c: Likewise.
38368 * math/w_asinl.c: Likewise.
38369 * math/w_atan2.c: Likewise.
38370 * math/w_atan2f.c: Likewise.
38371 * math/w_atan2l.c: Likewise.
38372 * math/w_atanh.c: Likewise.
38373 * math/w_atanhf.c: Likewise.
38374 * math/w_atanhl.c: Likewise.
38375 * math/w_exp10.c: Likewise.
38376 * math/w_exp10f.c: Likewise.
38377 * math/w_exp10l.c: Likewise.
38378 * math/w_fmod.c: Likewise.
38379 * math/w_fmodf.c: Likewise.
38380 * math/w_fmodl.c: Likewise.
38381 * math/w_j0.c: Likewise.
38382 * math/w_j0f.c: Likewise.
38383 * math/w_j0l.c: Likewise.
38384 * math/w_j1.c: Likewise.
38385 * math/w_j1f.c: Likewise.
38386 * math/w_j1l.c: Likewise.
38387 * math/w_jn.c: Likewise.
38388 * math/w_jnf.c: Likewise.
38389 * math/w_log.c: Likewise.
38390 * math/w_logf.c: Likewise.
38391 * math/w_logl.c: Likewise.
38392 * math/w_log10.c: Likewise.
38393 * math/w_log10f.c: Likewise.
38394 * math/w_log10l.c: Likewise.
38395 * math/w_log2.c: Likewise.
38396 * math/w_log2f.c: Likewise.
38397 * math/w_log2l.c: Likewise.
38398 * math/w_pow.c: Likewise.
38399 * math/w_powf.c: Likewise.
38400 * math/w_powl.c: Likewise.
38401 * math/w_remainder.c: Likewise.
38402 * math/w_remainderf.c: Likewise.
38403 * math/w_remainderl.c: Likewise.
38404 * math/w_scalb.c: Likewise.
38405 * math/w_scalbf.c: Likewise.
38406 * math/w_scalbl.c: Likewise.
38407 * math/w_sqrt.c: Likewise.
38408 * math/w_sqrtf.c: Likewise.
38409 * math/w_sqrtl.c: Likewise.
38410 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38411 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38412 used.
38413 * math/math_private.h: Declare __kernel_standard_f.
38414 * math/w_cosh.c: Remove cruft and optimize a bit.
38415 * math/w_coshf.c: Likewise.
38416 * math/w_coshl.c: Likewise.
38417 * math/w_exp2.c: Likewise.
38418 * math/w_exp2f.c: Likewise.
38419 * math/w_exp2l.c: Likewise.
38420 * math/w_hypot.c: Likewise.
38421 * math/w_hypotf.c: Likewise.
38422 * math/w_hypotl.c: Likewise.
38423 * math/w_lgamma.c: Likewise.
38424 * math/w_lgamma_r.c: Likewise.
38425 * math/w_lgammaf.c: Likewise.
38426 * math/w_lgammaf_r.c: Likewise.
38427 * math/w_lgammal.c: Likewise.
38428 * math/w_lgammal_r.c: Likewise.
38429 * math/w_sinh.c: Likewise.
38430 * math/w_sinhf.c: Likewise.
38431 * math/w_sinhl.c: Likewise.
38432 * math/w_tgamma.c: Likewise.
38433 * math/w_tgammaf.c: Likewise.
38434 * math/w_tgammal.c: Likewise.
38435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38436 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38437 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38438 Minor optimizations. Pretty printing. Remove cruft.
38439 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38440 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38441 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38442 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38443 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38444 * sysdeps/i386/fpu/e_asin.S: Likewise.
38445 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38446 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38447 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38448 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38449 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38450 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38451 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38452 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38453 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38454 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38455 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38456 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38457 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38458 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38459 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38460 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38461 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38462 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38463 * sysdeps/i386/fpu/e_log.S: Likewise.
38464 * sysdeps/i386/fpu/e_log10.S: Likewise.
38465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38466 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38467 * sysdeps/i386/fpu/e_log2.S: Likewise.
38468 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38469 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38470 * sysdeps/i386/fpu/e_logf.S: Likewise.
38471 * sysdeps/i386/fpu/e_logl.S: Likewise.
38472 * sysdeps/i386/fpu/e_pow.S: Likewise.
38473 * sysdeps/i386/fpu/e_powf.S: Likewise.
38474 * sysdeps/i386/fpu/e_powl.S: Likewise.
38475 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38476 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38477 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38478 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38479 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38480 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38481 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38482 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38483 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38484 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38485 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38488 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38490 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38491 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38492 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38493 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38494 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38495 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38498 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38504 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38505 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38506 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38507 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38508 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38509 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38510 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38511 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38512 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38513 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38514 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38515 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38516 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38518 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38519 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38520 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38521 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38522 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38523 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38524 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38525 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38526 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38529 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38530 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38532 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38534 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38539 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38540 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38541 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38542 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38543 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38544 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38549 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38553 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38554 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38564 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38567 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38569 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38570 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38572 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38575 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38576 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38577 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38578 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38579 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38580 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38581 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38582 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38583 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38584 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38585 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38586 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38587 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38588 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38589 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38590 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38591 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38592 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38593 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38594 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38595 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38596 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38597 (__isnanf): Likewise.
38598 (__isinf_ns): Likewise.
38599 (__isinf_nsf): Likewise.
38600 (__finite): Likewise.
38601 (__finitef): Likewise.
38602 (__ieee754_sqrt): Define as macro.
38603 (__ieee754_sqrtf): Define as macro.
38604 (__ieee754_sqrtl): Define as macro.
38605 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38606 inlined copy.
38607 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38608 __FINITE_MATH_ONLY__ consistent.
38609 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38610
12cc2fcd
AS
386112011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38612
a843a204
AS
38613 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38614 of rawmemchr.
38615
12cc2fcd
AS
38616 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38617
c853acd5
UD
386182011-10-09 Ulrich Drepper <drepper@gmail.com>
38619
38620 * po/ja.po: Update from translation team.
38621
c658d255
RM
386222011-10-08 Roland McGrath <roland@hack.frob.com>
38623
110946e4
RM
38624 * locale/programs/locarchive.c (prepare_address_space): New function.
38625 (create_archive, enlarge_archive, open_archive): Use it.
38626
50604220
RM
38627 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38628 inside [SHARED], where it is used.
38629
c658d255
RM
38630 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38631
38632 * nss/getent.c (netgroup_keys): Remove unused variable.
38633 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38634
6a621eb7
UD
386352011-10-08 Ulrich Drepper <drepper@gmail.com>
38636
7edb55ce
UD
38637 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38638 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38640 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38641 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38642 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38643 * math/Makefile (libm-calls): Add s_isinf_ns.
38644 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38645 * math/multc3.c: Likewise.
38646 * math/s_casin.c: Likewise.
38647 * math/s_casinf.c: Likewise.
38648 * math/s_casinl.c: Likewise.
38649 * math/s_ccos.c: Likewise.
38650 * math/s_ccosf.c: Likewise.
38651 * math/s_ccosl.c: Likewise.
38652 * math/s_ctan.c: Likewise.
38653 * math/s_ctanf.c: Likewise.
38654 * math/s_ctanh.c: Likewise.
38655 * math/s_ctanhf.c: Likewise.
38656 * math/s_ctanhl.c: Likewise.
38657 * math/s_ctanl.c: Likewise.
38658 * math/w_fmod.c: Likewise.
38659 * math/w_fmodf.c: Likewise.
38660 * math/w_fmodl.c: Likewise.
38661 * math/w_remainder.c: Likewise.
38662 * math/w_remainderf.c: Likewise.
38663 * math/w_remainderl.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38665 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38666 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38668 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38669 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38670 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38671 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38672
187da0ae
UD
38673 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38674 of the number.
38675 * stdio-common/printf_fphex.c: Likewise.
38676 * stdio-common/printf_size.c: Likewise.
38677
9277c064
UD
38678 * math/e_exp10.c: Include math_private.h using <...> not "...".
38679 * math/e_exp10f.c: Likewise.
38680 * math/e_exp10l.c: Likewise.
38681 * math/e_exp2l.c: Likewise.
38682 * math/e_j0l.c: Likewise.
38683 * math/e_j1l.c: Likewise.
38684 * math/e_jnl.c: Likewise.
38685 * math/e_lgammal_r.c: Likewise.
38686 * math/e_rem_pio2l.c: Likewise.
38687 * math/e_scalb.c: Likewise.
38688 * math/e_scalbf.c: Likewise.
38689 * math/e_scalbl.c: Likewise.
38690 * math/k_cosl.c: Likewise.
38691 * math/k_sinl.c: Likewise.
38692 * math/k_tanl.c: Likewise.
38693 * math/s_cacoshf.c: Likewise.
38694 * math/s_catan.c: Likewise.
38695 * math/s_catanf.c: Likewise.
38696 * math/s_catanh.c: Likewise.
38697 * math/s_catanhf.c: Likewise.
38698 * math/s_catanhl.c: Likewise.
38699 * math/s_catanl.c: Likewise.
38700 * math/s_ccosh.c: Likewise.
38701 * math/s_ccoshf.c: Likewise.
38702 * math/s_ccoshl.c: Likewise.
38703 * math/s_cexp.c: Likewise.
38704 * math/s_cexpf.c: Likewise.
38705 * math/s_cexpl.c: Likewise.
38706 * math/s_clog.c: Likewise.
38707 * math/s_clog10.c: Likewise.
38708 * math/s_clog10f.c: Likewise.
38709 * math/s_clog10l.c: Likewise.
38710 * math/s_clogf.c: Likewise.
38711 * math/s_clogl.c: Likewise.
38712 * math/s_csin.c: Likewise.
38713 * math/s_csinf.c: Likewise.
38714 * math/s_csinh.c: Likewise.
38715 * math/s_csinhf.c: Likewise.
38716 * math/s_csinhl.c: Likewise.
38717 * math/s_csinl.c: Likewise.
38718 * math/s_csqrt.c: Likewise.
38719 * math/s_csqrtf.c: Likewise.
38720 * math/s_csqrtl.c: Likewise.
38721 * math/s_ctan.c: Likewise.
38722 * math/s_ctanf.c: Likewise.
38723 * math/s_ctanh.c: Likewise.
38724 * math/s_ctanhf.c: Likewise.
38725 * math/s_ctanhl.c: Likewise.
38726 * math/s_ctanl.c: Likewise.
38727 * math/s_ldexp.c: Likewise.
38728 * math/s_ldexpf.c: Likewise.
38729 * math/s_ldexpl.c: Likewise.
38730 * math/s_significand.c: Likewise.
38731 * math/s_significandf.c: Likewise.
38732 * math/s_significandl.c: Likewise.
38733 * math/w_acos.c: Likewise.
38734 * math/w_acosf.c: Likewise.
38735 * math/w_acosh.c: Likewise.
38736 * math/w_acoshf.c: Likewise.
38737 * math/w_acoshl.c: Likewise.
38738 * math/w_acosl.c: Likewise.
38739 * math/w_asin.c: Likewise.
38740 * math/w_asinf.c: Likewise.
38741 * math/w_asinl.c: Likewise.
38742 * math/w_atan2.c: Likewise.
38743 * math/w_atan2f.c: Likewise.
38744 * math/w_atan2l.c: Likewise.
38745 * math/w_atanh.c: Likewise.
38746 * math/w_atanhf.c: Likewise.
38747 * math/w_atanhl.c: Likewise.
38748 * math/w_cosh.c: Likewise.
38749 * math/w_coshf.c: Likewise.
38750 * math/w_coshl.c: Likewise.
38751 * math/w_dremf.c: Likewise.
38752 * math/w_exp10.c: Likewise.
38753 * math/w_exp10f.c: Likewise.
38754 * math/w_exp10l.c: Likewise.
38755 * math/w_exp2.c: Likewise.
38756 * math/w_exp2f.c: Likewise.
38757 * math/w_fmod.c: Likewise.
38758 * math/w_fmodf.c: Likewise.
38759 * math/w_fmodl.c: Likewise.
38760 * math/w_hypot.c: Likewise.
38761 * math/w_hypotf.c: Likewise.
38762 * math/w_hypotl.c: Likewise.
38763 * math/w_j0.c: Likewise.
38764 * math/w_j0f.c: Likewise.
38765 * math/w_j0l.c: Likewise.
38766 * math/w_j1.c: Likewise.
38767 * math/w_j1f.c: Likewise.
38768 * math/w_j1l.c: Likewise.
38769 * math/w_jn.c: Likewise.
38770 * math/w_jnf.c: Likewise.
38771 * math/w_jnl.c: Likewise.
38772 * math/w_lgamma.c: Likewise.
38773 * math/w_lgamma_r.c: Likewise.
38774 * math/w_lgammaf.c: Likewise.
38775 * math/w_lgammaf_r.c: Likewise.
38776 * math/w_lgammal.c: Likewise.
38777 * math/w_lgammal_r.c: Likewise.
38778 * math/w_log.c: Likewise.
38779 * math/w_log10.c: Likewise.
38780 * math/w_log10f.c: Likewise.
38781 * math/w_log10l.c: Likewise.
38782 * math/w_log2.c: Likewise.
38783 * math/w_log2f.c: Likewise.
38784 * math/w_log2l.c: Likewise.
38785 * math/w_logf.c: Likewise.
38786 * math/w_logl.c: Likewise.
38787 * math/w_pow.c: Likewise.
38788 * math/w_powf.c: Likewise.
38789 * math/w_powl.c: Likewise.
38790 * math/w_remainder.c: Likewise.
38791 * math/w_remainderf.c: Likewise.
38792 * math/w_remainderl.c: Likewise.
38793 * math/w_scalb.c: Likewise.
38794 * math/w_scalbf.c: Likewise.
38795 * math/w_scalbl.c: Likewise.
38796 * math/w_sinh.c: Likewise.
38797 * math/w_sinhf.c: Likewise.
38798 * math/w_sinhl.c: Likewise.
38799 * math/w_sqrt.c: Likewise.
38800 * math/w_sqrtf.c: Likewise.
38801 * math/w_sqrtl.c: Likewise.
38802 * math/w_tgamma.c: Likewise.
38803 * math/w_tgammaf.c: Likewise.
38804 * math/w_tgammal.c: Likewise.
38805
6a621eb7
UD
38806 * po/ja.po: Update from translation team.
38807
bf582445
AJ
388082011-09-29 Andreas Jaeger <aj@suse.de>
38809
f9efbf3a
AJ
38810 [BZ #13179]
38811 * sunrpc/netname.c (netname2host): Fix logic.
38812
bf582445
AJ
38813 [BZ #6779]
38814 [BZ #6783]
38815 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38816 correctly.
38817 * math/w_remainder.c (__remainder): Likewise.
38818 * math/w_remainderf.c (__remainderf): Likewise.
38819 * math/libm-test.inc (remainder_test): Add test cases.
38820
48693bea
AK
388212011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38822
38823 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38824 sdiv_qrnnd.
38825
42622229
LD
388262011-10-07 Ulrich Drepper <drepper@gmail.com>
38827
38828 * string/test-memcmp.c: Avoid unncessary #defines.
38829 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38830
093ecf92
LD
388312011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38832
38833 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38834 Use new sse2 version for core i3 - i7 as it's faster
38835 than sse42 version.
38836 (bit_Prefer_PMINUB_for_stringop): New.
38837 * sysdeps/x86_64/rawmemchr.S: Update.
38838 Replace with faster SSE2 version.
38839 * sysdeps/x86_64/memrchr.S: New file.
38840 * sysdeps/x86_64/memchr.S: Update.
38841 Replace with faster SSE2 version.
38842
fde56e5c
MP
388432011-09-12 Marek Polacek <mpolacek@redhat.com>
38844
38845 * elf/dl-load.c (lose): Add cast to avoid warning.
38846
21fd49a9
UD
388472011-10-07 Ulrich Drepper <drepper@gmail.com>
38848
5a06e643
UD
38849 * po/ca.po: Update from translation team.
38850
684ae515
UD
38851 * inet/getnetgrent_r.c: Hook up nscd.
38852 * nscd/Makefile (routines): Add nscd_netgroup.
38853 (nscd-modules): Add netgroupcache.
38854 (CFLAGS-netgroupcache.c): Define.
38855 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38856 (cache_search): Add const to second parameter.
38857 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38858 INNETGR.
38859 (dbs): Add netgrdb entry.
38860 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38861 (verify_persistent_db): Handle netgrdb.
38862 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38863 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38864 GETFDNETGR.
38865 (netgroup_response_header): Define.
38866 (innetgroup_response_header): Define.
38867 (datahead): Add netgroup_response_header and innetgroup_response_header
38868 elements.
38869 * nscd/nscd.conf: Add entries for netgroup cache.
38870 * nscd/nscd.h (dbtype): Add netgrdb.
38871 (_PATH_NSCD_NETGROUP_DB): Define.
38872 (netgroup_iov_disabled): Declare.
38873 (xmalloc, xcalloc, xrealloc): Move declarations here.
38874 (cache_search): Adjust prototype.
38875 Add netgroup-related prototypes.
38876 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38877 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38878 (__nscd_innetgr): Declare.
38879 * nscd/selinux.c (perms): Use access_vector_t as element type and
38880 add netgroup-related initializers.
38881 * nscd/netgroupcache.c: New file.
38882 * nscd/nscd_netgroup.c: New file.
38883 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38884 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38885 For four parameters use innetgr.
38886 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38887 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38888 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38889 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38890
21fd49a9
UD
38891 * nscd/connections.c (register_traced_file): Don't register file
38892 for disabled databases.
38893
054c0457
UD
388942011-10-06 Ulrich Drepper <drepper@gmail.com>
38895
32b63198
UD
38896 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38897
054c0457
UD
38898 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38899 from tree and freeing node.
38900
64031225
JO
389012011-09-25 Jiri Olsa <jolsa@redhat.com>
38902
38903 * nss/nsswitch.c (__nss_database_lookup): Handle
38904 nss_parse_service_list out of memory case.
38905
0490345c
JO
389062011-09-15 Jiri Olsa <jolsa@redhat.com>
38907
38908 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38909 out of memory case.
38910
3a62d00d
AS
389112011-10-04 Andreas Schwab <schwab@redhat.com>
38912
38913 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38914 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38915 pass it down.
38916 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38917 elf_machine_rela, elf_machine_lazy_rel.
38918 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38919 (ELF_DYNAMIC_DO_REL): Likewise.
38920 (ELF_DYNAMIC_DO_RELA): Likewise.
38921 (ELF_DYNAMIC_RELOCATE): Likewise.
38922 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38923 to ELF_DYNAMIC_DO_REL.
38924 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38925 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38926 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38927 elf_machine_rela.
38928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38929 skip_ifunc, don't call ifunc function if non-zero.
38930 (elf_machine_rela): Likewise.
38931 (elf_machine_lazy_rel): Likewise.
38932 (elf_machine_lazy_rela): Likewise.
38933 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38934 (elf_machine_lazy_rel): Likewise.
38935 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38936 Likewise.
38937 (elf_machine_lazy_rel): Likewise.
38938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38939 Likewise.
38940 (elf_machine_lazy_rel): Likewise.
38941 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38942 (elf_machine_lazy_rel): Likewise.
38943 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38944 (elf_machine_lazy_rel): Likewise.
38945 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38946 (elf_machine_lazy_rel): Likewise.
38947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38948 (elf_machine_lazy_rel): Likewise.
38949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38950 (elf_machine_lazy_rel): Likewise.
38951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38952 (elf_machine_lazy_rel): Likewise.
38953
68577918
UD
389542011-09-28 Ulrich Drepper <drepper@gmail.com>
38955
38956 * nss/nss_files/files-init.c (_nss_files_init): Use static
38957 initialization for all the *_traced_file variables.
38958
68822d74
AS
389592011-09-28 Andreas Schwab <schwab@redhat.com>
38960
38961 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38962
2056100b
RM
389632011-09-27 Roland McGrath <roland@hack.frob.com>
38964
38965 [BZ #13226]
38966 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38967
32c76b63
AS
389682011-09-27 Andreas Schwab <schwab@redhat.com>
38969
38970 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38971 Reread the line before reparsing it.
38972
bf972c9d
AS
389732011-09-26 Andreas Schwab <schwab@redhat.com>
38974
38975 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38976
e057a1b5
JM
389772011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38978 Maxim Kuvyrkov <maxim@codesourcery.com>
38979 Joseph Myers <joseph@codesourcery.com>
38980
38981 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38982 if needed for __stack_chk_guard.
38983
bc7e1c36
RM
389842011-09-19 Roland McGrath <roland@hack.frob.com>
38985
ecb1482f
RM
38986 * sysdeps/posix/spawni.c (script_execute): Always define it.
38987 It will be optimized away if unused.
38988 (maybe_script_execute): New function.
38989 (__spawni): Call it.
38990
bc7e1c36
RM
38991 * Makerules: Don't include tls.make.
38992 (config-tls): Always set to thread.
38993 * tls.make.c: File removed.
38994
1c3b002b
MF
389952011-09-19 Mike Frysinger <vapier@gentoo.org>
38996
38997 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38998 * config.make.in (CPPFLAGS-config): New substituted variable.
38999
2840865d
UD
390002011-09-15 Ulrich Drepper <drepper@gmail.com>
39001
88738eb6
UD
39002 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39003
cbf645a6 39004 [BZ #13192]
2840865d
UD
39005 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39006 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39007
b402e91a
RM
390082011-09-15 Roland McGrath <roland@hack.frob.com>
39009
39010 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39011 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39013 (CALL_FAIL): Likewise.
39014 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39015 (CALL_FAIL): Macro removed.
39016 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39017
4c1a1f71
UD
390182011-09-15 Ulrich Drepper <drepper@gmail.com>
39019
39020 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39021 for __FINITE_MATH_ONLY__ == 1.
39022
edc121be
AS
390232011-09-15 Andreas Schwab <schwab@redhat.com>
39024
39025 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39026 __ieee754_sqrt instead of sqrt.
39027 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39028 __ieee754_sqrtf instead of sqrtf.
39029 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39030 __floorf instead of floorf.
39031 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39032 __floorf, __truncf instead of floorf, truncf.
39033
cd205654
UD
390342011-09-14 Ulrich Drepper <drepper@gmail.com>
39035
ee4d0315
UD
39036 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39037
cd205654
UD
39038 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39039 __extern_always_inline.
39040 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39041 32-bit.
39042
48b67d71
AS
390432011-09-14 Andreas Schwab <schwab@redhat.com>
39044
39045 * elf/rtld.c (dl_main): Also relocate in dependency order when
39046 doing symbol dependency testing.
39047
1ae12c75
AS
390482011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39049
39050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39051 Always define `refsym'.
39052
995a80df
AS
390532011-09-13 Andreas Schwab <schwab@redhat.com>
39054
e529793b
AS
39055 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39056 (__FD_ELT): Renamed from __FDELT.
39057 * misc/bits/select2.h (__FD_ELT): Likewise.
39058 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39059 __FD_MASK instead of __FDELT, __FDMASK.
39060 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39061 Likewise.
39062 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39063 Likewise.
39064
52d4fef8
AS
39065 * elf/Makefile (gen-ldd): Fix pattern.
39066
995a80df
AS
39067 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39068 (init_tls): Likewise.
39069
8682f8b0
UD
390702011-09-12 Ulrich Drepper <drepper@gmail.com>
39071
39072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39073
de82006d
AS
390742011-09-12 Andreas Schwab <schwab@redhat.com>
39075
a7c8e6a1
AS
39076 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39077 `struct cmsghdr *' instead of `void *'.
39078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39079 Likewise.
39080
0f31fe77
AS
390812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39082
39083 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39084 if non-absolute.
39085 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39086 ldd_rewrite_script.
0f31fe77 39087
32b4c839
UD
390882011-09-11 Ulrich Drepper <drepper@gmail.com>
39089
83cd1420
UD
39090 * configure.in: Remove --with-tls option.
39091 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39092 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39093 out in case it is missing.
39094 * sysdeps/ia64/elf/configure.in: Likewise.
39095 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39096 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39097 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39098 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39099 * sysdeps/sh/elf/configure.in: Likewise.
39100 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39101 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39102 * sysdeps/x86_64/elf/configure.in: Likewise.
39103 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39104 * sysdeps/mach/hurd/tls.h: Likewise.
39105
633f745d
UD
39106 [BZ #13067]
39107 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39108
f318beb8
UD
39109 [BZ #13090]
39110 * configure.in: Fix use of AC_INIT.
39111
32b4c839
UD
39112 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39113
3ce1f295
UD
391142011-09-10 Ulrich Drepper <drepper@gmail.com>
39115
bb016596
UD
39116 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39117 __set_errno.
8e58439c
UD
39118 * malloc/hooks.c: Likewise.
39119
aebae053 39120 [BZ #11929]
02d46fc4
UD
39121 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39122 variables statically.
39123 (narenas): Initialize.
39124 (list_lock): Initialize.
bb016596
UD
39125 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39126 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39127 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39128 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39129 Add initializers to main_arena and mp_.
39130 (malloc_state): Remove pagesize member. Change all users to use
39131 GLRO(dl_pagesize).
39132
39133 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39134 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39135 is always initialized.
39136
22a89187
UD
39137 * malloc/malloc.c: Removed unused configurations and dead code.
39138 * malloc/arena.c: Likewise.
39139 * malloc/hooks.c: Likewise.
02d46fc4 39140 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39141
d063d164
UD
39142 * include/tls.h: Removed. USE___THREAD must always be defined.
39143 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39144 * elf/dl-libc.c: Likewise.
39145 * elf/dl-tsd.c: Likewise.
39146 * include/errno.h: Likewise.
39147 * include/netdb.h: Likewise.
39148 * include/resolv.h: Likewise.
39149 * inet/herrno-loc.c: Likewise.
39150 * inet/herrno.c: Likewise.
39151 * malloc/arena.c: Likewise.
39152 * malloc/hooks.c: Likewise.
39153 * malloc/malloc.c: Likewise.
39154 * resolv/res-state.c: Likewise.
39155 * resolv/res_libc.c: Likewise.
39156 * sysdeps/i386/dl-machine.h: Likewise.
39157 * sysdeps/ia64/dl-machine.h: Likewise.
39158 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39159 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39160 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39161 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39162 * sysdeps/sh/dl-machine.h: Likewise.
39163 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39164 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39165 * sysdeps/unix/i386/sysdep.S: Likewise.
39166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39167 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39170 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39171 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39172 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39176 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39177 * sysdeps/x86_64/dl-machine.h: Likewise.
39178 * tls.make.c: Likewise.
39179
3ce1f295
UD
39180 * configure.in: Remove --with-__thread option. Make tests for
39181 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39182 tls_model attribute fail if no support is available. Remove
39183 USE_IN_LIBIO.
39184 * Makeconfig: Adjust for dropped configure option. All features are
39185 now mandatory.
39186 * Makerules: Likewise.
39187 * Versions.def: Likewise.
39188 * argp/argp-fmtstream.c: Likewise.
39189 * argp/argp-fmtstream.h: Likewise.
39190 * argp/argp-help.c: Likewise.
39191 * assert/assert.c: Likewise.
39192 * config.h.in: Likewise.
39193 * config.make.in: Likewise.
39194 * configure: Likewise.
39195 * configure.in: Likewise.
39196 * csu/Versions: Likewise.
39197 * csu/init.c: Likewise.
39198 * elf/tst-audit2.c: Likewise.
39199 * elf/tst-tls10.c: Likewise.
39200 * elf/tst-tls10.h: Likewise.
39201 * elf/tst-tls11.c: Likewise.
39202 * elf/tst-tls12.c: Likewise.
39203 * elf/tst-tls14.c: Likewise.
39204 * elf/tst-tlsmod11.c: Likewise.
39205 * elf/tst-tlsmod12.c: Likewise.
39206 * elf/tst-tlsmod13.c: Likewise.
39207 * elf/tst-tlsmod13a.c: Likewise.
39208 * elf/tst-tlsmod14a.c: Likewise.
39209 * elf/tst-tlsmod15b.c: Likewise.
39210 * elf/tst-tlsmod16a.c: Likewise.
39211 * elf/tst-tlsmod16b.c: Likewise.
39212 * elf/tst-tlsmod7.c: Likewise.
39213 * elf/tst-tlsmod8.c: Likewise.
39214 * elf/tst-tlsmod9.c: Likewise.
39215 * gmon/gmon.c: Likewise.
39216 * grp/fgetgrent_r.c: Likewise.
39217 * grp/putgrent.c: Likewise.
39218 * hurd/fopenport.c: Likewise.
39219 * include/libc-symbols.h: Likewise.
39220 * include/tls.h: Likewise.
39221 * intl/gettextP.h: Likewise.
39222 * intl/loadinfo.h: Likewise.
39223 * locale/global-locale.c: Likewise.
39224 * locale/localeinfo.h: Likewise.
39225 * mach/devstream.c: Likewise.
39226 * malloc/arena.c: Likewise.
39227 * malloc/set-freeres.c: Likewise.
39228 * misc/err.c: Likewise.
39229 * misc/getttyent.c: Likewise.
39230 * misc/mntent_r.c: Likewise.
39231 * posix/getopt.c: Likewise.
39232 * posix/wordexp.c: Likewise.
39233 * pwd/fgetpwent_r.c: Likewise.
39234 * resolv/Versions: Likewise.
39235 * resolv/res_hconf.c: Likewise.
39236 * shadow/fgetspent_r.c: Likewise.
39237 * shadow/putspent.c: Likewise.
39238 * stdio-common/printf_fphex.c: Likewise.
39239 * stdio-common/tmpfile.c: Likewise.
39240 * stdlib/abort.c: Likewise.
39241 * stdlib/fmtmsg.c: Likewise.
39242 * sunrpc/auth_unix.c: Likewise.
39243 * sunrpc/clnt_perr.c: Likewise.
39244 * sunrpc/clnt_tcp.c: Likewise.
39245 * sunrpc/clnt_udp.c: Likewise.
39246 * sunrpc/clnt_unix.c: Likewise.
39247 * sunrpc/openchild.c: Likewise.
39248 * sunrpc/svc_simple.c: Likewise.
39249 * sunrpc/svc_tcp.c: Likewise.
39250 * sunrpc/svc_udp.c: Likewise.
39251 * sunrpc/svc_unix.c: Likewise.
39252 * sunrpc/xdr.c: Likewise.
39253 * sunrpc/xdr_array.c: Likewise.
39254 * sunrpc/xdr_rec.c: Likewise.
39255 * sunrpc/xdr_ref.c: Likewise.
39256 * sunrpc/xdr_stdio.c: Likewise.
39257
1248c1c4
PB
392582011-09-09 Ulrich Drepper <drepper@gmail.com>
39259
39260 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39261
392622011-07-03 Andreas Jaeger <aj@suse.de>
39263
39264 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39265 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39266 regenerate with gen-libm-tests.pl.
39267
392682010-05-12 Petr Baudis <pasky@suse.cz>
39269
39270 [BZ #11589]
39271 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39272 around j0() zero points by switching to j1().
39273 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39276 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39277
f22e1074
UD
392782011-09-09 Ulrich Drepper <drepper@gmail.com>
39279
f19009c1
UD
39280 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39281 instead of 0.
39282 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39283 instead of 0.
f19009c1
UD
39284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39285 Patch in part by Pavel Roskin <proski@gnu.org>.
39286
3f8cc204
UD
39287 [BZ #13138]
39288 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39289 realloc.
39290 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39291 Free memory block if necessary.
39292
f22e1074
UD
39293 [BZ #12847]
39294 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39295 be NULL. Don't lock in this case.
39296
0a2349f9
RM
392972011-09-09 Roland McGrath <roland@hack.frob.com>
39298
39299 * elf/elf.h (ELFOSABI_GNU): New macro.
39300 (ELFOSABI_LINUX): Define to that.
39301
f3cdd467
DZ
393022011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39303
39304 * string/strncat.c (strncat): Undef the symbol in case it has been
39305 defined in bits/string.h.
39306
74718d13
UD
393072011-09-09 Ulrich Drepper <drepper@gmail.com>
39308
633e9e0f
UD
39309 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39310
0a2349f9 39311 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39312 link map.
39313
f9924780
AJ
393142011-08-17 Andreas Jaeger <aj@suse.de>
39315
39316 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39317
7f5517aa
PP
393182011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39319 Ian Lance Taylor <iant@google.com>
39320
39321 * math/libm-test.inc (lround_test): New testcase.
39322 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39323
762011fe
UD
393242011-09-08 Ulrich Drepper <drepper@gmail.com>
39325
92963737
UD
39326 * Makefile: Remove support for automatic cvs check-ins.
39327 * Makerules: Likewise.
39328 * config.make.in: Likewise.
39329 * configure.in: Likewise.
39330 * intl/Makefile: Likewise.
39331 * locale/Makefile: Likewise.
39332 * po/Makefile: Likewise.
39333 * posix/Makefile: Likewise.
39334 * sysdeps/gnu/Makefile: Likewise.
39335 * sysdeps/mach/hurd/Makefile: Likewise.
39336 * sysdeps/sparc/sparc32/Makefile: Likewise.
39337
b0727fd8
JS
39338 [BZ #13118]
39339 * posix/Makefile (bug-regex32-ENV): Define.
39340 Patch by John Stanley <jpsinthemix@verizon.net>.
39341
a0f33f99
UD
39342 * misc/Makefile (headers): Add bits/select2.h.
39343 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39344 * misc/bits/select2.h: New file.
39345 * include/bits/select2.h: New file.
39346 * debug/Makefile (routines): Add fdelt_chk.
39347 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39348 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39349 FD_ISSET.
39350 * debug/fdelt_chk.c: New file.
39351
762011fe
UD
39352 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39353 * wcsmbs/test-wmemcmp.c: Likewise.
39354 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39355 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39356
393572011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39358
39359 * string/Makefile (strop-tests): Add memcmp.
39360 * string/test-wmemcmp.c: New file.
39361 * string/test-memcmp.c: Add wmemcmp support.
39362
7f513ec8
RM
393632011-09-08 Roland McGrath <roland@hack.frob.com>
39364
0442afb4
RM
39365 [BZ #13153]
39366 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39367 2011-07-19 change.
39368
7f513ec8
RM
39369 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39370 garbage value in a __mach_port_mod_refs call in the cases of the
39371 task-self and thread-self ports.
39372
a12b2239
ST
393732011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39374
39375 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39376
610f9ab4
AS
393772011-09-08 Andreas Schwab <schwab@redhat.com>
39378
7f513ec8 39379 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39380
48882a1a
LD
393812011-09-07 Ulrich Drepper <drepper@gmail.com>
39382
b49865be
UD
39383 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39384
fdc86bc9
UD
39385 * elf/dl-libc.c (dlerror_run): Pass back error code from
39386 dl_catch_error.
39387
c966526a
UD
39388 [BZ #13123]
39389 * elf/dl-load.c (lose): Free l_origin if it is valid.
39390
48882a1a
LD
39391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39392 names.
39393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39394 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39397 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39398 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39399
77a2a8b4
AZ
394002011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39401
39402 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39403 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39404 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39405 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39406 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39407 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39408 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39409 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39410 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39411 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39412
24f579d8
AM
394132011-08-15 Alan Modra <amodra@gmail.com>
39414
39415 [BZ #13092]
39416 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39417 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39418 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39419 ppc_mcount to static-only-routines.
39420 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39421 __mcount_internal.
39422 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39423 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39424
3d4837df
UD
394252011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39426
39427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39428 for finite and infinity parameters.
39429
22700377
WS
394302011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39431
39432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39433 and add nop instructions for throughput optimization.
39434 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39435
5025581e
WS
394362011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39437
39438 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39439 aligned copy for power7 with vector-scalar instructions.
39440 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39441
08a300c9
L
394422011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39443
39444 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39445 AVX check.
39446
59178ef9
AS
394472011-09-07 Andreas Schwab <schwab@redhat.com>
39448
39449 [BZ #13144]
39450 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39451 last change.
39452
e38ba7ab
UD
394532011-09-07 Ulrich Drepper <drepper@gmail.com>
39454
39455 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39456 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39457 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39458 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39459 clock_gettime.
39460
d53a73ac
UD
394612011-09-06 Ulrich Drepper <drepper@gmail.com>
39462
fc8bffcc
UD
39463 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39464 Forgot to demangle the pointer.
39465
ceaa0c5d
UD
39466 * sysdeps/i386/sysdep.h: Define atom_text_section.
39467 * sysdeps/x86_64/sysdep.h: Likewise.
39468 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39469 section with atom_text_section.
39470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39472 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39473 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39474 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39475
a77d3c17
UD
39476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39477 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39478 already be defined. Change to take two parameters and don't assign
39479 result to variable. Adjust all users.
39480 Define INTERNAL_GETTIME if not already defined.
39481 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39482 call.
39483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39484 HAVE_CLOCK_GETTIME_VSYSCALL.
39485 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39486
d53a73ac
UD
39487 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39488 gettimeofday vsyscall, just use time.
39489
a8f84144
AS
394902011-09-06 Andreas Schwab <schwab@redhat.com>
39491
39492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39493 <errno.h>.
39494
ef606249
UD
394952011-09-06 Ulrich Drepper <drepper@gmail.com>
39496
39497 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39498 syscall on x86-64.
39499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39500 syscall.
39501 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39502 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39503 syscall if possible.
39504
6585cb60
UD
395052011-09-05 Ulrich Drepper <drepper@gmail.com>
39506
39507 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39508 e_ident. Don't pass to find_mapsXX.
39509 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39510
a5f524e4
LD
395112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39512
39513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39514 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39515 * sysdeps/x86_64/multiarch/strchr.S: Update.
39516 Check bit_slow_BSF bit.
39517 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39518 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39519 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39520
554881ef
UD
395212011-09-05 Ulrich Drepper <drepper@gmail.com>
39522
d96de963
UD
39523 [BZ #13134]
39524 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39525 before glibc 2.15.
39526 (tryshell): Define.
39527 (__spawni): Change last parameter to be flag. Test
39528 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39529 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39530 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39531 * posix/spawni.c: Likewise.
39532 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39533 * posix/spawnp.c: Likewise. Change normal version to use
39534 SPAWN_XFLAGS_USE_PATH.
39535 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39536 SPAWN_XFLAGS_TRY_SHELL.
39537
d48e5868
UD
39538 [BZ #13150]
39539 * posix/glob.h: Remove gcc 1.x support.
39540
554881ef
UD
39541 [BZ #13068]
39542 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39543
693fb948
LD
395442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39545
39546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39547 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39548 strrchr-sse2-bsf
39549 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39550 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39551 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39553 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39555
1b48c537
UD
395562011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39557
49d42c37
UD
39558 * sysdeps/x86_64/wcscmp.S: New file.
39559
1b48c537
UD
39560 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39561 wcscmp-c wcscmp-sse2
39562 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39563 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39565 * wcsmbs/wcscmp.c: Allow renaming.
39566
15c95c5d
DM
395672011-09-05 David S. Miller <davem@davemloft.net>
39568
39569 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39570 stack slot, rather than the struct return pointer slot.
39571 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39572 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39574 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39575
2f0ad8f3
UD
395762011-09-05 Ulrich Drepper <drepper@gmail.com>
39577
d88ae418
UD
39578 * po/ja.po: Update from translation team.
39579
2f0ad8f3
UD
39580 [BZ #13144]
39581 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39582 kernel in 64-bit binaries.
39583
5f4318d1
DM
395842011-09-01 David S. Miller <davem@davemloft.net>
39585
39586 * elf/elf.h (HWCAP_SPARC_*): Move to..
39587 * sysdeps/sparc/sysdep.h: this new file and add new values.
39588 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39589 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39590 _DL_HWCAP_COUNT to 24.
39591 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39592 entries.
39593 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39594 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39595 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39597 instead of magic constants.
39598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39599
3ba57516
DM
396002011-08-31 David S. Miller <davem@davemloft.net>
39601
39602 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39604 Reimplement to do errno handling inline.
39605 (SYSCALL_ERROR_HANDLER): New macro.
39606 (__SYSCALL_STRING): Do not do errno handling in asm.
39607 (__CLONE_SYSCALL_STRING): Delete.
39608 (__INTERNAL_SYSCALL_STRING): Delete.
39609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39610 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39611 (PSEUDO): Reimplement to do errno handling inline.
39612 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39613 (SYSCALL_ERROR_HANDLER): New macro.
39614 (__SYSCALL_STRING): Do not do errno handling in asm.
39615 (__CLONE_SYSCALL_STRING): Delete.
39616 (__INTERNAL_SYSCALL_STRING): Delete.
39617 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39618 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39619 i386.
39620 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39621 (inline_syscall*): Add 'err' argument.
39622 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39623 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39624 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39625 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39626
39627 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39628 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39629
2bc17433
AS
396302011-08-30 Andreas Schwab <schwab@redhat.com>
39631
39632 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39633
fbeb5f4d
JO
396342011-08-29 Jiri Olsa <jolsa@redhat.com>
39635
39636 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39637 directive.
39638
ad69cc26
DM
396392011-08-24 David S. Miller <davem@davemloft.net>
39640
39641 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39642
39dd69df
AS
396432011-08-24 Andreas Schwab <schwab@redhat.com>
39644
39645 * elf/Makefile: Add rules to build and run unload8 test.
39646 * elf/unload8.c: New file.
39647 * elf/unload8mod1.c: New file.
39648 * elf/unload8mod1x.c: New file.
39649 * elf/unload8mod2.c: New file.
39650 * elf/unload8mod3.c: New file.
39651
39652 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39653 it wasn't used.
39654
2c0b250a
DM
396552011-08-23 David S. Miller <davem@davemloft.net>
39656
39657 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39658 subtract stack bias.
39659 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39660 %sp not %fp in calculations.
39661 (_JMPBUF_UNWINDS_ADJ): Likewise.
39662
22044b48
DM
39663 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39664 (aio_suspend): Call it to force an exception region around the
39665 AIO_MISC_WAIT() invocation.
39666
2cae4995
AS
396672011-08-23 Andreas Schwab <schwab@redhat.com>
39668
39669 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39670 backslash.
39671
873a772e
AJ
396722011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39673
39674 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39675 protection macro.
39676 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39677 and <dl-machine.h>.
39678 (Elf64_FuncDesc): Remove.
39679
25ad0df1
DM
396802011-08-22 David S. Miller <davem@davemloft.net>
39681
39682 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39683 sigaltstack check, add missing cfi directives.
39684 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39685 missing cfi directives, and sigaltstack handling.
39686
e888bcbe
AS
396872011-08-16 Andreas Schwab <schwab@redhat.com>
39688
39689 [BZ #11724]
39690 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39691 object is seen twice.
39692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39693
39694 * elf/Makefile (distribute): Add tst-initorder2.c.
39695 (tests): Add tst-initorder2.
39696 (modules-names): Add tst-initorder2a tst-initorder2b
39697 tst-initorder2c tst-initorder2d. Add rules to build them.
39698 ($(objpfx)tst-initorder2.out): New rule.
39699 * elf/tst-initorder2.c: New file.
39700 * elf/tst-initorder2.exp: New file.
39701
87162f46
AS
397022011-08-22 Andreas Schwab <schwab@redhat.com>
39703
70538b7f
AS
39704 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39705
f55ffe58
AS
39706 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39707 dependencies back to end of function.
39708
87162f46
AS
39709 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39710 $(elfobjdir)/ld.so.
39711
91b392a4
UD
397122011-08-21 Ulrich Drepper <drepper@gmail.com>
39713
39714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39715 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39717 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39718 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39719 of __vdso_gettimeofday.
39720 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39721 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39722 attribute_hidden.
39723 (_libc_vdso_platform_setup): Remove initialization of
39724 __vdso_gettimeofday and __vdso_time.
39725
5c43483f
UD
397262011-08-20 Ulrich Drepper <drepper@gmail.com>
39727
775a77e7
UD
39728 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39729 and fgetc_unlocked.
39730 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39731 getc_unlocked.
89f447ed 39732
49c74ba9
UD
39733 * elf/dl-open.c (add_to_global): Report additions to the global scope
39734 for LD_DEBUG=scopes.
39735 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39736 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39737
5c43483f
UD
39738 [BZ #13114]
39739 * stdio-common/Makefile (tests): Add bug24.
39740 * stdio-common/bug24.c: New file.
39741
a101b025
AJ
397422011-08-19 Andreas Jaeger <aj@suse.de>
39743
39744 [BZ #13114]
39745 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39746 non-existant file when using close-on-exec mode.
39747
c88f1766
UD
397482011-08-20 Ulrich Drepper <drepper@gmail.com>
39749
0276a718
UD
39750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39751 the very first instruction.
39752
c88f1766
UD
39753 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39754 the CFI state in the end.
39755 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39756 inclusion of dl-trampoline.h.
39757 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39758
51ccffa0
AS
397592011-08-19 Andreas Schwab <schwab@redhat.com>
39760
94d7165f
AS
39761 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39762 expectations for long double.
39763
51ccffa0
AS
39764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39765 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39766
fd708658 397672011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39768
39769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39770 artificual limit depends upon the system page size.
39771
44f0a71e
UD
397722011-08-17 Ulrich Drepper <drepper@gmail.com>
39773
39774 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39775 * resolv/Makefile: Define CFLAGS-libresolv.
39776
8de79a24
AS
397772011-08-17 Andreas Schwab <schwab@redhat.com>
39778
39779 * nss/makedb.c (compute_tables): Make variables used in nested
39780 function static.
39781
27724598
UD
397822011-08-17 Ulrich Drepper <drepper@gmail.com>
39783
c5305d88
UD
39784 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39785 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39786 if buffer was too small.
39787
27724598
UD
39788 * elf/pldd.c (main): Attach to all threads in the process.
39789 Rewrite /proc handling to use *at functions.
39790
076fe015
UD
397912011-08-16 Ulrich Drepper <drepper@gmail.com>
39792
174baab3
UD
39793 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39794 specifies first scope to show.
39795 (dl_open_worker): Update callers. Move printing scope of new
39796 object to before the relocation.
44f0a71e 39797 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39798 * sysdeps/generic/ldsodefs.h: Update declaration.
39799
076fe015
UD
39800 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39801 string for the scope number.
39802
a60df2c3
UD
398032011-08-14 Ulrich Drepper <drepper@gmail.com>
39804
39805 * nscd/servicescache.c (cache_addserv): Make sure written is always
39806 initialized.
39807
5e4287d1
RM
398082011-08-14 Roland McGrath <roland@hack.frob.com>
39809
85ae0589
RM
39810 * sysdeps/i386/i486/bits/atomic.h
39811 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39812 statement expression, so as to suppress "set but not used" warning.
39813 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39814
69f63097
RM
39815 * string/strncat.c (STRNCAT): Use prototype definition.
39816
675456ef
RM
39817 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39818 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39819 -Iprograms here.
39820 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39821 (localedef-modules): Add localedef.
39822 (locale-modules): Add locale.
39823
5e4287d1
RM
39824 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39825 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39826 to avoid a warning.
39827
9c96ff23
DM
398282011-08-14 David S. Miller <davem@davemloft.net>
39829
39830 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39831 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39832
f9ddf089
UD
398332011-08-13 Ulrich Drepper <drepper@gmail.com>
39834
44f0a71e 39835 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39836 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39837 * elf/rtld.c (dl_main): Set l_name of vDSO.
39838 Call _dl_show_scope when DL_DEBUG_SCOPES.
39839 (process_dl_debug): Recognize scopes flag and also set it for all.
39840 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39841 Declare _dl_show_scope.
39842
1dc27704
UD
39843 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39844 (do_dlopen): Pass caller_dlopen to dl_open.
39845 (__libc_dlopen_mode): Initialize caller_dlopen.
39846
f9ddf089
UD
39847 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39848 of libc. Make tolower call locale-independent. Optimize a bit by
39849 using isdigit instead of isalnum.
39850 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39851
9ac533d3
UD
398522011-08-12 Ulrich Drepper <drepper@gmail.com>
39853
39854 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39855 was a dependency or dynamically loaded.
39856
89edf2e9
UD
398572011-08-11 Ulrich Drepper <drepper@gmail.com>
39858
8e999d29
UD
39859 * intl/l10nflist.c: Allow architecture-specific pop function.
39860 * sysdeps/x86_64/l10nflist.c: New file.
39861
89edf2e9
UD
39862 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39863 classification.
39864
14d96785
AS
398652011-08-10 Andreas Schwab <schwab@redhat.com>
39866
39867 * include/dirent.h: Add libc_hidden_proto for scandirat and
39868 scandirat64. Don't declare __scandirat64.
39869 * dirent/scandirat.c: Add libc_hidden_def.
39870 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39871 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39872
6761ac04
DM
398732011-08-10 David S. Miller <davem@davemloft.net>
39874
39875 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39876 enum.
39877 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39878 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39880
c55fbd1e
UD
398812011-08-09 Ulrich Drepper <drepper@gmail.com>
39882
39883 * Versions.def [libc]: Add GLIBC_2.15.
39884 * dirent/Makefile (routines): Add scandirat and scandirat64.
39885 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39886 GLIBC_2.15.
39887 * dirent/dirent.h: Declare scandirat and scandirat64.
39888 * dirent/scandirat.c: New file.
39889 * dirent/scandirat64.c: New file.
39890 * sysdeps/wordsize-64/scandirat.c: New file.
39891 * sysdeps/wordsize-64/scandirat64.c: New file.
39892 * dirent/opendir.c: Define opendirat.
39893 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39894 using scandirat.
39895 * dirent/scandir64.c: Adjust for scandir.c change.
39896 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39897 __scandirat64, and __scandir_cancel_handler.
39898 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39899 additional parameter and use openat instead of open (outside of ld.so).
39900 Add new __opendir as wrapper around __opendirat.
39901 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39902 here without requiring old scandirat implementation.
39903
879165f2
UD
399042011-08-08 Ulrich Drepper <drepper@gmail.com>
39905
39906 * dirent/scandir.c (cancel_handler): Renamed to
39907 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39908 defined. Adjust users.
39909 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39910 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39911
cb7e923b
UD
399122011-08-04 Ulrich Drepper <drepper@gmail.com>
39913
16292edd
UD
39914 * string/test-string.h (IMPL): Use __STRING to expand name and then
39915 stringify it.
39916
cb7e923b
UD
39917 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39918 of cleanups.
39919
cff82933
LD
399202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39921
39922 * string/Makefile: Update.
39923 (strop-tests): Append strncat.
39924 * string/test-wcscmp.c: New file.
39925 New comprehensive test for wcscmp.
39926 * string/test-strcmp.c: Update.
39927 (WIDE): New define.
39928
9be9bfcc
AS
399292011-07-22 Andreas Schwab <schwab@redhat.com>
39930
39931 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39932 line.
39933
2e96f1c7
AS
399342011-07-26 Andreas Schwab <schwab@redhat.com>
39935
39936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39937 encoding to ACE if AI_IDN.
39938
85188888
JJ
399392011-08-01 Jakub Jelinek <jakub@redhat.com>
39940
39941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39942 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39943
5fa16e9b
LD
399442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39945
39946 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39947 Fix overflow bug in strncat.
39948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39949
39950 * string/test-strncat.c: Update.
39951 Add new tests for checking overflow bugs.
39952
399532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39954
39955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39956 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39957 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39958 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39960 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39961 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39962 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39963 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39964
39965 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39966 (USE_AS_STRCAT): Define.
39967 Add strcat and strncat support.
39968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39969
8c1a459f
AS
399702011-07-25 Andreas Schwab <schwab@redhat.com>
39971
39972 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39973 __n bigger than INT_MAX+1.
39974 (__strncmp_g): Likewise.
39975
bba33c28
UD
399762011-07-23 Ulrich Drepper <drepper@gmail.com>
39977
798be72d
UD
39978 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39979 * libio/stido.h: Likewise.
39980
8accd4dc
UD
39981 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39982 (AF_NFC): Define.
39983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39984 (AF_NFC): Define.
39985
cbff0d96
UD
39986 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39988 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39989 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39990 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39991
9191c04a
UD
39992 [BZ #13021]
39993 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39994 installed.
39995
bba33c28
UD
39996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39997 typo.
39998 (_dl_x86_64_save_sse): Likewise.
39999
90f139dd
UD
400002011-07-22 Ulrich Drepper <drepper@gmail.com>
40001
1aae088a
UD
40002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40003 OSXSAVE.
40004 (_dl_x86_64_save_sse): Likewise.
40005
8e2045f5
UD
40006 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40007
90f139dd
UD
40008 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40009
1d002f25
AS
400102011-07-21 Andreas Schwab <schwab@redhat.com>
40011
40012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40013 change.
40014 (_dl_x86_64_save_sse): Use correct AVX check.
40015
21137f89
UD
400162011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40017
40018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40019 bug in strncpy/strncat.
40020 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40021
a65c0b7a
UD
400222011-07-21 Ulrich Drepper <drepper@gmail.com>
40023
40024 * string/tester.c (test_strcat): Add tests for different alignments
40025 of source and destination.
40026 (test_strncat): Likewise.
40027
6986b98a
UD
400282011-07-20 Ulrich Drepper <drepper@gmail.com>
40029
90bb2039
UD
40030 [BZ #12852]
40031 * posix/glob.c (glob): Check passed in values before using them in
40032 expressions to avoid some overflows.
40033 (glob_in_dir): Likewise.
40034
5644ef54
UD
40035 [BZ #13007]
40036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40037 check for AVX enablement so that we don't crash with old kernels and
40038 new hardware.
40039 * elf/tst-audit4.c: Add same checks here.
40040 * elf/tst-audit6.c: Likewise.
40041
40042 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40043
bfc9dc9b
AS
400442011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40045
40046 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40047
702e64bb
UD
400482011-07-20 Ulrich Drepper <drepper@gmail.com>
40049
40050 * po/cs.po: Update from translation team.
40051 * po/bg.po: Likewise.
40052
295e904f
MP
400532011-07-12 Marek Polacek <mpolacek@redhat.com>
40054
40055 * misc/sys/cdefs.h: Add support for const attribute.
40056 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40057 to gnu_dev_{major,minor,makedev} functions.
40058
3ff94596
MP
400592011-07-20 Marek Polacek <mpolacek@redhat.com>
40060
40061 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40062
28b59fca
AS
400632011-07-20 Andreas Schwab <schwab@redhat.com>
40064
40065 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40066 strlen results.
40067
19df733e
AK
400682011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40069
40070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40071 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40072 register in order to avoid conflicts with the soft frame pointer
40073 being held in r11 when necessary.
40074 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40075 (INTERNAL_VSYSCALL_NCS): Likewise.
40076
c8835729
MP
400772011-07-14 Marek Polacek <mpolacek@redhat.com>
40078
40079 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40080 * elf/dl-fini.c (_dl_fini): Adjust caller.
40081 * elf/dl-close.c (_dl_close_worker): Likewise.
40082 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40083
b902330c
MP
400842011-07-15 Marek Polacek <mpolacek@redhat.com>
40085
8991e135
MP
40086 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40087 "aux_cache->nlibs < 0".
40088
b902330c
MP
40089 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40090 in the reload-count case.
40091
99710781
LD
400922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40093
40094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40095 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40096 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40097 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40098 * sysdeps/x86_64/multiarch/strcat.S: New file.
40099 * sysdeps/x86_64/multiarch/strncat.S: New file.
40100 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40101 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40102 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40103 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40105 (USE_AS_STRCAT): Define.
40106 Add strcat and strncat support.
40107 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40108 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40109 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40110 * string/strncat.c: Update.
40111 (USE_AS_STRNCAT): Define.
40112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40113 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40114 and i7.
40115 * sysdeps/x86_64/multiarch/init-arch.h
40116 (bit_Prefer_PMINUB_for_stringop): New.
40117 (index_Prefer_PMINUB_for_stringop): Likewise.
40118 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40119 bit_Prefer_PMINUB_for_stringop.
40120
7dc6bd90
UD
401212011-07-19 Ulrich Drepper <drepper@gmail.com>
40122
40123 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40124 buffer64.
40125 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40126 of casting of buffer.
40127 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40128 buffer32 and buffer64.
40129 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40130 writes instead of casting of buffer.
40131 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40132 buffer32.
40133 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40134 casting of buffer.
40135
e0e72284
AS
401362011-07-19 Andreas Schwab <schwab@redhat.com>
40137
40138 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40139
feb1eb0b
UD
401402011-07-19 Ulrich Drepper <drepper@gmail.com>
40141
40142 * nscd/nscd.c (termination_handler): Don't do anything for a database
40143 if it has not yet been initialized.
40144
298711ff
UD
401452011-07-18 Ulrich Drepper <drepper@gmail.com>
40146
40147 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40148
401492011-07-15 Marek Polacek <mpolacek@redhat.com>
40150
40151 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40152
f9d68389
UD
401532011-07-18 Ulrich Drepper <drepper@gmail.com>
40154
40155 * po/nl.po: Update from translation team.
40156 * po/sv.po: Likewise.
40157
db290cf5
RM
401582011-07-16 Roland McGrath <roland@hack.frob.com>
40159
40160 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40161 now disallowed by GCC.
5c550700 40162
fd5e21c7
RM
40163 * configure.in (use-default-link): Default to yes if a test -shared
40164 link meets our qualifications.
40165 * configure: Regenerated.
40166
5c550700
RM
40167 * config.make.in (output-format): New variable.
40168 * configure.in: Check for ld --print-output-format support.
40169 * configure: Regenerated.
40170 * Makerules ($(common-objpfx)format.lds)
40171 [$(output-format) != unknown]: Just use $(output-format),
40172 instead of the linker-script munging.
40173
9fa2c032
RM
401742011-07-14 Roland McGrath <roland@hack.frob.com>
40175
a6928d51
RM
40176 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40177 of $(common-objpfx)shlib.lds.
40178 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40179
661607b3
RM
40180 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40181 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40182
9fa2c032
RM
40183 * configure.in (-z relro check): Adjust test code to add a large
40184 writable data section after it.
40185 * configure: Regenerated.
40186
defe9061
RM
401872011-07-11 Roland McGrath <roland@hack.frob.com>
40188
40189 * configure.in (-z relro check): Fix test code to make the variable
40190 truly const.
40191 * configure: Regenerated.
40192
319b9ad4
UD
401932011-07-11 Ulrich Drepper <drepper@gmail.com>
40194
40195 * nscd/nscd.h (struct traced_file): Define.
40196 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40197 elements. Add traced_files.
40198 (inotify_fd): Declare.
40199 (register_traced_file): Declare.
40200 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40201 (inotify_fd): Export.
40202 (resolv_conf_descr): Remove.
40203 (nscd_init): Move inotify descriptor creation to main.
40204 Don't register files for notification here.
40205 (register_traced_file): New function.
40206 (invalidate_cache): Don't use reset_res to determine whether to call
40207 res_init, go through the list of registered files.
40208 (main_loop_poll): The inotify descriptors are now stored in the
40209 structures for the traced files.
40210 (main_loop_epoll): Likewise
40211 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40212 to __nss_disable_nscd.
40213 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40214 for a database anymore. Check the records for all the registered
40215 files instead.
40216 * nss/Makefile (libnss_files-routines): Add files-init.
40217 (libnss_db-routines): Add db-init.
40218 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40219 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40220 * nss/nss_db/db-init.c: New file.
40221 * nss/nss_files/files-init.c: New file.
40222 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40223 __nss_lookup_function.
40224 (__nss_lookup_function): Call nss_load_library.
40225 (nss_load_all_libraries): New function.
40226 (__nss_disable_nscd): Take parameter with callback function for files
40227 to register. Set is_nscd. Load all the DSOs for the NSS modules
40228 used for the cached services.
40229 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40230 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40231 options for features to all the files in nscd.
40232
40233 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40234
23bee3e8
RM
402352011-07-10 Roland McGrath <roland@hack.frob.com>
40236
40237 * csu/elf-init.c (__libc_csu_init): Comment typo.
40238
46a5b7f0
UD
402392011-07-09 Ulrich Drepper <drepper@gmail.com>
40240
40241 * po/pl.po: Update from translation team.
40242 * po/ja.po: Likewise.
40243 * po/ru.po: Likewise.
40244 * po/ko.po: Likewise.
40245 * po/fr.po: Likewise.
40246
d30cf5bb
RM
402472011-07-09 Roland McGrath <roland@hack.frob.com>
40248
113ddea4
RM
40249 * configure.in (.ctors/.dtors header and trailer check):
40250 Use an empirical test on a built program.
40251 * configure: Regenerated.
40252
574920b4
RM
40253 * configure.in (-z relro check): Use an empirical test on a built DSO.
40254 Detect, but do not require, on ia64.
40255 * configure: Regenerated.
40256
d30cf5bb
RM
40257 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40258 Update tests that use readelf to use $READELF instead.
40259 * configure: Regenerated.
40260
8538fdb3
UD
402612011-07-08 Ulrich Drepper <drepper@gmail.com>
40262
40263 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40264 if the result is not used.
40265
04d08991
AJ
402662011-07-05 Andreas Jaeger <aj@suse.de>
40267
40268 [BZ#9696]
40269 * stdlib/tst-strtod.c: Add testcase.
40270
de283087
AD
402712011-07-07 Ulrich Drepper <drepper@gmail.com>
40272
4e5f31c8 40273 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40274 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40275 The latter has a higher limit. Take additional parameter to pass to
40276 the new function.
40277 (__pathconf): Pass file to __statfs_link_max.
40278 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40279 __statfs_link_max.
40280 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40281 __statfs_link_max.
40282
de283087
AD
40283 [BZ #12868]
40284 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40285 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40286 Handle Lustre.
40287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40288 (__statfs_filesize_max): Likewise.
40289 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40290
c75fa153
AJ
402912011-07-05 Andreas Jaeger <aj@suse.de>
40292
40293 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40294
1a544854
UD
402952011-07-06 Marek Polacek <mpolacek@redhat.com>
40296
40297 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40298 `status' variable.
40299 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40300 Likewise.
40301
6f0eec67
UD
403022011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40303
40304 * Makefile (strop-tests): Add strncat.
40305 * string/test-strncat.c: New file.
40306
aae30307
UD
403072011-06-30 Marek Polacek <mpolacek@redhat.com>
40308
40309 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40310
c0cfb5eb
UD
403112011-06-21 Andreas Jaeger <aj@suse.de>
40312
40313 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40314 Copy rule from iconvdata/Makefile.
40315
01636b21
UD
403162011-07-06 Ulrich Drepper <drepper@gmail.com>
40317
40318 [BZ #12922]
40319 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40320 but no long options are defined, just return 'W'.
40321
9895c8bc
UD
403222011-06-22 Marek Polacek <mpolacek@redhat.com>
40323
40324 [BZ #9696]
40325 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40326
5d4cf042
UD
403272011-07-06 Ulrich Drepper <drepper@gmail.com>
40328
40329 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40330 netgroups to read.
960e5535 40331 (innetgr): Likewise.
5d4cf042 40332
751eb97e
RM
403332011-07-05 Roland McGrath <roland@hack.frob.com>
40334
40335 * config.make.in (install_root): Default to $(DESTDIR).
40336
f15f1e45
UD
403372011-07-05 Ulrich Drepper <drepper@gmail.com>
40338
40339 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40340
4e34ac6a
RM
403412011-07-02 Roland McGrath <roland@hack.frob.com>
40342
5e9b6af4
RM
40343 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40344
84f9ea0f
RM
40345 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40346 containing directory rather than embedding absolute directory names.
40347
ea5ee9f7
RM
40348 * scripts/check-local-headers.sh: Rewritten using awk.
40349 Match by word, not by line. Print error messages for matches.
40350 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40351
1b74661a
RM
40352 * Makerules [shlib-lds-flags empty]:
40353 ($(common-objpfx)libc_pic.opts): New target.
40354 ($(common-objpfx)libc_pic.os.clean): New target.
40355 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40356
40357 * config.make.in (OBJCOPY): New variable.
40358 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40359 * configure: Regenerated.
40360
f781ef40
RM
40361 * config.make.in (use-default-link): New variable.
40362 * configure.in (use_default_link): Grok --with-default-link to set it.
40363 * configure: Regenerated.
40364 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40365 (shlib-lds, shlib-lds-flags): Define to empty.
40366
2d4fa81e
RM
40367 * Makerules (shlib-lds): New variable.
40368 (shlib-lds-flags): New variable.
40369 (build-shlib, build-moduile, build-module-asneeded): Use it.
40370 ($(common-objpfx)libc.so): Use $(shlib-lds).
40371 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40372 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40373
31fffa6b
RM
40374 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40375 DT_FLAGS/DT_FLAGS_1 with zero flags.
40376
4e34ac6a
RM
40377 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40378 linker script munging.
40379
fcfc776b
UD
403802011-07-02 Ulrich Drepper <drepper@gmail.com>
40381
40382 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40383 as 128-bit value.
40384 * crypt/sha512.c (sha512_process_block): Perform total addition using
40385 128-bit if possible.
40386 (__sha512_finish_ctx): Likewise.
40387 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40388 as 64-bit value.
40389 * crypt/sha256.c (SWAP64): Define.
40390 (sha256_process_block): Perform total addition using 64-bit if
40391 possible.
40392 (__sha256_finish_ctx): Likewise.
40393
99231d9a
UD
403942011-07-01 Ulrich Drepper <drepper@gmail.com>
40395
40396 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40398 * nscd/hstcache.c (cache_addhst): Likewise.
40399 * nscd/grpcache.c (cache_addgr): Likewise.
40400 * nscd/aicache.c (addhstaiX): Likewise
40401 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40402
445b4a53
TK
404032011-07-01 Thorsten Kukuk <kukuk@suse.de>
40404
40405 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40407 * nscd/hstcache.c (cache_addhst): Likewise.
40408 * nscd/grpcache.c (cache_addgr): Likewise.
40409 * nscd/aicache.c (addhstaiX): Likewise
40410
6d4d8e8e
AS
404112011-07-01 Andreas Schwab <schwab@redhat.com>
40412
40413 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40414 domain only when needed.
40415
89f654c5
AS
404162011-06-30 Andreas Schwab <schwab@redhat.com>
40417
40418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40419 is always restored.
40420
cf3b23ff
UD
404212011-06-29 Ulrich Drepper <drepper@gmail.com>
40422
40423 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40424 are re-adding the entry.
40425 * nscd/servicescache.c (cache_addserv): Likewise.
40426
751626f9
AJ
404272011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40428
40429 * sysdeps/generic/dl-irel.h: fix protection against multiple
40430 inclusions.
40431 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40432
9113ea1f
UD
404332011-06-28 Ulrich Drepper <drepper@gmail.com>
40434
5c0b8d90
UD
40435 [BZ #12935]
40436 * malloc/memusage.sh: Fix quoting in message.
40437 * debug/xtrace.sh: Likewise.
40438
9113ea1f
UD
40439 * configure.in: Remove support for --experimental-malloc option, make
40440 it the default.
40441 * config.make.in: Likewise.
40442 * malloc/Makefile: Likewise.
40443
a4172181
AS
404442011-06-27 Andreas Schwab <schwab@redhat.com>
40445
40446 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40447 two-byte characters.
40448
78a7eee7
RM
404492011-06-27 Roland McGrath <roland@hack.frob.com>
40450
62bede13
RM
40451 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40452 AC_CACHE_CHECK invocation.
40453 * configure: Regenerated.
40454
78a7eee7
RM
40455 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40456
5ce33a62
UD
404572011-06-27 Ulrich Drepper <drepper@gmail.com>
40458
034807a9
UD
40459 [BZ #12350]
40460 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40461 bit from old_res_options.
40462
4902da17
UD
40463 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40464
5ce33a62
UD
40465 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40466 value type for setfct.
40467
c2344f56
L
404682011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40469
40470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40471 __gettimeofday instead of gettimeofday.
40472
68468076
UD
404732011-06-26 Ulrich Drepper <drepper@gmail.com>
40474
40475 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40476
acb0d739
L
404772011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40478
40479 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40480
40481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40482 info.
40483
8912479f
L
404842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40485
40486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40487 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40488 strcpy-sse2-unaligned strncpy-sse2-unaligned
40489 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40490 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40491 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40492 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40493 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40496 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40497 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40498 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40499 (STRCPY): Support SSE2 and SSSE3 versions.
40500
d5495a11
UD
405012011-06-24 Ulrich Drepper <drepper@gmail.com>
40502
40503 [BZ #12874]
40504 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40505 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40506 kernels which artificially limit size of requests.
40507
0b1cbaae
L
405082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40509
40510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40511 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40512 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40513 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40514 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40515 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40516 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40517 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40518 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40520 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40521 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40522 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40523 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40524 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40526 Enable unaligned load optimization for Intel Core i3, i5 and i7
40527 processors.
40528 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40529 Define.
40530 (index_Fast_Unaligned_Load): Define.
40531 (HAS_FAST_UNALIGNED_LOAD): Define.
40532
07f494a0
MP
405332011-06-23 Marek Polacek <mpolacek@redhat.com>
40534
40535 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40536
fa3fc0fe
UD
405372011-06-22 Ulrich Drepper <drepper@gmail.com>
40538
40539 [BZ #12907]
40540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40541 until it is clear that the information is realy needed.
40542 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40543
e12df166
AS
405442011-06-22 Andreas Schwab <schwab@redhat.com>
40545
40546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40547
852eb34d
UD
405482011-06-22 Ulrich Drepper <drepper@gmail.com>
40549
84e2a551
UD
40550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40551 /sys/devices/system/cpu/online if it is usable.
40552
852eb34d
UD
40553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40554 reading the information from the /proc filesystem to once a second.
40555
6e502e19
UD
405562011-06-21 Andreas Jaeger <aj@suse.de>
40557
40558 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40559 NULL after inclusion of kernel headers.
40560
75d39ff2
UD
405612011-06-21 Ulrich Drepper <drepper@gmail.com>
40562
51f9aa6a
UD
40563 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40564 calls to internal_setent.
40565
c0244a9d
UD
40566 [BZ #12885]
40567 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40568 addresses using gethostbyname4_r ignore IPv4 addresses.
40569
c5e3c2ae
UD
40570 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40571 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40572
75d39ff2
UD
40573 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40574
42675c6f
DM
405752011-06-20 David S. Miller <davem@davemloft.net>
40576
40577 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40578 inclusions.
40579 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40580
40581 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40582 (elf_irel): Use it.
40583 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40584 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40585 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40586 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40587 * sysdeps/x86_64/dl-irel.h: Likewise.
40588
40589 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40590 * elf/dl-sym.c: Likewise.
40591
57912a71
UD
405922011-06-15 Ulrich Drepper <drepper@gmail.com>
40593
40594 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40595 need to dereference resplen2.
40596
ee22793d
AS
405972011-06-14 Andreas Schwab <schwab@redhat.com>
40598
40599 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40600
a9e836b0
UD
406012011-06-15 Ulrich Drepper <drepper@gmail.com>
40602
77fb9117
UD
40603 * Makeconfig: Define vardbdir and inst_vardbdir.
40604 * nss/Makefile: Add rules to install db-Makefile.
40605
40c1b22c
UD
40606 * nss/nss_db/db-XXX.c: Cleanup.
40607
9f2da732
UD
40608 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40609 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40610 GLIBC_PRIVATE.
40611 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40612 * nss/makedb.c: Implement -g option to specify that value strings
40613 are generated and should not be added to table iterated over for
40614 get*ent calls.
40615 * nss/nss_db/db-initgroups.c: New file.
40616
82e9a1f7
UD
40617 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40618 interface.
40619
c41af17e
UD
40620 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40621 (internal_getgrouplist): Adjust to name change.
40622 Update use_initgroups_entry if this is not the first call.
40623 * nss/databases.def: Add initgroups entry.
40624
a9e836b0
UD
40625 * nss/makedb.c (compute_tables): Check result of multiple hash table
40626 sizes to minimize maximum chain length.
40627
2666d441
UD
406282011-06-14 Ulrich Drepper <drepper@gmail.com>
40629
40630 * Versions.def: Add entry for libnss_db.
40631 * shlib-versions: Likewise.
40632 * nss/Makefile: Add rules to build libnss_db.
40633 * nss/Versions: Add libnss_db information. Organize libnss_files
40634 entries better.
40635 * nss/db-Makefile: Add gshadow support. Change rules for the new
40636 makedb progra. Some minor improvements to generate smaller files.
40637 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40638 here from...
40639 * nss/makedb.c: ...here.
40640 Improve database format to be smaller and require less memory at
40641 runtime.
40642 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40643 db anymore.
40644 * nss/nss_db/db-netgrp.c: Likewise.
40645 * nss/nss_db/db-open.c: Likewise.
40646 * nss/nss_files/flies-XXX.x: Adjust comments.
40647 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40648 * nss/nss_files/files-grp.c: Likewise.
40649 * nss/nss_files/files-hosts.c: Likewise.
40650 * nss/nss_files/files-network.c: Likewise.
40651 * nss/nss_files/files-proto.c: Likewise.
40652 * nss/nss_files/files-pwd.c: Likewise.
40653 * nss/nss_files/files-rpc.c: Likewise.
40654 * nss/nss_files/files-service.c: Likewise.
40655 * nss/nss_files/files-sgrp.c: Likewise.
40656 * nss/nss_files/files-spwd.c: Likewise.
40657 * nss/nss_db/db-alias.c: Removed.
40658 * nss/nss_db/dummy-db.h: Removed.
40659
9ee76b5a
UD
406602011-06-02 Ulrich Drepper <drepper@gmail.com>
40661
40662 * nss/makedb.c: Rewritten to not use database library.
40663 * nss/Makefile: Update to build new makedb program.
40664
c71ca1f8
AJ
406652011-06-14 Andreas Jaeger <aj@suse.de>
40666
40667 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40668 memset declaration.
40669
3154bfb8
UD
406702011-06-10 Andreas Schwab <schwab@redhat.com>
40671
40672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40673 tmpbuf.
40674
b350afab
RM
406752011-06-10 Roland McGrath <roland@hack.frob.com>
40676
decd4e50
RM
40677 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40678 * elf/Makefile ($(objpfx)ld.so): Likewise.
40679
5615eaf2
RM
40680 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40681 Don't list ld.so twice in dependencies.
40682
40683 * posix/bug-regex31.c: Include <stdlib.h>.
40684
40685 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40686
40687 * nis/nss_compat/compat-spwd.c
40688 (getspent_next_nss_netgr): Remove unused variable.
40689 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40690
40691 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40692 nonmembers" output to use the right array.
40693
40694 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40695
40696 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40697
40698 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40699 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40700 * catgets/gencat.c (read_input_file): Likewise.
40701 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40702
40703 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40704 variable definition inside #if's controlling its use.
40705
40706 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40707
40708 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40709
40710 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40711
40712 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40713 unreachable code.
40714
40715 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40716
b68e08db
RM
40717 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40718 * configure: Regenerated.
40719
b350afab
RM
40720 * Makerules: Revert last change.
40721 * elf/Makefile: Likewise.
40722
28368601
RM
407232011-06-09 Roland McGrath <roland@hack.frob.com>
40724
40725 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40726 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40727 (reloc-link): Likewise.
40728
11988f8f
UD
407292011-06-09 Ulrich Drepper <drepper@gmail.com>
40730
40731 * elf/Makefile: Add rules to build pldd.
40732 * elf/pldd.c: New file.
40733 * elf/pldd-xx.c: New file.
40734
e80fab37
UD
407352011-06-07 Ulrich Drepper <drepper@gmail.com>
40736
40737 * version.h: Update for 2.15 development version.
40738
9b849836
DM
407392011-06-07 David S. Miller <davem@davemloft.net>
40740
40741 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40742 ifuncs.
40743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40744 elf_machine_lazy_rel): Likewise.
40745 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40747 elf_machine_lazy_rel): Likewise.
40748 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40749 dl_hwcap via passed in argument.
40750 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40751 Likewise.
40752
5a31b283
AK
407532011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40754
40755 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40756
069e52f8
RM
407572011-06-06 Roland McGrath <roland@hack.frob.com>
40758
40759 [BZ #12849]
40760 * manual/fdl-1.1.texi: New file, verbatim from:
40761 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40762 * manual/lgpl-2.1.texi: New file, verbatim from:
40763 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40764 * manual/Makefile (licenses): New variable, list those new file names.
40765 (texis): Use it.
40766 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40767
40768 * manual/fdl.texi: File removed.
40769 * manual/lesser.texi: File removed.
40770 * manual/libc.texinfo (Copying, Documentation License):
40771 Use new @include file names, put @appendix directive before @include.
40772
f16846a5
JJ
407732011-06-04 Jakub Jelinek <jakub@redhat.com>
40774
40775 [BZ #12841]
40776 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40777 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40778 (mq_open): Add __NTH.
40779
3d29045b
L
407802011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40781
40782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40783 Assume Intel Core i3/i5/i7 processor if AVX is available.
40784
8c297311
UD
407852011-05-31 Ulrich Drepper <drepper@gmail.com>
40786
40787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40788 typo.
40789
c8fc0c91
UD
407902011-05-31 Andreas Schwab <schwab@redhat.com>
40791
40792 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40793 memory. Use alloca_account. Fix memory leak when retrying.
40794
5b27a807
UD
407952011-05-31 Ulrich Drepper <drepper@gmail.com>
40796
356f8bc6
UD
40797 * version.h (RELEASE): Bump for 2.14 release.
40798 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40799
5b27a807
UD
40800 * config.make.in (RANLIB): Remove entry.
40801
01f16ab0
UD
408022011-05-30 Ulrich Drepper <drepper@gmail.com>
40803
41fce8bd
UD
40804 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40805 (libc.pot): Work around missing support for .ksh extension in xgettext.
40806
4769ae77
UD
40807 [BZ #12684]
40808 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40809 if both request failed.
40810 (send_dg): In case of server errors clear resplen or *resplen2.
40811
6b1e7d19
UD
40812 [BZ #12454]
40813 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40814 when there are multiple maps.
40815 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40816 (_dl_fini): Remove test here.
40817
01f16ab0
UD
40818 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40819
b1ebd700
UD
408202011-05-29 Ulrich Drepper <drepper@gmail.com>
40821
7ae22829
UD
40822 [BZ #12350]
40823 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40824 bit from old_res_options.
40825 (gaih_inet): Likewise.
40826
553149f6 40827 [BZ #11099]
18a84741 40828 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40829 as signed.
40830
652ffab1
UD
40831 * resolv/res_init.c (res_setoptions): Make the code more compact.
40832
16985fd0
UD
40833 [BZ #11558]
40834 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40835 set RES_USEVC.
40836
0464f746
UD
40837 [BZ #11634]
40838 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40839
7d17596c
UD
40840 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40841
cf6bbbd7
UD
40842 [BZ #11781]
40843 * malloc/malloc.h: Declare malloc hook variables as volatile.
40844
13f1ab36
UD
40845 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40846 in last patch.
40847
b1ebd700
UD
40848 [BZ #11799]
40849 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40850 raise in the comment.
80e2212d
UD
40851 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40853 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40854
ce67228d
UD
408552011-05-28 Ulrich Drepper <drepper@gmail.com>
40856
8887a920
UD
40857 [BZ #12811]
40858 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40859 grow the buffers more if it already has to be sufficient.
40860 (build_wcs_upper_buffer): Likewise.
40861 * posix/regexec.c (check_matching): Likewise.
40862 (clean_state_log_if_needed): Likewise.
40863 (extend_buffers): Don't enlarge buffers beyond size of the input
40864 buffer.
40865 Patches mostly by Emil Wojak <emil@wojak.eu>.
40866 * posix/bug-regex32.c: New file.
40867 * posix/Makefile (tests): Add bug-regex32.
40868
4f031072
UD
40869 * locale/findlocale.c (_nl_find_locale): Return right away if
40870 _nl_explode_name failed.
40871 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40872
d0478f0c
UD
40873 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40874
de81b246
UD
40875 * debug/xtrace.sh: Unify messages.
40876 * malloc/memusage.sh: Likewise.
40877
c738465a
UD
40878 [BZ #12813]
40879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40880 time symbol from vDSO. Substitute with vsyscall if not available.
40881 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40882 __vdso_time.
40883
f1f929d7
UD
40884 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40885 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40886 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40887 Add sendmmsg and internal_sendmmsg.
40888 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40889 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40890 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40891
ce67228d
UD
40892 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40893 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40895
e57420c6
UD
408962011-05-27 Ulrich Drepper <drepper@gmail.com>
40897
a8509ca5
UD
40898 [BZ #12813]
40899 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40900 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40901 available.
40902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40903 __vdso_getcpu.
40904
e57420c6
UD
40905 [BZ #12814]
40906 * iconvdata/Makefile (tests): Add bug-iconv9.
40907 * iconvdata/bug-iconv9.c: New file.
40908
4d07db15
AS
409092011-05-27 Andreas Schwab <schwab@redhat.com>
40910
40911 [BZ #12814]
40912 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40913
ea486f69
JJ
409142011-05-25 Jakub Jelinek <jakub@redhat.com>
40915
40916 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40917 (struct user_regs_struct): Change intcs field back to cs.
40918
6f038433
UD
409192011-05-25 Ulrich Drepper <drepper@gmail.com>
40920
40921 * po/ja.po: Update from translation team.
40922
67f86a25
UD
409232011-05-23 Ulrich Drepper <drepper@gmail.com>
40924
40925 [BZ #12795]
40926 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40927 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40928
def7fbd6
AS
409292011-05-20 Andreas Schwab <schwab@redhat.com>
40930
40931 * stdlib/longlong.h: Update from GCC.
40932
f50ef8f1
AS
409332011-05-23 Andreas Schwab <schwab@redhat.com>
40934
40935 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40936 parameter name.
40937 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40938 Add parameter name.
40939 (__sysconf): Pass it down.
40940
de7ce8f1
UD
409412011-05-22 Ulrich Drepper <drepper@gmail.com>
40942
f2962a71
UD
40943 [BZ #12671]
40944 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40945 some situations.
40946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40947 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40948 add in in __libc_use_alloca calls. Adjust callers.
40949 (glob): Use malloc in some situations.
40950
de7ce8f1
UD
40951 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40952 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40953 pltexit.
40954
aec84f53
UD
409552011-05-21 Ulrich Drepper <drepper@gmail.com>
40956
05bb4a68
UD
40957 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40958 and CLOCK_BOOTTIME_ALARM.
40959
7ea72f99
UD
40960 [BZ #12782]
40961 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40962 is returned.
40963
7e4afad5
UD
40964 * string/_strerror.c (__strerror_r): Print negative errors as signed
40965 numbers.
40966
8e211fec
UD
40967 [BZ #12777]
40968 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40969 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40970 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40971
f7d82dc9
UD
40972 * configure.in: Fix typo in redirection and correct removal of test
40973 files in two cases.
40974
cc9e536d
UD
40975 [BZ #12788]
40976 * locale/setlocale.c (new_composite_name): Fix test to check for
40977 identical name of all categories.
40978
aec84f53
UD
40979 [BZ #12792]
40980 * libio/filedoalloc.c (local_isatty): New function.
40981 (_IO_file_doallocate): Use local_isatty.
40982 * stdio-common/perror.c (perror): In case a new stream is used
40983 forward the stream error.
40984 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40985 error flag.
40986
78e64fdc
RT
409872011-05-20 Ulrich Drepper <drepper@gmail.com>
40988
34a9094f
UD
40989 [BZ #11869]
40990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40991 alloca.
40992 * include/alloca.h (extend_alloca_account): Define.
40993
78e64fdc
RT
40994 [BZ #11857]
40995 * posix/regex.h: Fix comments with documentation of user-accessible
40996 fields after compilation and describe correct free'ing of pattern
40997 after re_compile_pattern.
40998 Patch by Reuben Thomas <rrt@sc3d.org>.
40999
457bddfc
RA
410002011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41001
41002 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41003 and -mno-altivec to prevent the compiler from using Altivec and/or
41004 VSX instructions when the corresponding registers are not available.
41005
a4527b51
AS
410062011-05-19 Andreas Schwab <schwab@redhat.com>
41007
41008 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41009
ed690b2f
UD
410102011-05-19 Ulrich Drepper <drepper@gmail.com>
41011
41012 * libio/freopen.c (freopen): Use __dup2, not dup2.
41013 * libio/freopen64.c (freopen64): Likewise.
41014
8db73634
L
410152011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41016
41017 [BZ #12775]
41018 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41019 * math/Makefile (tests): Add test-powl.
41020 (CFLAGS-test-powl.c): Define.
41021 * math/test-powl.c: New file.
41022
0a197a9d
L
410232011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41024
41025 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41026
ee30c380
UD
410272011-05-17 Ulrich Drepper <drepper@gmail.com>
41028
41029 [BZ #11837]
41030 * iconvdata/gb18030.c: Update to GB18020-2005.
41031
6ce75379
UD
410322011-05-16 Ulrich Drepper <drepper@gmail.com>
41033
a4b89fd8
AR
41034 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41035 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41036 Patch by Aharon Robbins <arnold@skeeve.com>.
41037
ea389b12
UD
41038 [BZ #11892]
41039 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41040 on the stack.
41041
68a3f91f
UD
41042 [BZ #11895]
41043 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41044 through underflows.
41045
15cc7dd1
UD
41046 [BZ #12766]
41047 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41048 point to strings before performing equality test for error_one_per_line
41049 mode.
41050
f3799213
UD
41051 [BZ #11697]
41052 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41053
d79a9c94
UD
41054 [BZ #11820]
41055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41056 (struct user_fpregs_struct): Avoid __uint*_t types.
41057
56e5eb46
UD
41058 [BZ #6420]
41059 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41060 symbol info. Use it instead of calling _dl_addr locally.
41061 (lock_and_info): New function.
41062 (tr_freehook): Call lock_and_info and pass symbol info as additional
41063 parameter to tr_where.
41064 (tr_mallochook): Likewise.
41065 (tr_reallochook): Likewise.
41066 (tr_memalignhook): Likewise.
41067
6ce75379
UD
41068 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41069 used and couldn't be at all thread-safe.
41070
f8a3b5bf
UD
410712011-05-15 Ulrich Drepper <drepper@gmail.com>
41072
94b7cc37
UD
41073 * libio/freopen.c (freopen): Don't close old file descriptor
41074 before the new one is opened. Instead dup the new file descriptor
41075 to the old one after the new stream is created.
41076 * libio/freopen64.c (freopen64): Likewise.
41077 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41078 * libio/fileops.c (_IO_new_file_close_it): Handle new
41079 _IO_FLAGS2_NOCLOSE flag.
41080 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41081 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41082 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41083 _IO_FLAGS2_NOCLOSE flag.
41084 * include/unistd.h: Add hidden_proto for dup3.
41085 Define __have_dup3.
41086 * io/dup3.c: Define hidden symbol.
41087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41088
bd25564e
UD
41089 [BZ #7101]
41090 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41091 when an incomplete long option is used.
41092 * posix/tst-getopt_long1.c: New file.
41093 * posix/Makefile (tests): Add tst-getopt_long1.
41094
c84cfef4
UD
41095 [BZ #10138]
41096 * scripts/config.guess: Update from autoconf-2.68.
41097 * scripts/config.sub: Likewise.
41098
3b85df27
UD
41099 [BZ #10157]
41100 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41101 tests into ...
41102 (has_cpuclock): ...this. New function.
41103 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41104 macro here based on has_cpuclock code.
41105
15a856b1
UD
41106 [BZ #10149]
41107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41108 First byte (not low byte) is now always NUL.
41109 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41110
05f399e6
UD
41111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41112 Use non-cancelable interfaces.
41113
10a52685 41114 [BZ #9809]
94ecc67d
UD
41115 * locale/iso-639.def: Add entry for Sorani.
41116
f8a3b5bf
UD
41117 [BZ #11901]
41118 * include/stdlib.h: Move include protection to the right place.
41119 Define abort_msg_s. Declare __abort_msg with it.
41120 * stdlib/abort.c (__abort_msg): Adjust type.
41121 * assert/assert.c (__assert_fail_base): New function. Majority
41122 of code from __assert_fail. Allocate memory for __abort_msg with
41123 mmap.
41124 (__assert_fail): Now call __assert_fail_base.
41125 * assert/assert-perr.c: Remove bulk of implementation. Use
41126 __assert_fail_base.
41127 * include/assert.hL Declare __assert_fail_base.
41128 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41129 mmap.
41130 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41131
1af4e298
UD
411322011-05-14 Ulrich Drepper <drepper@gmail.com>
41133
f8a3b5bf 41134 [BZ #11952]
d26dfc60
MG
41135 [BZ #12453]
41136 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41137 until all modules are registered in the DTV.
41138 * elf/Makefile: Add rules to build and run tst-tls19.
41139 * elf/tst-tls19.c: New file.
41140 * elf/tst-tls19mod1.c: New file.
41141 * elf/tst-tls19mod2.c: New file.
41142 * elf/tst-tls19mod3.c: New file.
41143 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41144
2fc54d6f
UD
41145 [BZ #12083]
41146 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41147 correctly.
41148
98d76b46
UD
41149 [BZ #12601]
41150 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41151 two-byte sequence errors.
41152 * iconvdata/Makefile (tests): Add bug-iconv8.
41153 * iconvdata/bug-iconv8.c: New file.
41154
da3c19ef
UD
41155 [BZ #12626]
41156 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41157 buf2 definition.
41158
ca408c15
UD
41159 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41160
d6f67f7d
UD
41161 [BZ #12432]
41162 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41163 (dummy_getcfa): New function.
41164 (init): Get _Unwind_GetCFA address, use dummy if not found.
41165 (backtrace_helper): In recursion check, also check whether CFA changes.
41166 (__backtrace): Completely initialize arg.
41167
1af4e298 41168 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41169 storing incomplete byte sequence in state object. Avoid testing for
41170 guaranteed too small input if we know there is enough data available.
1af4e298 41171
da62f81b
AS
411722011-05-11 Andreas Schwab <schwab@redhat.com>
41173
41174 * Makeconfig (+link-pie): Indent.
41175 * Rules (binaries-pie): Define if $(have-fpie) and
41176 $(build-shared).
41177 (binaries-shared): Also filter out $(binaries-pie).
41178 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41179 * nscd/Makefile (others-pie): Add nscd.
41180 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41181 ($(objpfx)nscd): Remove command override.
41182 * login/Makefile (others-pie): Add pt_chown.
41183 ($(objpfx)pt_chown): Remove command override.
41184 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41185 remove command overrides.
41186
fcabc0f8
UD
411872011-05-13 Ulrich Drepper <drepper@gmail.com>
41188
20030ae6
UD
41189 * libio/tst_putwc.c: Fix error messages.
41190
fcabc0f8
UD
41191 [BZ #12724]
41192 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41193 currently writing and seek to current position when not.
41194 * libio/Makefile (tests): Add bug-fclose1.
41195 * libio/bug-fclose1.c: New file.
41196
320a5dc0
PB
411972011-05-12 Ulrich Drepper <drepper@gmail.com>
41198
41199 [BZ #12511]
41200 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41201 don't set DF_1_NODELETE here.
41202 (do_lookup_x): When entering new entry test for copy relocation
41203 and if necessary set DF_1_NODELETE flag.
41204 * elf/tst-unique4.cc: New file.
41205 * elf/tst-unique4.h: New file.
41206 * elf/tst-unique4lib.cc: New file.
41207 * elf/Makefile: Add rules to build and run tst-unique4.
41208 Patch by Piotr Bury <pbury@goahead.com>.
41209
22836f52
UD
412102011-05-11 Ulrich Drepper <drepper@gmail.com>
41211
f574184a
UD
41212 [BZ #12052]
41213 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41214
e1fb097f
UD
41215 [BZ #12625]
41216 * misc/mntent_r.c (addmntent): Flush the stream after the output
41217
22836f52
UD
41218 [BZ #12393]
41219 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41220 (is_trusted_path_normalize): Skip initial colon. Append slash
41221 to empty buffer. Duplicate is_trusted_path code but allow
41222 constructed patch to be prefix.
41223 (is_dst): Allow $ORIGIN followed by /.
41224 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41225 Correct testing of result of is_trusted_path_normalize
41226 (decompose_rpath): Fix warning.
41227
7b3b0b2a
UD
412282011-05-10 Ulrich Drepper <drepper@gmail.com>
41229
41230 [BZ #11257]
41231 * grp/initgroups.c (internal_getgrouplist): When we found the service
41232 list through the initgroups entry in nsswitch.conf do not always
41233 continue on a successful lookup. Don't always use the
eac80ce2 41234 __nss_group_database value if it is set.
7b3b0b2a
UD
41235 * nss/nsswitch.conf (initgroups): Change action for successful db
41236 lookup to continue for compatibility.
41237
2a81eaa5
UD
412382011-05-09 Ulrich Drepper <drepper@gmail.com>
41239
be97a69e
UD
41240 [BZ #11532]
41241 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41242 and CP774 modules.
41243 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41244 and CP774 modules.
41245 * iconvdata/tst-tables.sh: Likewise.
41246 * iconvdata/cp770.c: New file.
41247 * iconvdata/cp771.c: New file.
41248 * iconvdata/cp772.c: New file.
41249 * iconvdata/cp773.c: New file.
41250 * iconvdata/cp774.c: New file.
41251 * iconvdata/testdata/CP770: New file.
41252 * iconvdata/testdata/CP770..UTF8: New file.
41253 * iconvdata/testdata/CP771: New file.
41254 * iconvdata/testdata/CP771..UTF8: New file.
41255 * iconvdata/testdata/CP772: New file.
41256 * iconvdata/testdata/CP772..UTF8: New file.
41257 * iconvdata/testdata/CP773: New file.
41258 * iconvdata/testdata/CP773..UTF8: New file.
41259 * iconvdata/testdata/CP774: New file.
41260 * iconvdata/testdata/CP774..UTF8: New file.
41261
41262 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41263 END CHARMAP line.
41264 * iconvdata/gen-8bit-gap.sh: Likewise.
41265 * iconvdata/gen-8bit.sh: Likewise.
41266
c1e9e399
UD
41267 * locale/iso-639.def: Add ary entry.
41268
24c55fb3 41269 [BZ #11258]
96b4b1b0
UD
41270 * locale/C-translit.h.in: Add U20A1 transliteration.
41271
bdc2f971
KB
41272 [BZ #12178]
41273 * locale/iso-639.def: Add wae entry.
41274 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41275
2952b117
UD
41276 [BZ #12545]
41277 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41278 for n.
41279
2a81eaa5
UD
41280 [BZ #12711]
41281 * locale/C-translit.h.in: Add entry for U20B9.
41282 Patch by pravin.d.s@gmail.com.
41283
28377d1b
UD
412842011-05-08 Ulrich Drepper <drepper@gmail.com>
41285
7fb90fb8
UD
41286 [BZ #12713]
41287 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41288 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41289 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41290 in rtld. Use *stat64.
7fb90fb8 41291 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41292 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41293 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41294 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41295 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41296 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41297 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41298 __fstatat64 macros.
7fb90fb8
UD
41299 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41300 * dirent/rewinddir.c: Add libc_hidden_def.
41301 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41302 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41303
28377d1b
UD
41304 * include/dirent.h (__alloc_dir): Add flags parameter.
41305 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41306 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41307 __alloc_dir.
41308 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41309 from fdopendir if O_CLOEXEC is already set.
41310
66bdbaa4
AM
413112011-03-15 Alan Modra <amodra@gmail.com>
41312
41313 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41314 l_tls_firstbyte_offset non-zero. Save padding offset in
41315 l_tls_firstbyte_offset for later use.
41316 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41317 freeing static tls block.
41318
95721191
JN
413192011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41320
41321 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41322 where #ifdef was intended. The intent is to prevent ARG_MAX from
41323 being defined by the kernel headers.
41324
f87dfb1f
UD
413252011-05-07 Ulrich Drepper <drepper@gmail.com>
41326
41327 [BZ #12734]
41328 * resolv/resolv.h: Define RES_NOTLDQUERY.
41329 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41330 no-tld-query and set RES_NOTLDQUERY.
41331 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41332 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41333 modern BIND to search name as TLD unless forbidden.
41334
47c3cd7a
UD
413352011-05-07 Petr Baudis <pasky@suse.cz>
41336 Ulrich Drepper <drepper@gmail.com>
41337
41338 [BZ #12393]
41339 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41340 (is_trusted_path): ...to here.
c1e9ea35 41341 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41342 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41343 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41344
8a35c912
PP
413452011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41346
41347 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41348 __BEGIN/__END_DECLS.
41349
acd41f47
UD
413502011-05-06 Ulrich Drepper <drepper@gmail.com>
41351
41352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41353 NSS_STATUS_NOTFOUND if no record was found.
41354
597df647
AS
413552011-05-05 Andreas Schwab <schwab@redhat.com>
41356
41357 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41358 (headers-not-in-tirpc): Remove rpc/netdb.h
41359 * resolv/netdb.h: Revert last change.
41360
b9af1301
PP
413612011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41362
41363 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41364 circular dependency between libgcc.a and libc.a.
41365
4e34d5f5
AS
413662011-05-05 Andreas Schwab <schwab@redhat.com>
41367
41368 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41369 * nis/Makefile: Don't install rpcsvc/*.
41370 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41371 instead of <rpc/types.h>.
41372 (MAXHOSTNAMELEN): Define.
41373
00ee369c
AS
413742011-05-03 Andreas Schwab <schwab@redhat.com>
41375
41376 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41377
0b592a30
MB
413782011-04-28 Maciej Babinski <mbabinski@google.com>
41379
41380 [BZ #12714]
41381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41382 gethostbyname4_r when IPv6 results are possible.
41383
6e04cbbe
UD
413842011-05-02 Ulrich Drepper <drepper@gmail.com>
41385
41386 [BZ #12723]
41387 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41388 _PC_PIPE_BUF handling.
41389
e4ecafe0
BH
413902011-04-30 Bruno Haible <bruno@clisp.org>
41391
41392 [BZ #12717]
41393 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41394 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41395 to 'int'.
41396 * inet/getnameinfo.c (getnameinfo): Likewise.
41397
125ee683
UD
413982011-04-29 Ulrich Drepper <drepper@gmail.com>
41399
41400 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41401 to groups setting in database lookup.
41402 * nss/nsswitch.conf: Add initgroups entry.
41403
b722481a
EB
414042011-04-22 Ulrich Drepper <drepper@gmail.com>
41405
41406 [BZ #12685]
41407 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41408 mode string.
41409 Patch by Eric Blake <eblake@redhat.com>.
41410
4df46dbd
L
414112011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41412
41413 * sunrpc/Makefile (need-export-routines): Add svc_run.
41414 (routines): Remove svc_run.
41415 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41416 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41417 * sunrpc/svc_run.c (svc_run): Likewise.
41418 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41419
e84142d2
UD
414202011-04-21 Ulrich Drepper <drepper@gmail.com>
41421
41422 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41423 problem in reallocation in last patch.
41424
877175d8
UD
414252011-04-20 Ulrich Drepper <drepper@gmail.com>
41426
41427 * sunrpc/Makefile: Move inclusion of Rules.
41428
ab8eed78
UD
414292011-04-19 Ulrich Drepper <drepper@gmail.com>
41430
41431 * nss/nss_files/files-initgroups.c: New file.
41432 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41433 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41434 _nss_files_initgroups_dyn.
41435
e3d8f584
RS
414362011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41437
41438 * elf/elf.h (R_ARM_IRELATIVE): Define.
41439
af190f45
UD
414402011-04-19 Ulrich Drepper <drepper@gmail.com>
41441
41442 * po/ru.po: Update from translation team.
41443
53cf59ef
UD
414442011-04-17 Ulrich Drepper <drepper@gmail.com>
41445
41446 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41447 dependencies.
41448
4c559bcd
MF
414492011-02-06 Mike Frysinger <vapier@gentoo.org>
41450
41451 [BZ #12653]
41452 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41453 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41454 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41457
4420675c
AS
414582011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41459
41460 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41461 differing bytes.
41462 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41465
75ea32ab
UD
414662011-04-17 Ulrich Drepper <drepper@gmail.com>
41467
41468 [BZ #12420]
41469 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41470 storing it.
41471 * stdlib/bug-getcontext.c: New file.
41472 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41473
27390476
AK
414742011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41475
41476 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41477 instructions into .machine "z9-109".
41478 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41479 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41480
10442705
AK
414812011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41482
41483 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41484 between environment variables and auxiliary vector.
41485
7b57bfe5
UD
414862011-04-16 Ulrich Drepper <drepper@gmail.com>
41487
41488 * Makefile: Add rules to build linkobj/libc.so.
41489 * include/libc-symbols.h: Define libc_hidden_nolink.
41490 * include/rpc/auth.h: Mark functions which are to be hidden.
41491 * include/rpc/auth_des.h: Likewise.
41492 * include/rpc/auth_unix.h: Likewise.
41493 * include/rpc/clnt.h: Likewise.
41494 * include/rpc/des_crypt.h: Likewise.
41495 * include/rpc/key_prot.h: Likewise.
41496 * include/rpc/pmap_clnt.h: Likewise.
41497 * include/rpc/pmap_prot.h: Likewise.
41498 * include/rpc/pmap_rmt.h: Likewise.
41499 * include/rpc/rpc_msg.h: Likewise.
41500 * include/rpc/svc.h: Likewise.
41501 * include/rpc/svc_auth.h: Likewise.
41502 * include/rpc/xdr.h: Likewise.
41503 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41504 * nss/Makefile: Likewise.
41505 * sunrpc/Makefile: Don't install headers. Build library with normal
41506 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41507 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41508 for the compat linking library. Remove use of INTDEF/INTUSE.
41509 * sunrpc/auth_none.c: Likewise.
41510 * sunrpc/auth_unix.c: Likewise.
41511 * sunrpc/authdes_prot.c: Likewise.
41512 * sunrpc/authuxprot.c: Likewise.
41513 * sunrpc/clnt_gen.c: Likewise.
41514 * sunrpc/clnt_perr.c: Likewise.
41515 * sunrpc/clnt_raw.c: Likewise.
41516 * sunrpc/clnt_simp.c: Likewise.
41517 * sunrpc/clnt_tcp.c: Likewise.
41518 * sunrpc/clnt_udp.c: Likewise.
41519 * sunrpc/clnt_unix.c: Likewise.
41520 * sunrpc/des_crypt.c: Likewise.
41521 * sunrpc/des_soft.c: Likewise.
41522 * sunrpc/get_myaddr.c: Likewise.
41523 * sunrpc/key_call.c: Likewise.
41524 * sunrpc/key_prot.c: Likewise.
41525 * sunrpc/netname.c: Likewise.
41526 * sunrpc/pm_getmaps.c: Likewise.
41527 * sunrpc/pm_getport.c: Likewise.
41528 * sunrpc/pmap_clnt.c: Likewise.
41529 * sunrpc/pmap_prot.c: Likewise.
41530 * sunrpc/pmap_prot2.c: Likewise.
41531 * sunrpc/pmap_rmt.c: Likewise.
41532 * sunrpc/publickey.c: Likewise.
41533 * sunrpc/rpc_cmsg.c: Likewise.
41534 * sunrpc/rpc_common.c: Likewise.
41535 * sunrpc/rpc_dtable.c: Likewise.
41536 * sunrpc/rpc_prot.c: Likewise.
41537 * sunrpc/rpc_thread.c: Likewise.
41538 * sunrpc/rtime.c: Likewise.
41539 * sunrpc/svc.c: Likewise.
41540 * sunrpc/svc_auth.c: Likewise.
41541 * sunrpc/svc_authux.c: Likewise.
41542 * sunrpc/svc_raw.c: Likewise.
41543 * sunrpc/svc_run.c: Likewise.
41544 * sunrpc/svc_simple.c: Likewise.
41545 * sunrpc/svc_tcp.c: Likewise.
41546 * sunrpc/svc_udp.c: Likewise.
41547 * sunrpc/svc_unix.c: Likewise.
41548 * sunrpc/svcauth_des.c: Likewise.
41549 * sunrpc/xcrypt.c: Likewise.
41550 * sunrpc/xdr.c: Likewise.
41551 * sunrpc/xdr_array.c: Likewise.
41552 * sunrpc/xdr_float.c: Likewise.
41553 * sunrpc/xdr_intXX_t.c: Likewise.
41554 * sunrpc/xdr_mem.c: Likewise.
41555 * sunrpc/xdr_rec.c: Likewise.
41556 * sunrpc/xdr_ref.c: Likewise.
41557 * sunrpc/xdr_sizeof.c: Likewise.
41558 * sunrpc/xdr_stdio.c: Likewise.
41559
e6c61494
UD
415602011-04-10 Ulrich Drepper <drepper@gmail.com>
41561
41562 [BZ #12650]
41563 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41564 * sysdeps/ia64/dl-tls.h: Likewise.
41565 * sysdeps/powerpc/dl-tls.h: Likewise.
41566 * sysdeps/s390/dl-tls.h: Likewise.
41567 * sysdeps/sh/dl-tls.h: Likewise.
41568 * sysdeps/sparc/dl-tls.h: Likewise.
41569 * sysdeps/x86_64/dl-tls.h: Likewise.
41570 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41571
34fe483e
AS
415722011-03-14 Andreas Schwab <schwab@redhat.com>
41573
41574 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41575 rpath element also skip the following colon.
41576 (expand_dynamic_string_token): Add is_path parameter and pass
41577 down to DL_DST_REQUIRED and _dl_dst_substitute.
41578 (decompose_rpath): Call expand_dynamic_string_token with
41579 non-zero is_path. Ignore empty rpaths.
41580 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41581 with zero is_path.
41582
f12a32e6
AS
415832011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41584
41585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41586 Make cancelable.
41587
38a7d692
UD
415882011-04-09 Ulrich Drepper <drepper@gmail.com>
41589
41590 [BZ #12655]
41591 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41592 Patch by Filipe David Manana <fdmanana@apache.org>.
41593
e451d22b
AS
415942011-04-07 Andreas Schwab <schwab@redhat.com>
41595
41596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41597 Maintain aligned stack.
41598 (CHECK_RSP): Remove unused macro.
41599
dedc7c7b
UD
416002011-04-03 Ulrich Drepper <drepper@gmail.com>
41601
41602 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41603 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41604
94521213
UD
416052011-04-02 Ulrich Drepper <drepper@gmail.com>
41606
41607 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41608
8cb700c0 41609 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41610
0354e355
L
416112011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41612
41613 [BZ #12518]
41614 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41615 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41616 * sysdeps/x86_64/memmove.c: New file.
41617 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41618 (memcpy): Renamed to ...
41619 (__new_memcpy): This.
41620 (memcpy): Provide GLIBC_2_14 memcpy.
41621 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41622 (memcpy): Provide GLIBC_2_2_5 memcpy.
41623
8593482f
UD
416242011-04-01 Ulrich Drepper <drepper@gmail.com>
41625
41626 [BZ #12631]
41627 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41628
81a5726b
AS
416292011-03-30 Andreas Schwab <schwab@redhat.com>
41630
41631 * misc/syncfs.c: New file.
41632 * misc/Makefile (routines): Add syncfs.
41633 * posix/unistd.h: Declare syncfs.
41634 * sysdeps/unix/syscalls.list: Add syncfs.
41635
00e5419f
AS
416362011-04-01 Andreas Schwab <schwab@redhat.com>
41637
41638 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41639 open_by_handle_at.
41640 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41645 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41647
748876bf
UD
416482011-04-01 Ulrich Drepper <drepper@gmail.com>
41649
658e451d
UD
41650 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41651 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41652 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41657
748876bf
UD
41658 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41659 sync_file_range.c with -fexceptions.
41660 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41661 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41662 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41663 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41664 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41665 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41666 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41667 sync_file_range as cancellation point
41668 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41669 now a wrapper around __call_sync_file_range with cancellation handling.
41670 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41671 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41672 function name to __call_sync_file_range.
41673 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41674 Add call_sync_file_range.
748876bf 41675
6e63d5e1
AS
416762011-04-01 Andreas Schwab <schwab@redhat.com>
41677
41678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41679 bits/timex.h.
6e63d5e1 41680
46998f74
UD
416812011-04-01 Ulrich Drepper <drepper@gmail.com>
41682
4c1423ed
UD
41683 * iconv/iconv.h: Fix typo in comment.
41684 * io/fcntl.h: Likewise.
41685 * libio/stdio.h: Likewise.
41686 * posix/spawn.h: Likewise.
41687 * posix/unistd.h: Likewise.
41688 * stdlib/stdlib.h: Likewise.
41689 * time/time.h: Likewise.
41690 * wcsmbs/wchar.h: Likewise.
41691
158648c0
UD
41692 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41693 open_by_handle): Add.
41694 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41695 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41696 Augment a few comments.
41697 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41702 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41703 open_by_handle.
41704
46998f74
UD
41705 * io/fcntl.h (AT_EMPTY_PATH): Define.
41706
83fe108b
UD
417072011-03-30 Ulrich Drepper <drepper@gmail.com>
41708
41709 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41710 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41711 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41712 to...
41713 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41714 * Versions.def: Add GLIBC_2.14.
41715 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41716 Export.
83fe108b 41717
bb242059
UD
417182011-03-22 Ulrich Drepper <drepper@gmail.com>
41719
41720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41721 round counter.
41722 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41723
c97a1282
L
417242011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41725
41726 [BZ #12597]
41727 * string/test-strncmp.c (do_page_test): New function.
41728 (check2): Likewise.
41729 (test_main): Call check2.
41730 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41731
2a115601
UD
417322011-03-20 Ulrich Drepper <drepper@gmail.com>
41733
41734 [BZ #12587]
41735 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41736 Handle cache information in CPU leaf 4.
41737 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41738
8126d904
UD
417392011-03-18 Ulrich Drepper <drepper@gmail.com>
41740
042c49c6 41741 [BZ #12583]
8126d904
UD
41742 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41743 character representation.
41744 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41745
ccfe366e
RA
417462011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41747
41748 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41749 END(__isnan) to END(__isnanf) to match function entry point/label
41750 EALIGN(__isnanf,...).
41751
c6e13027
JJ
417522011-03-10 Jakub Jelinek <jakub@redhat.com>
41753
41754 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41755
33f85a3f
UD
417562011-03-10 Ulrich Drepper <drepper@gmail.com>
41757
028478fa
UD
41758 [BZ #12510]
41759 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41760 copy from the symbol referenced in the relocation to initialize the
41761 used variable.
41762 Patch by Piotr Bury <pbury@goahead.com>.
41763 * elf/Makefile: Add rules to build and tst-unique3.
41764 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41765 * elf/tst-unique3.cc: New file.
41766 * elf/tst-unique3.h: New file.
41767 * elf/tst-unique3lib.cc: New file.
41768 * elf/tst-unique3lib2.cc: New file.
41769
33f85a3f
UD
41770 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41771
03592fc7
MF
417722011-03-10 Mike Frysinger <vapier@gentoo.org>
41773
41774 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41775 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41776 to _start.
03592fc7 41777
6a5ee102
UD
417782011-03-06 Ulrich Drepper <drepper@gmail.com>
41779
41780 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41781 to-be-loaded object along a path to loader is ld.so.
41782
7e4ba49c
HJ
417832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41784 Ulrich Drepper <drepper@gmail.com>
41785
41786 * sysdeps/x86_64/memset.S: After aligning destination, code
41787 branches to different locations depending on the value of
41788 misalignment, when multiarch is enabled. Fix this.
41789
417902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41791
41792 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41793 Set _x86_64_preferred_memory_instruction for AMD processsors.
41794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41795 Set bit_Prefer_SSE_for_memop for AMD processors.
41796
13a804de
UD
417972011-03-04 Ulrich Drepper <drepper@gmail.com>
41798
41799 * libio/fmemopen.c (fmemopen): Optimize a bit.
41800
9d25c392
AS
418012011-03-03 Andreas Schwab <schwab@redhat.com>
41802
41803 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41804
a5543c6a
RM
418052011-03-03 Roland McGrath <roland@redhat.com>
41806
41807 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41808
012d35f7
DM
418092011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41810
7e4ba49c 41811 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41812 __bzero_ultra1 instead of __memset_ultra1.
41813
4bff6e01
AS
418142011-02-23 Andreas Schwab <schwab@redhat.com>
41815 Ulrich Drepper <drepper@gmail.com>
41816
41817 [BZ #12509]
41818 * include/link.h (struct link_map): Add l_orig_initfini.
41819 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41820 returning unsuccessfully.
41821 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41822 close of a file loaded at startup, restore the original l_initfini
41823 list.
41824 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41825 list, store the pointer.
41826 * elf/Makefile ($(objpfx)noload-mem): New rule.
41827 (noload-ENV): Define.
41828 (tests): Add $(objpfx)noload-mem.
41829 * elf/noload.c: Include <memcheck.h>.
41830 (main): Call mtrace. Close all opened handles.
41831
f2092faf
AS
418322011-02-17 Andreas Schwab <schwab@redhat.com>
41833
41834 [BZ #12454]
41835 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41836 dependencies are missing.
41837
6c8a2e88
ST
418382011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41839
f2092faf 41840 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41841 Hurd needs munmap.
41842 * sysdeps/mach/hurd/ifreq.h: New file.
41843
84a42118
PB
418442011-01-27 Petr Baudis <pasky@suse.cz>
41845 Ulrich Drepper <drepper@gmail.com>
41846
071f805e 41847 [BZ 12445]#
84a42118
PB
41848 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41849 to extend_alloca().
41850 * stdio-common/bug23.c: New file.
41851 * stdio-common/Makefile (tests): Add bug23.
41852
e23fe25b
AS
418532010-09-28 Andreas Schwab <schwab@redhat.com>
41854 Ulrich Drepper <drepper@gmail.com>
41855
41856 [BZ #12489]
41857 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41858 before performing relro protection. At old place add assertion
41859 to make sure nothing changed.
41860
d3f02e10
NS
418612011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41862 Glauber de Oliveira Costa <glommer@gmail.com>
41863
41864 * elf/elf.h: Add new ARM TLS relocs.
41865
d55fd7a5
RA
418662011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41867
41868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41869 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41870 cast from r3.
41871 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41872 'tests' variable.
41873 * sysdeps/wordsize-64/tst-writev.c: New file.
41874
2206397e
RA
418752011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41876
41877 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41878 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41879 insns in _dl_start to prevent a TOC reference before relocs are
41880 resolved.
41881
e9433893
UD
418822011-02-15 Ulrich Drepper <drepper@gmail.com>
41883
41884 [BZ #12469]
41885 * Makeconfig: Remove RANLIB definition.
41886 * Makerules: Don't use RANLIB.
41887 * aclocal.m4: Remove ranlib test.
41888 * configure.in: No need to check for ranlib.
41889 * elf/rtld-Rules: Don't use RANLIB.
41890
f75286c6
ST
418912011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41892
8e31c82d
ST
41893 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41894 protection macro.
41895 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41896 inclusion protection macro.
41897
f75286c6
ST
41898 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41899 SIGRTMIN and SIGRTMAX and print information in that case only when
41900 SIGRTMIN is defined.
41901
c1d0e639
JJ
419022011-02-11 Jakub Jelinek <jakub@redhat.com>
41903
41904 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41905 arginfo fn returning -1.
41906
41907 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41908 and thousands string is zero terminated.
41909
edf9294e
AS
419102011-02-03 Andreas Schwab <schwab@redhat.com>
41911
41912 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41913 sysdeps/unix/sysv/linux/bits/socket.h.
41914
2b7e92df
ST
419152011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41916
edf9294e
AS
41917 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41918 (__CPU_COUNT): Remove old macros.
41919 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41920 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41921 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41922 (__sched_cpualloc, __sched_cpufree): Add declarations.
41923
a4c7ea7b
UD
419242011-02-05 Ulrich Drepper <drepper@gmail.com>
41925
41926 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41927 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41928 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41929 (readdhstai): Return value of addhstaiX call.
41930 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41931 (addgrbyX): Return value returned by cache_addgr.
41932 (readdgrbyname): Return value returned by addgrbyX.
41933 (readdgrbygid): Likewise.
41934 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41935 (addpwbyX): Return value returned by cache_addpw.
41936 (readdpwbyname): Return value returned by addhstbyX.
41937 (readdpwbyuid): Likewise.
41938 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41939 (addservbyX): Return value returned by cache_addserv.
41940 (readdservbyname): Return value returned by addservbyX:
41941 (readdservbyport): Likewise.
41942 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41943 (addhstbyX): Return value returned by cache_addhst.
41944 (readdhstbyname): Return value returned by addhstbyX.
41945 (readdhstbyaddr): Likewise.
41946 (readdhstbynamev6): Likewise.
41947 (readdhstbyaddrv6): Likewise.
41948 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41949 (readdinitgroups): Return value returned by addinitgroupsX.
41950 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41951 (prune_cache): Keep track of timeout value of re-added entries.
41952 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41953 * nscd/nscd.h: Adjust prototypes of readd* functions.
41954
a0bf67cc
RM
419552011-02-04 Roland McGrath <roland@redhat.com>
41956
41957 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41958 (nis_stats): Likewise.
41959 * nis/nis_modify.c (nis_modify): Likewise.
41960 * nis/nis_remove.c (nis_remove): Likewise.
41961 * nis/nis_add.c (nis_add): Likewise.
41962
41963 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41964
41965 * posix/fnmatch_loop.c: Add some consts.
41966
41967 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41968
435b95eb
L
419692011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41970
41971 [BZ #12460]
41972 * config.make.in (config-cflags-novzeroupper): Define.
41973 * configure.in: Substitute libc_cv_cc_novzeroupper.
41974 * elf/Makefile (AVX-CFLAGS): Define.
41975 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41976 (CFLAGS-tst-auditmod4a.c): Likewise.
41977 (CFLAGS-tst-auditmod4b.c): Likewise.
41978 (CFLAGS-tst-auditmod6b.c): Likewise.
41979 (CFLAGS-tst-auditmod6c.c): Likewise.
41980 (CFLAGS-tst-auditmod7b.c): Likewise.
41981 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41982
8517b15e
UD
419832011-02-02 Ulrich Drepper <drepper@gmail.com>
41984
41985 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41986 function to the callback.
41987 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41988
10a656fe
AS
419892011-02-02 Andreas Schwab <schwab@redhat.com>
41990
41991 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41992 of errno.
41993
968dad0a
UD
419942011-01-19 Ulrich Drepper <drepper@gmail.com>
41995
9f94d2ea 41996 [BZ #11724]
968dad0a
UD
41997 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41998 of constructors.
41999 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42000 of destructors.
42001 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42002
42003 [BZ #11724]
42004 * elf/Makefile: Add rules to build and run new test.
42005 * elf/tst-initorder.c: New file.
42006 * elf/tst-initorder.exp: New file.
42007 * elf/tst-initordera1.c: New file.
42008 * elf/tst-initordera2.c: New file.
42009 * elf/tst-initordera3.c: New file.
42010 * elf/tst-initordera4.c: New file.
42011 * elf/tst-initorderb1.c: New file.
42012 * elf/tst-initorderb2.c: New file.
42013 * elf/tst-order-a1.c: New file.
42014 * elf/tst-order-a2.c: New file.
42015 * elf/tst-order-a3.c: New file.
42016 * elf/tst-order-a4.c: New file.
42017 * elf/tst-order-b1.c: New file.
42018 * elf/tst-order-b2.c: New file.
42019 * elf/tst-order-main.c: New file.
42020 New test case by George Gensure <werkt0@gmail.com>.
42021
86e92359
UD
420222010-10-01 Andreas Schwab <schwab@redhat.com>
42023
42024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42025 decoding ACE if AI_CANONIDN.
42026
5d5732b0
UD
420272011-01-18 Ulrich Drepper <drepper@gmail.com>
42028
42029 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42030
a77e8cbc
UD
420312011-01-17 Ulrich Drepper <drepper@gmail.com>
42032
6392473f
UD
42033 * version.h (RELEASE): Bump for 2.13 release.
42034 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42035
620a0529
UD
42036 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42037
18ba70a5
UD
42038 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42039 MADV_NOHUGEPAGE.
32465c3e
UD
42040 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42041 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42045 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42046
c0dafcf1
UD
42047 * posix/getconf.c: Update copyright year.
42048 * catgets/gencat.c: Likewise.
42049 * csu/version.c: Likewise.
42050 * debug/catchsegv.sh: Likewise.
42051 * debug/xtrace.sh: Likewise.
42052 * elf/ldconfig.c: Likewise.
42053 * elf/ldd.bash.in: Likewise.
42054 * elf/sprof.c (print_version): Likewise.
42055 * iconv/iconv_prog.c: Likewise.
42056 * iconv/iconvconfig.c: Likewise.
42057 * locale/programs/locale.c: Likewise.
42058 * locale/programs/localedef.c: Likewise.
42059 * malloc/memusage.sh: Likewise.
42060 * malloc/mtrace.pl: Likewise.
42061 * nscd/nscd.c (print_version): Likewise.
42062 * nss/getent.c: Likewise.
42063
a77e8cbc
UD
42064 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42065 PF_CAIF, and PF_ALG.
42066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42067
77e8bddf
AS
420682011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42069
1f20b93a
AS
42070 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42071 (modules-names): Use them.
42072 (ifunc-test-modules, ifunc-pie-tests): Define.
42073 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42074 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42075 (test-extras): Likewise.
42076 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42077 $(compile-command.c).
42078 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42079 (all-built-dso): Define.
42080 (check-textrel.out, check-execstack.out): Depend on it.
42081
77e8bddf
AS
42082 * configure.in: Don't override --enable-multi-arch.
42083
bc425b33
UD
420842011-01-15 Ulrich Drepper <drepper@gmail.com>
42085
42086 [BZ #6812]
42087 * nscd/hstcache.c (tryagain): Define.
42088 (cache_addhst): Return tryagain not notfound for temporary errors.
42089 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42090 failed.
42091
794c3ad3
UD
420922011-01-14 Ulrich Drepper <drepper@gmail.com>
42093
70181fdd
UD
42094 [BZ #10563]
42095 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42096 to make the syscall.
42097 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42098
794c3ad3
UD
42099 [BZ #12378]
42100 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42101 and fall back to matching as normal character if the string ends before
42102 the matching ']' is found. This is what POSIX requires.
42103 * posix/testfnm.c: Adjust test result.
42104 * posix/globtest.sh: Adjust test result. Add new test.
42105 * posix/tst-fnmatch.input: Likewise.
42106 * posix/tst-fnmatch2.c: Add new test.
42107
68dc9497
AS
421082010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42109
42110 * elf/Makefile (check-execstack): Revert last change. Depend on
42111 check-execstack.h.
42112 (check-execstack.h): New target.
42113 (generated): Add check-execstack.h.
42114 * elf/check-execstack.c: Include "check-execstack.h".
42115 (main): Revert last change.
42116 (handle_file): Return zero if GNU_STACK is absent and
42117 DEFAULT_STACK_PERMS doesn't include PF_X.
42118
451f001b
UD
421192011-01-13 Ulrich Drepper <drepper@gmail.com>
42120
cfa28e56
UD
42121 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42122 in child fails because the descriptor is already closed.
8cf8ce17
UD
42123 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42124 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42125 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42126
1086d70d
UD
42127 [BZ #12397]
42128 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42129 syscall.
42130
451f001b
UD
42131 [BZ #10484]
42132 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42133 temporary buffer used to handle multi lookups locally.
a85b5cb4 42134 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42135
08769175
UD
421362011-01-12 Ulrich Drepper <drepper@gmail.com>
42137
42138 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42139 loader is ld.so.
42140
5e49c52e
UD
421412011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42142
42143 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42144 alignment for SSE2.
42145
60522a5f
UD
421462011-01-12 Ulrich Drepper <drepper@gmail.com>
42147
42148 [BZ #12394]
42149 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42150 characters. When rounding increased number of integer digits recompute
42151 number of groups.
42152 * stdio-common/tst-grouping.c: New file.
42153 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42154
f257bbd7
UD
421552011-01-09 Ulrich Drepper <drepper@gmail.com>
42156
42157 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42158 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42159
42160 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42161 void.
42162 * bits/select.h: Likewise.
42163
fa9c15cb
UD
421642011-01-08 Ulrich Drepper <drepper@gmail.com>
42165
42166 * po/ja.po: Update from translation team.
42167
16c2895f
DM
421682011-01-04 David S. Miller <davem@sunset.davemloft.net>
42169
42170 [BZ #11155]
42171 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42172 implementation just like for lxstat, fxstatat, et al.
42173
2543fef2
JM
421742010-12-27 Jim Meyering <meyering@redhat.com>
42175
42176 [BZ #12348]
42177 * posix/regexec.c (build_trtable): Return failure indication upon
42178 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42179
98727dbe
UD
421802010-12-25 Ulrich Drepper <drepper@gmail.com>
42181
5bd6dc5c
UD
42182 [BZ #12201]
42183 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42184 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42186 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42187
97983464
UD
42188 [BZ #12207]
42189 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42190
98727dbe
UD
42191 [BZ #12204]
42192 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42193 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42194
4a531bb0
L
421952010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42196
42197 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42198 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42199 script has SORT_BY_INIT_PRIORITY.
42200 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42201 NO_CTORS_DTORS_SECTIONS is defined.
42202 * elf/soinit.c: Likewise.
42203 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42204 NO_CTORS_DTORS_SECTIONS is defined.
42205 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42206 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42207 * sysdeps/sh/init-first.c: Likewise.
42208 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42209
07eb4b71
UD
422102010-12-24 Ulrich Drepper <drepper@gmail.com>
42211
42212 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42213 always use the slow path.
42214
30950a5f
RA
422152010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42216
42217 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42218 similar rule which adds the sysdep directories to the header search in
42219 order to pick up the correct platform stackinfo.h.
42220 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42221 perform test if it is, otherwise return successfully without testing.
42222 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42223 DEFAULT_STACK_PERMS define in stackinfo.h.
42224 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42225 defined in stackinfo.h.
42226 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42227 DEFAULT_STACK_PERMS defined in stackinfo.h.
42228 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42229 * sysdeps/ia64/stackinfo.h: Likewise.
42230 * sysdeps/s390/stackinfo.h: Likewise.
42231 * sysdeps/sh/stackinfo.h: Likewise.
42232 * sysdeps/sparc/stackinfo.h: Likewise.
42233 * sysdeps/x86_64/stackinfo.h: Likewise.
42234 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42235 PF_X for powerpc64. Retain PF_X for powerpc32.
42236
db753e2c
UD
422372010-12-19 Ulrich Drepper <drepper@gmail.com>
42238
14b697f7
UD
42239 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42240 accurately.
db753e2c
UD
42241 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42242 GETDENTS_64BIT_ALIGNED.
42243
28300719
UD
422442010-12-14 Ulrich Drepper <dreper@gmail.com>
42245
14b697f7 42246 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42247
4f197237
AS
422482010-12-10 Andreas Schwab <schwab@redhat.com>
42249
dbb0472f
AS
42250 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42251 _GNU_SOURCE.
42252
4f197237
AS
42253 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42254 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42255 Remove __restrict.
42256 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42257 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42258
fb88ac72
UD
422592010-12-09 Ulrich Drepper <drepper@gmail.com>
42260
42261 [BZ #11655]
42262 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42263 are initialized.
42264
42acbb92
JJ
422652010-12-09 Jakub Jelinek <jakub@redhat.com>
42266
42267 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42268
c038d98d
UD
422692010-12-03 Ulrich Drepper <drepper@gmail.com>
42270
42271 * po/it.po: Update from translation team.
42272
3a4a2499
L
422732010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42274
42275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42276 unused codes.
42277
1e24cf6e
UD
422782010-11-30 Ulrich Drepper <drepper@gmail.com>
42279
42280 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42281
a7690819
AS
422822010-11-24 Andreas Schwab <schwab@redhat.com>
42283
42284 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42285 specially.
42286 (gaih_getanswer_slice): Likewise.
42287
3bf8d1b1
JJ
422882010-10-20 Jakub Jelinek <jakub@redhat.com>
42289
42290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42291
6db52fbb
PB
422922010-05-31 Petr Baudis <pasky@suse.cz>
42293
42294 [BZ #11149]
42295 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42296 silently even in the chroot mode.
42297
eaca7569
UD
422982010-11-22 Ulrich Drepper <drepper@gmail.com>
42299
42300 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42301 last patch a bit. Pretty printing
42302
3056dcdb
UD
423032010-05-31 Petr Baudis <pasky@suse.cz>
42304
42305 [BZ #10085]
42306 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42307 initialization of skip_initgroups_dyn.
42308
cf7c9078
UD
423092010-11-19 Ulrich Drepper <drepper@gmail.com>
42310
42311 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42312 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42313
a1fb5e3e
UD
423142010-11-16 Ulrich Drepper <drepper@gmail.com>
42315
42316 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42317
3540d66b
AS
423182010-11-11 Andreas Schwab <schwab@redhat.com>
42319
42320 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42321 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42322 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42323 ($(objpfx)tst-fnmatch-mem): New rule.
42324 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42325 * posix/tst-fnmatch.c (main): Call mtrace.
42326
13b69574
L
423272010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42328
42329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42330 Support Intel processor model 6 and model 0x2c.
42331
da93d214
LM
423322010-11-10 Luis Machado <luisgpm@br.ibm.com>
42333
42334 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42335 signed comparison.
42336
8ca52c6e
L
423372010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42338
42339 [BZ #12205]
42340 * string/test-strncasecmp.c (check_result): New function.
42341 (do_one_test): Use it.
42342 (check1): New function.
42343 (test_main): Use it.
42344 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42345 Support strcasecmp and strncasecmp.
42346
69da074d
UD
423472010-11-08 Ulrich Drepper <drepper@gmail.com>
42348
42349 [BZ #12194]
42350 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42351 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42352
ff02d528
L
423532010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42354
42355 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42356 IFUNC support.
42357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42358 memset-x86-64.
42359 * sysdeps/x86_64/multiarch/bzero.S: New file.
42360 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42361 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42362 * sysdeps/x86_64/multiarch/memset.S: New file.
42363 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42365 Set bit_Prefer_SSE_for_memop for Intel processors.
42366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42367 Define.
42368 (index_Prefer_SSE_for_memop): Define.
42369 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42370
344d0b54
LM
423712010-11-04 Luis Machado <luisgpm@br.ibm.com>
42372
42373 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42374 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42375
c0dde15b
UD
423762010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42377
42378 [BZ #12191]
42379 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42380 (__x86_64_raw_data_cache_size_half): Likewise.
42381 (__x86_64_raw_shared_cache_size): Likewise.
42382 (__x86_64_raw_shared_cache_size_half): Likewise.
42383
42384 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42385 (__x86_64_raw_data_cache_size_half): Likewise.
42386 (__x86_64_raw_shared_cache_size): Likewise.
42387 (__x86_64_raw_shared_cache_size_half): Likewise.
42388 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42389 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42390 and __x86_64_raw_shared_cache_size_half. Round
42391 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42392 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42393 to multiple of 256 bytes.
42394
0e516e0e
MS
423952010-11-03 Ulrich Drepper <drepper@gmail.com>
42396
42397 [BZ #12167]
42398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42399 of inacessible symlinks. Verify result of symlink before returning it.
42400 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42401 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42402
0e012e87
ER
424032010-10-28 Erich Ritz <erichritz@gmail.com>
42404
42405 * math/math.h (isinf): Fix typo in comment.
42406
de0ff7bc
UD
424072010-11-01 Ulrich Drepper <drepper@gmail.com>
42408
42409 * po/da.po: Update from translation team.
42410
fa41c84d
UD
424112010-10-26 Ulrich Drepper <drepper@gmail.com>
42412
42413 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42414 is added to the list.
42415
f0967738
AK
424162010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42417 Ulrich Drepper <drepper@gmail.com>
42418
42419 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42420 the global list here. Move code to...
42421 (_dl_add_to_namespace_list): ...here. New function.
42422 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42423 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42424 * elf/dl-load.c (lose): Don't remove the element from the list.
42425 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42426 (_dl_map_object): Likewise.
42427
424282010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42429
42430 [BZ #12159]
42431 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42432 into all bytes of SSE register.
42433 Patch by Richard Li <richardpku@gmail.com>.
42434
f0967738 424352010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42436
42437 [BZ #12140]
42438 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42439 perturbing.
42440
d0b9e94f
MB
424412010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42442
42443 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42444 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42445 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42446 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42448 submachine.
42449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42450
8e9f92e9
AS
424512010-10-22 Andreas Schwab <schwab@redhat.com>
42452
42453 * include/dlfcn.h (__RTLD_SECURE): Define.
42454 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42455 mode & __RTLD_SECURE instead.
42456 (open_path): Rename preloaded parameter to secure.
42457 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42458 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42459 * elf/dl-deps.c (openaux): Likewise.
42460 * elf/rtld.c (struct map_args): Remove is_preloaded.
42461 (map_doit): Don't use it.
42462 (dl_main): Likewise.
42463 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42464 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42465
bc96fbda
AS
424662010-09-09 Andreas Schwab <schwab@redhat.com>
42467
42468 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42469 (sysd-rules-targets): Remove duplicates.
42470 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42471 rtld-%.$o dependency.
42472
22cd1c9b
AS
424732010-10-18 Andreas Schwab <schwab@redhat.com>
42474
42475 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42476 _dl_map_object do it.
42477
18edac48
UD
424782010-10-19 Ulrich Drepper <drepper@gmail.com>
42479
42480 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42481 fast fma builtins, define the macros in the C99 standard.
42482 (FP_FAST_FMAF): Likewise.
42483 (FP_FAST_FMAL): Likewise.
42484 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42485
42486 * bits/mathdef.h: Update copyright year.
42487 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42488
d2050124
MM
424892010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42490
42491 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42492 builtins, define the macros in the C99 standard.
42493 (FP_FAST_FMAF): Likewise.
42494 (FP_FAST_FMAL): Likewise.
42495 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42496 multiply/add.
42497 (FP_FAST_FMAF): Likewise.
42498
475facd1
JJ
424992010-10-15 Jakub Jelinek <jakub@redhat.com>
42500
42501 [BZ #3268]
42502 * math/libm-test.inc (fma_test): Some new testcases.
42503 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42504 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42505 y and infinite z. Do multiplication by C already in long double.
42506 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42508 y and infinite z. Do bitwise or of inexact bit into u.d.
42509 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42510 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42511 * sysdeps/i386/fpu/s_fma.S: Removed.
42512 * sysdeps/i386/fpu/s_fmal.S: Removed.
42513
7c08a05c
JJ
425142010-10-16 Jakub Jelinek <jakub@redhat.com>
42515
42516 [BZ #3268]
42517 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42519 computation is not scheduled after fetestexcept. Fix value
42520 of minimum denormal long double.
42521
f3f7372d
JJ
425222010-10-14 Jakub Jelinek <jakub@redhat.com>
42523
42524 [BZ #3268]
42525 * math/libm-test.inc (fma_test): Add some more tests.
42526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42527 correctly.
42528
14d43591
AS
425292010-10-15 Andreas Schwab <schwab@redhat.com>
42530
42531 * scripts/data/localplt-s390-linux-gnu.data: New file.
42532 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42533
5e908464
JJ
425342010-10-13 Jakub Jelinek <jakub@redhat.com>
42535
42536 [BZ #3268]
42537 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42538 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42539 instead of dbl-64.
42540 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42541 inlines.
42542 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42544 if one of x and y is very large and the other is subnormal.
42545 * sysdeps/s390/fpu/s_fmaf.c: New file.
42546 * sysdeps/s390/fpu/s_fma.c: New file.
42547 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42548 * sysdeps/powerpc/fpu/s_fma.S: New file.
42549 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42550 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42551 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42552
425532010-10-12 Jakub Jelinek <jakub@redhat.com>
42554
42555 [BZ #3268]
42556 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42557 fma tests.
42558 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42559 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42560 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42561 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42562 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42563 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42564 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42565
b833d51f
UD
425662010-10-12 Ulrich Drepper <drepper@redhat.com>
42567
42568 [BZ #12078]
42569 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42570 * posix/bug-regex31.input: Add test case.
42571
1751705d
UD
425722010-10-11 Ulrich Drepper <drepper@gmail.com>
42573
e9b9cbf5
UD
42574 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42575 * posix/bug-regex31.input: New file.
42576
42577 [BZ #12078]
42578 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42579 (parse_sub_exp): Fix last change, use postorder.
42580
ef06edbe
UD
42581 * posix/bug-regex31.c: New file.
42582 * posix/Makefile: Add rules to build and run bug-regex31.
42583
a129c80d
UD
42584 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42585
42586 [BZ #12078]
42587 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42588
b76b818e
UD
42589 [BZ #12108]
42590 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42591 to have entries in sys_siglist.
42592
1751705d
UD
42593 [BZ #12093]
42594 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42595 be NULL.
42596
9ff8d36f
JJ
425972010-10-07 Jakub Jelinek <jakub@redhat.com>
42598
42599 [BZ #3268]
42600 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42601 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42602 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42603 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42604 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42605 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42606 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42607 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42608 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42609 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42610 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42611 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42612 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42613 * math/ftestexcept.c (fetestexcept): Likewise.
42614 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42615 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42616 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42617 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42618 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42619 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42620 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42621
af325969
UD
426222010-10-11 Ulrich Drepper <drepper@gmail.com>
42623
c579b202 42624 [BZ #12107]
af325969
UD
42625 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42626 newline.
42627
67a67b95
UD
426282010-10-06 Ulrich Drepper <drepper@gmail.com>
42629
42630 * string/bug-strstr1.c: New file.
42631 * string/Makefile: Add rules to build and run bug-strstr1.
42632
5fb308bc
EB
426332010-10-05 Eric Blake <eblake@redhat.com>
42634
42635 [BZ #12092]
42636 * string/str-two-way.h (two_way_long_needle): Always clear memory
42637 when skipping input due to the shift table.
42638
45db99c7
UD
426392010-10-03 Ulrich Drepper <drepper@gmail.com>
42640
3b111893
UD
42641 [BZ #12005]
42642 * malloc/mcheck.c: Handle large requests.
42643
45db99c7
UD
42644 [BZ #12077]
42645 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42646 for strncmp and strncasecmp.
42647 * string/stratcliff.c: Add tests for strcmp and strncmp.
42648 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42649
cf7a1eb8
NI
426502010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42651
42652 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42653 __set_fpscr.
42654
6484ba5e
AJ
426552010-09-30 Andreas Jaeger <aj@suse.de>
42656
42657 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42658 (CGROUP_SUPER_MAGIC): Define.
42659 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42660 Handle btrfs and cgroup file systems.
42661 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42662 Likewise.
42663
91c42559
LM
426642010-09-27 Luis Machado <luisgpm@br.ibm.com>
42665
42666 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42667 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42668
87a97932
AK
426692010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42670
42671 [BZ #12067]
42672 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42673 trying to locate the ELF header.
42674
c21cc9bc
AS
426752010-09-27 Andreas Schwab <schwab@redhat.com>
42676
42677 [BZ #11611]
42678 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42679 Mask out sign-bit copies when constructing f_fsid.
42680
315970f6
PB
426812010-09-24 Petr Baudis <pasky@suse.cz>
42682
42683 * debug/stack_chk_fail_local.c: Add missing licence exception.
42684 * debug/warning-nop.c: Likewise.
42685
1ac7a2c7
JM
426862010-09-15 Joseph Myers <joseph@codesourcery.com>
42687
42688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42689 implementing getdents64 using getdents syscall, set d_type if
42690 __ASSUME_GETDENTS32_D_TYPE.
42691
56801c50
AS
426922010-09-16 Andreas Schwab <schwab@redhat.com>
42693
42694 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42695 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42696
dda51327
UD
426972010-09-21 Ulrich Drepper <drepper@redhat.com>
42698
42699 [BZ #12037]
42700 * posix/unistd.h: Undo change of feature selection for ftruncate from
42701 2010-01-11.
42702
8ffcee4a
UD
427032010-09-20 Ulrich Drepper <drepper@redhat.com>
42704
a545ecd9 42705 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42706 detection.
42707
e24f0a8b
AS
427082010-09-20 Andreas Schwab <schwab@redhat.com>
42709
42710 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42711 fanotify_mark.
42712 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42713
7291c56f
AS
427142010-09-14 Andreas Schwab <schwab@redhat.com>
42715
42716 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42717 variables after CHECK_SP call.
42718 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42719
bc5fb037
AS
427202010-09-13 Andreas Schwab <schwab@redhat.com>
42721 Ulrich Drepper <drepper@redhat.com>
42722
42723 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42724 re-relocationg ld.so.
42725 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42726 _dl_init_paths call.
42727 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42728 here anymore.
42729
e66e7419
UD
427302010-09-14 Ulrich Drepper <drepper@redhat.com>
42731
42732 * resolv/res_init.c (__res_vinit): Count the default server we added.
42733
c044aa75
CLT
427342010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42735 Ulrich Drepper <drepper@redhat.com>
42736
42737 [BZ #11968]
42738 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42739 (____longjmp_chk): Use %ebx for saving value across system call.
42740 Add unwind info.
42741
32cf4069
AS
427422010-09-06 Andreas Schwab <schwab@redhat.com>
42743
42744 * manual/Makefile: Don't mix pattern rules with normal rules.
42745
817328ee
AS
427462010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42747
42748 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42749 operation.
42750 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42751 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42752 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42753 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42755 Likewise.
42756
29fddf61
UD
427572010-09-04 Ulrich Drepper <drepper@redhat.com>
42758
42759 [BZ #11979]
42760 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42761 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42762
0959ffc9
UD
427632010-09-02 Ulrich Drepper <drepper@redhat.com>
42764
42765 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42766 * sysdeps/x86_64/addmul_1.S: Likewise.
42767 * sysdeps/x86_64/lshift.S: Likewise.
42768 * sysdeps/x86_64/mul_1.S: Likewise.
42769 * sysdeps/x86_64/rshift.S: Likewise.
42770 * sysdeps/x86_64/sub_n.S: Likewise.
42771 * sysdeps/x86_64/submul_1.S: Likewise.
42772
ece29840
ST
427732010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42774
0959ffc9
UD
42775 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42776 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42777 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42778 * bits/sched.h [__need_schedparam]
ece29840 42779 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42780 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42781 (__defined_schedparam): Define to 1.
ece29840
ST
42782 (__sched_param): New structure, identical to sched_param.
42783 (__need_schedparam): Undefine.
42784
e53a31fe
MF
427852010-08-31 Mike Frysinger <vapier@gentoo.org>
42786
fdc0c10d
MF
42787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42788 (epoll_create1): Declare.
42789
e53a31fe
MF
42790 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42791
a726d796
AS
427922010-08-31 Andreas Schwab <schwab@redhat.com>
42793
42794 [BZ #7066]
42795 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42796 shifting retval into place.
42797
2f3e3dc7
UD
427982010-09-01 Ulrich Drepper <drepper@redhat.com>
42799
f2933da9
UD
42800 * nis/rpcsvc/nis.h: Update copyright notice.
42801 * nis/rpcsvc/nis.x: Likewise.
42802 * nis/rpcsvc/nis_callback.h: Likewise.
42803 * nis/rpcsvc/nis_callback.x: Likewise.
42804 * nis/rpcsvc/nis_object.x: Likewise.
42805 * nis/rpcsvc/nis_tags.h: Likewise.
42806 * nis/rpcsvc/yp.h: Likewise.
42807 * nis/rpcsvc/yp.x: Likewise.
42808 * nis/rpcsvc/ypupd.h: Likewise.
42809 * nis/yp_xdr.c: Likewise.
42810 * nis/ypupdate_xdr.c: Likewise.
42811
2f3e3dc7
UD
42812 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42813 mainly the body of pmap_getport. Add parameters to specify timeouts.
42814 (pmap_getport): Use __libc_rpc_getport.
42815 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42816 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42817 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42818
f3dcc2f9
AS
428192010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42820
42821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42822 fanotify_mark.
42823
6d34eb5b
RM
428242010-08-27 Roland McGrath <roland@redhat.com>
42825
42826 * sysdeps/i386/i686/multiarch/Makefile
42827 (CFLAGS-varshift.c): New variable.
42828
9ea3de11
UD
428292010-08-27 Ulrich Drepper <drepper@redhat.com>
42830
c96d23fc
UD
42831 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42832 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42833
9ea3de11
UD
42834 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42835
42836 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42837
623aac7f
L
428382010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42839
42840 * sysdeps/x86_64/strlen.S: Unroll the loop.
42841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42842 strlen-sse2 strlen-sse2-bsf.
42843 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42844 __strlen_no_bsf if bit_Slow_BSF is set.
42845 (__strlen_sse42): Removed.
42846 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42847 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42848
8b2b7715
RM
428492010-08-25 Roland McGrath <roland@redhat.com>
42850
42851 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42852 * sysdeps/x86_64/multiarch/varshift.c: New file.
42853 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42854 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42855 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42856 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42857
e73015f2
L
428582010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42859
42860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42861 strlen-sse2 strlen-sse2-bsf.
42862 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42863 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42864 (__strlen_sse2): Removed.
42865 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42866 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42868 bit_Slow_BSF for Atom.
42869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42870 (index_Slow_BSF): Define.
42871 (HAS_SLOW_BSF): Define.
42872
df24a73e
UD
428732010-08-25 Ulrich Drepper <drepper@redhat.com>
42874
42875 [BZ #10851]
42876 * resolv/res_init.c (__res_vinit): When no server address at all
42877 is given default to loopback.
42878
f2ac4868
RM
428792010-08-24 Roland McGrath <roland@redhat.com>
42880
09055553
RM
42881 * configure.in: Remove config-name.h generation.
42882 * configure: Regenerated.
42883 * config-name.in: File removed.
42884 * scripts/config-uname.sh: New file.
42885 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42886 ($(objdir)config-name.h): New target.
42887
f2ac4868
RM
42888 * sunrpc/rpc_parse.h: Avoid nested comment.
42889
73f27d5e
RH
428902010-08-24 Richard Henderson <rth@redhat.com>
42891 Ulrich Drepper <drepper@redhat.com>
42892 H.J. Lu <hongjiu.lu@intel.com>
42893
42894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42896 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42897 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42898 _mm_alignr_epi8 with _mm_loadu_si128.
42899 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42900 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42901 (__m128i_shift_right): Removed.
42902 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42903 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42904 * sysdeps/x86_64/multiarch/varshift.h: New file.
42905 * sysdeps/x86_64/multiarch/varshift.S: New file.
42906
84b9230c
MF
429072010-08-21 Mike Frysinger <vapier@gentoo.org>
42908
42909 * configure.in: Move assembler checks to before sysdep dir checking.
42910
9bbd0ddc
PB
429112010-08-20 Petr Baudis <pasky@suse.cz>
42912
42913 * LICENSES: Sync the sunrpc license.
42914
9da4bb31
UD
429152010-08-19 Ulrich Drepper <drepper@redhat.com>
42916
a7ab6ec8
UD
42917 * sunrpc/auth_des.c: Update copyright notice once again.
42918 * sunrpc/auth_none.c: Likewise.
42919 * sunrpc/auth_unix.c: Likewise.
42920 * sunrpc/authdes_prot.c: Likewise.
42921 * sunrpc/authuxprot.c: Likewise.
42922 * sunrpc/bindrsvprt.c: Likewise.
42923 * sunrpc/clnt_gen.c: Likewise.
42924 * sunrpc/clnt_perr.c: Likewise.
42925 * sunrpc/clnt_raw.c: Likewise.
42926 * sunrpc/clnt_simp.c: Likewise.
42927 * sunrpc/clnt_tcp.c: Likewise.
42928 * sunrpc/clnt_udp.c: Likewise.
42929 * sunrpc/clnt_unix.c: Likewise.
42930 * sunrpc/des_crypt.c: Likewise.
42931 * sunrpc/des_soft.c: Likewise.
42932 * sunrpc/get_myaddr.c: Likewise.
42933 * sunrpc/getrpcport.c: Likewise.
42934 * sunrpc/key_call.c: Likewise.
42935 * sunrpc/key_prot.c: Likewise.
42936 * sunrpc/openchild.c: Likewise.
42937 * sunrpc/pm_getmaps.c: Likewise.
42938 * sunrpc/pm_getport.c: Likewise.
42939 * sunrpc/pmap_clnt.c: Likewise.
42940 * sunrpc/pmap_prot.c: Likewise.
42941 * sunrpc/pmap_prot2.c: Likewise.
42942 * sunrpc/pmap_rmt.c: Likewise.
42943 * sunrpc/rpc/auth.h: Likewise.
42944 * sunrpc/rpc/auth_unix.h: Likewise.
42945 * sunrpc/rpc/clnt.h: Likewise.
42946 * sunrpc/rpc/des_crypt.h: Likewise.
42947 * sunrpc/rpc/key_prot.h: Likewise.
42948 * sunrpc/rpc/netdb.h: Likewise.
42949 * sunrpc/rpc/pmap_clnt.h: Likewise.
42950 * sunrpc/rpc/pmap_prot.h: Likewise.
42951 * sunrpc/rpc/pmap_rmt.h: Likewise.
42952 * sunrpc/rpc/rpc.h: Likewise.
42953 * sunrpc/rpc/rpc_des.h: Likewise.
42954 * sunrpc/rpc/rpc_msg.h: Likewise.
42955 * sunrpc/rpc/svc.h: Likewise.
42956 * sunrpc/rpc/svc_auth.h: Likewise.
42957 * sunrpc/rpc/types.h: Likewise.
42958 * sunrpc/rpc/xdr.h: Likewise.
42959 * sunrpc/rpc_clntout.c: Likewise.
42960 * sunrpc/rpc_cmsg.c: Likewise.
42961 * sunrpc/rpc_common.c: Likewise.
42962 * sunrpc/rpc_cout.c: Likewise.
42963 * sunrpc/rpc_dtable.c: Likewise.
42964 * sunrpc/rpc_hout.c: Likewise.
42965 * sunrpc/rpc_main.c: Likewise.
42966 * sunrpc/rpc_parse.c: Likewise.
42967 * sunrpc/rpc_parse.h: Likewise.
42968 * sunrpc/rpc_prot.c: Likewise.
42969 * sunrpc/rpc_sample.c: Likewise.
42970 * sunrpc/rpc_scan.c: Likewise.
42971 * sunrpc/rpc_scan.h: Likewise.
42972 * sunrpc/rpc_svcout.c: Likewise.
42973 * sunrpc/rpc_tblout.c: Likewise.
42974 * sunrpc/rpc_util.c: Likewise.
42975 * sunrpc/rpc_util.h: Likewise.
42976 * sunrpc/rpcinfo.c: Likewise.
42977 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42978 * sunrpc/rpcsvc/key_prot.x: Likewise.
42979 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42980 * sunrpc/rpcsvc/mount.x: Likewise.
42981 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42982 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42983 * sunrpc/rpcsvc/rex.x: Likewise.
42984 * sunrpc/rpcsvc/rstat.x: Likewise.
42985 * sunrpc/rpcsvc/rusers.x: Likewise.
42986 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42987 * sunrpc/rpcsvc/spray.x: Likewise.
42988 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42989 * sunrpc/rtime.c: Likewise.
42990 * sunrpc/svc.c: Likewise.
42991 * sunrpc/svc_auth.c: Likewise.
42992 * sunrpc/svc_authux.c: Likewise.
42993 * sunrpc/svc_raw.c: Likewise.
42994 * sunrpc/svc_run.c: Likewise.
42995 * sunrpc/svc_simple.c: Likewise.
42996 * sunrpc/svc_tcp.c: Likewise.
42997 * sunrpc/svc_udp.c: Likewise.
42998 * sunrpc/svc_unix.c: Likewise.
42999 * sunrpc/svcauth_des.c: Likewise.
43000 * sunrpc/xcrypt.c: Likewise.
43001 * sunrpc/xdr.c: Likewise.
43002 * sunrpc/xdr_array.c: Likewise.
43003 * sunrpc/xdr_float.c: Likewise.
43004 * sunrpc/xdr_mem.c: Likewise.
43005 * sunrpc/xdr_rec.c: Likewise.
43006 * sunrpc/xdr_ref.c: Likewise.
43007 * sunrpc/xdr_sizeof.c: Likewise.
43008 * sunrpc/xdr_stdio.c: Likewise.
43009
9da4bb31
UD
43010 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43011 handling.
43012
bdaa77bc
AS
430132010-08-19 Andreas Schwab <schwab@redhat.com>
43014
43015 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43016
fe2f79db
LM
430172010-08-19 Luis Machado <luisgpm@br.ibm.com>
43018
43019 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43020 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43021 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43022 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43023 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43024 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43025 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43026 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43027 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43028 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43029 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43030 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43031 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43032 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43033
b9b42ee0
AB
430342010-07-26 Anton Blanchard <anton@samba.org>
43035
43036 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43037 * malloc/arena.c (heap_trim): Likewise.
43038
1c06ba31
UD
430392010-08-16 Ulrich Drepper <drepper@redhat.com>
43040
43041 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43042 here. Not...
43043 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43044 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43045
f8392f40
L
430462010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43047
43048 * sysdeps/i386/elf/Makefile: New file.
43049
3162f12e
AS
430502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43051
43052 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43053 from fanotify_init.
43054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43056
28c90b2c
UD
430572010-08-15 Ulrich Drepper <drepper@redhat.com>
43058
43059 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43060 of strncasecmp_l.
1feccb6c 43061 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43062
ca6bb004
UD
430632010-08-14 Ulrich Drepper <drepper@redhat.com>
43064
e9f82e0d
UD
43065 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43066 strncase_l-nonascii.
43067 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43068 Add strncase_l-ssse3.
43069 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43070 * sysdeps/x86_64/strcmp.S: Likewise.
43071 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43072 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43073 * sysdeps/x86_64/strncase.S: New file.
43074 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43075 * sysdeps/x86_64/strncase_l.S: New file.
43076 * string/Makefile (strop-tests): Add strncasecmp.
43077 * string/test-strncasecmp.c: New file.
43078
43079 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43080 warning.
43081
ca6bb004
UD
43082 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43083 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43084
052fa7b3
AS
430852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43086
43087 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43088
962dba78
UD
430892010-08-12 Ulrich Drepper <drepper@redhat.com>
43090
43091 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43092 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43094
bebff237
AM
430952010-05-01 Alan Modra <amodra@gmail.com>
43096
43097 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43098 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43099 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43100 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43101 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43102 tidying. Don't tail-call __sigjmp_save for static lib.
43103 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43104 save location.
43105 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43106 (CALL_MCOUNT): Add eh info, and nop after bl.
43107 (TAIL_CALL_SYSCALL_ERROR): New macro.
43108 (PSEUDO_RET): Use it.
43109 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43110 Correct save location of integer regs and cr.
43111 (_dl_profile_resolve): Correct cr save location. Delete nops
43112 after bl when SHARED. Reduce cfi size a little by better
43113 placement of cfi directives.
43114 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43115 make a stack frame. Instead use parm save area as a temp.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43117 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43119 Don't make a stack frame for parent, use parm save area.
43120 Increase child stack frame to 112 bytes. Don't save unused reg,
43121 and adjust reg usage. Set up cfi on error recovery and
43122 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43124 (__makecontext): Add dummy nop after jump to exit.
43125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43126 Use correct parm save area and cr save, reduce stack frame.
43127 Correct cfi for possible PSEUDO_RET frame setup.
43128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43129 Branch to local label emitted by PSEUDO_RET rather than
43130 __syscall_error.
43131
02637374
AS
431322010-08-12 Andreas Schwab <schwab@redhat.com>
43133
43134 [BZ #11904]
43135 * locale/programs/locale.c (print_assignment): New function.
43136 (show_locale_vars): Use it.
43137
c3e2f19b
UD
431382010-08-11 Ulrich Drepper <drepper@redhat.com>
43139
3cdaa6ad
UD
43140 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43141 field.
43142 (struct statfs64): Likewise.
43143 (_STATFS_F_FLAGS): Define.
43144 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43146 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43147 (ST_VALID): Define locally.
43148 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43149 __statvfs_getflags, use the provided value.
43150 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43151 __ASSUME_STATFS_F_FLAGS.
43152
754f7da3
UD
43153 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43154
10b3bedc
UD
43155 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43156 Add sys/fanotify.h.
43157 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43158 fanotify_mask for GLIBC_2.13.
43159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43160 fanotify_init and fanotify_mark.
43161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43162 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43163
c08fb0d7
UD
43164 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43165 Add prlimit.
43166 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43167 prlimit64 for GLIBC_2.13.
43168 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43169 prlimit64.
43170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43171 syscall.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43173 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43174 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43175 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43177 add prlimit alias.
43178 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43179
15bac72b
UD
43180 [BZ #11903]
43181 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43182 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43183
c3e2f19b
UD
43184 * nss/Makefile: Add rules to build and run tst-nss-test1.
43185 * shlib-versions: Add entry for libnss_test1.
43186 * nss/nss_test1.c: New file.
43187 * nss/tst-nss-test1.c: New file.
43188
43189 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43190 (__nss_configure_lookup): Set appropriate entry in
43191 __nss_configure_lookup to true.
43192 * nss/nsswitch.h: Define enum with indeces of databases in
43193 databases and __nss_database_custom arrays. Declare
43194 __nss_database_custom.
43195 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43196 to avoid using nscd when custom rules are installed.
43197 * nss/getXXbyYY_r.c: Likewise.
43198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43199
43200 * nss/nss_files/files-parse.c: Whitespace fixes.
43201
f15ce4d8
UD
432022010-08-09 Ulrich Drepper <drepper@redhat.com>
43203
43204 [BZ #11883]
43205 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43206 * posix/fnmatch_loop.c: Likewise.
43207
d22e4cc9
AK
432082010-07-17 Andi Kleen <ak@linux.intel.com>
43209
43210 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43211 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43212 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43213 * Versions.def [GLIBC_2.13]: Add.
43214
805bc17d
UD
432152010-08-06 Ulrich Drepper <drepper@redhat.com>
43216
43217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43218 Also fail if tpwd after pwuid call is NULL.
43219
5a42321d
ST
432202010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43221
43222 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43223 when converting to ms.
43224
fd3ebeda
ST
432252010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43226
43227 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43228 EOPNOTSUPP errors with ENOTTY.
43229 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43230 EOPNOTSUPP errors with ENOTTY.
43231
73507d3a
UD
432322010-07-31 Ulrich Drepper <drepper@redhat.com>
43233
43234 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43235 Add strcasecmp_l-ssse3.
43236 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43237 strcasecmp.
43238 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43239 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43240 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43241
fe36dd02
UD
432422010-07-30 Ulrich Drepper <drepper@redhat.com>
43243
66f6765a
UD
43244 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43245
42e08a54
UD
43246 * string/Makefile (strop-tests): Add strcasecmp.
43247 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43248 strcasecmp_l-nonascii.
43249 (gen-as-const-headers): Add locale-defines.sym.
43250 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43251 * sysdeps/x86_64/strcasecmp.S: New file.
43252 * sysdeps/x86_64/strcasecmp_l.S: New file.
43253 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43254 * sysdeps/x86_64/locale-defines.sym: New file.
43255 * string/test-strcasecmp.c: New file.
43256
fe36dd02
UD
43257 * string/test-strcasestr.c: Test both ends of the range of characters.
43258 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43259
48cbc0d6
RM
432602010-07-29 Roland McGrath <roland@redhat.com>
43261
76e6d6bc 43262 [BZ #11856]
48cbc0d6
RM
43263 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43264
880113d9
UD
432652010-07-27 Ulrich Drepper <drepper@redhat.com>
43266
43267 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43268 for ld.so.
43269
deb9cabb
AS
432702010-07-27 Andreas Schwab <schwab@redhat.com>
43271
43272 * manual/memory.texi (Malloc Tunable Parameters): Document
43273 M_PERTURB.
43274
1c7570ff
RM
432752010-07-26 Roland McGrath <roland@redhat.com>
43276
43277 [BZ #11840]
43278 * configure.in (-fgnu89-inline check): Set and substitute
43279 gnu89_inline, not libc_cv_gnu89_inline.
43280 * configure: Regenerated.
43281 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43282
24fb0f88
UD
432832010-07-26 Ulrich Drepper <drepper@redhat.com>
43284
43285 * string/test-strnlen.c: New file.
43286 * string/Makefile (strop-tests): Add strnlen.
43287 * string/tester.c (test_strnlen): Add a few more test cases.
43288 * string/tst-strlen.c: Better error reporting.
43289
43290 * sysdeps/x86_64/strnlen.S: New file.
43291
8e96b93a
UD
432922010-07-24 Ulrich Drepper <drepper@redhat.com>
43293
43294 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43295 lower-latency instructions.
43296
dbc676d4
UD
432972010-07-23 Ulrich Drepper <drepper@redhat.com>
43298
43299 * string/test-strcasestr.c: New file.
43300 * string/test-strstr.c: New file.
43301 * string/Makefile (strop-tests): Add strstr and strcasestr.
43302 * string/str-two-way.h: Don't undefine MAX.
43303 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43304
f6a31e0e
AS
433052010-07-21 Andreas Schwab <schwab@redhat.com>
43306
43307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43308 strcasestr-nonascii.
43309 (CFLAGS-strcasestr-nonascii.c): Define.
43310 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43311 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43312 Remove unused attribute.
43313
5dbc3b6c
RM
433142010-07-20 Roland McGrath <roland@redhat.com>
43315
43316 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43317 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43318 ld.so.cache was broken. With it, there is no way to disable dsocaps
43319 like LD_HWCAP_MASK can disable hwcaps.
43320
23d101d8
EPM
433212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43322
43323 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43324
cc9f2e47
UD
433252010-07-16 Ulrich Drepper <drepper@redhat.com>
43326
43327 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43328 call in strcasestr.
43329 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43330 __strcasestr_sse42_nonascii.
43331 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43332 strcasestr-nonascii.c.
43333 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43334
77c1b069
LM
433352010-06-15 Luis Machado <luisgpm@br.ibm.com>
43336
43337 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43338 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43339 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43340 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43341
440566c3
UD
433422010-07-09 Ulrich Drepper <drepper@redhat.com>
43343
43344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43345 fcntl.
43346
5be9d05d
AS
433472010-07-06 Andreas Schwab <schwab@redhat.com>
43348
c30b7ee2 43349 [BZ #11577]
5be9d05d
AS
43350 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43351 dl_signal_cerror.
43352
8a492a67
UD
433532010-07-06 Ulrich Drepper <drepper@redhat.com>
43354
43355 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43356 _PC_PIPE_BUF using F_GETPIPE_SZ.
43357
713df3d5
RM
433582010-07-05 Roland McGrath <roland@redhat.com>
43359
43360 * manual/arith.texi (Rounding Functions): Fix rint description
43361 implicit in round description.
43362
702e8f14
UD
433632010-07-02 Ulrich Drepper <drepper@redhat.com>
43364
43365 * elf/Makefile: Fix linking for a few tests to make recent linker
43366 happy.
43367
52ed8be9
AS
433682010-06-30 Andreas Schwab <schwab@redhat.com>
43369
43370 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43371 $(common-objpfx)libc_nonshared.a.
43372
f47c9a11
LM
433732010-06-21 Luis Machado <luisgpm@br.ibm.com>
43374
43375 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43376 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43377 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43378 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43379 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43380 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43381 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43382 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43397 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43398 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43399 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43400 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43401 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43402 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43403 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43404 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43405 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43406 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43407 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43408 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43423
6fb8cbcb
L
434242010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43425
43426 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43427 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43428 * string/memmove.c (memmove): Renamed to ...
43429 (MEMMOVE): ...this. Default to memmove.
43430 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43431 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43432 (END_CHK): Define.
43433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43434 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43435 mempcpy-ssse3-back memmove-ssse3-back.
43436 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43439 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43440 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43441 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43442 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43443 * sysdeps/x86_64/multiarch/memmove.c: New file.
43444 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43445 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43446 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43447 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43448 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43450 Define.
43451 (index_Fast_Copy_Backward): Define.
43452 (HAS_ARCH_FEATURE): Define.
43453 (HAS_FAST_REP_STRING): Define.
43454 (HAS_FAST_COPY_BACKWARD): Define.
43455
4e733bac 434562010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43457
43458 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43459 Restore proper fallback handling.
43460
63c4ed22
UD
434612010-06-19 Ulrich Drepper <drepper@redhat.com>
43462
ac2b484c
UD
43463 [BZ #11701]
43464 * posix/group_member.c (__group_member): Correct checking loop.
43465
63c4ed22
UD
43466 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43467 OOM in getpwuid_r correctly. Return error number when the caller
43468 should return, otherwise -1.
43469 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43470 call returning > 0 value.
43471 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43472
765ade4b
AS
434732010-06-07 Andreas Schwab <schwab@redhat.com>
43474
43475 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43476 libc_nonshared.a from targets in modules-names.
43477
80da2e09
KS
434782010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43479
43480 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43481 requires it.
43482
158db122
LM
434832010-06-10 Luis Machado <luisgpm@br.ibm.com>
43484
43485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43486 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43489
caa78cf8
AS
434902010-06-02 Andreas Schwab <schwab@redhat.com>
43491
43492 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43493
b2ef2c01
UD
434942010-06-14 Ulrich Drepper <drepper@redhat.com>
43495
43496 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43497 and F_GETPIPE_SZ.
43498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43502 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43503 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43504
fbd643b6
RM
435052010-06-14 Roland McGrath <roland@redhat.com>
43506
43507 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43508
f32f2869
JJ
435092010-06-07 Jakub Jelinek <jakub@redhat.com>
43510
43511 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43512 __REDIRECT followed by __THROW.
43513 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43514 * posix/getopt.h (getopt): Likewise.
43515
2a50c078
EPM
435162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43517
43518 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43519 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43520 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43521 in AT_FLAGS.
43522 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43523 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43524
eb5ad2eb
LM
435252010-05-28 Luis Machado <luisgpm@br.ibm.com>
43526
43527 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43528
3c88fe1e
L
435292010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43530
43531 [BZ #11640]
43532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43533 Properly check family and model.
43534
d2f73151
TY
435352010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43536
43537 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43538
ebd2e13d
LM
435392010-05-24 Luis Machado <luisgpm@br.ibm.com>
43540
43541 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43542
b32b8b45
UD
435432010-05-21 Ulrich Drepper <drepper@redhat.com>
43544
43545 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43546 symbol reference.
43547
9acbe24d
AS
435482010-05-19 Andreas Schwab <schwab@redhat.com>
43549
43550 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43551 symbol reference.
43552
f0ccf6ea
AS
435532010-05-21 Andreas Schwab <schwab@redhat.com>
43554
3d04ff3a
AS
43555 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43556 and internal_recvmmsg.
43557 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43558 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43559 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43560 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43561
f0ccf6ea
AS
43562 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43563 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43564 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43565
5b08ac57
AS
435662010-05-20 Andreas Schwab <schwab@redhat.com>
43567
43568 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43569
4828935d
LM
435702010-05-17 Luis Machado <luisgpm@br.ibm.com>
43571
43572 POWER7 optimizations.
43573 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43574 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43575
373d545e
UD
435762010-05-19 Ulrich Drepper <drepper@redhat.com>
43577
43578 * version.h: Update for 2.13 development version.
43579
21a2b1ae
AS
435802010-05-12 Andrew Stubbs <ams@codesourcery.com>
43581
43582 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43583 exceptions. Return 0.
43584
3f7dcb2b
RM
435852010-05-07 Roland McGrath <roland@redhat.com>
43586
43587 * elf/ldconfig.c (main): Add a const.
43588
5f24d53a 435892010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43590
a160f8d8
UD
43591 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43592 (args_options): Add no-idn option.
43593 (ahosts_keys_int): Add idn_flags to ai_flags.
43594 (parse_option): Handle 'i' option to clear idn_flags.
43595
5f24d53a
UD
43596 * malloc/malloc.c (_int_free): Possible race in the most recently
43597 added check. Only act on the data if no current modification
43598 happened.
265bb1ce
UD
43599
43600See ChangeLog.17 for earlier changes.