]> sourceware.org Git - glibc.git/blame - ChangeLog
Some configure-related decrufting.
[glibc.git] / ChangeLog
CommitLineData
7a1a51b5
RM
12014-05-08 Roland McGrath <roland@hack.frob.com>
2
95afbbe5
RM
3 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4 look for %.ac rather than %.in.
5
6 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8 * sysdeps/mach/hurd/configure: Regenerated.
9 * sysdeps/unix/sysv/linux/configure: Regenerated.
10
7a1a51b5
RM
11 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12
5057ad3b
SE
132014-05-07 Steve Ellcey <sellcey@mips.com>
14
15 [BZ# 16922]
16 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17 (LONG_SUB): Ditto.
18 (PTR_SUB): Ditto.
19
8dc97517
AS
202014-05-07 Andreas Schwab <schwab@suse.de>
21
22 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23 when skipping over non-matching result from nscd.
24
ce0c5b8f
OB
252014-05-07 Ondřej Bílka <neleai@seznam.cz>
26
27 [BZ #16876]
28 * nptl/sockperf.c (client): Check socket return value.
8dc97517 29
a1189263
OB
30 [BZ #16877]
31 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32 nscd security class.
ce0c5b8f 33
0f58d252
RM
342014-05-06 Roland McGrath <roland@hack.frob.com>
35
36 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37 * sysdeps/arm/unwind.h: ... here.
38
83df9ad0
AJ
392014-05-06 Aurelien Jarno <aurelien@aurel32.net>
40
ce0c5b8f
OB
41 [BZ# 16916]
42 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
43 Define.
83df9ad0 44
f360f94a
VR
452014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
46
47 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49 multiarch strncpy for PPC64.
50 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53 multiarch optimizations.
54 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55 (__libc_ifunc_impl_list): Likewise.
56 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
57 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
58 multiarch stpncpy for PPC64.
59 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
60 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
61
978a41c3
AS
622014-05-06 Andreas Schwab <schwab@suse.de>
63
64 [BZ #16912]
65 * gmon/mcount.c (_MCOUNT_DECL): Use
66 atomic_compare_and_exchange_bool_acq instead of
67 catomic_compare_and_exchange_bool_acq.
68
eb1ed03d
RM
692014-05-05 Roland McGrath <roland@hack.frob.com>
70
fe658845
RM
71 * elf/Makefile (others, install-bin): Remove pldd.
72 (pldd-modules): Variable removed.
73 ($(objpfx)pldd): Target removed.
74 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
75 (others, install-bin): Append pldd here.
76 ($(objpfx)pldd): New target.
77
eb1ed03d
RM
78 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
79 to 0, so the first #if test emitted later doesn't see it undefined.
80 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
81 * sysdeps/gnu/errlist.c: Regenerated.
82
19c4bec0
AZ
832014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84
85 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
86 [libc_hidden_builtin_def]: Define to empty value.
87 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
88 [libc_hidden_builtin_def]: Likewise.
89 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
90 [libc_hidden_builtin_def]: Likewise.
91 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
92 [libc_hidden_builtin_def]: Likewise.
93 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
94 __redirect_memcpy and define ifunc as default hidden symbol.
95 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
96 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
97
7776e669
AC
982014-05-04 Adam Conrad <adconrad@0c3.net>
99
100 * locale/iso-4217.def: Reintroduce XDR currency.
101
d69aeb12
AM
1022014-05-04 Allan McRae <allan@archlinux.org>
103
104 * po/eo.po: Update Esperanto translation from translation project.
105
8f1df5cf
CD
1062014-05-02 Carlos O'Donell <carlos@redhat.com>
107
108 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
109 and FEATURE_INDEX_MAX to 1.
110 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
111
13e402e7
SE
1122014-05-01 Steve Ellcey <sellcey@mips.com>
113
114 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
115 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
116 * iconvdata/big5.c (ONE_DIRECTION): Define.
117 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
118 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
119 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
120 * iconvdata/cp932.c (ONE_DIRECTION): Define.
121 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
122 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
123 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
124 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
125 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
126 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
127 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
128 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
129 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
130 * iconvdata/gbk.c (ONE_DIRECTION): Define.
131 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
132 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
133 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
134 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
135 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
136 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
137 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
138 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
139 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
140 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
141 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
142 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
143 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
144 * iconvdata/iso646.c (ONE_DIRECTION): Define.
145 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
146 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
147 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
148 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
149 * iconvdata/johab.c (ONE_DIRECTION): Define.
150 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
151 * iconvdata/sjis.c (ONE_DIRECTION): Define.
152 * iconvdata/t.61.c (ONE_DIRECTION): Define.
153 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
154 * iconvdata/tscii.c (ONE_DIRECTION): Define.
155 * iconvdata/uhc.c (ONE_DIRECTION): Define.
156 * iconvdata/unicode.c (ONE_DIRECTION): Define.
157 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
158 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
159 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
160
c727f032
RM
1612014-05-01 Roland McGrath <roland@hack.frob.com>
162
8f2f08d0
RM
163 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
164 (_IO_JUMPS_OFFSET): Define to 0.
165
c727f032
RM
166 * nptl/sysdeps/pthread/bits/libc-lock.h
167 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
168 (__libc_lock_define_initialized_recursive): Always define using
169 initializer. Modern compilers treat uninitialized (implicit zero) and
170 explicit zero initializers the same (i.e. put the datum in bss).
171
a849e800
AS
1722014-05-01 Andreas Schwab <schwab@linux-m68k.org>
173
174 * nscd/nscd-client.h: Include <string.h>.
175
5331255b
DM
1762014-05-01 David S. Miller <davem@davemloft.net>
177
178 [BZ #16885]
179 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
180 multiple zero bytes exist at the end of a string.
181 Reported by Aurelien Jarno <aurelien@aurel32.net>
182
183 * string/test-strcmp.c (check): Add explicit test for situations where
184 there are multiple zero bytes after the first.
185
4fdfe821
AS
1862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
187
188 [BZ #16890]
189 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
190 when compiling wprintf.
191 * stdio-common/tstdiomisc.c (t3): New function.
192 (main): Call it.
193
0cdddc25
SE
1942014-05-01 Steve Ellcey <sellcey@mips.com>
195
196 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
197 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
198 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
199 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
200
6426d77e
SE
2012014-05-01 Steve Ellcey <sellcey@mips.com>
202
203 * stdlib/longlong.h: Updated from GCC.
204
6d96f5e4
WN
2052014-05-01 Will Newton <will.newton@linaro.org>
206 Bernard Ogden <bernie.ogden@linaro.org>
207
7470db0c
WN
208 * NEWS: Update fixed bug list.
209
6d96f5e4
WN
210 [BZ #15119]
211 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
212
211d653c
DM
2132014-04-30 David S. Miller <davem@davemloft.net>
214
4fa262fa
DM
215 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
216 (libc_feholdexcept_setround_sparc_ctx): New function.
217 (libc_fesetenv_sparc_ctx): Likewise.
218 (libc_feupdateenv_sparc_ctx): Likewise.
219 (libc_feholdsetround_sparc_ctx): Likewise.
220 (libc_feholdexcept_setround_ctx): Define.
221 (libc_feholdexcept_setroundf_ctx): Likewise.
222 (libc_feholdexcept_setroundl_ctx): Likewise.
223 (libc_fesetenv_ctx): Likewise.
224 (libc_fesetenvf_ctx): Likewise.
225 (libc_fesetenvl_ctx): Likewise.
226 (libc_feupdateenv_ctx): Likewise.
227 (libc_feupdateenvf_ctx): Likewise.
228 (libc_feupdateenvl_ctx): Likewise.
229 (libc_feresetround_ctx): Likewise.
230 (libc_feresetroundf_ctx): Likewise.
231 (libc_feresetroundl_ctx): Likewise.
232 (libc_feholdsetround_ctx): Likewise.
233 (libc_feholdsetroundf_ctx): Likewise.
234 (libc_feholdsetroundl_ctx): Likewise.
235
1d3d93ef
DM
236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
237 with __USE_GNU instead of XOPEN cpp guards.
238
8aa583c3
DM
239 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
240 0.
241
211d653c
DM
242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
243 with XOPEN cpp guards.
244
60c8f1f6
JB
2452014-04-30 Julian Brown <julian@codesourcery.com>
246
247 [BZ #16888]
248 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
249 handling.
250
9a461d46
JM
2512014-04-30 Joseph Myers <joseph@codesourcery.com>
252
d0f5b3f8
JM
253 [BZ #9894]
254 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
255 Change to 2.6.32.
256 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
257 * sysdeps/unix/sysv/linux/configure: Regenerated.
258 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
259 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
260 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
261 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
262 * README: Update reference to required Linux kernel version.
263 * manual/install.texi (Linux): Update reference to required Linux
264 kernel headers version.
265 * INSTALL: Regenerated.
266
9a461d46
JM
267 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
268 header inclusion.
269 [POSIX] (limits.h): Likewise.
270 [POSIX] (math.h): Likewise.
271 [POSIX] (sys/wait.h): Likewise.
272 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
273 function.
274 [POSIX] (stddef.h): Do not allow header inclusion.
275
1775babf
AZ
2762014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277
57f41c40 278 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 279
8f630cca
YY
2802014-04-30 Yang Yingliang <yangyingliang@huawei.com>
281
282 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
283 Return immediately after lll_futex_wake.
284
1cdeb237
SP
2852014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
286
bc8f194c
SP
287 [BZ #16791]
288 * nscd/nscd-client.h (datahead_init_common): Initialize entire
289 structure.
290 (datahead_init_pos): Call datahead_init_common early.
291 (datahead_init_neg): Likewise.
292
1cdeb237
SP
293 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
294 datahead_init_neg): New functions.
295 * nscd/aicache.c (addhstaiX): Use them.
296 * nscd/grpcache.c (cache_addgr): Likewise.
297 * nscd/hstcache.c (cache_addhst): Likewise.
298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
299 * nscd/netgroupcache.c (do_notfound): Likewise.
300 (addgetnetgrentX): Likewise.
301 (addinnetgrX): Likewise.
302 * nscd/pwdcache.c (cache_addpw): Likewise.
303 * nscd/servicescache.c (cache_addserv): Likewise.
304
16b293a7
SP
3052014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
306 Atsushi Onoe <atsushi@onoe.org>
307
308 [BZ #14308]
309 [BZ #12994]
310 [BZ #13651]
311 * resolv/res_query.c (__libc_res_nsearch): Return if at least
312 one response is valid.
313 * resolv/res_send.c (send_dg): Check for validity of other
314 response if the current response is a referral.
315
a28a9b94
SE
3162014-04-29 Steve Ellcey <sellcey@mips.com>
317
318 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
319
2ca180e9
SL
3202014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
321
322 [BZ #16823]
323 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
324 Always divide by positive zero when computing -Inf result.
325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
326 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
327
18f2945a
AZ
3282014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
329
330 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
331 FPSCR if value do not change.
332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
334 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
337 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
338 function.
339
5abebba4
CD
3402014-05-29 Carlos O'Donell <carlos@systemhalted.org>
341
342 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
343 * sysdeps/unix/sysv/linux/hppa: Move directory from
344 ports/systeps/unix/sysv/linux/hppa.
345 * README: Update listing for hppa-*-linux-gnu.
346
f7ed60c2
OB
3472014-04-28 Ondřej Bílka <neleai@seznam.cz>
348
fff763a5
OB
349 [BZ #16754]
350 * manual/stdio.texi (Hook functions): Fix types of stream hook
351 functions.
f7ed60c2
OB
352 [BZ #16854]
353 * socket/sys/socket.h: Fix typo in comment.
354
df639d73
WD
3552014-04-28 Wilco <wdijkstr@arm.com>
356
f7ed60c2 357 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
358 * sysdeps/arm/math_private.h: New file.
359 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
360
48332d82
L
3612014-04-25 H.J. Lu <hongjiu.lu@intel.com>
362
363 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
364 with __int128_t.
365 (La_x86_64_retval): Likewise.
366
e5e0d9a4
IB
3672014-04-24 Ian Bolton <ian.bolton@arm.com>
368
369 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
370 fpsr if value didn't change.
371 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
372 to fpcr if value didn't change.
373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
374 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
375 fpsr or fpcr if value didn't change.
376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
378 fpcr if value didn't change.
379 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
380 to fpsr if value didn't change.
381
bacc75f7
SP
3822014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 * nptl/tst-sem3.c: Use test-skeleton.c
385 (main): Rename to do_test. Use return instead of
386 exit.
387 * nptl/tst-sem4.c: Use test-skeleton.c
388 (main): Rename to do_test.
389
a059d359
DM
3902014-04-22 David S. Miller <davem@davemloft.net>
391
392 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
393 (struct sigaction): New struct member __glibc_reserved0, change
394 type of sa_flags to int.
395
ea6c92f3
YZ
3962014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
397
398 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
399 (COUNT_LEADING_ZEROS_0): Define for AArch64.
400
766c4a36
SP
4012014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
402
403 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
404 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
405
140cc7ab
VK
4062014-04-22 Will Newton <will.newton@linaro.org>
407 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
408
409 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
410 (__longjmp): Add longjmp and longjmp_target SystemTap
411 probes.
412 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
413 (__sigsetjmp): Add setjmp SystemTap probe.
414
c54e5cf7
CD
4152014-04-17 Carlos O'Donell <carlos@redhat.com>
416
417 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
418 match manual order.
419
75ffb047
AZ
4202014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421
422 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
423
2cd925f7
AZ
424 * sysdeps/powerpc/fpu/fenv_private.h
425 (libc_feholdexcept_setroundl_ctx): Define to
426 libc_feholdexcept_setround_ppc_ctx.
427 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
428 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
429 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
430 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
431
39e6cd8d
IB
4322014-04-17 Ian Bolton <ian.bolton@arm.com>
433
434 * sysdeps/aarch64/math-tests.h: New file.
435
f9281df9
SY
4362014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
437
438 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
439 New.
440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
441 Check and set bit_AVX2_Usable.
442 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
443 macro.
444 (bit_AVX2): Likewise.
445 (index_AVX2_Usable): Likewise.
446 (CPUID_AVX2): Likewise.
447 (HAS_AVX2): Likewise.
448
37d35007
WN
4492014-04-17 Will Newton <will.newton@linaro.org>
450
7c677662
WN
451 * manual/setjmp.texi (System V contexts): Add note that
452 calling setcontext on a context created by a call to a
453 signal handler is undefined. Update text to note that
454 setcontext from a signal handler is possible but not
455 recommended.
456
37d35007 457 [BZ #16629]
e04a4e9d
WN
458 * stdlib/tst-setcontext.c: Include signal.h.
459 (main): Check that the signal stack before and
460 after swapcontext is the same.
461
37d35007
WN
462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
463 Re-implement to restore registers in user code and avoid
464 rt_sigreturn system call.
465
423a7160
W
4662014-04-17 Wilco <wdijkstr@arm.com>
467
468 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
469 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
470 * math/test-fenv.c: Skip exception trap tests on targets which only
471 support non-stop mode.
472
bc93ab29
IB
4732014-04-17 Ian Bolton <ian.bolton@arm.com>
474 Wilco Dijkstra <wilco.dijkstra@arm.com>
475
476 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
477 (libc_feholdsetround_aarch64_ctx)
478 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
479 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
480 (libc_feresetround_ctx, libc_feresetroundf_ctx)
481 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
482 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
483 (libc_feresetround_noexl_ctx): Define.
484
95fc5fa3
RH
4852014-04-16 Richard Henderson <rth@redhat.com>
486
ddb04724
RH
487 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
488
d77c0899
RH
489 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
490 unwind tables.
491
a3df56fc
RH
492 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
493 const from the non-libc, non-ldso copy.
494
95fc5fa3
RH
495 * sysdeps/alpha/libm-test-ulps: Regenerate.
496
7e0b6763
IB
4972014-04-16 Ian Bolton <ian.bolton@arm.com>
498 Wilco Dijkstra <wilco.dijkstra@arm.com>
499
500 * sysdeps/aarch64/fpu/math_private.h: New file.
501
a9ea2e0c
MS
5022014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
503
504 * sysdeps/aarch64/libm-test-ulps: Regenerate.
505
ea8ba7cd
IZ
5062014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
507
508 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
509 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
511 Intel MPX bound registers before _dl_profile_fixup.
512 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
513 registers after _dl_profile_fixup. Save and restore bound
514 registers bnd0/bnd1 when calling _dl_call_pltexit.
515 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
516 (LR_BND_OFFSET): Likewise.
517 (LRV_BND0_OFFSET): Likewise.
518 (LRV_BND1_OFFSET): Likewise.
519
9f2a4fbc
ST
5202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
521
522 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
523 to...
524 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
525 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
526 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
527 fields.
9f2a4fbc 528
fd15a59b
ST
5292014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
530
531 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
532
f19dfa0a
SL
5332014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
534
535 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
536
4fa8bc3b
SL
5372014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
538
539 [BZ #14770]
540 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
541 * sysdeps/s390/configure: Regenerate.
542
8ea587db
SL
543 [BZ #16824]
544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
545 Set round-to-nearest internally to reduce error accumulation.
546
aa5f0ff1
AM
5472014-04-16 Alan Modra <amodra@gmail.com>
548
549 [BZ #16740]
550 [BZ #16619]
551 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
552 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 553 * NEWS: Update fixed bug list.
aa5f0ff1 554
bb9c256f
SP
5552014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
556
557 * benchtests/Makefile: Depend on libraries in build directory.
558 (bench-math): Separate out math tests.
559 (bench-pthread): Separate out pthread tests.
560 (bench): Include math and pthread tests.
561
f737dfd0
CD
5622014-04-14 Carlos O'Donell <carlos@redhat.com>
563
564 [BZ #16831]
565 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
566 _dl_debug_initialize.
567
0699f766
CD
568 * configure.ac: Remove SELinux header check.
569 * configure: Regenerate.
570 * nscd/selinux.c (perms): Array of const char* to permission names.
571 (nscd_request_avc_has_perm): Call security_deny_unknown to find
572 default policy. Call string_to_security_class and string_to_av_perm to
573 translate strings. Enforce default policy and call avs_has_perm with
574 results of translated strings.
575
809bd45f
DM
5762014-04-13 David S. Miller <davem@davemloft.net>
577
578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
579
89e691f2
AM
5802014-04-12 Allan McRae <allan@archlinux.org>
581
582 [BZ #16838]
583 * manual/string.texi (Collation Functions): Fix qsort argument
584 order in example.
585 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
586
9c9daaeb
CM
5872014-04-11 Chris Metcalf <cmetcalf@tilera.com>
588
589 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
590 Make the test a no-op if there are no exceptions defined.
591
95561fb9
PP
5922014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
593
fe8d072c 594 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
595 enable-hardcoded-path-in-tests
596
970c602a
WN
5972014-04-11 Will Newton <will.newton@linaro.org>
598
599 * benchtests/Makefile (extra-objs): Add json-lib.o.
600 (bench-func): Tidy up JSON output.
601 * benchtests/bench-skeleton.c: Include json-lib.h.
602 (main): Use JSON library functions to do output of
603 benchmark results.
604 * benchtests/bench-timing-type.c (main): Output the
605 timing type simply, leaving formatting to the user.
606 * benchtests/json-lib.c: New file.
607 * benchtests/json-lib.h: Likewise.
608
36875b06
TR
6092014-04-11 Torvald Riegel <triegel@redhat.com>
610
611 [BZ #15215]
612 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
613 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
614 memory barriers. Add comments.
615 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
616 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
617 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
618 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
619 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
620 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
621
579db35a
SL
6222014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
623
624 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
625 * sysdeps/s390/s390-64/configure.ac: ... this ...
626 * sysdeps/s390/configure.ac: ... to here.
627 * sysdeps/s390/s390-32/configure: Delete file.
628 * sysdeps/s390/s390-64/configure: Delete file.
629 * sysdeps/s390/configure: Regenerate.
630
c12e9f37
JAPH
6312014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
632
633 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
634
439bda32
WN
6352014-04-11 Will Newton <will.newton@linaro.org>
636
637 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
638 to zero if it is not defined elsewhere. (mtrim): Test
639 the value of MALLOC_DEBUG with #if rather than #ifdef.
640
6a5d6ea1
TR
6412014-04-10 Torvald Riegel <triegel@redhat.com>
642
643 * benchtests/pthread_once-inputs: New file.
644 * benchtests/pthread_once-source.c: New file.
645 * benchtests/README: Update documentation.
646
a4c75cfd
IZ
6472014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
648 H.J. Lu <hongjiu.lu@intel.com>
649
650 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
651 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
652 * sysdeps/x86_64/configure: Regenerated.
653 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
654 macro.
655 (REGISTER_SAVE_RAX): Likewise.
656 (REGISTER_SAVE_RCX): Likewise.
657 (REGISTER_SAVE_RDX): Likewise.
658 (REGISTER_SAVE_RSI): Likewise.
659 (REGISTER_SAVE_RDI): Likewise.
660 (REGISTER_SAVE_R8): Likewise.
661 (REGISTER_SAVE_R9): Likewise.
662 (REGISTER_SAVE_BND0): Likewise.
663 (REGISTER_SAVE_BND1): Likewise.
664 (REGISTER_SAVE_BND2): Likewise.
665 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
666 bound registers when calling _dl_fixup.
667
27822ce6
AZ
6682014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
669
670 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
671 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
672 of its definition.
27822ce6
AZ
673 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
674 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
675 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
676 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
677 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
678 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
679 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
680
a88ddc90
PTB
6812014-04-09 Peter Brett <peter@peter-b.co.uk>
682
683 [BZ #15514]
684 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
685 pathconf(_PC_NAME_MAX).
686
01f8eac2
AZ
6872014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
690 Remove macro usage.
691 (__PTHREAD_SPINS): Move definition to ...
692 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
693 (__PTHREAD_SPINS): ... here.
694 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
695 (__PTHREAD_SPIN): Likewise.
696 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
697 (__PTHREAD_SPIN): Likewise.
698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
699 (__PTHREAD_SPIN): Likewise.
700 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
701 (__PTHREAD_SPIN): Likewise.
702 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
703 (__PTHREAD_SPIN): Likewise.
704 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
705 (__PTHREAD_SPIN): Likewise.
706 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
707 (__PTHREAD_SPIN): Likewise.
708 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
709 (__PTHREAD_SPIN): Likewise.
710 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
711 (__PTHREAD_SPIN): Likewise.
712 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
713 (__PTHREAD_SPIN): Likewise.
714 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
715 (__PTHREAD_SPIN): Likewise.
716 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
717 (__PTHREAD_SPIN): Likewise.
718
de21c33c
AZ
719 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
720 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
721 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
722 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
723 imply folder.
724 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
725 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
726 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
727 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
728 correct imply path.
729 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
730 strlen symbol for non multi-arch builds.
731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
732 missing hidden_def and weak_alias.
733
862c472e
CD
7342014-04-08 Carlos O'Donell <carlos@redhat.com>
735
736 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
737
8667f90e
WN
7382014-04-07 Will Newton <will.newton@linaro.org>
739
740 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
741 and contents. [!_LIBC] Remove #ifndef and contents.
742 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
743 * string/memccpy.c (__memccpy): Use ANSI prototype.
744 * string/memfrob.c (memfrob): Likewise.
745 * string/strcoll.c (STRCOLL): Likewise.
746 * string/strlen.c (strlen): Likewise.
747 * string/strtok.c (STRTOK): Likewise.
748 * string/strcat.c: Remove unused #include of memcopy.h.
749 (strcat): Use ANSI prototype.
750 * string/strchr.c: Remove unused #include of memcopy.h.
751 (strchr): Use ANSI prototype.
752 * string/strcmp.c: Remove unused #include of memcopy.h.
753 (strcmp): Use ANSI prototype.
754 * string/strcpy.c: Remove unused #include of memcopy.h.
755 (strcpy): Use ANSI prototype.
756
7ffa9423
AZ
7572014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
758
759 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
760 * config.make.in (config-extra-cppflags): Set it from
761 libc_extra_cppflags.
762 * configure.ac (libc_extra_cflags): Make it accumulate over
763 configure fragments.
764 (libc_extra_cppflags): New flag.
765 * configure. Regenerate.
766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
767 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
768 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
770
8bd70862
AZ
771 [BZ #16815]
772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
773 result for FE_DOWNWARD rounding mode.
774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
775 Likewise.
776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
777
d42f3448
CM
7782014-04-04 Chris Metcalf <cmetcalf@tilera.com>
779
780 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
781 in function argument name.
782
1c21d115
DS
7832014-04-03 David Svoboda <svoboda@cert.org>
784
785 [BZ #5666]
786 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
787 explicitly.
788
fcccd512
RM
7892014-04-03 Roland McGrath <roland@hack.frob.com>
790
791 * elf/dl-unmap-segments.h: New file.
792 * sysdeps/generic/ldsodefs.h
793 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
794 * elf/dl-close.c: Include <dl-unmap-segments.h>.
795 * elf/dl-fptr.c: Likewise.
796 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
797 * sysdeps/aarch64/tlsdesc.c: Likewise.
798 * sysdeps/arm/tlsdesc.c: Likewise.
799 * sysdeps/i386/tlsdesc.c: Likewise.
800 * sysdeps/tile/dl-runtime.c: Likewise.
801 * sysdeps/x86_64/tlsdesc.c: Likewise.
802 * elf/dl-load.h: New file.
803 * elf/dl-load.c: Include it.
804 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
805 Macros moved to dl-load.h.
806 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
807 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
808 Use _dl_unmap_segments in place of __munmap.
809 Break out segment-mapping loop into ...
810 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
811
f6488e2b
WN
8122014-04-03 Will Newton <will.newton@linaro.org>
813
814 * elf/dl-lookup.c (do_lookup_x): Remove comment
815 referring to nested function and move variable
816 declarations down to before first use.
817
6f05bafe
JM
8182014-04-02 Joseph Myers <joseph@codesourcery.com>
819
a84e78c8
JM
820 [BZ #16799]
821 [BZ #16800]
822 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
823 with 0 numerator.
824 * math/s_catanf.c (__catanf): Likewise.
825 * math/s_catanh.c (__catanh): Likewise.
826 * math/s_catanhf.c (__catanhf): Likewise.
827 * math/s_catanhl.c (__catanhl): Likewise.
828 * math/s_catanl.c (__catanl): Likewise.
829 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
830 by positive zero when computing -Inf result.
831 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
832 (catanh_test): Likewise.
833 * sysdeps/i386/fpu/libm-test-ulps: Update.
834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
835
6f05bafe
JM
836 [BZ #16789]
837 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
838 instead of using underflowing value in computing result.
839 * math/s_clog10.c (__clog10): Likewise.
840 * math/s_clog10f.c (__clog10f): Likewise.
841 * math/s_clog10l.c (__clog10l): Likewise.
842 * math/s_clogf.c (__clogf): Likewise.
843 * math/s_clogl.c (__clogl): Likewise.
844 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
845 (clog10_test): Likewise.
846 * sysdeps/i386/fpu/libm-test-ulps: Update.
847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
848
b0abbc21
AM
8492014-04-02 Alan Modra <amodra@gmail.com>
850
851 [BZ #16739]
852 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
853 output when value is near a power of two. Use int64_t for lx and
854 remove casts. Use decimal rather than hex exponent constants.
855 Don't use long double multiplication when double will suffice.
856 * math/libm-test.inc (nextafter_test_data): Add tests.
857 * NEWS: Add 16739 and 16786 to bug list.
858
af6b1797
AM
859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
860
483818d7
AM
861 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
862
f6c55796
WN
8632014-04-01 Will Newton <will.newton@linaro.org>
864
865 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
866 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
867
13f7fe35
FW
8682014-04-01 Florian Weimer <fweimer@redhat.com>
869
870 [BZ #13347]
871 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
872 * nptl/tst-setuid2.c: New file.
873 * nptl/Makefile (xtests): Add tst-setuid2.
874
c859b32e
AM
8752014-04-01 Alan Modra <amodra@gmail.com>
876
877 [BZ #16786]
878 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
879
54fa2475
JM
8802014-03-31 Joseph Myers <joseph@codesourcery.com>
881
8795b4a4
JM
882 [BZ #6803]
883 [BZ #6804]
884 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
885 set errno as appropriate.
886 * math/w_scalbf.c (__scalbf): Likewise.
887 * math/w_scalbl.c (__scalbl): Likewise.
888 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
889 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
890 * math/libm-test.inc (scalb_test_data): Add errno expectations.
891 Add more NaN tests.
892
54fa2475
JM
893 [BZ #16349]
894 * math/w_atan2.c: Include <errno.h>.
895 (__atan2): Set errno for result underflowing to zero.
896 * math/w_atan2f.c: Include <errno.h>.
897 (__atan2f): Set errno for result underflowing to zero.
898 * math/w_atan2l.c: Include <errno.h>.
899 (__atan2l): Set errno for result underflowing to zero.
900 * math/auto-libm-test-in: Don't allow missing errno for some atan2
901 tests.
902 * math/auto-libm-test-out: Regenerated.
903
757d9dd5
AZ
9042014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905
906 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
907 Encode instruction correctly in little endian.
908 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
909 Likewise.
910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
911 Likewise.
912 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
913 Likewise.
914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
915 Likewise.
916
d7a68734
JM
9172014-03-31 Joseph Myers <joseph@codesourcery.com>
918
47c5adeb
JM
919 [BZ #9894]
920 * sysdeps/unix/sysv/linux/kernel-features.h
921 [__sparc__ && !__arch64__ && !__sparc_v9__]
922 (__ASSUME_SET_ROBUST_LIST): Do not define.
923 [__sparc__ && !__arch64__ && !__sparc_v9__]
924 (__ASSUME_FUTEX_LOCK_PI): Likewise.
925 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
926 Likewise.
927 * sysdeps/unix/sysv/linux/arm/kernel-features.h
928 (__ASSUME_FUTEX_LOCK_PI): Undefine.
929 (__ASSUME_REQUEUE_PI): Likewise.
930 (__ASSUME_SET_ROBUST_LIST): Likewise.
931 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
932 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
933 Undefine.
934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
935 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
936 Likewise.
937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
938 Likewise.
939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
940 Likewise.
941 * sysdeps/unix/sysv/linux/mips/kernel-features.h
942 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
943 Undefine.
944 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
945 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
946 Likewise.
947
d7a68734
JM
948 [BZ #16648]
949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
951 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
952
c760f5c2
WN
9532014-03-31 Will Newton <will.newton@linaro.org>
954
955 * benchtests/Makefile (bench): Add ffs and ffsll to list
956 of tests.
957 * benchtests/ffs-inputs: New file.
958 * benchtests/ffsll-inputs: Likewise.
959
ea6029b1
JM
9602014-03-29 Joseph Myers <joseph@codesourcery.com>
961
962 [BZ #16770]
963 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
964 too large before casting to int.
965 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
966 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
967 * math/libm-test.inc (scalb_test_data): Add more tests.
968
cf806aff
SP
9692014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
970
56737508
SP
971 * benchtests/Makefile (DETAILED_OPT): New make option.
972 (bench-func): Run benchmark program with -d if DETAILED_OPT is
973 set.
974 * benchtests/bench-skeleton.c: Include stdbool.h.
975 (main): Store and print timings per input.
976 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
977 member to each argument value.
978 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
979 (_print_arg_data): Initialize per-input timing to 0.
980
cb5e4aad
SP
981 * benchtests/Makefile (timing-type): New binary.
982 (bench-clean): Also remove bench-timing-type.
983 (bench): New target for timing-type.
984 (bench-func): Print output in JSON format.
985 * benchtests/bench-skeleton.c (main): Print output in JSON
986 format.
987 * benchtests/bench-timing-type.c: New file.
988 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
989 (TIMING_PRINT_STATS): Remove.
990 * benchtests/scripts/bench.py (_print_arg_data): Store variant
991 name separately.
992
cf806aff
SP
993 * benchtests/bench-modf.c: Remove.
994 * benchtests/modf-inputs: New inputs file.
995
289e0779
JM
9962014-03-28 Joseph Myers <joseph@codesourcery.com>
997
998 [BZ #16362]
999 * math/s_clog10.c (M_PI_LOG10E): New macro.
1000 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1001 imaginary parts are 0.
1002 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1003 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1004 imaginary parts are 0.
1005 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1006 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1007 imaginary parts are 0.
1008 * math/libm-test.inc (clog10_test_data): Update expected results
1009 for when real and imaginary parts are 0.
1010
277ae3f1
PP
10112014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1012
1013 * elf/dl-load.c: Finish conversion of __builtin_expect into
1014 __glibc_{un}likely.
1015
03a7091f
JM
10162014-03-27 Joseph Myers <joseph@codesourcery.com>
1017
1018 [BZ #16348]
1019 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1020 1+x for argument with exponent below -67.
1021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1022 Likewise.
1023 * math/auto-libm-test-in: Add more tests of exp.
1024 * math/auto-libm-test-out: Regenerated.
1025
ea7d8b95
SP
10262014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1027
dd3022d7
SP
1028 [BZ #16759]
1029 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1030 (nscd_getnetgrent): Use it.
1031
ea7d8b95
SP
1032 [BZ #16760]
1033 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1034 of stpcpy.
1035
df5b85da
AK
10362014-03-27 Andi Kleen <ak@linux.intel.com>
1037
57f41c40
AS
1038 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1039 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1040 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1041 (lll_robust_unlock): Remove out of line section. Use cfi
1042 intrinsics.
df5b85da 1043 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1044 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1045 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1046 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1047 (lll_robust_unlock): Remove out of line section. Use cfi
1048 intrinsics.
df5b85da
AK
1049 (LLL_STUB_UNWIND_INFO*): Remove.
1050
fbd6b5a4
SP
10512014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1052
1053 [BZ #16758]
1054 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1055 blank values.
1056
1b26b855
PP
10572014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1058
1059 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1060
9be36fb8
JM
10612014-03-26 Joseph Myers <joseph@codesourcery.com>
1062
1063 [BZ #16198]
1064 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1065 fnstenv.
1066 * math/test-fenv-preserve.c: New file.
1067 * math/Makefile (tests): Add test-fenv-preserve.
1068
60a2f3c1
WN
10692014-03-26 Will Newton <will.newton@linaro.org>
1070
1071 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1072
a5e5f1e2
RM
10732014-03-25 Roland McGrath <roland@hack.frob.com>
1074
1075 * scripts/versionlist.awk: Partition the version sets and emit all
1076 GLIBC_* (sorted) before all others (sorted).
1077
00f4012a
JM
10782014-03-25 Joseph Myers <joseph@codesourcery.com>
1079
1080 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1081 GLIBC_2.2.5 version.
1082
7bc5a741
AZ
10832014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1084
1085 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1086 calls.
1087
7578473b
AZ
1088 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1089 previous change.
1090
f3f1dab3
AZ
1091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1092
6da36183
AS
10932014-03-25 Andreas Schwab <schwab@suse.de>
1094
1095 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1096 label to be used after in6ailist is initialized.
1097
f3f1dab3 10982014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1099
7578473b 1100 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1101 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1102
046651c1
JM
11032014-03-25 Joseph Myers <joseph@codesourcery.com>
1104
1105 [BZ #16357]
1106 [BZ #16599]
1107 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1108 min_plus_half.
1109 (fp_formats): Update initializers.
1110 (init_fp_formats): Initialize new field.
1111 (output_for_one_input_case): Allow underflow for results up to
1112 min_plus_half.
1113 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1114 * math/auto-libm-test-in: Don't mark some underflows from asin and
1115 atanh as spurious.
1116 * math/auto-libm-test-out: Regenerated.
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1119
003e49ed
AS
11202014-03-25 Andreas Schwab <schwab@suse.de>
1121
1122 * libio/Makefile (tst-ftell-partial-wide-ENV)
1123 (tst-ftell-active-handler-ENV): Define.
1124
de031874
SL
11252014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1126
1127 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1128
55a81e3b
PP
11292014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1130
1131 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1132
f3426898
JM
11332014-03-24 Joseph Myers <joseph@codesourcery.com>
1134
1135 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1136 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1137 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1138
a42faf59
PP
11392014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1140
1141 [BZ #16634]
a42faf59 1142 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1143 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1144 (open_path): Change from boolean 'secure' to complete flag 'mode'
1145 (_dl_map_object): Adjust.
a42faf59
PP
1146 * elf/Makefile (tests): Add tst-dlopen-aout.
1147 * elf/tst-dlopen-aout.c: New test.
1148
50936127
SL
11492014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1150
1151 [BZ #16714]
1152 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1153 (struct stat): Rename member pad0 to __glibc_reserved0.
1154
26011b5c
SL
1155 [BZ #16712]
1156 * sysdeps/s390/s390-32/bits/wordsize.h
1157 (__WORDSIZE32_SIZE_ULONG): New define.
1158 * sysdeps/s390/s390-64/bits/wordsize.h
1159 (__WORDSIZE32_SIZE_ULONG): Likewise.
1160 * sysdeps/generic/stdint.h (SIZE_MAX):
1161 Define as UL if __WORDSIZE32_SIZE_ULONG.
1162
a2d86bf1
SL
1163 [BZ #16713]
1164 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1165 (__glibc_reserved0): New variable.
1166 (sa_flags): Change type to int.
1167
78b6eebc
SL
1168 * posix/Makefile (before-compile): Use += before-compile instead
1169 of a :=.
1170
f1399b5a
SL
1171 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1172 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1173
a071766e
AS
11742014-03-20 Andreas Schwab <schwab@suse.de>
1175
1176 [BZ #16743]
1177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1178 non-matching result from nscd.
1179
27c673b8
SP
11802014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
1182 * scripts/bench.py: Moved to ...
1183 * benchtests/scripts/bench.py: ... here.
1184 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1185
44152e4b
AS
11862014-03-24 Andreas Schwab <schwab@suse.de>
1187
1188 [BZ #16002]
1189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1190 alloca_account and account alloca use for struct in6ailist.
1191
b376a11a
JM
11922014-03-24 Joseph Myers <joseph@codesourcery.com>
1193
1194 [BZ #16284]
1195 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1196 rounding mode to recompute results that overflow to infinity or
1197 underflow to zero.
1198 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1199 bug 16284.
1200 * math/auto-libm-test-out: Regenerated.
1201 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1202 (ccosh_test): Likewise.
1203 (csin_test_data): Use plus_oflow.
1204 (csin_test): Use ALL_RM_TEST.
1205 (csinh_test_data): Use plus_oflow.
1206 (csinh_test): Use ALL_RM_TEST.
1207 * sysdeps/i386/fpu/libm-test-ulps: Update.
1208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1209
f7be7376
JM
12102014-03-21 Joseph Myers <joseph@codesourcery.com>
1211
1ca2d03e
JM
1212 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1213 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1214 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1215
f7be7376
JM
1216 [BZ #16731]
1217 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1218 when x - 1 is zero.
1219 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1220 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1221 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1222 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1223 argument is 1.
1224 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1225 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1226 zero.
1227 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1230
fdf4534d
SP
12312014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1232
df26ea53
SP
1233 * scripts/bench.pl: Remove file.
1234 * scripts/bench.py: New benchmark script.
1235 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1236 * benchtests/README: Mention python dependency.
1237 * scripts/pylintrc: New file.
1238 * scripts/pylint: New file.
1239
fdf4534d
SP
1240 * bits/mathdef.h: Use #ifdef instead of #if.
1241 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1242 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1243 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1244 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1245 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1247
6f23d093
AZ
12482014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1250
1251 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1253 and strpbrk-ppc64 objects.
1254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1255 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1256 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1257 multiarch strpbrk for POWER7.
1258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1259 multiarch strpbrk for PPC64.
1260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1261 ifunc selector.
1262 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1263 strpbrk for POWER7.
1264
8c92dfff
JM
12652014-03-20 Joseph Myers <joseph@codesourcery.com>
1266
1267 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1268 (atan_test): Likewise.
1269 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1270 (atanh_test): Use ALL_RM_TEST.
1271 (atan2_test_data): Likewise.
1272 (cabs_test): Likewise.
1273 (cacosh_test): Likewise.
1274 (carg_test): Likewise.
1275 (casin_test): Likewise.
1276 (casinh_test): Likewise.
1277 (cbrt_test): Likewise.
1278 (csqrt_test): Likewise.
1279 (erf_test): Likewise.
1280 (erfc_test): Likewise.
1281 (pow10_test): Likewise.
1282 (exp2_test): Likewise.
1283 (hypot_test): Likewise.
1284 (j0_test): Likewise.
1285 (j1_test): Likewise.
1286 (lgamma_test): Likewise.
1287 (gamma_test): Likewise.
1288 (sincos_test): Likewise.
1289 (tanh_test): Likewise.
1290 (y0_test): Likewise.
1291 (y1_test): Likewise.
1292 * sysdeps/i386/fpu/libm-test-ulps: Update.
1293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1294
6eaf95cb
AZ
12952014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1296
a387428c
SP
1297 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1299 and strcspn-ppc64 objects.
1300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1301 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1302 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1303 multiarch strcspn for POWER7.
1304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1305 multiarch strcspn for PPC64.
1306 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1307 ifunc selector.
1308 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1309 strcspn for POWER7.
1310
ae3a5dff
JM
13112014-03-20 Joseph Myers <joseph@codesourcery.com>
1312
1313 * math/gen-libm-test.pl (generate_testfile): Expect only function
1314 name as argument to AUTO_TESTS_* and pass results for all rounding
1315 modes to parse_args.
1316 (parse_auto_input): Separate inputs of automatic tests from
1317 outputs before storing in %auto_tests.
1318 * math/libm-test.inc (acos_test_data): Update call to
1319 AUTO_TESTS_f_f.
1320 (acos_test): Use ALL_RM_TEST.
1321 (acos_tonearest_test_data): Remove.
1322 (acos_test_tonearest): Likewise.
1323 (acos_towardzero_test_data): Likewise.
1324 (acos_test_towardzero): Likewise.
1325 (acos_downward_test_data): Likewise.
1326 (acos_test_downward): Likewise.
1327 (acos_upward_test_data): Likewise.
1328 (acos_test_upward): Likewise.
1329 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1330 (asin_test_data): Likewise.
1331 (asin_test): Use ALL_RM_TEST.
1332 (asin_tonearest_test_data): Remove.
1333 (asin_test_tonearest): Likewise.
1334 (asin_towardzero_test_data): Likewise.
1335 (asin_test_towardzero): Likewise.
1336 (asin_downward_test_data): Likewise.
1337 (asin_test_downward): Likewise.
1338 (asin_upward_test_data): Likewise.
1339 (asin_test_upward): Likewise.
1340 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1341 (atan_test_data): Likewise.
1342 (atanh_test_data): Likewise.
1343 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1344 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1345 (carg_test_data): Likewise.
1346 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1347 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1348 (ccosh_test_data): Likewise.
1349 (cexp_test_data): Likewise.
1350 (clog_test_data): Likewise.
1351 (clog10_test_data): Likewise.
1352 (cos_test_data): Update call to AUTO_TESTS_f_f.
1353 (cos_test): Use ALL_RM_TEST.
1354 (cos_tonearest_test_data): Remove.
1355 (cos_test_tonearest): Likewise.
1356 (cos_towardzero_test_data): Likewise.
1357 (cos_test_towardzero): Likewise.
1358 (cos_downward_test_data): Likewise.
1359 (cos_test_downward): Likewise.
1360 (cos_upward_test_data): Likewise.
1361 (cos_test_upward): Likewise.
1362 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1363 (cosh_test): Use ALL_RM_TEST.
1364 (cosh_tonearest_test_data): Remove.
1365 (cosh_test_tonearest): Likewise.
1366 (cosh_towardzero_test_data): Likewise.
1367 (cosh_test_towardzero): Likewise.
1368 (cosh_downward_test_data): Likewise.
1369 (cosh_test_downward): Likewise.
1370 (cosh_upward_test_data): Likewise.
1371 (cosh_test_upward): Likewise.
1372 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1373 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1374 (ctan_test_data): Likewise.
1375 (ctan_test): Use ALL_RM_TEST.
1376 (ctan_tonearest_test_data): Remove.
1377 (ctan_test_tonearest): Likewise.
1378 (ctan_towardzero_test_data): Likewise.
1379 (ctan_test_towardzero): Likewise.
1380 (ctan_downward_test_data): Likewise.
1381 (ctan_test_downward): Likewise.
1382 (ctan_upward_test_data): Likewise.
1383 (ctan_test_upward): Likewise.
1384 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1385 (ctanh_test): Use ALL_RM_TEST.
1386 (ctanh_tonearest_test_data): Remove.
1387 (ctanh_test_tonearest): Likewise.
1388 (ctanh_towardzero_test_data): Likewise.
1389 (ctanh_test_towardzero): Likewise.
1390 (ctanh_downward_test_data): Likewise.
1391 (ctanh_test_downward): Likewise.
1392 (ctanh_upward_test_data): Likewise.
1393 (ctanh_test_upward): Likewise.
1394 (erf_test_data): Update call to AUTO_TESTS_f_f.
1395 (erfc_test_data): Likewise.
1396 (exp_test_data): Likewise.
1397 (exp_test): Use ALL_RM_TEST.
1398 (exp_tonearest_test_data): Remove.
1399 (exp_test_tonearest): Likewise.
1400 (exp_towardzero_test_data): Likewise.
1401 (exp_test_towardzero): Likewise.
1402 (exp_downward_test_data): Likewise.
1403 (exp_test_downward): Likewise.
1404 (exp_upward_test_data): Likewise.
1405 (exp_test_upward): Likewise.
1406 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1407 (exp10_test): Use ALL_RM_TEST.
1408 (exp10_tonearest_test_data): Remove.
1409 (exp10_test_tonearest): Likewise.
1410 (exp10_towardzero_test_data): Likewise.
1411 (exp10_test_towardzero): Likewise.
1412 (exp10_downward_test_data): Likewise.
1413 (exp10_test_downward): Likewise.
1414 (exp10_upward_test_data): Likewise.
1415 (exp10_test_upward): Likewise.
1416 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1417 (expm1_test_data): Likewise.
1418 (expm1_test): Use ALL_RM_TEST.
1419 (expm1_tonearest_test_data): Remove.
1420 (expm1_test_tonearest): Likewise.
1421 (expm1_towardzero_test_data): Likewise.
1422 (expm1_test_towardzero): Likewise.
1423 (expm1_downward_test_data): Likewise.
1424 (expm1_test_downward): Likewise.
1425 (expm1_upward_test_data): Likewise.
1426 (expm1_test_upward): Likewise.
1427 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1428 (fma_test): Use ALL_RM_TEST.
1429 (fma_towardzero_test_data): Remove.
1430 (fma_test_towardzero): Likewise.
1431 (fma_downward_test_data): Likewise.
1432 (fma_test_downward): Likewise.
1433 (fma_upward_test_data): Likewise.
1434 (fma_test_upward): Likewise.
1435 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1436 (j0_test_data): Update call to AUTO_TESTS_f_f.
1437 (j1_test_data): Likewise.
1438 (jn_test_data): Update call to AUTO_TESTS_if_f.
1439 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1440 (log_test_data): Update call to AUTO_TESTS_f_f.
1441 (log10_test_data): Likewise.
1442 (log1p_test_data): Likewise.
1443 (log2_test_data): Likewise.
1444 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1445 (pow_tonearest_test_data): Likewise.
1446 (sin_test_data): Update call to AUTO_TESTS_f_f.
1447 (sin_test): Use ALL_RM_TEST.
1448 (sin_tonearest_test_data): Remove.
1449 (sin_test_tonearest): Likewise.
1450 (sin_towardzero_test_data): Likewise.
1451 (sin_test_towardzero): Likewise.
1452 (sin_downward_test_data): Likewise.
1453 (sin_test_downward): Likewise.
1454 (sin_upward_test_data): Likewise.
1455 (sin_test_upward): Likewise.
1456 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1457 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1458 (sinh_test): Use ALL_RM_TEST.
1459 (sinh_tonearest_test_data): Remove.
1460 (sinh_test_tonearest): Likewise.
1461 (sinh_towardzero_test_data): Likewise.
1462 (sinh_test_towardzero): Likewise.
1463 (sinh_downward_test_data): Likewise.
1464 (sinh_test_downward): Likewise.
1465 (sinh_upward_test_data): Likewise.
1466 (sinh_test_upward): Likewise.
1467 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1468 (sqrt_test): Use ALL_RM_TEST.
1469 (sqrt_tonearest_test_data): Remove.
1470 (sqrt_test_tonearest): Likewise.
1471 (sqrt_towardzero_test_data): Likewise.
1472 (sqrt_test_towardzero): Likewise.
1473 (sqrt_downward_test_data): Likewise.
1474 (sqrt_test_downward): Likewise.
1475 (sqrt_upward_test_data): Likewise.
1476 (sqrt_test_upward): Likewise.
1477 (tan_test_data): Update call to AUTO_TESTS_f_f.
1478 (tan_test): Use ALL_RM_TEST.
1479 (tan_tonearest_test_data): Remove.
1480 (tan_test_tonearest): Likewise.
1481 (tan_towardzero_test_data): Likewise.
1482 (tan_test_towardzero): Likewise.
1483 (tan_downward_test_data): Likewise.
1484 (tan_test_downward): Likewise.
1485 (tan_upward_test_data): Likewise.
1486 (tan_test_upward): Likewise.
1487 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1488 (tgamma_test_data): Likewise.
1489 (y0_test_data): Likewise.
1490 (y1_test_data): Likewise.
1491 (yn_test_data): Update call to AUTO_TESTS_if_f.
1492 (main): Do not call removed functions.
1493
d71aeee8
JM
14942014-03-19 Joseph Myers <joseph@codesourcery.com>
1495
1496 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1497 (ldexp_test_data): Remove.
1498 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1499 scalbn_test_data.
1500 (scalb_test): Use ALL_RM_TEST.
1501
baaf1ded
AS
15022014-03-19 Andreas Schwab <schwab@suse.de>
1503
1504 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1505
b1115e91
JM
15062014-03-19 Joseph Myers <joseph@codesourcery.com>
1507
1508 [BZ #16649]
1509 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1510 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1511 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1513 (__ASSUME_PREADV): Undefine.
1514 (__ASSUME_PWRITEV): Likewise.
1515
0283ecca
RM
15162014-03-18 Roland McGrath <roland@hack.frob.com>
1517
7d375303
RM
1518 * bits/mman-linux.h: Add comment about non-Linux use.
1519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1520 bits/mman-linux.h resting place.
1521
0283ecca
RM
1522 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1523 * bits/mman-linux.h: ... here.
1524
aebe1003
AZ
15252014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526
1527 * conform/conformtest.pl: Add standard definition when calling C
1528 preprocessor on data files.
1529 (checknamespace): Remove unused variable.
1530
b29b6bb8
JM
15312014-03-18 Joseph Myers <joseph@codesourcery.com>
1532
1533 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1534 minus_oflow, plus_uflow and minus_uflow in expected results.
1535 * math/libm-test.inc (scalbn_test_data): Add more tests of
1536 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1537 minus_uflow.
1538 (scalbn_test): Use ALL_RM_TEST.
1539 (scalbln_test_data): Add more tests of negative arguments. Use
1540 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1541 (scalbln_test): Use ALL_RM_TEST.
1542
c8f8fa15
RM
15432014-03-18 Roland McGrath <roland@hack.frob.com>
1544
1545 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1546
fede7a5f
WN
15472014-03-18 Will Newton <will.newton@linaro.org>
1548
1549 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1550 inaccurate comment.
1551
80cf0a58
JM
15522014-03-18 Joseph Myers <joseph@codesourcery.com>
1553
1554 * Makerules [!subdir] (check-abi): Exit with error status if a
1555 test failed.
1556
b3620862
JM
15572014-03-17 Joseph Myers <joseph@codesourcery.com>
1558
1559 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1560 for rint. Include results for all rounding modes.
1561 (nearbyint_test): Use ALL_RM_TEST.
1562 (rint_test_data): Include all tests used for nearbyint.
1563
788bba36
WN
15642014-03-17 Will Newton <will.newton@linaro.org>
1565
04ec140a
WN
1566 * nptl/sysdeps/pthread/pthread.h: Revert previous
1567 change.
1568
7579d8d5
WN
1569 * sysdeps/generic/ldsodefs.h: Revert previous
1570 change.
1571
c15cf13a
WN
1572 * libio/genops.c: Revert previous change.
1573 * libio/libioP.h: Likewise.
1574 * stdio-common/vfprintf.c: Likewise.
1575
d0ac1324
WN
1576 * sysdeps/generic/math_private.h: Revert previous
1577 change.
1578
9290130a
WN
1579 * sysdeps/generic/math_private.h: Check whether
1580 HAVE_RM_CTX is defined with #ifdef rather
1581 than #if.
1582
afb466fc
WN
1583 * argp/argp-fmtstream.h: Check whether
1584 __STRICT_ANSI__ is defined with #ifdef rather
1585 than #if.
1586 * argp/argp.h: Likewise.
1587
f7efd7c3
WN
1588 * libio/genops.c: Check whether
1589 _IO_JUMPS_OFFSET is defined with #ifdef rather
1590 than #if.
1591 * libio/libioP.h: Likewise.
1592 * stdio-common/vfprintf.c: Likewise.
1593
53f1bed3
WN
1594 * sysdeps/generic/ldsodefs.h: Check whether
1595 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1596 than #if.
1597
788bba36
WN
1598 * nptl/sysdeps/pthread/pthread.h: Check
1599 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1600 its value.
1601
fcd89ebe
SP
16022014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1603
ae42bbc5
SP
1604 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1605 setting O_APPEND.
1606 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1607 test case.
1608
ea33158c
SP
1609 [BZ #16680]
1610 * libio/fileops.c (_IO_file_open): Seek to end of file but
1611 don't cache the offset.
1612 (get_file_offset): Remove function.
1613 (do_ftell): Use cached offset when available.
1614 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1615 don't cache the offset.
1616 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1617 case.
1618 (do_one_test): Call it.
1619 (do_ftell_test): Fix up expected old offset for a+ mode.
1620 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1621 available.
1622
b1dbb426
SP
1623 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1624 up test status with function return status.
1625 (do_write_test): Likewise.
1626 (do_append_test): Likewise.
1627
fcd89ebe
SP
1628 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1629 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1630 Remove.
1631
9962a2d3
JM
16322014-03-17 Joseph Myers <joseph@codesourcery.com>
1633
1634 * math/gen-libm-test.pl (parse_args): Handle results specified for
1635 each rounding mode separately.
1636 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1637 tests and results from lrint_tonearest_test_data,
1638 lrint_towardzero_test_data, lrint_downward_test_data and
1639 lrint_upward_test_data.
1640 (lrint_test): Use ALL_RM_TEST.
1641 (lrint_tonearest_test_data): Remove.
1642 (lrint_test_tonearest): Likewise.
1643 (lrint_towardzero_test_data): Likewise.
1644 (lrint_test_towardzero): Likewise.
1645 (lrint_downward_test_data): Likewise.
1646 (lrint_test_downward): Likewise.
1647 (lrint_upward_test_data): Likewise.
1648 (lrint_test_upward): Likewise.
1649 (llrint_test_data): Merge in per-rounding-mode tests and results
1650 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1651 llrint_downward_test_data and llrint_upward_test_data.
1652 (llrint_test): Use ALL_RM_TEST.
1653 (llrint_tonearest_test_data): Remove.
1654 (llrint_test_tonearest): Likewise.
1655 (llrint_towardzero_test_data): Likewise.
1656 (llrint_test_towardzero): Likewise.
1657 (llrint_downward_test_data): Likewise.
1658 (llrint_test_downward): Likewise.
1659 (llrint_upward_test_data): Likewise.
1660 (llrint_test_upward): Likewise.
1661 (rint_test_data): Merge in per-rounding-mode tests and results
1662 from rint_tonearest_test_data, rint_towardzero_test_data,
1663 rint_downward_test_data and rint_upward_test_data. Add
1664 per-rounding-mode results for tests not in those arrays.
1665 (rint_test): Use ALL_RM_TEST.
1666 (rint_tonearest_test_data): Remove.
1667 (rint_test_tonearest): Likewise.
1668 (rint_towardzero_test_data): Likewise.
1669 (rint_test_towardzero): Likewise.
1670 (rint_downward_test_data): Likewise.
1671 (rint_test_downward): Likewise.
1672 (rint_upward_test_data): Likewise.
1673 (rint_test_upward): Likewise.
1674 (main): Don't call removed functions.
1675
5006148e
RM
16762014-03-14 Roland McGrath <roland@hack.frob.com>
1677
1678 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1679 "Compiled on ..." crapola. It is anti-useful.
1680
d6fe5e58
JM
16812014-03-14 Joseph Myers <joseph@codesourcery.com>
1682
1683 * scripts/evaluate-test.sh: Handle fourth argument to determine
1684 whether test run should stop on failure.
1685 * Makeconfig (stop-on-test-failure): New variable.
1686 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1687 $(stop-on-test-failure).
1688 * Makefile (tests): Give a summary of results from testing and
1689 exit with failure status if they include an ERROR or FAIL.
1690 (xtests): Likewise.
1691 * manual/install.texi (Configuring and compiling): Mention
1692 stop-on-test-failure=y.
1693 * INSTALL: Regenerated.
1694
498a2233
RM
16952014-03-14 Roland McGrath <roland@hack.frob.com>
1696
22dbc19d
RM
1697 * scripts/versionlist.awk: New file.
1698 * Makerules [$(build-shared) = yes]
1699 (postclean-generated): Add Versions.def, not Versions.def.v and
1700 Versions.def.v.i.
1701 ($(common-objpfx)Versions.def.v.i): Target removed.
1702 ($(common-objpfx)Versions.def): New target.
1703 ($(common-objpfx)Versions.all): Depend on that rather that
1704 $(common-objpfx)Versions.def.v.
1705 * Versions.def: File removed.
1706
498a2233
RM
1707 * Makeconfig (+gccwarn): Add -Wundef.
1708 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1709 a dl-sysdep.h breaking its contract.
1710 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1711 * include/stackinfo.h: New file.
1712 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1713 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1714 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1715 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1716 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1717 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1718 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1719 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1720 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1721 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1722 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1723 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1724 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1725 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1726 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1727
c7de5025
AZ
17282014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 [BZ #16707]
1731 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1732 implementation.
1733 * math/libm-test.inc (round_test_data): Add more tests.
1734
98fb27a3
AZ
1735 [BZ #16706]
1736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1737 implementation.
1738 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1739
374f7f61
AZ
1740 [BZ #16701]
1741 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1742 implementation.
1743 * math/libm-test.inc (ceil_test_data): Add more tests.
1744
4655c291
AZ
1745 * math/libm-test.inc (trunc_test_data): Add more tests related to
1746 BZ#16414.
1747
d7329d4b
RM
17482014-03-14 Roland McGrath <roland@hack.frob.com>
1749
1750 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1751 with #if rather than #ifdef.
1752 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1753
aa4de9ce
L
17542014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1755
1756 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1757 first. Disable AVX-512 GCC support if assembler doesn't support
1758 it.
1759 * sysdeps/x86_64/configure: Regenerated.
1760
2e03fae7
CD
17612014-03-13 Carlos O'Donell <carlos@redhat.com>
1762
1763 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1764 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1765 (__old_pthread_attr_setstack): Likewise.
1766 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1767 [!_STACK_GROWS_DOWN]: Likewise.
1768
43ca83ec
MF
17692014-03-13 Mike Frysinger <vapier@gentoo.org>
1770
1771 * config.make.in (have-bash2): Delete.
1772 * configure.ac (libc_cv_have_bash2): Delete.
1773 * configure: Regenerate.
1774 * elf/Makefile (common-ldd-rewrite): Rename to ...
1775 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1776 (sh-ldd-rewrite): Delete.
1777 (bash-ldd-rewrite): Delete.
1778 (have-bash2): Delete checks.
57f41c40
AS
1779 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1780 ldd-rewrite.
c66e48b4
MF
1781
1782 * config.make.in (have-ksh): Delete.
1783 (KSH): Delete.
1784 * configure.ac (libc_cv_have_ksh): Delete.
1785 * configure: Regenerate.
1786
b93834ef
MF
1787 * elf/Makefile: Delete $(have-ksh) check.
1788 ($(objpfx)sotruss): Change KSH to BASH.
1789 * elf/sotruss.ksh: Rename to ...
1790 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1791 function style to match POSIX. Drop ksh vim mode setting.
1792
f3a4632a
MF
1793 * manual/time.texi (Specifying the Time Zone with TZ): Change
1794 Tuesday to Thursday.
1795
5896c8bd
MF
1796 * debug/tst-longjmp_chk2.c: Update header comment.
1797 (stackoverflow_handler): Add comment. Call assert on pass value.
1798
2d63a517
IZ
17992014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1800
1801 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1802 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1803 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1804 (La_x86_64_vector): Add zmm.
1805 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1806 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1807 ($(objpfx)tst-audit10): New target.
1808 ($(objpfx)tst-audit10.out): Likewise.
1809 (tst-audit10-ENV): New.
1810 (AVX512-CFLAGS): Likewise.
1811 (CFLAGS-tst-audit10.c): Likewise.
1812 (CFLAGS-tst-auditmod10a.c): Likewise.
1813 (CFLAGS-tst-auditmod10b.c): Likewise.
1814 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1815 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1816 * sysdeps/x86_64/configure: Regenerated.
1817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1818 AVX-512 zmm register support.
1819 (_dl_x86_64_save_sse): Likewise.
1820 (_dl_x86_64_restore_sse): Likewise.
1821 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1822 size vector registers.
1823 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1824 (ZMM_SIZE): Likewise.
1825 * sysdeps/x86_64/tst-audit10.c: New file.
1826 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1827 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1828
44c4e5d5
RM
18292014-03-13 Roland McGrath <roland@hack.frob.com>
1830
1831 * configure.ac (HAVE_EHDR_START): New check.
1832 * configure: Regenerated.
1833 * config.h.in (HAVE_EHDR_START): New #undef.
1834 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1835 assuming the lowest-addressed segment maps the start of the file.
1836
acd6e389
JM
18372014-03-13 Joseph Myers <joseph@codesourcery.com>
1838
1839 * INSTALL: Regenerated.
1840
6f918f36
WN
18412014-03-13 Will Newton <will.newton@linaro.org>
1842
1843 * manual/setjmp.texi (System V contexts): Improve
1844 clarity and grammar of documentation.
1845
798212a0
PP
18462014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1847
1848 [BZ #16381]
798212a0 1849 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1850 (tests-pie): Add tst-pie2.
798212a0
PP
1851 * elf/tst-pie2.c: New file.
1852 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1853 for ET_EXEC.
1854 * elf/rtld.c (map_doit): Load executable as lt_executable.
1855 (dl_main): Likewise.
1856
abe6d90c
JM
18572014-03-12 Joseph Myers <joseph@codesourcery.com>
1858
1859 [BZ #16642]
1860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1861 (__ASSUME_PSELECT): Undefine.
1862
dd3946c6
AZ
18632014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1864
1865 [BZ #16689]
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1867 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1868 static build.
1869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1870 selector for static builds.
1871
c44496df
SP
18722014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1873
1874 [BZ #16695]
1875 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1876 key in the buffer.
1877
27c7220a
AZ
18782014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1879
57f41c40
AS
1880 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1881 IFUNC selector for static builds.
27c7220a 1882
600fa361
JM
18832014-03-11 Joseph Myers <joseph@codesourcery.com>
1884
76c96cf7
JM
1885 * sysdeps/mips/math_private.h [__mips_hard_float]
1886 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1887 libc_feresetround_mips_ctx.
1888 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1889 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1890 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1891
600fa361
JM
1892 [BZ #16677]
1893 * math/s_nextafter.c (__nextafter): Do not return value from
1894 overflowing computation.
1895 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1896 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1898 Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1900 Likewise.
1901 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1902 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1903
d7706c32
RM
19042014-03-11 Roland McGrath <roland@hack.frob.com>
1905
1906 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1907 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1908 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1909 the new mov targetting sp.
1910
4facea47
AZ
19112014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 [BZ #16683]
1914 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1915 Define it for static builds as well.
1916 (NO_BZERO_IMPL): Likewise.
1917
e65caf1f
VR
19182014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1919
1920 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1921 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1922 multiarch strspn for PPC64.
1923 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1924 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1926 (__libc_ifunc_impl_list): Likewise.
1927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1928 multiarch optimizations
1929 * string/strspn.c (strspn): Using macro to redefine symbol name.
1930
ba9cc071
AZ
19312014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1932 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933
1934 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1935 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1936 multiarch strncat for PPC64.
1937 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1938 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1940 (__libc_ifunc_impl_list): Likewise.
1941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1942 multiarch optimizations
1943
8b4ff974
SP
19442014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1945
1946 [BZ #16639]
1947 * nscd/nscd.service: Make service type forking.
1948
54b46a4b
AZ
19492014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950
1951 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1952 sign in non default rounding modes.
1953 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1954
e9996ef7
JM
19552014-03-08 Joseph Myers <joseph@codesourcery.com>
1956
1957 * math/libm-test.inc (ALL_RM_TEST): New macro.
1958 (ceil_test): Use ALL_RM_TEST.
1959 (cimag_test): Likewise.
1960 (conj_test): Likewise.
1961 (copysign_test): Likewise.
1962 (cproj_test): Likewise.
1963 (creal_test): Likewise.
1964 (fabs_test): Likewise.
1965 (floor_test): Likewise.
1966 (fmax_test): Likewise.
1967 (fmin_test): Likewise.
1968 (fmod_test): Likewise.
1969 (fpclassify_test): Likewise.
1970 (frexp_test): Likewise.
1971 (ilogb_test): Likewise.
1972 (isfinite_test): Likewise.
1973 (finite_test): Likewise.
1974 (isgreater_test): Likewise.
1975 (isgreaterequal_test): Likewise.
1976 (isinf_test): Likewise.
1977 (isless_test): Likewise.
1978 (islessequal_test): Likewise.
1979 (islessgreater_test): Likewise.
1980 (isnan_test): Likewise.
1981 (isnormal_test): Likewise.
1982 (issignaling_test): Likewise.
1983 (isunordered_test): Likewise.
1984 (logb_test): Likewise.
1985 (logb_downward_test_data): Remove.
1986 (logb_test_downward): Likewise.
1987 (lround_test): Use ALL_RM_TEST.
1988 (llround_test): Likewise.
1989 (modf_test): Likewise.
1990 (nexttoward_test): Likewise.
1991 (remainder_test): Likewise.
1992 (drem_test): Likewise.
1993 (remainder_tonearest_test_data): Likewise.
1994 (remainder_test_tonearest): Likewise.
1995 (drem_test_tonearest): Likewise.
1996 (remainder_towardzero_test_data): Likewise.
1997 (remainder_test_towardzero): Likewise.
1998 (drem_test_towardzero): Likewise.
1999 (remainder_downward_test_data): Likewise.
2000 (remainder_test_downward): Likewise.
2001 (drem_test_downward): Likewise.
2002 (remainder_upward_test_data): Likewise.
2003 (remainder_test_upward): Likewise.
2004 (drem_test_upward): Likewise.
2005 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2006 (round_test): Use ALL_RM_TEST.
2007 (signbit_test): Likewise.
2008 (trunc_test): Likewise.
2009 (significand_test): Likewise.
2010 (main): Don't call removed functions.
2011
bc61d27c
JM
20122014-03-07 Joseph Myers <joseph@codesourcery.com>
2013
5c780849
JM
2014 [BZ #16674]
2015 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2016 || __USE_XOPEN2K8].
2017 (ILL_ILLOPN): Likewise.
2018 (ILL_ILLADR): Likewise.
2019 (ILL_ILLTRP): Likewise.
2020 (ILL_PRVOPC): Likewise.
2021 (ILL_PRVREG): Likewise.
2022 (ILL_COPROC): Likewise.
2023 (ILL_BADSTK): Likewise.
2024 (FPE_INTDIV): Likewise.
2025 (FPE_INTOVF): Likewise.
2026 (FPE_FLTDIV): Likewise.
2027 (FPE_FLTOVF): Likewise.
2028 (FPE_FLTUND): Likewise.
2029 (FPE_FLTRES): Likewise.
2030 (FPE_FLTINV): Likewise.
2031 (FPE_FLTSUB): Likewise.
2032 (SEGV_MAPERR): Likewise.
2033 (SEGV_ACCERR): Likewise.
2034 (BUS_ADRALN): Likewise.
2035 (BUS_ADRERR): Likewise.
2036 (BUS_OBJERR): Likewise.
2037 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2038 (TRAP_TRACE): Likewise.
2039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2040 __USE_XOPEN2K8].
2041 (CLD_KILLED): Likewise.
2042 (CLD_DUMPED): Likewise.
2043 (CLD_TRAPPED): Likewise.
2044 (CLD_STOPPED): Likewise.
2045 (CLD_CONTINUED): Likewise.
2046 (POLL_IN): Likewise.
2047 (POLL_OUT): Likewise.
2048 (POLL_MSG): Likewise.
2049 (POLL_ERR): Likewise.
2050 (POLL_PRI): Likewise.
2051 (POLL_HUP): Likewise.
2052 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2053 Likewise.
2054 (ILL_ILLOPN): Likewise.
2055 (ILL_ILLADR): Likewise.
2056 (ILL_ILLTRP): Likewise.
2057 (ILL_PRVOPC): Likewise.
2058 (ILL_PRVREG): Likewise.
2059 (ILL_COPROC): Likewise.
2060 (ILL_BADSTK): Likewise.
2061 (FPE_INTDIV): Likewise.
2062 (FPE_INTOVF): Likewise.
2063 (FPE_FLTDIV): Likewise.
2064 (FPE_FLTOVF): Likewise.
2065 (FPE_FLTUND): Likewise.
2066 (FPE_FLTRES): Likewise.
2067 (FPE_FLTINV): Likewise.
2068 (FPE_FLTSUB): Likewise.
2069 (SEGV_MAPERR): Likewise.
2070 (SEGV_ACCERR): Likewise.
2071 (BUS_ADRALN): Likewise.
2072 (BUS_ADRERR): Likewise.
2073 (BUS_OBJERR): Likewise.
2074 (BUS_MCEERR_AR): Likewise.
2075 (BUS_MCEERR_AO): Likewise.
2076 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2077 (TRAP_TRACE): Likewise.
2078 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2079 __USE_XOPEN2K8].
2080 (CLD_KILLED): Likewise.
2081 (CLD_DUMPED): Likewise.
2082 (CLD_TRAPPED): Likewise.
2083 (CLD_STOPPED): Likewise.
2084 (CLD_CONTINUED): Likewise.
2085 (POLL_IN): Likewise.
2086 (POLL_OUT): Likewise.
2087 (POLL_MSG): Likewise.
2088 (POLL_ERR): Likewise.
2089 (POLL_PRI): Likewise.
2090 (POLL_HUP): Likewise.
2091 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2092 (ILL_ILLOPN): Likewise.
2093 (ILL_ILLADR): Likewise.
2094 (ILL_ILLTRP): Likewise.
2095 (ILL_PRVOPC): Likewise.
2096 (ILL_PRVREG): Likewise.
2097 (ILL_COPROC): Likewise.
2098 (ILL_BADSTK): Likewise.
2099 (FPE_INTDIV): Likewise.
2100 (FPE_INTOVF): Likewise.
2101 (FPE_FLTDIV): Likewise.
2102 (FPE_FLTOVF): Likewise.
2103 (FPE_FLTUND): Likewise.
2104 (FPE_FLTRES): Likewise.
2105 (FPE_FLTINV): Likewise.
2106 (FPE_FLTSUB): Likewise.
2107 (SEGV_MAPERR): Likewise.
2108 (SEGV_ACCERR): Likewise.
2109 (BUS_ADRALN): Likewise.
2110 (BUS_ADRERR): Likewise.
2111 (BUS_OBJERR): Likewise.
2112 (BUS_MCEERR_AR): Likewise.
2113 (BUS_MCEERR_AO): Likewise.
2114 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2115 (TRAP_TRACE): Likewise.
2116 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2117 __USE_XOPEN2K8].
2118 (CLD_KILLED): Likewise.
2119 (CLD_DUMPED): Likewise.
2120 (CLD_TRAPPED): Likewise.
2121 (CLD_STOPPED): Likewise.
2122 (CLD_CONTINUED): Likewise.
2123 (POLL_IN): Likewise.
2124 (POLL_OUT): Likewise.
2125 (POLL_MSG): Likewise.
2126 (POLL_ERR): Likewise.
2127 (POLL_PRI): Likewise.
2128 (POLL_HUP): Likewise.
2129 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2130 Likewise.
2131 (ILL_ILLOPN): Likewise.
2132 (ILL_ILLADR): Likewise.
2133 (ILL_ILLTRP): Likewise.
2134 (ILL_PRVOPC): Likewise.
2135 (ILL_PRVREG): Likewise.
2136 (ILL_COPROC): Likewise.
2137 (ILL_BADSTK): Likewise.
2138 (ILL_BADIADDR): Likewise.
2139 (ILL_BREAK): Likewise.
2140 (FPE_INTDIV): Likewise.
2141 (FPE_INTOVF): Likewise.
2142 (FPE_FLTDIV): Likewise.
2143 (FPE_FLTOVF): Likewise.
2144 (FPE_FLTUND): Likewise.
2145 (FPE_FLTRES): Likewise.
2146 (FPE_FLTINV): Likewise.
2147 (FPE_FLTSUB): Likewise.
2148 (FPE_DECOVF): Likewise.
2149 (FPE_DECDIV): Likewise.
2150 (FPE_DECERR): Likewise.
2151 (FPE_INVASC): Likewise.
2152 (FPE_INVDEC): Likewise.
2153 (SEGV_MAPERR): Likewise.
2154 (SEGV_ACCERR): Likewise.
2155 (SEGV_PSTKOVF): Likewise.
2156 (BUS_ADRALN): Likewise.
2157 (BUS_ADRERR): Likewise.
2158 (BUS_OBJERR): Likewise.
2159 (BUS_MCEERR_AR): Likewise.
2160 (BUS_MCEERR_AO): Likewise.
2161 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2162 (TRAP_TRACE): Likewise.
2163 (TRAP_BRANCH): Likewise.
2164 (TRAP_HWBKPT): Likewise.
2165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2166 __USE_XOPEN2K8].
2167 (CLD_KILLED): Likewise.
2168 (CLD_DUMPED): Likewise.
2169 (CLD_TRAPPED): Likewise.
2170 (CLD_STOPPED): Likewise.
2171 (CLD_CONTINUED): Likewise.
2172 (POLL_IN): Likewise.
2173 (POLL_OUT): Likewise.
2174 (POLL_MSG): Likewise.
2175 (POLL_ERR): Likewise.
2176 (POLL_PRI): Likewise.
2177 (POLL_HUP): Likewise.
2178 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2179 (ILL_ILLOPN): Likewise.
2180 (ILL_ILLADR): Likewise.
2181 (ILL_ILLTRP): Likewise.
2182 (ILL_PRVOPC): Likewise.
2183 (ILL_PRVREG): Likewise.
2184 (ILL_COPROC): Likewise.
2185 (ILL_BADSTK): Likewise.
2186 (FPE_INTDIV): Likewise.
2187 (FPE_INTOVF): Likewise.
2188 (FPE_FLTDIV): Likewise.
2189 (FPE_FLTOVF): Likewise.
2190 (FPE_FLTUND): Likewise.
2191 (FPE_FLTRES): Likewise.
2192 (FPE_FLTINV): Likewise.
2193 (FPE_FLTSUB): Likewise.
2194 (SEGV_MAPERR): Likewise.
2195 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2204 __USE_XOPEN2K8].
2205 (CLD_KILLED): Likewise.
2206 (CLD_DUMPED): Likewise.
2207 (CLD_TRAPPED): Likewise.
2208 (CLD_STOPPED): Likewise.
2209 (CLD_CONTINUED): Likewise.
2210 (POLL_IN): Likewise.
2211 (POLL_OUT): Likewise.
2212 (POLL_MSG): Likewise.
2213 (POLL_ERR): Likewise.
2214 (POLL_PRI): Likewise.
2215 (POLL_HUP): Likewise.
2216 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2217 (ILL_ILLOPN): Likewise.
2218 (ILL_ILLADR): Likewise.
2219 (ILL_ILLTRP): Likewise.
2220 (ILL_PRVOPC): Likewise.
2221 (ILL_PRVREG): Likewise.
2222 (ILL_COPROC): Likewise.
2223 (ILL_BADSTK): Likewise.
2224 (FPE_INTDIV): Likewise.
2225 (FPE_INTOVF): Likewise.
2226 (FPE_FLTDIV): Likewise.
2227 (FPE_FLTOVF): Likewise.
2228 (FPE_FLTUND): Likewise.
2229 (FPE_FLTRES): Likewise.
2230 (FPE_FLTINV): Likewise.
2231 (FPE_FLTSUB): Likewise.
2232 (SEGV_MAPERR): Likewise.
2233 (SEGV_ACCERR): Likewise.
2234 (BUS_ADRALN): Likewise.
2235 (BUS_ADRERR): Likewise.
2236 (BUS_OBJERR): Likewise.
2237 (BUS_MCEERR_AR): Likewise.
2238 (BUS_MCEERR_AO): Likewise.
2239 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2240 (TRAP_TRACE): Likewise.
2241 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2242 __USE_XOPEN2K8].
2243 (CLD_KILLED): Likewise.
2244 (CLD_DUMPED): Likewise.
2245 (CLD_TRAPPED): Likewise.
2246 (CLD_STOPPED): Likewise.
2247 (CLD_CONTINUED): Likewise.
2248 (POLL_IN): Likewise.
2249 (POLL_OUT): Likewise.
2250 (POLL_MSG): Likewise.
2251 (POLL_ERR): Likewise.
2252 (POLL_PRI): Likewise.
2253 (POLL_HUP): Likewise.
2254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2255 (ILL_ILLOPN): Likewise.
2256 (ILL_ILLADR): Likewise.
2257 (ILL_ILLTRP): Likewise.
2258 (ILL_PRVOPC): Likewise.
2259 (ILL_PRVREG): Likewise.
2260 (ILL_COPROC): Likewise.
2261 (ILL_BADSTK): Likewise.
2262 (FPE_INTDIV): Likewise.
2263 (FPE_INTOVF): Likewise.
2264 (FPE_FLTDIV): Likewise.
2265 (FPE_FLTOVF): Likewise.
2266 (FPE_FLTUND): Likewise.
2267 (FPE_FLTRES): Likewise.
2268 (FPE_FLTINV): Likewise.
2269 (FPE_FLTSUB): Likewise.
2270 (SEGV_MAPERR): Likewise.
2271 (SEGV_ACCERR): Likewise.
2272 (BUS_ADRALN): Likewise.
2273 (BUS_ADRERR): Likewise.
2274 (BUS_OBJERR): Likewise.
2275 (BUS_MCEERR_AR): Likewise.
2276 (BUS_MCEERR_AO): Likewise.
2277 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2278 (TRAP_TRACE): Likewise.
2279 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2280 __USE_XOPEN2K8].
2281 (CLD_KILLED): Likewise.
2282 (CLD_DUMPED): Likewise.
2283 (CLD_TRAPPED): Likewise.
2284 (CLD_STOPPED): Likewise.
2285 (CLD_CONTINUED): Likewise.
2286 (POLL_IN): Likewise.
2287 (POLL_OUT): Likewise.
2288 (POLL_MSG): Likewise.
2289 (POLL_ERR): Likewise.
2290 (POLL_PRI): Likewise.
2291 (POLL_HUP): Likewise.
2292 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2293 (ILL_ILLOPN): Likewise.
2294 (ILL_ILLADR): Likewise.
2295 (ILL_ILLTRP): Likewise.
2296 (ILL_PRVOPC): Likewise.
2297 (ILL_PRVREG): Likewise.
2298 (ILL_COPROC): Likewise.
2299 (ILL_BADSTK): Likewise.
2300 (ILL_DBLFLT): Likewise.
2301 (ILL_HARDWALL): 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/x86/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 (FPE_INTDIV): Likewise.
2341 (FPE_INTOVF): Likewise.
2342 (FPE_FLTDIV): Likewise.
2343 (FPE_FLTOVF): Likewise.
2344 (FPE_FLTUND): Likewise.
2345 (FPE_FLTRES): Likewise.
2346 (FPE_FLTINV): Likewise.
2347 (FPE_FLTSUB): Likewise.
2348 (SEGV_MAPERR): Likewise.
2349 (SEGV_ACCERR): Likewise.
2350 (BUS_ADRALN): Likewise.
2351 (BUS_ADRERR): Likewise.
2352 (BUS_OBJERR): Likewise.
2353 (BUS_MCEERR_AR): Likewise.
2354 (BUS_MCEERR_AO): Likewise.
2355 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2356 (TRAP_TRACE): Likewise.
2357 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2358 __USE_XOPEN2K8].
2359 (CLD_KILLED): Likewise.
2360 (CLD_DUMPED): Likewise.
2361 (CLD_TRAPPED): Likewise.
2362 (CLD_STOPPED): Likewise.
2363 (CLD_CONTINUED): Likewise.
2364 (POLL_IN): Likewise.
2365 (POLL_OUT): Likewise.
2366 (POLL_MSG): Likewise.
2367 (POLL_ERR): Likewise.
2368 (POLL_PRI): Likewise.
2369 (POLL_HUP): Likewise.
2370 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2371 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2372
bc61d27c
JM
2373 [BZ #16670]
2374 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2375 before #include of <time.h>.
2376 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2377 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2378 (test-xfail-UNIX98/sched.h/conform): Likewise.
2379
302949e2
MS
23802014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2381
2382 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2383 error absence of trapping exception support.
2384 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2385
a00f522a
JM
23862014-03-07 Joseph Myers <joseph@codesourcery.com>
2387
6f99f280
JM
2388 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2389 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2390 * timezone/Makefile (testdata): Move definition above include of
2391 Rules.
2392 (test-zones): New variable.
2393 (tests-special): Add zone files.
2394 (build-testdata): Use $(evaluate-test).
2395
0b20a9e8
JM
2396 * elf/Makefile (tests-special): Rename tests to end with .out.
2397 ($(objpfx)noload-mem): Likewise.
2398 ($(objpfx)tst-leaks1-mem): Likewise.
2399 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2400 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2401 $(objpfx)test-iconvconfig.out.
2402 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2403 set -e inside subshell and redirect output to file.
2404 * iconvdata/Makefile (generated): Rename tests to end with .out.
2405 Correct type.
2406 (tests-special): Rename tests to end with .out.
2407 ($(objpfx)mtrace-tst-loading): Likewise.
2408 * intl/Makefile (generated): Likewise.
2409 (tests-special): Likewise.
2410 ($(objpfx)mtrace-tst-gettext): Likewise.
2411 * misc/Makefile (generated): Likewise.
2412 (tests-special): Likewise.
2413 ($(objpfx)tst-error1-mem): Likewise.
2414 * nptl/Makefile (tests-special): Likewise.
2415 ($(objpfx)tst-stack3-mem): Likewise.
2416 (generated): Likewise.
2417 * posix/Makefile (generated): Likewise.
2418 (tests-special): Likewise.
2419 (xtests-special): Likewise.
2420 ($(objpfx)tst-fnmatch-mem): Likewise.
2421 ($(objpfx)bug-regex2-mem): Likewise.
2422 ($(objpfx)bug-regex14-mem): Likewise.
2423 ($(objpfx)bug-regex21-mem): Likewise.
2424 ($(objpfx)bug-regex31-mem): Likewise.
2425 ($(objpfx)tst-vfork3-mem): Likewise.
2426 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2427 ($(objpfx)tst-pcre-mem): Likewise.
2428 ($(objpfx)tst-boost-mem): Likewise.
2429 ($(objpfx)bug-ga2-mem): Likewise.
2430 ($(objpfx)bug-glob2-mem): Likewise.
2431 * resolv/Makefile (generate): Likewise.
2432 (tests-special): Likewise.
2433 (xtests-special): Likewise.
2434 (generated): Likewise.
2435 ($(objpfx)mtrace-tst-leaks): Likewise.
2436 ($(objpfx)mtrace-tst-leaks2): Likewise.
2437
265d52ab
JM
2438 * scripts/merge-test-results.sh: New file.
2439 * Makefile (tests-special-notdir): New variable.
2440 (tests): Run merge-test-results.sh.
2441 (xtests): Likewise.
2442 * Rules (tests-special-notdir): New variable.
2443 (xtests-special-notdir): Likewise.
2444 (tests): Run merge-test-results.sh
2445 (xtests): Likewise.
2446
54ee292d
JM
2447 * Makeconfig (test-xfail-name): New variable.
2448 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2449 compute variable name for expected failures.
2450 * conform/Makefile (conformtest-headers-data): New variable.
2451 (conformtest-standards): Likewise.
2452 (conformtest-headers-ISO): Likewise.
2453 (conformtest-headers-ISO99): Likewise.
2454 (conformtest-headers-ISO11): Likewise.
2455 (conformtest-headers-POSIX): Likewise.
2456 (conformtest-headers-XPG3): Likewise.
2457 (conformtest-headers-XPG4): Likewise.
2458 (conformtest-headers-UNIX98): Likewise.
2459 (conformtest-headers-XOPEN2K): Likewise.
2460 (conformtest-headers-POSIX2008): Likewise.
2461 (conformtest-headers-XOPEN2K8): Likewise.
2462 (conformtest-header-list-base): Likewise.
2463 (conformtest-header-list-tests): Likewise.
2464 (conformtest-header-base): Likewise.
2465 (conformtest-header-tests): Likewise.
2466 (tests-special): Add $(conformtest-header-list-tests). If
2467 [$(fast-check) && !$(cross-compiling)], add
2468 $(conformtest-header-tests) instead of
2469 $(objpfx)run-conformtest.out.
2470 (generated): Add $(conformtest-header-list-base). If
2471 [$(fast-check) && !$(cross-compiling)], add
2472 $(conformtest-header-base). Remove previous setting.
2473 ($(conformtest-header-list-tests)): New target.
2474 (test-xfail-run-conformtest): Remove variable.
2475 ($(objpfx)run-conformtest.out): Remove target.
2476 (test-xfail-ISO11/complex.h/conform): New variable.
2477 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2478 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2479 (test-xfail-XPG3/varargs.h/conform): Likewise.
2480 (test-xfail-XPG4/varargs.h/conform): Likewise.
2481 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2482 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2483 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2484 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2485 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2486 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2487 (test-xfail-XPG3/ftw.h/conform): Likewise.
2488 (test-xfail-XPG3/grp.h/conform): Likewise.
2489 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2490 (test-xfail-XPG3/limits.h/conform): Likewise.
2491 (test-xfail-XPG3/pwd.h/conform): Likewise.
2492 (test-xfail-XPG3/search.h/conform): Likewise.
2493 (test-xfail-XPG3/signal.h/conform): Likewise.
2494 (test-xfail-XPG3/stdio.h/conform): Likewise.
2495 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2496 (test-xfail-XPG3/string.h/conform): Likewise.
2497 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2498 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2499 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2500 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2501 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2502 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2503 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2504 (test-xfail-XPG3/termios.h/conform): Likewise.
2505 (test-xfail-XPG3/time.h/conform): Likewise.
2506 (test-xfail-XPG3/unistd.h/conform): Likewise.
2507 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2508 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2509 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2510 (test-xfail-XPG4/netdb.h/conform): Likewise.
2511 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2512 (test-xfail-XPG4/signal.h/conform): Likewise.
2513 (test-xfail-XPG4/stdio.h/conform): Likewise.
2514 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2515 (test-xfail-XPG4/stropts.h/conform): Likewise.
2516 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2517 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2518 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2519 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2520 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2521 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2522 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2523 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2524 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2525 (test-xfail-XPG4/termios.h/conform): Likewise.
2526 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2527 (test-xfail-XPG4/unistd.h/conform): Likewise.
2528 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2529 (test-xfail-POSIX/sched.h/conform): Likewise.
2530 (test-xfail-POSIX/signal.h/conform): Likewise.
2531 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2532 (test-xfail-POSIX/tar.h/conform): Likewise.
2533 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2534 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2535 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2536 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2537 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2538 (test-xfail-UNIX98/sched.h/conform): Likewise.
2539 (test-xfail-UNIX98/signal.h/conform): Likewise.
2540 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2541 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2542 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2543 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2544 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2545 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2546 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2547 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2548 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2549 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2550 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2551 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2552 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2553 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2554 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2555 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2556 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2557 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2558 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2559 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2560 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2561 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2562 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2563 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2564 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2565 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2566 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2567 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2568 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2569 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2570 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2571 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2572 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2573 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2574 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2575 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2576 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2577 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2578 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2579 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2580 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2581 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2582 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2583 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2584 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2585 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2586 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2587 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2588 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2589 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2590 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2591 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2592 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2593 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2594 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2595 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2596 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2597 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2598 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2599 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2600 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2601 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2602 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2603 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2604 (conformtest-cc-flags): Likewise.
2605 ($(conformtest-header-tests): New target.
2606 * conform/check-header-lists.sh: New file.
2607 * conform/run-conformtest.sh: Remove.
2608
a00f522a
JM
2609 * conform/conformtest.pl: Allow ' and \ in values given for
2610 constants.
2611 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2612 inclusion.
2613 [POSIX] (sys/types.h): Likewise.
2614 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2615 inclusion.
2616 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2617 inclusion.
2618 * conform/data/signal.h-data (SIGIO): Remove expectation.
2619 [XPG3] (SIGBUS): Do not expect.
2620 [POSIX || XPG3] (SIGPOLL): Likewise.
2621 [POSIX || XPG3] (SIGPROF): Likewise.
2622 [POSIX || XPG3] (SIGSYS): Likewise.
2623 [XPG3] (SIGTRAP): Likewise.
2624 [POSIX || XPG3] (SIGURG): Likewise.
2625 [POSIX || XPG3] (SIGVTALRM): Likewise.
2626 [POSIX || XPG3] (SIGXCPU): Likewise.
2627 [POSIX || XPG3] (SIGXFSZ): Likewise.
2628 [POSIX] (SA_SIGINFO): Expect.
2629 [XPG3] (siginfo_t): Do not expect type or contents.
2630 [POSIX] (si_pid): Do not expect element.
2631 [POSIX] (si_uid): Likewise.
2632 [POSIX] (si_addr): Likewise.
2633 [POSIX] (si_status): Likewise.
2634 [POSIX] (si_band): Likewise.
2635 [XPG4] (si_value): Likewise.
2636 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2637 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2638 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2639 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2640 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2641 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2642 [POSIX || XPG3] (ILL_COPROC): Likewise.
2643 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2644 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2645 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2646 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2647 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2648 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2649 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2650 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2651 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2652 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2653 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2654 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2655 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2656 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2657 [POSIX || XPG3] (CLD_EXITED): Likewise.
2658 [POSIX || XPG3] (CLD_KILLED): Likewise.
2659 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2660 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2661 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2662 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2663 [POSIX || XPG3] (POLL_IN): Likewise.
2664 [POSIX || XPG3] (POLL_OUT): Likewise.
2665 [POSIX || XPG3] (POLL_MSG): Likewise.
2666 [POSIX || XPG3] (POLL_ERR): Likewise.
2667 [POSIX || XPG3] (POLL_PRI): Likewise.
2668 [POSIX || XPG3] (POLL_HUP): Likewise.
2669 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2670 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2671 (SIG*): Do not allow.
2672 [XPG3] (si_*): Likewise.
2673 [XPG3] (SI_*): Likewise.
2674 [XPG3 || XPG4] (sigev_*): Likewise.
2675 [XPG3 || XPG4] (SIGEV_*): Likewise.
2676 [XPG3 || XPG4] (sival_*): Likewise.
2677 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2678 [POSIX || XPG3] (BUS_*): Likewise.
2679 [POSIX || XPG3] (CLD_*): Likewise.
2680 [POSIX || XPG3] (FPE_*): Likewise.
2681 [POSIX || XPG3] (ILL_*): Likewise.
2682 [POSIX || XPG3] (POLL_*): Likewise.
2683 [POSIX || XPG3] (SEGV_*): Likewise.
2684 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2685 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2686 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2687 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2688 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2689 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2690 Specify type and value.
2691 (TVERSLEN): Likewise.
2692 (REGTYPE): Likewise.
2693 (AREGTYPE): Likewise.
2694 (LNKTYPE): Likewise.
2695 (SYMTYPE): Likewise.
2696 (CHRTYPE): Likewise.
2697 (BLKTYPE): Likewise.
2698 (DIRTYPE): Likewise.
2699 (FIFOTYPE): Likewise.
2700 (CONTTYPE): Likewise.
2701 (TSUID): Likewise.
2702 (TSGID): Likewise.
2703 (TSVTX): Likewise.
2704 (TUREAD): Likewise.
2705 (TUWRITE): Likewise.
2706 (TUEXEC): Likewise.
2707 (TGREAD): Likewise.
2708 (TGWRITE): Likewise.
2709 (TGEXEC): Likewise.
2710 (TOREAD): Likewise.
2711 (TOWRITE): Likewise.
2712 (TOEXEC): Likewise.
2713 [POSIX] (TSVTX): Expect constant.
2714
aa97dee1
JM
27152014-03-06 Joseph Myers <joseph@codesourcery.com>
2716
f214606a
JM
2717 * Makefile (tests): Change dependencies to ....
2718 (tests-special): ... additions to this variable.
2719 (tests): Depend on $(tests-special).
2720 * Makerules (check-abi-list): New variable.
2721 (check-abi): Depend on $(check-abi-list).
2722 [$(subdir) = elf] (tests-special): Add
2723 $(objpfx)check-abi-libc.out.
2724 [$(build-shared) = yes && subdir] (tests-special): Add
2725 $(check-abi-list).
2726 [$(build-shared) = yes && subdir] (tests): Do not depend on
2727 check-abi.
2728 * Rules (tests): Depend on $(tests-special).
2729 (xtests): Depend on $(xtests-special).
2730 * catgets/Makefile (tests): Change dependencies to ....
2731 (tests-special): ... additions to this variable.
2732 * conform/Makefile (tests): Change dependencies to ....
2733 (tests-special): ... additions to this variable.
2734 * elf/Makefile (tests): Change dependencies to ....
2735 (tests-special): ... additions to this variable.
2736 * grp/Makefile (tests): Change dependencies to ....
2737 (tests-special): ... additions to this variable.
2738 * iconv/Makefile (xtests): Change dependencies to ....
2739 (xtests-special): ... additions to this variable.
2740 * iconvdata/Makefile (tests): Change dependencies to ....
2741 (tests-special): ... additions to this variable.
2742 * intl/Makefile (tests): Change dependencies to ....
2743 (tests-special): ... additions to this variable. Also add
2744 $(objpfx)tst-gettext.out.
2745 * io/Makefile (tests): Change dependencies to ....
2746 (tests-special): ... additions to this variable.
2747 * libio/Makefile (tests): Change dependencies to ....
2748 (tests-special): ... additions to this variable.
2749 * malloc/Makefile (tests): Change dependencies to ....
2750 (tests-special): ... additions to this variable.
2751 * misc/Makefile (tests): Change dependencies to ....
2752 (tests-special): ... additions to this variable.
2753 * nptl/Makefile (tests): Change dependencies to ....
2754 (tests-special): ... additions to this variable.
2755 * nptl_db/Makefile (tests): Change dependencies to ....
2756 (tests-special): ... additions to this variable.
2757 * posix/Makefile (tests): Change dependencies to ....
2758 (tests-special): ... additions to this variable.
2759 (xtests): Change dependencies to ....
2760 (xtests-special): ... additions to this variable.
2761 * resolv/Makefile (tests): Change dependencies to ....
2762 (tests-special): ... additions to this variable.
2763 (xtests): Change dependencies to ....
2764 (xtests-special): ... additions to this variable.
2765 * stdio-common/Makefile (tests): Change dependencies to ....
2766 (tests-special): ... additions to this variable.
2767 (do-tst-unbputc): Remove target.
2768 (do-tst-printf): Likewise.
2769 * stdlib/Makefile (tests): Change dependencies to ....
2770 (tests-special): ... additions to this variable.
2771 * string/Makefile (tests): Change dependencies to ....
2772 (tests-special): ... additions to this variable.
2773 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2774 (tests-special): ... additions to this variable.
2775
81700b53
JM
2776 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2777 whole file.
2778 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2779 whole file.
2780 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2781 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2782
2ea18461
JM
2783 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2784 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2785 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2786 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2787 * conform/data/libgen.h-data [XPG3]: Likewise.
2788 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2789 * conform/data/ndbm.h-data [XPG3]: Likewise.
2790 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2791 * conform/data/netdb.h-data [XPG3]: Likewise.
2792 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2793 * conform/data/poll.h-data [XPG3]: Likewise.
2794 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2795 * conform/data/strings.h-data [XPG3]: Likewise.
2796 * conform/data/stropts.h-data [XPG3]: Likewise.
2797 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2798 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2799 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2800 Likewise.
2801 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2802 * conform/data/sys/time.h-data [XPG3]: Likewise.
2803 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2804 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2805 * conform/data/sys/un.h-data [XPG3]: Likewise.
2806 * conform/data/syslog.h-data [XPG3]: Likewise.
2807 * conform/data/ucontext.h-data [XPG3]: Likewise.
2808 * conform/data/utmpx.h-data [XPG3]: Likewise.
2809 * conform/data/varargs.h-data [UNIX98]: Enable file.
2810
355bc986
JM
2811 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2812
215db402
JM
2813 * math/libm-test.inc (struct test_f_f_data): Move expected results
2814 into structure for each rounding mode.
2815 (struct test_ff_f_data): Likewise.
2816 (struct test_ff_f_data_nexttoward): Likewise.
2817 (struct test_fi_f_data): Likewise.
2818 (struct test_fl_f_data): Likewise.
2819 (struct test_if_f_data): Likewise.
2820 (struct test_fff_f_data): Likewise.
2821 (struct test_c_f_data): Likewise.
2822 (struct test_f_f1_data): Likewise.
2823 (struct test_fF_f1_data): Likewise.
2824 (struct test_ffI_f1_data): Likewise.
2825 (struct test_c_c_data): Likewise.
2826 (struct test_cc_c_data): Likewise.
2827 (struct test_f_i_data): Likewise.
2828 (struct test_ff_i_data): Likewise.
2829 (struct test_f_l_data): Likewise.
2830 (struct test_f_L_data): Likewise.
2831 (struct test_fFF_11_data): Likewise.
2832 (RM_): New macro.
2833 (RM_FE_DOWNWARD): Likewise.
2834 (RM_FE_TONEAREST): Likewise.
2835 (RM_FE_TOWARDZERO): Likewise.
2836 (RM_FE_UPWARD): Likewise.
2837 (RUN_TEST_LOOP_f_f): Update references to expected results.
2838 (RUN_TEST_LOOP_2_f): Likewise.
2839 (RUN_TEST_LOOP_fff_f): Likewise.
2840 (RUN_TEST_LOOP_c_f): Likewise.
2841 (RUN_TEST_LOOP_f_f1): Likewise.
2842 (RUN_TEST_LOOP_fF_f1): Likewise.
2843 (RUN_TEST_LOOP_fI_f1): Likewise.
2844 (RUN_TEST_LOOP_ffI_f1): Likewise.
2845 (RUN_TEST_LOOP_c_c): Likewise.
2846 (RUN_TEST_LOOP_cc_c): Likewise.
2847 (RUN_TEST_LOOP_f_i): Likewise.
2848 (RUN_TEST_LOOP_f_i_tg): Likewise.
2849 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2850 (RUN_TEST_LOOP_f_b): Likewise.
2851 (RUN_TEST_LOOP_f_b_tg): Likewise.
2852 (RUN_TEST_LOOP_f_l): Likewise.
2853 (RUN_TEST_LOOP_f_L): Likewise.
2854 (RUN_TEST_LOOP_fFF_11): Likewise.
2855 * math/gen-libm-test.pl (parse_args): Output four copies of
2856 expected results for each test.
2857
67737b8f
JM
2858 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2859 (__ASSUME_UTIMES): Remove.
2860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2861 (__ASSUME_UTIMES): Likewise.
2862
aa97dee1
JM
2863 * math/gen-auto-libm-tests.c: Update comment on output format.
2864 (output_for_one_input_case): Generate before-rounding and
2865 after-rounding information as conditions on output flags not
2866 floating-point format.
2867 * math/auto-libm-test-out: Regenerated.
2868 * math/gen-libm-test.pl (cond_value): New function.
2869 (or_cond_value): Use cond_value.
2870 (generate_testfile): Handle conditional exceptions.
2871
e6b6a857
JM
28722014-03-05 Joseph Myers <joseph@codesourcery.com>
2873
2f0a0f44
JM
2874 * math/libm-test.inc (max_valid_error): New variable.
2875 (init_max_error): Take new argument specifying whether function
2876 results are exactly determined. Set max_valid_error and bound
2877 other variables for errors based on this argument.
2878 (set_max_error): Do not record results above max_valid_error.
2879 (check_float_internal): Only accept errors of up to 0.5ulps if
2880 also at most max_valid_error.
2881 (START): Take new argument EXACT and pass it to init_max_error.
2882 (acos_test): Update call to START.
2883 (acos_test_tonearest): Likewise.
2884 (acos_test_towardzero): Likewise.
2885 (acos_test_downward): Likewise.
2886 (acos_test_upward): Likewise.
2887 (acosh_test): Likewise.
2888 (asin_test): Likewise.
2889 (asin_test_tonearest): Likewise.
2890 (asin_test_towardzero): Likewise.
2891 (asin_test_downward): Likewise.
2892 (asin_test_upward): Likewise.
2893 (asinh_test): Likewise.
2894 (atan_test): Likewise.
2895 (atanh_test): Likewise.
2896 (atan2_test): Likewise.
2897 (cabs_test): Likewise.
2898 (cacos_test): Likewise.
2899 (cacosh_test): Likewise.
2900 (carg_test): Likewise.
2901 (casin_test): Likewise.
2902 (casinh_test): Likewise.
2903 (catan_test): Likewise.
2904 (catanh_test): Likewise.
2905 (cbrt_test): Likewise.
2906 (ccos_test): Likewise.
2907 (ccosh_test): Likewise.
2908 (ceil_test): Likewise.
2909 (cexp_test): Likewise.
2910 (cimag_test): Likewise.
2911 (clog_test): Likewise.
2912 (clog10_test): Likewise.
2913 (conj_test): Likewise.
2914 (copysign_test): Likewise.
2915 (cos_test): Likewise.
2916 (cos_test_tonearest): Likewise.
2917 (cos_test_towardzero): Likewise.
2918 (cos_test_downward): Likewise.
2919 (cos_test_upward): Likewise.
2920 (cosh_test): Likewise.
2921 (cosh_test_tonearest): Likewise.
2922 (cosh_test_towardzero): Likewise.
2923 (cosh_test_downward): Likewise.
2924 (cosh_test_upward): Likewise.
2925 (cpow_test): Likewise.
2926 (cproj_test): Likewise.
2927 (creal_test): Likewise.
2928 (csin_test): Likewise.
2929 (csinh_test): Likewise.
2930 (csqrt_test): Likewise.
2931 (ctan_test): Likewise.
2932 (ctan_test_tonearest): Likewise.
2933 (ctan_test_towardzero): Likewise.
2934 (ctan_test_downward): Likewise.
2935 (ctan_test_upward): Likewise.
2936 (ctanh_test): Likewise.
2937 (ctanh_test_tonearest): Likewise.
2938 (ctanh_test_towardzero): Likewise.
2939 (ctanh_test_downward): Likewise.
2940 (ctanh_test_upward): Likewise.
2941 (erf_test): Likewise.
2942 (erfc_test): Likewise.
2943 (exp_test): Likewise.
2944 (exp_test_tonearest): Likewise.
2945 (exp_test_towardzero): Likewise.
2946 (exp_test_downward): Likewise.
2947 (exp_test_upward): Likewise.
2948 (exp10_test): Likewise.
2949 (exp10_test_tonearest): Likewise.
2950 (exp10_test_towardzero): Likewise.
2951 (exp10_test_downward): Likewise.
2952 (exp10_test_upward): Likewise.
2953 (pow10_test): Likewise.
2954 (exp2_test): Likewise.
2955 (expm1_test): Likewise.
2956 (expm1_test_tonearest): Likewise.
2957 (expm1_test_towardzero): Likewise.
2958 (expm1_test_downward): Likewise.
2959 (expm1_test_upward): Likewise.
2960 (fabs_test): Likewise.
2961 (fdim_test): Likewise.
2962 (floor_test): Likewise.
2963 (fma_test): Likewise.
2964 (fma_test_towardzero): Likewise.
2965 (fma_test_downward): Likewise.
2966 (fma_test_upward): Likewise.
2967 (fmax_test): Likewise.
2968 (fmin_test): Likewise.
2969 (fmod_test): Likewise.
2970 (fpclassify_test): Likewise.
2971 (frexp_test): Likewise.
2972 (hypot_test): Likewise.
2973 (ilogb_test): Likewise.
2974 (isfinite_test): Likewise.
2975 (finite_test): Likewise.
2976 (isgreater_test): Likewise.
2977 (isgreaterequal_test): Likewise.
2978 (isinf_test): Likewise.
2979 (isless_test): Likewise.
2980 (islessequal_test): Likewise.
2981 (islessgreater_test): Likewise.
2982 (isnan_test): Likewise.
2983 (isnormal_test): Likewise.
2984 (issignaling_test): Likewise.
2985 (isunordered_test): Likewise.
2986 (j0_test): Likewise.
2987 (j1_test): Likewise.
2988 (jn_test): Likewise.
2989 (ldexp_test): Likewise.
2990 (lgamma_test): Likewise.
2991 (gamma_test): Likewise.
2992 (lrint_test): Likewise.
2993 (lrint_test_tonearest): Likewise.
2994 (lrint_test_towardzero): Likewise.
2995 (lrint_test_downward): Likewise.
2996 (lrint_test_upward): Likewise.
2997 (llrint_test): Likewise.
2998 (llrint_test_tonearest): Likewise.
2999 (llrint_test_towardzero): Likewise.
3000 (llrint_test_downward): Likewise.
3001 (llrint_test_upward): Likewise.
3002 (log_test): Likewise.
3003 (log10_test): Likewise.
3004 (log1p_test): Likewise.
3005 (log2_test): Likewise.
3006 (logb_test): Likewise.
3007 (logb_test_downward): Likewise.
3008 (lround_test): Likewise.
3009 (llround_test): Likewise.
3010 (modf_test): Likewise.
3011 (nearbyint_test): Likewise.
3012 (nextafter_test): Likewise.
3013 (nexttoward_test): Likewise.
3014 (pow_test): Likewise.
3015 (pow_test_tonearest): Likewise.
3016 (pow_test_towardzero): Likewise.
3017 (pow_test_downward): Likewise.
3018 (pow_test_upward): Likewise.
3019 (remainder_test): Likewise.
3020 (drem_test): Likewise.
3021 (remainder_test_tonearest): Likewise.
3022 (drem_test_tonearest): Likewise.
3023 (remainder_test_towardzero): Likewise.
3024 (drem_test_towardzero): Likewise.
3025 (remainder_test_downward): Likewise.
3026 (drem_test_downward): Likewise.
3027 (remainder_test_upward): Likewise.
3028 (drem_test_upward): Likewise.
3029 (remquo_test): Likewise.
3030 (rint_test): Likewise.
3031 (rint_test_tonearest): Likewise.
3032 (rint_test_towardzero): Likewise.
3033 (rint_test_downward): Likewise.
3034 (rint_test_upward): Likewise.
3035 (round_test): Likewise.
3036 (scalb_test): Likewise.
3037 (scalbn_test): Likewise.
3038 (scalbln_test): Likewise.
3039 (signbit_test): Likewise.
3040 (sin_test): Likewise.
3041 (sin_test_tonearest): Likewise.
3042 (sin_test_towardzero): Likewise.
3043 (sin_test_downward): Likewise.
3044 (sin_test_upward): Likewise.
3045 (sincos_test): Likewise.
3046 (sinh_test): Likewise.
3047 (sinh_test_tonearest): Likewise.
3048 (sinh_test_towardzero): Likewise.
3049 (sinh_test_downward): Likewise.
3050 (sinh_test_upward): Likewise.
3051 (sqrt_test): Likewise.
3052 (sqrt_test_tonearest): Likewise.
3053 (sqrt_test_towardzero): Likewise.
3054 (sqrt_test_downward): Likewise.
3055 (sqrt_test_upward): Likewise.
3056 (tan_test): Likewise.
3057 (tan_test_tonearest): Likewise.
3058 (tan_test_towardzero): Likewise.
3059 (tan_test_downward): Likewise.
3060 (tan_test_upward): Likewise.
3061 (tanh_test): Likewise.
3062 (tgamma_test): Likewise.
3063 (trunc_test): Likewise.
3064 (y0_test): Likewise.
3065 (y1_test): Likewise.
3066 (yn_test): Likewise.
3067 (significand_test): Likewise.
3068
e6b6a857
JM
3069 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3070 individual tests in comment.
3071 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3072 (prev_max_error): New variable.
3073 (prev_real_max_error): Likewise.
3074 (prev_imag_max_error): Likewise.
3075 (compare_ulp_data): Don't refer to test names in comment.
3076 (find_test_ulps): Remove function.
3077 (find_function_ulps): Likewise.
3078 (find_complex_function_ulps): Likewise.
3079 (init_max_error): Take function name as argument. Look up ulps
3080 for that function.
3081 (print_ulps): Remove function.
3082 (print_max_error): Use prev_max_error instead of calling
3083 find_function_ulps.
3084 (print_complex_max_error): Use prev_real_max_error and
3085 prev_imag_max_error instead of calling find_complex_function_ulps.
3086 (check_float_internal): Take max_ulp parameter instead of calling
3087 find_test_ulps. Don't call print_ulps.
3088 (check_float): Update call to check_float_internal.
3089 (check_complex): Update calls to check_float_internal.
3090 (START): Pass argument to init_max_error.
3091 * math/gen-libm-test.pl (%results): Don't include "kind"
3092 information.
3093 (parse_ulps): Don't handle ulps of individual tests.
3094 (print_ulps_file): Likewise.
3095 (output_ulps): Likewise.
3096 * math/README.libm-test: Update.
3097 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3098 individual tests.
3099 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3100 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3101 * sysdeps/arm/libm-test-ulps: Likewise.
3102 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3103 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3104 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3105 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3106 * sysdeps/microblaze/libm-test-ulps: Likewise.
3107 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3108 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3109 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3110 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3111 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3112 * sysdeps/sh/libm-test-ulps: Likewise.
3113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3114 * sysdeps/tile/libm-test-ulps: Likewise.
3115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3116
45adef3c
JM
31172014-03-04 Joseph Myers <joseph@codesourcery.com>
3118
3119 * math/libm-test.inc (print_complex_max_error): Check separately
3120 whether real and imaginary errors are within allowed range and
3121 pass 0 to print_complex_function_ulps instead of value within
3122 allowed range.
3123
000232b9
SP
31242014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3125
d4b17258
SP
3126 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3127 formatting.
3128 (get_handles_fopen): Likewise.
3129 (do_write_test): Likewise.
3130
091eff71
SP
3131 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3132
fa3cd248
SP
3133 * libio/fileops.c (do_ftell): Use cached offset when
3134 available.
3135 * libio/iofwide.c (do_ftell_wide): Likewise.
3136 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3137 _IO_file_attach.
3138 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3139
000232b9
SP
3140 [BZ #16532]
3141 * libio/libioP.h (get_file_offset): New function.
3142 * libio/fileops.c (get_file_offset): Likewise.
3143 (do_ftell): Likewise.
3144 (_IO_new_file_seekoff): Split out ftell logic.
3145 * libio/wfileops.c (do_ftell_wide): Likewise.
3146 (_IO_wfile_seekoff): Split out ftell logic.
3147 * libio/tst-ftell-active-handler.c: New test case.
3148 * libio/Makefile (tests): Add it.
3149
116f4d1a
RM
31502014-03-03 Roland McGrath <roland@hack.frob.com>
3151
3152 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3153 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3154
532a6035
SP
31552014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3156
3157 [BZ #16639]
3158 * nscd/connections.c (nscd_init): Call do_exit.
3159 (start_threads): Call do_exit and notify_parent.
3160 (begin_drop_privileges): Call do_exit.
3161 (finish_drop_privileges): Likewise.
3162 * nscd/selinux.c (preserve_capabilities): Likewise.
3163 (install_real_capabilities): Likewise.
3164 (nscd_selinux_enabled): Likewise.
3165 (avc_create_thread): Likewise.
3166 (avc_alloc_lock): Likewise.
3167 (nscd_avc_init): Likewise.
3168 * nscd/nscd.c (parent_fd): New static variable.
3169 (main): Create a pipe between parent and child processes.
3170 Skip closing parent_fd.
3171 (monitor_child): New function.
3172 (do_exit): Likewise.
3173 (notify_parent): Likewise.
3174 * nscd/nscd.h (notify_parent): Likewise.
3175 (do_exit): Likewise.
3176
d6285c9f
CD
31772014-03-03 Carlos O'Donell <carlos@redhat.com>
3178
3179 * malloc/malloc.c (__libc_calloc): Revert last change.
3180
2b85d2a0
AZ
31812014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182
3183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3184
c7debbdf
RS
31852014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3186
3187 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3189 implementation.
3190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3191 (__libc_ifunc_impl_list): Likewise.
3192 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3193 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3194 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3195 * string/strrchr.c: Define STRRCHR.
3196
235eed86
OB
31972014-02-28 Ondřej Bílka <neleai@seznam.cz>
3198
3199 * benchtest/bench-strtok.c (simple_strtok): Delete.
3200 (strtok_string): Use as benchmark.
3201 * string/strtok (STRTOK): New macro.
3202
8e25d1e7
CD
32032014-02-28 Carlos O'Donell <carlos@redhat.com>
3204
ef563f92
CD
3205 * manual/threads.texi: Add header and standard comments to all
3206 functions.
3207
8e25d1e7
CD
3208 * elf/dl-lookup.c (check_match): New function.
3209 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3210 (do_lookup_x): Remove nested function check_match. Use non-nested
3211 function check_match.
3212
ff71cc37
RM
32132014-02-28 Roland McGrath <roland@hack.frob.com>
3214
f08e9a26
RM
3215 * csu/Makefile (generated, before-compile): Use += rather than =.
3216 * catgets/Makefile (generated, generated-dirs): Likewise.
3217 * debug/Makefile (generated): Likewise.
3218 * dlfcn/Makefile (generated): Likewise.
3219 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3220 * iconvdata/Makefile (before-compile, generated): Likewise.
3221 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3222 * libio/Makefile (generated): Likewise.
3223 * malloc/Makefile (generated): Likewise.
3224 * manual/Makefile (generated, generated-dirs): Likewise.
3225 * misc/Makefile (generated): Likewise.
3226 * posix/Makefile (generated): Likewise.
3227 * resolv/Makefile (generated): Likewise.
3228 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3229 * timezone/Makefile (generated, generated-dirs): Likewise.
3230
ff71cc37
RM
3231 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3232
fe13a20c
AZ
32332014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3234
57f41c40
AS
3235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3236 power8 implementation.
3237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3238 file: POWER8 llround ifunc implementation.
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3240 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3241 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3242 POWER8 llround implementation.
3243
57f41c40
AS
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3245 power8 implementation.
3246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3247 file: POWER8 llrint ifunc implementation.
3248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3249 Add POWER8 implementation.
1ad8950a
AZ
3250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3251 POWER8 llrint implementation.
3252
57f41c40
AS
3253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3254 power8 implementation.
3255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3256 file: POWER8 finite ifunc implementation.
3257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3258 Add POWER8 implementation.
cac626d6
AZ
3259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3260 Likewise.
3261 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3262 POWER8 finite implementation.
3263 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3264
57f41c40
AS
3265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3266 power8 implementation.
3267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3268 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3270 POWER8 implementation.
3271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3272 Likewise.
57f41c40
AS
3273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3274 isinf implementation.
4393fc11
AZ
3275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3276
57f41c40
AS
3277 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3278 (INIT_ARCH): Add hwcap2 initialization.
3279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3280 power8 implementation.
3281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3282 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3284 POWER8 implementation.
3285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3286 Likewise.
57f41c40
AS
3287 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3288 isnan implementation.
487972ae
AZ
3289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3290
7d92b787
JY
32912014-02-27 Joey Ye <joey.ye@arm.com>
3292
3293 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3294 (_FP_NANFRAC_Q): Set to zero.
3295
1cadc858
SP
32962014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3297
3298 [BZ #16623]
3299 * math/auto-libm-test-in: New test inputs.
3300 * math/auto-libm-test-out: Regenerate.
3301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3302 and DA.
3303 (__cos): Likewise.
3304 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3305
f8c17e79
JM
33062014-02-27 Joseph Myers <joseph@codesourcery.com>
3307
3308 * scripts/evaluate-test.sh: Take new argument indicating whether
3309 failure is expected.
3310 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3311 indicating whether failure is expected.
3312 * conform/Makefile (test-xfail-run-conformtest): New variable.
3313 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3314 level.
3315 * posix/Makefile (test-xfail-annexc): New variable.
3316 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3317
a5f891ac
JM
33182014-02-26 Joseph Myers <joseph@codesourcery.com>
3319
3320 * argp/Makefile: Include Makeconfig immediately after defining
3321 subdir.
3322 * assert/Makefile: Likewise.
3323 * benchtests/Makefile: Likewise.
3324 * catgets/Makefile: Likewise.
3325 * conform/Makefile: Likewise.
3326 * crypt/Makefile: Likewise.
3327 * csu/Makefile: Likewise.
3328 (all): Remove target.
3329 * ctype/Makefile: Include Makeconfig immediately after defining
3330 subdir.
3331 * debug/Makefile: Likewise.
3332 * dirent/Makefile: Likewise.
3333 * dlfcn/Makefile: Likewise.
3334 * gmon/Makefile: Likewise.
3335 * gnulib/Makefile: Likewise.
3336 * grp/Makefile: Likewise.
3337 * gshadow/Makefile: Likewise.
3338 * hesiod/Makefile: Likewise.
3339 * hurd/Makefile: Likewise.
3340 (all): Remove target.
3341 * iconvdata/Makefile: Include Makeconfig immediately after
3342 defining subdir.
3343 * inet/Makefile: Likewise.
3344 * intl/Makefile: Likewise.
3345 * io/Makefile: Likewise.
3346 * libio/Makefile: Likewise.
3347 (all): Remove target.
3348 * locale/Makefile: Include Makeconfig immediately after defining
3349 subdir.
3350 * login/Makefile: Likewise.
3351 * mach/Makefile: Likewise.
3352 (all): Remove target.
3353 * malloc/Makefile: Include Makeconfig immediately after defining
3354 subdir.
3355 (all): Remove target.
3356 * manual/Makefile: Include Makeconfig immediately after defining
3357 subdir.
3358 * math/Makefile: Likewise.
3359 * misc/Makefile: Likewise.
3360 * nis/Makefile: Likewise.
3361 * nss/Makefile: Likewise.
3362 * po/Makefile: Likewise.
3363 (all): Remove target.
3364 * posix/Makefile: Include Makeconfig immediately after defining
3365 subdir.
3366 * pwd/Makefile: Likewise.
3367 * resolv/Makefile: Likewise.
3368 * resource/Makefile: Likewise.
3369 * rt/Makefile: Likewise.
3370 * setjmp/Makefile: Likewise.
3371 * shadow/Makefile: Likewise.
3372 * signal/Makefile: Likewise.
3373 * socket/Makefile: Likewise.
3374 * soft-fp/Makefile: Likewise.
3375 * stdio-common/Makefile: Likewise.
3376 * stdlib/Makefile: Likewise.
3377 * streams/Makefile: Likewise.
3378 * string/Makefile: Likewise.
3379 * sunrpc/Makefile: Likewise.
3380 (all): Remove target.
3381 * sysvipc/Makefile: Include Makeconfig immediately after defining
3382 subdir.
3383 * termios/Makefile: Likewise.
3384 * time/Makefile: Likewise.
3385 * timezone/Makefile: Likewise.
3386 (all): Remove target.
3387 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3388 subdir.
3389 * wctype/Makefile: Likewise.
3390
5b456e9d
SE
33912014-02-26 Steve Ellcey <sellcey@mips.com>
3392
3393 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3394 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3395 (libc_feholdexcept_setround_mips): Ditto.
3396 (libc_feholdsetround): New.
3397 (libc_feholdsetroundf): New.
3398 (libc_feholdsetroundl): New.
3399 (libc_feupdateenv_test_mips): New.
3400 (libc_feupdateenv_test): New.
3401 (libc_feupdateenv_testf): New.
3402 (libc_feupdateenv_testl): New.
3403 (libc_feresetround): New.
3404 (libc_feresetroundf): New.
3405 (libc_feresetroundl): New.
3406 (libc_fetestexcept_mips): New.
3407 (libc_fetestexcept): New.
3408 (libc_fetestexceptf): New.
3409 (libc_fetestexceptl): New.
3410 (HAVE_RM_CTX): New.
3411 (libc_feholdexcept_setround_mips_ctx): New.
3412 (libc_feholdexcept_setround_ctx): New.
3413 (libc_feholdexcept_setroundf_ctx): New.
3414 (libc_feholdexcept_setroundl_ctx): New.
3415 (libc_fesetenv_mips_ctx): New.
3416 (libc_fesetenv_ctx): New.
3417 (libc_fesetenv_ctxf): New.
3418 (libc_fesetenv_ctxl): New.
3419 (libc_feupdateenv_mips_ctx): New.
3420 (libc_feupdateenv_ctx): New.
3421 (libc_feupdateenvf_ctx): New.
3422 (libc_feupdateenvl_ctx): New.
3423 (libc_feholdsetround_mips_ctx): New.
3424 (libc_feholdsetround_ctx): New.
3425 (libc_feholdsetroundf_ctx): New.
3426 (libc_feholdsetroundl_ctx): New.
3427 (libc_feresetround_mips_ctx): New.
3428 (libc_feresetround_ctx): New.
3429 (libc_feresetroundf_ctx): New.
3430 (libc_feresetroundl_ctx): New.
3431
085d0e35
CD
34322014-02-26 Carlos O'Donell <carlos@redhat.com>
3433
f067bf1f
CD
3434 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3435
085d0e35
CD
3436 * manual/ipc.texi: New file.
3437 * manual/Makefile (chapters): Add ipc.
3438 * manual/job.texi: Add "Inter-Process Communication" to next.
3439 * manual/process.texi: Add "Inter-Process Communication" to prev.
3440
86e58c08
AZ
34412014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3442
3443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3444
4248f0da
OB
34452014-02-26 Ondřej Bílka <neleai@seznam.cz>
3446
3447 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3448
cf822e3c
OB
3449 * manual/arith.texi: Fix spaces after sentences.
3450 * manual/charset.texi: Likewise.
3451 * manual/errno.texi: Likewise.
3452 * manual/install.texi: Likewise.
3453 * manual/llio.texi: Likewise.
3454 * manual/locale.texi: Likewise.
3455 * manual/maint.texi: Likewise.
3456 * manual/math.texi: Likewise.
3457 * manual/memory.texi: Likewise.
3458 * manual/message.texi: Likewise.
3459 * manual/probes.texi: Likewise.
3460 * manual/resource.texi: Likewise.
3461 * manual/signal.texi: Likewise.
3462 * manual/socket.texi: Likewise.
3463 * manual/stdio.texi: Likewise.
3464 * manual/string.texi: Likewise.
3465 * manual/time.texi: Likewise.
3466 * manual/users.texi: Likewise.
3467
ade40b10
CD
34682014-02-25 Carlos O'Donell <carlos@redhat.com>
3469
3470 [BZ #16632]
3471 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3472 _DEFAULT_SOURCE is defined.
3473
d0503676
CD
34742014-02-25 Ulrich Drepper <drepper@gmail.com>
3475 Carlos O'Donell <carlos@redhat.com>
3476
3477 [BZ #16613]
3478 * elf/dl-tls.c (_dl_count_modids): New function.
3479 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3480 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3481 audit library and increment generation counter.
3482 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3483 * elf/tst-audit9.c: New file.
3484 * elf/tst-auditmod9a.c: New file.
3485 * elf/tst-auditmod9b.c: New file.
3486 * elf/Makefile: Add rules to build and run tst-audit9.
3487
4cbf380c
FW
34882014-02-25 Florian Weimer <fweimer@redhat.com>
3489
3490 [BZ #15347]
3491 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3492
80a56cc3
WN
34932014-02-25 Will Newton <will.newton@linaro.org>
3494
3495 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3496 (__longjmp): Restore sp and lr before restoring callee
3497 saved registers. Add longjmp and longjmp_target
3498 SystemTap probe point.
3499 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3500 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3501 Define to zero to match jmpbuf layout.
3502 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3503 (__sigsetjmp): Save sp and lr before saving callee
3504 saved registers. Add setjmp SystemTap probe point.
3505
3ea0f74e
SL
35062014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3507
3508 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3509
b04acb26
AS
35102014-02-24 Andreas Schwab <schwab@suse.de>
3511
3512 [BZ #15804]
3513 * elf/pldd.c (wait_for_ptrace_stop): New function.
3514 (main): Call it after attaching.
3515
098ad55c
RM
35162014-02-22 Roland McGrath <roland@hack.frob.com>
3517
d4ec6ae1
RM
3518 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3519 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3520 Versions files is now verboten.
3521 * hurd/Versions (libc: GLIBC_2.0):
3522 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3523 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3524 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3525 * mach/Versions: Likewise.
3526
098ad55c
RM
3527 * csu/Versions: Remove unused %include.
3528 * resolv/Versions: Likewise.
3529
acd7f096
JM
35302014-02-21 Joseph Myers <joseph@codesourcery.com>
3531
f0881698
JM
3532 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3533 ($(objpfx)check-local-headers.out): Likewise.
3534 ($(objpfx)begin-end-check.out): Likewise.
3535 * Makerules (check-abi-%.out): Likewise.
3536 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3537 ($(objpfx)test2.cat): Likewise.
3538 ($(objpfx)de/libc.cat): Likewise.
3539 ($(objpfx)test-gencat.out): Likewise.
3540 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3541 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3542 ($(objpfx)noload-mem): Likewise.
3543 ($(objpfx)tst-pathopt.out): Likewise.
3544 ($(objpfx)tst-rtld-load-self.out): Likewise.
3545 ($(objpfx)tst-array1-cmp.out): Likewise.
3546 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3547 ($(objpfx)tst-array2-cmp.out): Likewise.
3548 ($(objpfx)tst-array3-cmp.out): Likewise.
3549 ($(objpfx)tst-array4-cmp.out): Likewise.
3550 ($(objpfx)tst-array5-cmp.out): Likewise.
3551 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3552 ($(objpfx)check-textrel.out): Likewise.
3553 ($(objpfx)check-execstack.out): Likewise.
3554 ($(objpfx)check-localplt.out): Likewise.
3555 ($(objpfx)order2-cmp.out): Likewise.
3556 ($(objpfx)tst-leaks1-mem): Likewise.
3557 ($(objpfx)tst-leaks1-static-mem): Likewise.
3558 ($(objpfx)tst-initorder-cmp.out): Likewise.
3559 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3560 ($(objpfx)tst-unused-dep.out): Likewise.
3561 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3562 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3563 * iconv/Makefile (test-iconvconfig): Likewise.
3564 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3565 ($(objpfx)iconv-test.out): Likewise.
3566 ($(objpfx)tst-tables.out): Likewise.
3567 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3568 ($(objpfx)tst-gettext.out): Likewise.
3569 ($(objpfx)tst-translit.out): Likewise.
3570 ($(objpfx)tst-gettext2.out): Likewise.
3571 ($(objpfx)tst-gettext4.out): Likewise.
3572 ($(objpfx)tst-gettext6.out): Likewise.
3573 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3574 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3575 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3576 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3577 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3578 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3579 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3580 ($(objpfx)wordexp-tst.out): Likewise.
3581 ($(objpfx)annexc.out): Likewise.
3582 ($(objpfx)tst-fnmatch-mem): Likewise.
3583 ($(objpfx)bug-regex2-mem): Likewise.
3584 ($(objpfx)bug-regex14-mem): Likewise.
3585 ($(objpfx)bug-regex21-mem): Likewise.
3586 ($(objpfx)bug-regex31-mem): Likewise.
3587 ($(objpfx)tst-vfork3-mem): Likewise.
3588 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3589 ($(objpfx)tst-pcre-mem): Likewise.
3590 ($(objpfx)tst-boost-mem): Likewise.
3591 ($(objpfx)tst-getconf.out): Likewise.
3592 ($(objpfx)bug-ga2-mem): Likewise.
3593 ($(objpfx)bug-glob2-mem): Likewise.
3594 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3595 ($(objpfx)mtrace-tst-leaks2): Likewise.
3596 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3597 ($(objpfx)tst-printf.out): Likewise.
3598 ($(objpfx)tst-setvbuf1.out): Likewise.
3599 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3600 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3601 ($(objpfx)tst-fmtmsg.out): Likewise.
3602 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3603 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3604
acd7f096
JM
3605 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3606 * bits/sigaction.h [__USE_MISC]: Likewise.
3607 * bits/waitstatus.h: Update #endif comments.
3608 * ctype/ctype.h: Likewise.
3609 * dirent/dirent.h: Likewise.
3610 [__USE_MISC]: Remove redundant conditionals.
3611 * grp/grp.h: Update #endif comments.
3612 [__USE_GNU]: Remove redundant conditionals.
3613 [__USE_MISC]: Likewise.
3614 * inet/netinet/in.h [__USE_GNU]: Likewise.
3615 * io/sys/stat.h [__USE_MISC]: Likewise.
3616 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3617 * libio/bits/stdio.h: Update #endif comments.
3618 [__USE_MISC]: Remove redundant conditionals.
3619 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3620 * libio/stdio.h: Update #endif comments.
3621 [__USE_MISC]: Remove redundant conditionals.
3622 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3623 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3624 * math/math.h: Update #else and #endif comments.
3625 [__USE_MISC]: Remove redundant conditionals.
3626 * misc/sys/uio.h: Update #endif comments.
3627 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3628 * posix/glob.h [__USE_MISC]: Likewise.
3629 * posix/sys/types.h: Update #endif comments.
3630 [__USE_MISC]: Remove redundant conditionals.
3631 * posix/sys/wait.h: Update #endif comments.
3632 [__USE_MISC]: Remove redundant conditionals.
3633 * posix/unistd.h: Update #endif comments.
3634 [__USE_MISC]: Remove redundant conditionals.
3635 * pwd/pwd.h [__USE_GNU]: Likewise.
3636 [__USE_MISC]: Likewise.
3637 * resolv/netdb.h [__USE_GNU]: Likewise.
3638 * signal/signal.h: Update #endif comments.
3639 [__USE_MISC]: Remove redundant conditionals.
3640 * stdlib/stdlib.h: Update #else and #endif comments.
3641 [__USE_MISC]: Remove redundant conditionals.
3642 [__USE_GNU]: Likewise.
3643 * string/bits/string2.h [__USE_MISC]: Likewise.
3644 * string/string.h: Update #endif comments.
3645 [__USE_MISC]: Remove redundant conditionals.
3646 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3647 Likewise.
3648 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3649 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3650 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3651 Likewise.
3652 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3653 Likewise.
3654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3655 comments.
3656 [__USE_MISC]: Remove redundant conditionals.
3657 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3658 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3659 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3660 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3661 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3664 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3665 Likewise.
3666 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3667 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3668 Likewise.
3669 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3670 Likewise.
3671 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3672 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3673 Likewise.
3674 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3675 Likewise.
3676 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3677 * sysdeps/x86/bits/string.h: Update #endif comments.
3678 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3679 conditionals.
3680 * time/sys/time.h: Update #endif comments.
3681 * time/time.h: Likewise.
3682 [__USE_MISC]: Remove redundant conditionals.
3683
a5d82e4e
YG
36842014-02-21 Yury Gribov <y.gribov@samsung.com>
3685
3686 [BZ #16600]
3687 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3688
9a80491d
AS
36892014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3690
3691 * Versions.def (librt): Add GLIBC_2.17.
3692
105fa381
AC
36932014-02-21 Adam Conrad <adconrad@0c3.net>
3694
3695 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3696 synonym for _SYS_AUXV_H to allow direct inclusion.
3697 * sysdeps/sparc/bits/hwcap.h: Likewise.
3698 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3699 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3700 * sysdeps/sparc/sysdep.h: Likewise.
3701
b8cd1c4e
SP
37022014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3703
3704 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3705
bd939d23
RS
37062014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3707
3708 * benchtests/bench-strrchr.c: Print length instead of position.
3709
5d7b57ca
JM
37102014-02-20 Joseph Myers <joseph@codesourcery.com>
3711
bc688c10
JM
3712 [BZ #16611]
3713 * sysdeps/unix/sysv/linux/kernel-features.h
3714 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3715 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3716 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3717 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3718 Likewise.
3719 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3720 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3721 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3722 (__ASSUME_SENDMMSG): Define instead of using previous
3723 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3724 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3725 (__ASSUME_SENDMMSG_SYSCALL): Define.
3726 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3727 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3728 Likewise.
3729 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3730 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3731 Likewise.
3732 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3733 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3734 Likewise.
3735 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3736 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3737 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3738 [__ASSUME_SENDMMSG]: Change conditionals to
3739 [__ASSUME_SENDMMSG_SOCKETCALL].
3740 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3741 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3742 Define.
3743 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3744 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3745 Likewise.
3746 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3747 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3748 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3749 [!__ASSUME_SENDMMSG]: Change conditional to
3750 [!__ASSUME_SENDMMSG_SOCKETCALL].
3751 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3752 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3753 Define.
3754
0e31b18c
JM
3755 [BZ #16610]
3756 * sysdeps/unix/sysv/linux/kernel-features.h
3757 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3758 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3759 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3760 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3761 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3762 [__i386__ || __sparc__]
3763 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3764 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3765 (__ASSUME_RECVMMSG): Define instead of using previous
3766 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3767 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3768 (__ASSUME_RECVMMSG_SYSCALL): Define.
3769 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3770 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3771 Likewise.
3772 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3774 Likewise.
3775 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3777 Likewise.
3778 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3779 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3780 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3781 [__ASSUME_RECVMMSG]: Change condition to
3782 [__ASSUME_RECVMMSG_SOCKETCALL].
3783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3784 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3785 Define.
3786 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3787 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3788 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3789 Likewise.
3790 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3791 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3792 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3793 [!__ASSUME_RECVMMSG]: Change condition to
3794 [!__ASSUME_RECVMMSG_SOCKETCALL].
3795 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3796 (__ASSUME_RECVMMSG_SYSCALL): Define.
3797
dd481ccf
JM
3798 [BZ #16609]
3799 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3800 __powerpc__ || __s390__ || __sh__ || __sparc__]
3801 (__ASSUME_SOCKETCALL): Define.
3802 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3803 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3804 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3805 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3806 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3807 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3808 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3809 (__ASSUME_ACCEPT4): Define instead of using previous
3810 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3811 __powerpc__ || __sparc__ || __s390__)] condition.
3812 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3813 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3814 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3815 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3816 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3817 [!__ASSUME_ACCEPT4]: Change condition to
3818 [!__ASSUME_ACCEPT4_SOCKETCALL].
3819 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3821 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3822 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3823 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3824 __ASSUME_ACCEPT4_SYSCALL.
3825 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3826 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3827 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3828 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3829 __ASSUME_ACCEPT4_SYSCALL.
3830 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3831 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3832 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3833 [__ASSUME_ACCEPT4]: Change condition to
3834 [__ASSUME_ACCEPT4_SOCKETCALL].
3835 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3836 (__ASSUME_SOCKETCALL): Define.
3837 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3839 (__ASSUME_SOCKETCALL): Define.
3840 (__ASSUME_ACCEPT4): Remove.
3841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3842 Define.
3843 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3844 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3845 Likewise.
3846 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3847 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3848
5d7b57ca
JM
3849 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3850 macro.
3851 (HWCAP_ARM_LPAE): Likewise.
3852 (HWCAP_ARM_EVTSTRM): Likewise.
3853 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3854 Add vpfd32, lpae and evtstrm.
3855 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3856 Increase to 22.
3857
63689d61
JM
38582014-02-19 Joseph Myers <joseph@codesourcery.com>
3859
3860 * math/auto-libm-test-in: Add tests of clog10.
3861 * math/auto-libm-test-out: Regenerated.
3862 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3863 * sysdeps/i386/fpu/libm-test-ulps: Update.
3864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3865
ab09bf61
AS
38662014-02-18 Andreas Schwab <schwab@suse.de>
3867
3868 [BZ #16574]
3869 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3870 Store non-zero if the second buffer was newly allocated.
3871 (send_dg): Likewise.
3872 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3873 to send_vc and send_dg.
3874 (res_nsend): Pass NULL for ansp2_malloced.
3875 * resolv/res_query.c (__libc_res_nquery): Add parameter
3876 answerp2_malloced and pass it down to __libc_res_nsend.
3877 (res_nquery): Pass additional NULL to __libc_res_nquery.
3878 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3879 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3880 second answer buffer if answerp2_malloced was set.
3881 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3882 (__libc_res_nquerydomain): Add parameter
3883 answerp2_malloced and pass it down to __libc_res_nquery.
3884 (res_nquerydomain): Pass additional NULL to
3885 __libc_res_nquerydomain.
3886 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3887 additional NULL to __libc_res_nsend and __libc_res_nquery.
3888 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3889 additional NULL to __libc_res_nsearch.
3890 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3891 parameter of __libc_res_nsearch to check for separately allocated
3892 second buffer.
3893 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3894 __libc_res_nquery.
3895 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3896 additional NULL to __libc_res_nquery.
3897 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3898 __libc_res_nsearch.
3899 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3900 * include/resolv.h: Update prototypes of __libc_res_nquery,
3901 __libc_res_nsearch, __libc_res_nsend.
3902
a4fb7861
JM
39032014-02-18 Joseph Myers <joseph@codesourcery.com>
3904
c6af2d89
JM
3905 * math/auto-libm-test-in: Add tests of fma.
3906 * math/auto-libm-test-out: Regenerated.
3907 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3908 (fma_towardzero_test_data): Likewise.
3909 (fma_downward_test_data): Likewise.
3910 (fma_upward_test_data): Likewise.
3911 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3912 mpc_mode.
3913 (rounding_modes): Add values for new field.
3914 (func_calc_method): Add value mpfr_fff_f.
3915 (func_calc_desc): Add mpfr_fff_f union field.
3916 (test_function): Add field exact_args.
3917 (FUNC): Add macro argument EXACT_ARGS.
3918 (FUNC_mpfr_f_f): Update call to FUNC.
3919 (FUNC_mpfr_f_f): Likewise.
3920 (FUNC_mpfr_ff_f): Likewise.
3921 (FUNC_mpfr_if_f): Likewise.
3922 (FUNC_mpc_c_f): Likewise.
3923 (FUNC_mpc_c_c): Likewise.
3924 (test_functions): Add fma. Update calls to FUNC.
3925 (handle_input_arg): Add argument exact_args.
3926 (add_test): Update call to handle_input_arg.
3927 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3928 (output_for_one_input_case): Update call to calc_generic_results.
3929 Recalculate exact zero results in each rounding mode.
3930
a4fb7861
JM
3931 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3932 non-negative before setting low bit.
3933 * math/auto-libm-test-in: Mark one asin test possibly having
3934 spurious underflow.
3935 * math/auto-libm-test-out: Regenerated.
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3938
ef114eaf
DH
39392014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3940
2b7f4f2c
SP
3941 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3942 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3943 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3944 * README: Add missing listing for microblaze*-*-linux-gnu.
3945
c70a4b1d
MF
39462014-02-16 Mike Frysinger <vapier@gentoo.org>
3947
3948 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3949 * sysdeps/unix/sysv/linux/ia64: Move directory from
3950 ports/sysdeps/unix/sysv/linux/ia64.
3951 * README: Update listing for ia64-*-linux-gnu.
3952
591aeaf7
TD
39532014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3954 Joseph Myers <joseph@codesourcery.com>
3955
3956 * Makeconfig (test-name): New variable.
3957 (evaluate-test): Likewise.
3958 * Makerules (do-test-clean): Remove .test-result files.
3959 (common-mostlyclean): Likewise.
3960 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3961 * scripts/evaluate-test.sh: New file.
3962
6e89caf1
JM
39632014-02-14 Joseph Myers <joseph@codesourcery.com>
3964
7f98f180
JM
3965 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3966 separate $(objpfx)tst-fopenloc-cmp.out and
3967 $(objpfx)tst-fopenloc-mem.out targets.
3968 (tests): Update dependencies.
3969 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3970 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3971 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3972 (tst-rxspencer-no-utf8-ARGS): New variable.
3973 (tst-rxspencer-no-utf8-ENV): Likewise.
3974 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3975 instead of $(objpfx)tst-rxspencer-mem.
3976 ($(objpfx)tst-rxspencer-mem): Change target to
3977 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3978 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3979 * posix/tst-rxspencer-no-utf8.c: New file.
3980
6e89caf1
JM
3981 * elf/Makefile ($(objpfx)order.out): Remove rule.
3982 [$(run-built-tests) = yes] (tests): Depend on
3983 $(objpfx)order-cmp.out.
3984 ($(objpfx)order-cmp.out): New rule.
3985 [$(run-built-tests) = yes] (tests): Depend on
3986 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3987 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3988 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3989 $(objpfx)tst-array5-static-cmp.out.
3990 ($(objpfx)tst-array1.out): Remove rule.
3991 ($(objpfx)tst-array1-cmp.out): New rule.
3992 ($(objpfx)tst-array1-static.out): Remove rule.
3993 ($(objpfx)tst-array1-static-cmp.out): New rule.
3994 ($(objpfx)tst-array2.out): Remove rule.
3995 ($(objpfx)tst-array2-cmp.out): New rule.
3996 ($(objpfx)tst-array3.out): Remove rule.
3997 ($(objpfx)tst-array3-cmp.out): New rule.
3998 ($(objpfx)tst-array4.out): Remove rule.
3999 ($(objpfx)tst-array4-cmp.out): New rule.
4000 ($(objpfx)tst-array5.out): Remove rule.
4001 ($(objpfx)tst-array5-cmp.out): New rule.
4002 ($(objpfx)tst-array5-static.out): Remove rule.
4003 ($(objpfx)tst-array5-static-cmp.out): New rule.
4004 [$(run-built-tests) = yes] (tests): Depend on
4005 $(objpfx)order2-cmp.out.
4006 ($(objpfx)order2.out): Remove rule.
4007 ($(objpfx)order2-cmp.out): New rule.
4008 ($(objpfx)tst-initorder.out): Remove rule.
4009 [$(run-built-tests) = yes] (tests): Depend on
4010 $(objpfx)tst-initorder-cmp.out.
4011 ($(objpfx)tst-initorder-cmp.out): New rule.
4012 ($(objpfx)tst-initorder2.out): Remove rule.
4013 [$(run-built-tests) = yes] (tests): Depend on
4014 $(objpfx)tst-initorder2-cmp.out.
4015 ($(objpfx)tst-initorder2-cmp.out): New rule.
4016 [$(run-built-tests) = yes] (tests): Depend on
4017 $(objpfx)tst-unused-dep-cmp.out.
4018 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4019 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4020 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4021 on $(objpfx)tst-setvbuf1-cmp.out.
4022 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4023 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4024 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4025 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4026 ($(objpfx)tst-svc.out): Remove rule.
4027 ($(objpfx)tst-svc-cmp.out): New rule.
4028
ed9a38e2
JM
40292014-02-13 Joseph Myers <joseph@codesourcery.com>
4030
4031 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4032 * ctype/ctype.h [__USE_MISC]: Likewise.
4033 * dirent/dirent.h [__USE_MISC]: Likewise.
4034 * grp/grp.h [__USE_MISC]: Likewise.
4035 * io/fcntl.h [__USE_MISC]: Likewise.
4036 * io/sys/stat.h [__USE_MISC]: Likewise.
4037 * libio/stdio.h [__USE_MISC]: Likewise.
4038 * posix/unistd.h [__USE_MISC]: Likewise.
4039 * pwd/pwd.h [__USE_MISC]: Likewise.
4040 * stdlib.h [__USE_MISC]: Likewise.
4041 * string/bits/string2.h [__USE_MISC]: Likewise.
4042 * string/string.h [__USE_MISC]: Likewise.
4043 * time/time.h [__USE_MISC]: Likewise.
4044
d6680619
AS
40452014-02-13 Andreas Schwab <schwab@suse.de>
4046
4047 [BZ #16574]
4048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4049 second answer buffer if it was separately allocated.
4050
ace614b8
JM
40512014-02-12 Joseph Myers <joseph@codesourcery.com>
4052
743151ae
JM
4053 * sysdeps/mips/math-tests.h: Include <features.h>.
4054 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4055 (ROUNDING_TESTS_long_double): Do not define.
4056 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4057 (EXCEPTION_TESTS_long_double): Likewise.
4058 * sysdeps/mips/mips64/libm-test-ulps: Update.
4059
498afc54
JM
4060 * include/features.h (__USE_BSD): Remove macro definitions.
4061 (__USE_SVID): Likewise.
4062 (_BSD_SOURCE): Likewise.
4063 (_SVID_SOURCE): Likewise.
4064 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4065 from definition of _DEFAULT_SOURCE.
4066 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4067 [_DEFAULT_SOURCE].
4068 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4069 * bits/mman.h [__USE_BSD]: Likewise.
4070 * bits/termios.h [__USE_BSD]: Likewise.
4071 * bits/waitstatus.h [__USE_BSD]: Likewise.
4072 * ctype/ctype.h [__USE_SVID]: Likewise.
4073 * dirent/dirent.h [__USE_BSD]: Likewise.
4074 * grp/grp.h [__USE_SVID]: Likewise.
4075 [__USE_BSD]: Likewise.
4076 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4077 * io/fcntl.h [__USE_BSD]: Likewise.
4078 * io/ftw.h [__USE_BSD]: Likewise.
4079 * io/sys/stat.h [__USE_BSD]: Likewise.
4080 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4081 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4082 * libio/stdio.h [__USE_SVID]: Likewise.
4083 [__USE_BSD]: Likewise.
4084 * math/math.h [__USE_SVID]: Likewise.
4085 [__USE_BSD]: Likewise.
4086 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4087 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4088 * misc/search.h [__USE_SVID]: Likewise.
4089 * misc/sys/mman.h [__USE_BSD]: Likewise.
4090 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4091 * misc/sys/uio.h [__USE_BSD]: Likewise.
4092 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4093 * posix/glob.h [__USE_BSD]: Likewise.
4094 * posix/regex.h [__USE_BSD]: Likewise.
4095 * posix/sys/types.h [__USE_BSD]: Likewise.
4096 [__USE_SVID]: Likewise.
4097 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4098 * posix/sys/wait.h [__USE_BSD]: Likewise.
4099 [__USE_SVID]: Likewise.
4100 * posix/unistd.h [__USE_BSD]: Likewise.
4101 [__USE_SVID]: Likewise.
4102 * pwd/pwd.h [__USE_SVID]: Likewise.
4103 * resolv/netdb.h [__USE_BSD]: Likewise.
4104 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4105 * signal/signal.h [__USE_BSD]: Likewise.
4106 [__USE_SVID]: Likewise.
4107 * socket/sys/socket.h [__USE_BSD]: Likewise.
4108 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4109 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4110 [__USE_SVID]: Likewise.
4111 * string/bits/string2.h [__USE_BSD]: Likewise.
4112 [__USE_SVID]: Likewise.
4113 * string/bits/string3.h [__USE_BSD]: Likewise.
4114 * string/endian.h [__USE_BSD]: Likewise.
4115 * string/string.h [__USE_SVID]: Likewise.
4116 [__USE_BSD]: Likewise.
4117 * string/strings.h [__USE_BSD]: Likewise.
4118 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4119 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4120 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4121 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4122 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4123 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4124 Likewise.
4125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4126 Likewise.
4127 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4128 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4129 Likewise.
4130 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4131 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4132 Likewise.
4133 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4134 Likewise.
4135 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4136 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4138 Likewise.
4139 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4140 Likewise.
4141 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4142 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4143 * termios/termios.h [__USE_BSD]: Likewise.
4144 * time/sys/time.h [__USE_BSD]: Likewise.
4145 * time/time.h [__USE_BSD]: Likewise.
4146 [__USE_SVID]: Likewise.
4147
dd7b064c
JM
4148 * Makefile (subdir_targets): Remove subdir_lint.out.
4149
a2c4c199
JM
4150 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4151 (do-tst-printf): Likewise.
4152 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4153 $(objpfx)tst-printf.out.
4154
8756f740
JM
4155 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4156
1b6dd3f1
JM
4157 * Makerules (check-abi-%): Change target to
4158 $(objpfx)check-abi-%.out.
4159 (check-abi target): Update dependencies.
4160 (check-abi-pattern variable): Redirect output of diff to $@.
4161 (check-abi variable): Likewise.
4162 * elf/Makefile (check-abi): Update dependencies.
4163
ace614b8
JM
4164 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4165 unused.
4166 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4167 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4168 subnormal range.
4169 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4170 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4171 value has largest subnormal exponent.
4172 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4173 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4174 * sysdeps/aarch64/soft-fp/sfp-machine.h
4175 (_FP_TININESS_AFTER_ROUNDING): New macro.
4176 * sysdeps/alpha/soft-fp/sfp-machine.h
4177 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4178 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4179 Likewise.
4180 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4181 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4182 * sysdeps/mips/soft-fp/sfp-machine.h
4183 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4184 * sysdeps/powerpc/soft-fp/sfp-machine.h
4185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4186 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4187 Likewise.
4188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4190 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4192 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4193 Likewise.
4194
fbfdf9cb
DAS
41952014-02-12 Dylan Alex Simon <dylan@dylex.net>
4196
4197 [BZ #16545]
4198 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4199 model 1.
4200
68b7efaa
RH
42012014-02-12 Richard Henderson <rth@redhat.com>
4202
c70a4b1d 4203 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4204 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4205 * sysdeps/unix/sysv/linux/alpha: Move directory from
4206 ports/sysdeps/unix/sysv/linux/alpha.
4207 * README: Update listing for alpha-*-linux-gnu.
4208
cb4a2928
JM
42092014-02-11 Joseph Myers <joseph@codesourcery.com>
4210
c941736c
JM
4211 * include/features.h: Update comment documenting feature test
4212 macros.
4213 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4214 _DEFAULT_SOURCE.
4215 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4216 (_SVID_SOURCE): Likewise.
4217 (_DEFAULT_SOURCE): Update description of default features.
4218 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4219 with _GNU_SOURCE.
4220 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4221 (S_ISVTX): Likewise.
4222 * manual/math.texi (Mathematical Constants): Likewise.
4223 * manual/signal.texi (Interrupted Primitives): Likewise.
4224 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4225 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4226 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4227 Don't refer to _SVID_SOURCE in warning text.
4228
e8d8d7ec
JM
4229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4230
cb4a2928
JM
4231 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4232 already defined.
4233 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4234 * sysdeps/mips/dl-lookup.c: Remove.
4235 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4236
7e6424e3
AK
42372014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4238
4239 [BZ #16447]
4240 * math/auto-libm-test-in: Add testcase for expl.
4241 * math/auto-libm-test-out: Regenerate.
4242 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4243 calculation of unsafe.
4244 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4245
75eff3fe
MS
42462014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4247
4248 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4249 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4250 ports/sysdeps/unix/sysv/linux/aarch64.
4251 * README: Update listing for aarch64*-*-linux-gnu.
4252
d35f1e80
WN
42532014-02-11 Will Newton <will.newton@linaro.org>
4254
4255 * manual/probes.texi (Mathematical Function Probes): Use
4256 "triggered" instead of "hit".
4257
7b3436d4
WN
4258 * manual/probes.texi (Internal Probes): Add documentation
4259 of setjmp, longjmp and longjmp_target probes.
4260
b4f12ca3
WN
4261 * include/stap-probe.h: Add comment about probe argument
4262 format.
4263
c13a72b7
WN
4264 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4265 definition. (tr_where, tr_freehook, tr_mallochook,
4266 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4267
195b8165
DM
42682014-02-11 David S. Miller <davem@davemloft.net>
4269
4270 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4271 processing int_tests.
4272
2ad7600b
JM
42732014-02-10 Joseph Myers <joseph@codesourcery.com>
4274
4275 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4276 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4277 * sysdeps/unix/sysv/linux/mips: Move directory from
4278 ports/sysdeps/unix/sysv/linux/mips.
4279 * README: Update listing for mips-*-linux-gnu and
4280 mips64-*-linux-gnu.
4281
73588a72
AS
42822014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4283
4284 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4285 * sysdeps/unix/sysv/linux/m68k: Move directory from
4286 ports/sysdeps/unix/sysv/linux/m68k.
4287 * README: Update listing for m68k-*-linux-gnu.
4288
4372980f
CM
42892014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4290
4291 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4292 * sysdeps/unix/sysv/linux/generic: Move directory from
4293 ports/sysdeps/unix/sysv/linux/generic.
4294 * sysdeps/unix/sysv/linux/tile: Move directory from
4295 ports/sysdeps/unix/sysv/linux/tile.
4296 * README: Update listing for tile*-*-linux-gnu.
4297
a1ffb40e
OB
42982014-02-10 Ondřej Bílka <neleai@seznam.cz>
4299
57f41c40
AS
4300 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4301 __builtin_expect.
a1ffb40e
OB
4302 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4303 * catgets/open_catalog.c (__open_catalog): Likewise.
4304 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4305 * debug/confstr_chk.c: Likewise.
4306 * debug/fread_chk.c (__fread_chk): Likewise.
4307 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4308 * debug/getgroups_chk.c: Likewise.
4309 * debug/mbsnrtowcs_chk.c: Likewise.
4310 * debug/mbsrtowcs_chk.c: Likewise.
4311 * debug/mbstowcs_chk.c: Likewise.
4312 * debug/memcpy_chk.c: Likewise.
4313 * debug/memmove_chk.c: Likewise.
4314 * debug/mempcpy_chk.c: Likewise.
4315 * debug/memset_chk.c: Likewise.
4316 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4317 * debug/strcat_chk.c (__strcat_chk): Likewise.
4318 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4319 * debug/strncat_chk.c (__strncat_chk): Likewise.
4320 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4321 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4322 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4323 * debug/wcpncpy_chk.c: Likewise.
4324 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4325 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4326 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4327 * debug/wcsncpy_chk.c: Likewise.
4328 * debug/wcsnrtombs_chk.c: Likewise.
4329 * debug/wcsrtombs_chk.c: Likewise.
4330 * debug/wcstombs_chk.c: Likewise.
4331 * debug/wmemcpy_chk.c: Likewise.
4332 * debug/wmemmove_chk.c: Likewise.
4333 * debug/wmempcpy_chk.c: Likewise.
4334 * debug/wmemset_chk.c: Likewise.
4335 * dirent/scandirat.c (SCANDIRAT): Likewise.
4336 * dlfcn/dladdr1.c (dladdr1): Likewise.
4337 * dlfcn/dladdr.c (dladdr): Likewise.
4338 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4339 * dlfcn/dlerror.c (__dlerror): Likewise.
4340 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4341 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4342 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4343 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4344 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4345 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4346 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4347 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4348 Likewise.
4349 * elf/dl-conflict.c: Likewise.
4350 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4351 * elf/dl-dst.h: Likewise.
4352 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4353 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4354 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4355 * elf/dl-init.c (call_init, _dl_init): Likewise.
4356 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4357 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4358 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4359 Likewise.
a1ffb40e
OB
4360 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4361 Likewise.
4362 * elf/dl-minimal.c (__libc_memalign): Likewise.
4363 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4364 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4365 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4366 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4367 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4368 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4369 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4370 * elf/dl-writev.h (_dl_writev): Likewise.
4371 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4372 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4373 (dl_main): Likewise.
a1ffb40e
OB
4374 * elf/setup-vdso.h (setup_vdso): Likewise.
4375 * grp/compat-initgroups.c (compat_call): Likewise.
4376 * grp/fgetgrent.c (fgetgrent): Likewise.
4377 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4378 * grp/putgrent.c (putgrent): Likewise.
4379 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4380 Likewise.
4381 * hurd/hurdinit.c: Likewise.
4382 * iconvdata/8bit-gap.c (struct): Likewise.
4383 * iconvdata/ansi_x3.110.c : Likewise.
4384 * iconvdata/big5.c : Likewise.
4385 * iconvdata/big5hkscs.c : Likewise.
4386 * iconvdata/cp1255.c: Likewise.
4387 * iconvdata/cp1258.c : Likewise.
4388 * iconvdata/cp932.c : Likewise.
4389 * iconvdata/euc-cn.c: Likewise.
4390 * iconvdata/euc-jisx0213.c : Likewise.
4391 * iconvdata/euc-jp.c: Likewise.
4392 * iconvdata/euc-jp-ms.c : Likewise.
4393 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4394 * iconvdata/gb18030.c : Likewise.
4395 * iconvdata/gbbig5.c (const): Likewise.
4396 * iconvdata/gbgbk.c: Likewise.
4397 * iconvdata/gbk.c : Likewise.
4398 * iconvdata/ibm1364.c : Likewise.
4399 * iconvdata/ibm930.c : Likewise.
4400 * iconvdata/ibm932.c: Likewise.
4401 * iconvdata/ibm933.c : Likewise.
4402 * iconvdata/ibm935.c : Likewise.
4403 * iconvdata/ibm937.c : Likewise.
4404 * iconvdata/ibm939.c : Likewise.
4405 * iconvdata/ibm943.c: Likewise.
4406 * iconvdata/iso_11548-1.c: Likewise.
4407 * iconvdata/iso-2022-cn.c : Likewise.
4408 * iconvdata/iso-2022-cn-ext.c : Likewise.
4409 * iconvdata/iso-2022-jp-3.c: Likewise.
4410 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4411 * iconvdata/iso-2022-kr.c : Likewise.
4412 * iconvdata/iso646.c (gconv_end): Likewise.
4413 * iconvdata/iso_6937-2.c : Likewise.
4414 * iconvdata/iso_6937.c : Likewise.
4415 * iconvdata/iso8859-1.c: Likewise.
4416 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4417 * iconvdata/shift_jisx0213.c : Likewise.
4418 * iconvdata/sjis.c : Likewise.
4419 * iconvdata/t.61.c : Likewise.
4420 * iconvdata/tcvn5712-1.c : Likewise.
4421 * iconvdata/tscii.c: Likewise.
4422 * iconvdata/uhc.c : Likewise.
4423 * iconvdata/unicode.c (gconv_end): Likewise.
4424 * iconvdata/utf-16.c (gconv_end): Likewise.
4425 * iconvdata/utf-32.c (gconv_end): Likewise.
4426 * iconvdata/utf-7.c (base64): Likewise.
4427 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4428 * iconv/gconv_close.c (__gconv_close): Likewise.
4429 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4430 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4431 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4432 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4433 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4434 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4435 * iconv/iconv.c (iconv): Likewise.
4436 * iconv/iconv_close.c: Likewise.
4437 * iconv/loop.c (SINGLE): Likewise.
4438 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4439 * include/atomic.h: Likewise.
4440 * inet/inet6_option.c (option_alloc): Likewise.
4441 * intl/bindtextdom.c (set_binding_values): Likewise.
4442 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4443 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4444 * intl/localealias.c (read_alias_file): Likewise.
4445 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4446 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4447 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4448 * libio/fmemopen.c (fmemopen): Likewise.
4449 * libio/iofgets.c (_IO_fgets): Likewise.
4450 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4451 * libio/iofgetws.c (fgetws): Likewise.
4452 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4453 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4454 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4455 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4456 * locale/findlocale.c (_nl_find_locale): Likewise.
4457 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4458 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4459 Likewise.
4460 * locale/setlocale.c (setlocale): Likewise.
4461 * login/programs/pt_chown.c (main): Likewise.
4462 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4463 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4464 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4465 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4466 * math/e_exp2l.c: Likewise.
4467 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4468 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4469 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4470 * math/s_catan.c (__catan): Likewise.
4471 * math/s_catanf.c (__catanf): Likewise.
4472 * math/s_catanh.c (__catanh): Likewise.
4473 * math/s_catanhf.c (__catanhf): Likewise.
4474 * math/s_catanhl.c (__catanhl): Likewise.
4475 * math/s_catanl.c (__catanl): Likewise.
4476 * math/s_ccosh.c (__ccosh): Likewise.
4477 * math/s_ccoshf.c (__ccoshf): Likewise.
4478 * math/s_ccoshl.c (__ccoshl): Likewise.
4479 * math/s_cexp.c (__cexp): Likewise.
4480 * math/s_cexpf.c (__cexpf): Likewise.
4481 * math/s_cexpl.c (__cexpl): Likewise.
4482 * math/s_clog10.c (__clog10): Likewise.
4483 * math/s_clog10f.c (__clog10f): Likewise.
4484 * math/s_clog10l.c (__clog10l): Likewise.
4485 * math/s_clog.c (__clog): Likewise.
4486 * math/s_clogf.c (__clogf): Likewise.
4487 * math/s_clogl.c (__clogl): Likewise.
4488 * math/s_csin.c (__csin): Likewise.
4489 * math/s_csinf.c (__csinf): Likewise.
4490 * math/s_csinh.c (__csinh): Likewise.
4491 * math/s_csinhf.c (__csinhf): Likewise.
4492 * math/s_csinhl.c (__csinhl): Likewise.
4493 * math/s_csinl.c (__csinl): Likewise.
4494 * math/s_csqrt.c (__csqrt): Likewise.
4495 * math/s_csqrtf.c (__csqrtf): Likewise.
4496 * math/s_csqrtl.c (__csqrtl): Likewise.
4497 * math/s_ctan.c (__ctan): Likewise.
4498 * math/s_ctanf.c (__ctanf): Likewise.
4499 * math/s_ctanh.c (__ctanh): Likewise.
4500 * math/s_ctanhf.c (__ctanhf): Likewise.
4501 * math/s_ctanhl.c (__ctanhl): Likewise.
4502 * math/s_ctanl.c (__ctanl): Likewise.
4503 * math/w_pow.c: Likewise.
4504 * math/w_powf.c: Likewise.
4505 * math/w_powl.c: Likewise.
4506 * math/w_scalb.c (sysv_scalb): Likewise.
4507 * math/w_scalbf.c (sysv_scalbf): Likewise.
4508 * math/w_scalbl.c (sysv_scalbl): Likewise.
4509 * misc/error.c (error_tail): Likewise.
4510 * misc/pselect.c (__pselect): Likewise.
4511 * nis/nis_callback.c (__nis_create_callback): Likewise.
4512 * nis/nis_call.c (__nisfind_server): Likewise.
4513 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4514 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4515 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4516 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4517 * nis/nis_lookup.c (nis_lookup): Likewise.
4518 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4519 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4520 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4521 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4522 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4523 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4524 * nis/nss_compat/compat-initgroups.c (add_group)
4525 (internal_getgrent_r): Likewise.
4526 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4527 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4528 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4529 (internal_getspnam_r): Likewise.
4530 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4531 (_nss_nis_getaliasbyname_r): Likewise.
4532 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4533 (_nss_nis_getntohost_r): Likewise.
4534 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4535 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4536 (_nss_nis_getgrgid_r): Likewise.
4537 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4538 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4539 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4540 (_nss_nis_gethostbyname4_r): Likewise.
4541 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4542 (initgroups_netid): Likewise.
a1ffb40e 4543 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4544 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4545 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4546 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4547 (_nss_nis_getprotobynumber_r): Likewise.
4548 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4549 (_nss_nis_getsecretkey): Likewise.
4550 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4551 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4552 (_nss_nis_getpwuid_r): Likewise.
4553 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4554 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4555 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4556 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4557 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4558 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4559 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4560 Likewise.
57f41c40
AS
4561 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4562 (_nss_nisplus_getntohost_r): Likewise.
4563 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4564 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4565 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4566 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4567 Likewise.
57f41c40
AS
4568 * nis/nss_nisplus/nisplus-initgroups.c
4569 (_nss_nisplus_initgroups_dyn): Likewise.
4570 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4571 (_nss_nisplus_getnetbyaddr_r): Likewise.
4572 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4573 (_nss_nisplus_getprotobynumber_r): Likewise.
4574 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4575 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4576 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4577 Likewise.
57f41c40
AS
4578 * nis/nss_nisplus/nisplus-service.c
4579 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4580 (_nss_nisplus_getservbyport_r): Likewise.
4581 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4582 (_nss_nisplus_getspnam_r): Likewise.
4583 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4584 Likewise.
a1ffb40e
OB
4585 * nscd/aicache.c (addhstaiX): Likewise.
4586 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4587 * nscd/connections.c (register_traced_file, send_ro_fd)
4588 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4589 (main_loop_epoll): Likewise.
a1ffb40e
OB
4590 * nscd/grpcache.c (addgrbyX): Likewise.
4591 * nscd/hstcache.c (addhstbyX): Likewise.
4592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4593 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4594 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4595 (addinnetgrX): Likewise.
4596 * nscd/nscd-client.h (__nscd_acquire_maplock)
4597 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4598 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4599 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4600 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4601 Likewise.
4602 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4604 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4605 (__nscd_get_map_ref): Likewise.
a1ffb40e 4606 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4607 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4608 Likewise.
a1ffb40e
OB
4609 * nscd/pwdcache.c (addpwbyX): Likewise.
4610 * nscd/selinux.c (preserve_capabilities): Likewise.
4611 * nscd/servicescache.c (addservbyX): Likewise.
4612 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4613 * posix/fnmatch.c (fnmatch): Likewise.
4614 * posix/getopt.c (_getopt_internal_r): Likewise.
4615 * posix/glob.c (glob, glob_in_dir): Likewise.
4616 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4618 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4619 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4620 * resolv/res_init.c: Likewise.
4621 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4622 * resolv/res_query.c (__libc_res_nquery): Likewise.
4623 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4624 Likewise.
4625 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4626 * stdio-common/perror.c (perror): Likewise.
4627 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4628 * stdio-common/tmpnam.c (tmpnam): Likewise.
4629 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4630 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4631 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4632 Likewise.
a1ffb40e
OB
4633 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4634 * stdlib/putenv.c (putenv): Likewise.
4635 * stdlib/setenv.c (__add_to_environ): Likewise.
4636 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4637 * stdlib/strtol_l.c (INTERNAL): Likewise.
4638 * string/memmem.c (memmem): Likewise.
4639 * string/strerror.c (strerror): Likewise.
4640 * string/strnlen.c (__strnlen): Likewise.
4641 * string/test-memmem.c (simple_memmem): Likewise.
4642 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4643 * sunrpc/pm_getport.c (__get_socket): Likewise.
4644 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4645 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4646 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4647 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4648 Likewise.
4649 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4650 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4651 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4652 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4653 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4654 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4655 Likewise.
4656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4657 Likewise.
a1ffb40e
OB
4658 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4659 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4660 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4661 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4662 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4664 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4665 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4666 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4667 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4668 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4669 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4670 Likewise.
4671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4672 Likewise.
4673 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4674 Likewise.
4675 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4678 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4679 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4680 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4681 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4691 Likewise.
a1ffb40e
OB
4692 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4693 Likewise.
4694 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4695 Likewise.
4696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4697 Likewise.
4698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4700 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4701 Likewise.
4702 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4703 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4704 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4705 * sysdeps/posix/sleep.c: Likewise.
4706 * sysdeps/posix/tempname.c: Likewise.
4707 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4708 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4709 Likewise.
57f41c40
AS
4710 * sysdeps/powerpc/powerpc32/dl-machine.h
4711 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4712 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4714 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4716 Likewise.
4717 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4719 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4721 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4722 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4723 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4724 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4725 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4726 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4728 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4731 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4732 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4733 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4734 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4735 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4736 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4737 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4738 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4740 Likewise.
4741 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4742 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4743 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4744 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4745 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4746 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4747 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4748 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4749 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4750 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4751 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4752 Likewise.
4753 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4754 (__posix_fallocate64_l64): Likewise.
4755 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4756 (posix_fallocate): Likewise.
57f41c40
AS
4757 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4758 Likewise.
a1ffb40e 4759 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4760 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4761 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4762 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4763 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4764 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4765 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4766 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4767 (__posix_fallocate64_l64): Likewise.
4768 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4769 Likewise.
4770 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4772 (__get_clockfreq): Likewise.
a1ffb40e
OB
4773 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4774 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4775 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4778 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4779 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4781 Likewise.
4782 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4783 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4784 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4785 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4787 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4788 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4789 Likewise.
4790 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4791 (posix_fallocate): Likewise.
4792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4793 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4794 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4795 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4796 (elf_machine_rela, elf_machine_rela_relative)
4797 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4798 * time/asctime.c (asctime_internal): Likewise.
4799 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4800 * time/tzset.c (__tzset_parse_tz): Likewise.
4801 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4802 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4803 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4804 * wcsmbs/wcsmbsload.h: Likewise.
4805
f3d338c9
OB
4806 [BZ #15894]
4807 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4808
57f41c40
AS
4809 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4810 (arena_get2): Remove THREAD_STATS conditionals.
4811 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4812 (__malloc_stats, int): Likewise.
bdfe308a 4813
d674667c
MF
48142014-02-08 Mike Frysinger <vapier@gentoo.org>
4815
4816 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4817 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4818
6349768c
MF
4819 * manual/setjmp.texi: Fix typos/grammar errors.
4820
0b7c7473
MF
4821 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4822 Only return early when n is <= 0. Delete unused return statement.
4823
ac8cc9e3
MF
4824 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4825 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4826 * debug/tst-longjmp_chk3.c: New file.
4827
c5bb8e23
MF
4828 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4829 (test_main): Replace code with set_fortify_handler call.
4830 * debug/test-strcpy_chk.c: Likewise.
4831 * debug/tst-chk1.c: Likewise.
4832 * debug/tst-longjmp_chk.c: Likewise.
4833 * test-skeleton.c: Include fcntl.h & paths.h
4834 (set_fortify_handler): Define.
4835
10444e42
MF
4836 * debug/tst-longjmp_chk.c: Add header comment and include
4837 ../test-skeleton.c.
4838 (do_test): Mark static.
4839 (TEST_FUNCTION): Define.
4840
1e805e8d
MF
4841 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4842 (IP_PMTUDISC_INTERFACE): Likewise.
4843 (IP_MULTICAST_IF): Likewise.
4844 (IP_MULTICAST_TTL): Likewise.
4845 (IP_MULTICAST_LOOP): Likewise.
4846 (IP_ADD_MEMBERSHIP): Likewise.
4847 (IP_DROP_MEMBERSHIP): Likewise.
4848 (IP_UNBLOCK_SOURCE): Likewise.
4849 (IP_BLOCK_SOURCE): Likewise.
4850 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4851 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4852 (IP_MSFILTER): Likewise.
4853 (MCAST_JOIN_GROUP): Likewise.
4854 (MCAST_BLOCK_SOURCE): Likewise.
4855 (MCAST_UNBLOCK_SOURCE): Likewise.
4856 (MCAST_LEAVE_GROUP): Likewise.
4857 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4858 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4859 (MCAST_MSFILTER): Likewise.
4860 (IP_MULTICAST_ALL): Likewise.
4861 (IP_UNICAST_IF): Likewise.
4862
73f79bb7
MF
4863 * timezone/Makefile: Delete $(have-ksh) check.
4864 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4865 * timezone/tzselect.ksh: Add +x mode bits.
4866
8da79b60
MF
4867 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4868 (ANON_INODE_FS_MAGIC): Likewise.
4869 (BDEVFS_MAGIC): Likewise.
4870 (BINFMTFS_MAGIC): Likewise.
4871 (BTRFS_TEST_MAGIC): Likewise.
4872 (CRAMFS_MAGIC_WEND): Likewise.
4873 (DEBUGFS_MAGIC): Likewise.
4874 (ECRYPTFS_SUPER_MAGIC): Likewise.
4875 (EXT3_SUPER_MAGIC): Likewise.
4876 (EXT4_SUPER_MAGIC): Likewise.
4877 (FUTEXFS_SUPER_MAGIC): Likewise.
4878 (HOSTFS_SUPER_MAGIC): Likewise.
4879 (HUGETLBFS_MAGIC): Likewise.
4880 (MINIX3_SUPER_MAGIC): Likewise.
4881 (MTD_INODE_FS_MAGIC): Likewise.
4882 (NILFS_SUPER_MAGIC): Likewise.
4883 (OPENPROM_SUPER_MAGIC): Likewise.
4884 (PIPEFS_MAGIC): Likewise.
4885 (PSTOREFS_MAGIC): Likewise.
4886 (QNX6_SUPER_MAGIC): Likewise.
4887 (RAMFS_MAGIC): Likewise.
4888 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4889 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4890 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4891 (SECURITYFS_MAGIC): Likewise.
4892 (SELINUX_MAGIC): Likewise.
4893 (SMACK_MAGIC): Likewise.
4894 (SOCKFS_MAGIC): Likewise.
4895 (SQUASHFS_MAGIC): Likewise.
4896 (STACK_END_MAGIC): Likewise.
4897 (TMPFS_MAGIC): Likewise.
4898 (USBDEVICE_SUPER_MAGIC): Likewise.
4899 (V9FS_MAGIC): Likewise.
4900 (XENFS_SUPER_MAGIC): Likewise.
4901 (CRAMFS_MAGIC): Fix typo in comment.
4902 (EXT2_SUPER_MAGIC): Update comment.
4903 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4904
464263cc
JM
49052014-02-08 Joseph Myers <joseph@codesourcery.com>
4906
c6bfe5c4
JM
4907 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4908 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4909 * sysdeps/unix/sysv/linux/arm: Move directory from
4910 ports/sysdeps/unix/sysv/linux/arm.
4911 * README: Update listing for arm-*-linux-gnueabi.
4912
464263cc
JM
4913 * README: Remove mention of am33.
4914
32749f6c
RM
49152014-02-07 Roland McGrath <roland@hack.frob.com>
4916
4917 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4918 than the comma operator, to avoid "rhs of comma has no effect"
4919 compiler warnings.
4920 (__sigfillset, __sigandset, __sigorset): Likewise.
4921 * include/signal.h (__sigemptyset): Likewise.
4922 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4923
d5b396c1
AM
49242014-02-07 Allan McRae <allan@archlinux.org>
4925
4926 * version.h (RELEASE): Set to "development".
4927 (VERSION): Set to "2.19.90"
4928 * NEWS: Add 2.20 section.
4929
3bfff2ed
CD
49302014-02-06 Carlos O'Donell <carlos@redhat.com>
4931
4932 [BZ #16529]
4933 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4934
ee7cc385
SP
49352014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4936
4937 * manual/contrib.texi: Update entry for Carlos O'Donell,
4938 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4939
f877c4f2
CD
49402014-02-05 Carlos O'Donell <carlos@rehdat.com>
4941
27e839f6
CD
4942 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4943
f877c4f2
CD
4944 * sysdeps/unix/sysv/linux/kernel-features.h
4945 [__LINUX_KERNEL_VERSION >= 0x020621]
4946 (__ASSUME_PROC_PID_TASK_COMM): Define.
4947
68159946
SP
49482014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4949
ba17cdbd
SP
4950 [BZ #16398]
4951 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4952 conversion when destination buffer does not have enough space.
4953 * libio/tst-ftell-partial-wide.c: New test case.
4954 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4955
68159946
SP
4956 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4957 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4958 Leonard and Allan McRae.
4959
2b528732
DM
49602014-02-04 David S. Miller <davem@davemloft.net>
4961
4962 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4963 32-bit.
4964
0ff82463
AZ
49652014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4966
57f41c40
AS
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4968 New file
c01603f7
AZ
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4970 New file
57f41c40
AS
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4972 New file.
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4974 New file.
c01603f7
AZ
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4976 New file.
57f41c40
AS
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4978 New file.
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4980 New file.
c01603f7
AZ
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4982 New file.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4984 New file.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4986 New file.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4988 New file.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4990 New file.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4992 New file.
4993
49942014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4995
0ff82463
AZ
4996 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4997 * shlib-versions: Likewise.
4998
1695c773
AZ
49992014-02-04 Roland McGrath <roland@hack.frob.com>
5000 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5001
5002 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5003 (abilist-pattern): New variable, set to %-le.abilist.
5004
5005 * Makerules (abilist-pattern): New variable.
5006 (vpath): Use $(abilist-pattern) in place of %.abilist.
5007 (check-abi-% pattern rule): Likewise.
5008 (check-abi, update-abi): Likewise.
5009
6c0ce4b4
EW
50102014-02-04 Eric Wong <normalperson@yhbt.net>
5011
5012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5013
481e3524
CD
50142014-02-03 Carlos O'Donell <carlos@redhat.com>
5015
5016 * manual/startup.texi: Add next, previous, and top entries for
5017 the `Program Arguments' and `Environment Variables' nodes.
5018
375592d3
AO
50192014-02-03 Alexandre Oliva <aoliva@redhat.com>
5020
5021 * manual/macros.texi: Add comments before MTASC-safety macros.
5022
f54838ba
AO
5023 * manual/users.texi: Document MTASC-safety properties.
5024
57f41c40
AS
5025 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5026 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5027 @deftypefun, and add @safety note.
5028 * manual/signal.texi: Move comments that analyze the above
5029 functions to their home place.
5030
fd3daba4
AM
50312014-02-03 Allan McRae <allan@archlinux.org>
5032
5033 * po/sl.po: Update Slovenian translation from translation project.
5034
597636d7
AO
50352014-02-02 Alexandre Oliva <aoliva@redhat.com>
5036
5037 * manual/time.texi (timegm): Add missing blank after @c.
5038 Reported by Joseph Myers <joseph@codesourcery.com>.
5039
ee196e3c
AO
50402014-02-01 Alexandre Oliva <aoliva@redhat.com>
5041
5042 * manual/check-safety.sh: New.
5043 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5044
f8d529d5
AO
5045 * manual/terminal.texi: Document MTASC-safety properties.
5046
de55fdf4
AO
5047 * manual/filesys.texi: Document MTASC-safety properties.
5048
c3299c08
AO
5049 * manual/errno.texi: Document MTASC-safety properties.
5050
06e90b14
AO
5051 * manual/intro.texi: Document safety identifiers and
5052 conditionals.
5053
1acd4371
AO
5054 * manual/string.texi (wcstok): Fix prototype.
5055 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5056
23e5b8cb
AO
5057 * manual/time.texi: Document MTASC-safety properties.
5058
11087373
AO
5059 * manual/string.texi: Document MTASC-safety properties.
5060
5da2c93d
AO
5061 * manual/threads.texi: Document MTASC-safety properties.
5062
171e9210
AO
5063 * manual/stdio.texi: Document MTASC-safety properties.
5064
d9e02532
AO
5065 * manual/syslog.texi: Document MTASC-safety properties.
5066
6af8bab7
AO
5067 * manual/sysinfo.texi: Document MTASC-safety properties.
5068
663b02d7
AO
5069 * manual/startup.texi: Document MTASC-safety properties.
5070
973f180b
AO
5071 * manual/socket.texi: Document MTASC-safety properties.
5072
8f3c25c8
AO
5073 * manual/signal.texi: Document MTASC-safety properties.
5074
542210fb
AO
50752014-01-31 Alexandre Oliva <aoliva@redhat.com>
5076
5077 * manual/setjmp.texi: Document MTASC-safety properties.
5078
433c45a2
AO
5079 * manual/search.texi: Document MTASC-safety properties.
5080
c8ce789c
AO
5081 * manual/resource.texi: Document MTASC-safety properties.
5082
19f5d29c
AO
5083 * manual/process.texi: Document MTASC-safety properties.
5084
e2dfb7f4
AO
5085 * manual/platform.texi: Document MTASC-safety properties.
5086
8c1413f5
AO
5087 * manual/pipe.texi: Document MTASC-safety properties.
5088
03483ada
AO
5089 * manual/pattern.texi: Document MTASC-safety properties.
5090
29e7e2df
AO
5091 * manual/message.texi: Document MTASC-safety properties.
5092
9f529d7c
AO
5093 [BZ #12751]
5094 * manual/memory.texi: Document MTASC-safety properties.
5095
27aaa791
AO
5096 * manual/math.texi: Document MTASC-safety properties.
5097
f2d58726
AO
5098 * manual/locale.texi: Document MTASC-safety properties.
5099
2cc3615c
AO
5100 * manual/llio.texi: Document MTASC-safety properties.
5101
d9f0ec97
AO
5102 * manual/libdl.texi: New.
5103
e7c4409a
AO
5104 * manual/lang.texi: Document MTASC-safety properties.
5105
27bdc63c
AO
5106 * manual/job.texi: Document MTASC-safety properties.
5107
a7b90ea9
AO
5108 * manual/getopt.texi: Document MTASC-safety properties.
5109
c49130e3
AO
5110 * manual/ctype.texi: Document MTASC-safety properties.
5111
0d23a5c1
MR
51122014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5113
5114 [BZ #16046]
5115 * csu/libc-tls.c (static_map): Remove variable.
5116 (__libc_setup_tls): Use main executable's link map for TLS data.
5117 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5118 casing for LM_ID_BASE and GL(dl_nns).
5119 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5120 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5121 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5122 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5123 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5124 member.
5125 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5126 l_phnum members.
5127
0037bb60
AO
51282014-01-30 Alexandre Oliva <aoliva@redhat.com>
5129
5130 * manual/debug.texi: Document MTASC-safety properties.
5131
409e00bd
L
51322014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5133
5134 [BZ #16510]
5135 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5136 of __x86_64__ when disabling x87 inline functions.
5137
86e60666
AO
51382014-01-29 Alexandre Oliva <aoliva@redhat.com>
5139
5140 * manual/charset.texi: Document MTASC-safety properties.
5141
76167637
AO
5142 * manual/crypt.texi: Document MTASC-safety properties.
5143
e567f2a0
AO
5144 * manual/conf.texi: Document MTASC-safety properties.
5145
b719dafd
AO
5146 * manual/arith.texi: Document MTASC-safety properties.
5147
4a16c662
AO
5148 * manual/argp.texi: Document MTASC-safety properties.
5149
0a57b83e
AO
5150 * manual/macros.texi: Introduce macros to document multi
5151 thread, asynchronous signal and asynchronous cancellation
5152 safety properties.
5153 * manual/intro.texi: Introduce the properties themselves.
5154
feab2397
KK
51552014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5156
5157 * sysdeps/sh/sh4/Makefile: New file.
5158
1c0d11bc
AS
51592014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5160
5161 * math/gen-libm-test.pl ($srcdir): New variable.
5162 ($auto_input): Use it.
5163
af37a8a3
SP
51642014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5165
d7b00f98
SP
5166 [BZ #16506]
5167 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5168 access beyond array bounds when parsing netgroups file.
5169
af37a8a3
SP
5170 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5171 the old buffer before realloc.
5172
0c00f062
AM
51732014-01-27 Allan McRae <allan@archlinux.org>
5174
5175 * po/fr.po: Update French translation from translation project.
5176
7d69a1b0
KK
51772014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5178
5179 * sysdeps/sh/libm-test-ulps: Regenerate.
5180
6e697ff7
DM
51812014-01-24 David S. Miller <davem@davemloft.net>
5182
5183 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5184
9cadb35c
KK
51852014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5186
5187 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5188 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5189
5d41dadf
SP
51902013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5191
5192 [BZ #16474]
5193 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5194 string pointers after reallocation.
5195
0bad441c
KK
51962014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5197
5198 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5199 __SH4A__ instead of __SH_FPU_ANY__.
5200
7007c661
KK
52012014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5202
5203 * sysdeps/sh/fpu_control.h: New file.
5204 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5205 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5206 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5207 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5208 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5209 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5210 * sysdeps/sh/sys/ucontext.h: Remove.
5211 * sysdeps/sh/sys: Remove directory.
5212
0f0c35e4
AK
52132014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5214
5215 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5216 s390/sys/ucontext.h.
5217 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5218 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5219
4959e284
L
52202014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5221
5222 [BZ #15605]
5223 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5224
d98720e0
AZ
52252014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5226
5227 [BZ#16431]
5228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5229 Adjust the vDSO correctly for internal calls.
5230 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5231
91cbd0bc
AM
52322014-01-20 Allan McRae <allan@archlinux.org>
5233
5234 * po/ca.po: Update Catalan translation from translation project.
5235
7a02cfad
MF
52362014-01-16 Mike Frysinger <vapier@gentoo.org>
5237
5238 * sysdeps/s390/sotruss-lib.c: New file.
5239
736c304a
AZ
52402014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5241
5242 [BZ#16430]
6e077ee5 5243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5244 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5245 local calls issues by not having a PLT stub required for IFUNC calls.
5246 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5247
94d0cea0
JM
52482014-01-16 Joseph Myers <joseph@codesourcery.com>
5249
5250 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5251 * math/test-fpucw-static.c: Likewise.
5252
980cb518
SP
52532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5254
5255 [BZ #16453]
5256 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5257
2393fc01
AZ
52582014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5259
5260 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5261 implementation for powerpc.
5262
d359bcc2
OB
52632014-01-15 Ondřej Bílka <neleai@seznam.cz>
5264
5265 [BZ #14782]
5266 * sysdeps/posix/system.c (__libc_system): Do not enable
5267 asynchronous cancellation.
5268
7beb48cb
AK
52692014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5270
5271 [BZ #16427]
5272 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5273 handling only for numbers special also in the IEEE case.
5274
c20d5bf5
AK
52752014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5276
5277 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5278
e83bd4ee
AM
52792014-01-11 Allan McRae <allan@archlinux.org>
5280
76d0ea69
AM
5281 * po/bg.po: Update Bulgarian translation from translation project.
5282
e83bd4ee
AM
5283 * po/de.po: Update German translation from translation project.
5284
bc2ba20a
RM
52852014-01-10 Roland McGrath <roland@hack.frob.com>
5286
5287 * sysdeps/generic/gcc-compat.h: New file.
5288
649ecea2
SP
52892014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5290
5291 * benchtests/asin-inputs: Correct slow inputs.
5292 * benchtests/acos-inputs: Likewise.
5293
1b19c006
AM
52942014-01-10 Allan McRae <allan@archlinux.org>
5295
a46dab08
AM
5296 * po:sv.po: Update Swedish translation from translation project.
5297
421df74a
AM
5298 * po/vi.po: Update Vietnamese translation from translation project.
5299
d61c51a7
AM
5300 * po/eo.po: Update Esperanto translation from translation project.
5301
0339a319
AM
5302 * po/cs.po: Update Czech translation from translation project.
5303
94ad3e99
AM
5304 * po/nl.po: Update Dutch translation from translation project.
5305
e349ca71
AM
5306 * po/pl.po: Update Polish translation from translation project.
5307
ddf930c1
AM
5308 * po/ru.po: Update Russian translation from translation project.
5309
1b19c006
AM
5310 * po/uk.po: Update Ukrainian translation from translation project.
5311
9f236c49
BM
53122014-01-08 Brooks Moses <bmoses@google.com>
5313
5314 * elf/dl-load.c: Fix comment typo.
5315
cd6701cf
CD
53162014-01-08 Carlos O'Donell <carlos@redhat.com>
5317
5318 * po/header.pot: Rename to...
5319 * po/pot.header: ... this.
5320 * po/Makefile: Use pot.header.
5321
66671c84
YK
53222014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5323 Maxim Kuvyrkov <maxim@kugelworks.com>
5324
5325 [BZ #16394]
cd6701cf
CD
5326 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5327 SRC and DEST against LEN.
66671c84 5328
38f34581
AZ
53292014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5330
5331 [BZ #16414]
5332 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5333 implementation.
5334 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5335
53362014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5337
5338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5339
4c327f2a
JM
53402014-01-08 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #16408]
5343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5344 for large positive arguments.
5345
b821f414
JM
53462014-01-07 Joseph Myers <joseph@codesourcery.com>
5347
1f0f2067
JM
5348 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5349
a5a326f6
JM
5350 * math/auto-libm-test-in: Mark various tests with
5351 xfail-rounding:ldbl-128ibm.
5352 * math/auto-libm-test-out: Regenerated.
5353
b821f414
JM
5354 [BZ #16407]
5355 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5356 Increase overflow threshold.
5357
94c8a4bc
OB
53582014-01-07 Ondřej Bílka <neleai@seznam.cz>
5359
5360 [BZ #14286]
5361 * stdio-common/vfprintf.c: Check for integer overflow.
5362
87ded0c3
AK
53632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5364
5365 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5366 the first argument and return value of __tls_get_addr_internal.
5367
c5eebdd0
AK
53682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5369
5370 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5371 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5372
05d138ef
AK
53732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5374
5375 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5376 * sysdeps/s390/rtld-global-offsets.sym: New file.
5377 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5378 GLIBC_2.19 symbol.
5379 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5382 ... this.
5383 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5384 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5385 ... this.
5386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5387 Regenerate.
5388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5389 Regenerate.
5390 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5391 halfs of GPRs for high_gprs contexts.
5392 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5393 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5394 field.
5395 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5396 uc_flags field.
5397 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5398 64 bit versions:
5399 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5400 for high GPRs (uc_high_gprs) and for future extensions
5401 (__reserved).
5402 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5403 for future extensions (__reserved).
5404 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5405 64 bit versions:
5406 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5407 SC_HIGHGPRS offset definition.
5408 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5409 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5410
93a45ff1
AK
5411 * Versions.def: Add GLIBC_2.19 for libpthread.
5412 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5413 siglongjmp for libpthread with GLIBC_2.19 symver.
5414 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5415 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5416 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5417 * sysdeps/s390/__longjmp.c: New file.
5418 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5419 * sysdeps/s390/longjmp.c: New file.
5420 * sysdeps/s390/setjmp.S: New file.
5421 * sysdeps/s390/sigjmp.S: New file.
5422 * sysdeps/s390/v1-longjmp.c: New file.
5423 * sysdeps/s390/v1-setjmp.h: New file.
5424 * sysdeps/s390/v1-sigjmp.c: New file.
5425 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5426 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5427 GLIBC_2.19 version.
5428 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5429 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5430 versioned symbols for ____longjmp_chk.
5431 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5432 Likewise.
5433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5434 Regenerate.
5435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5436 Regenerate.
5437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5438 Regenerate.
5439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5440 Regenerate.
5441 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5442 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5443 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5444 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5445 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5446 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5447 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5448 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5449 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5450 * sysdeps/s390/rtld-__longjmp.c: New file.
5451 * sysdeps/s390/rtld-setjmp.S: New file.
5452
eb3fc44b
JM
54532014-01-06 Joseph Myers <joseph@codesourcery.com>
5454
5455 [BZ #16400]
5456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5457 Return -__logl (x) for small positive arguments without evaluating
5458 a polynomial.
5459
9341dde4
MF
54602014-01-06 Mike Frysinger <vapier@gentoo.org>
5461
5462 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5463 Rename to ...
5464 (__ptrace_peeksiginfo_args): ... this.
5465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5468
4cff0293
AM
54692014-01-06 Allan McRae <allan@archlinux.org>
5470
5471 * inet/netinet/in.h: Fix typo in comment.
5472
75595dcf
AJ
54732014-01-05 Andreas Jaeger <aj@suse.de>
5474
5475 * sysdeps/i386/fpu/libm-test-ulps: Update.
5476
79c1e109
AM
54772014-01-05 Allan McRae <allan@archlinux.org>
5478
dd804818
AM
5479 * po/libc.pot: Regenerated.
5480
79c1e109
AM
5481 * malloc/memusagestat.c: Fix gettext call formatting.
5482
0c813d1f
SK
54832014-01-04 Sami Kerola <kerolasa@iki.fi>
5484
5485 * nscd/nscd.c: Improve usage() output.
5486
20f4a8d9
MF
54872014-01-04 Mike Frysinger <vapier@gentoo.org>
5488
5489 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5490 * sysdeps/unix/sysv/linux/configure: Regenerated.
5491 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5492 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5493
22562bb2
JM
54942014-01-03 Joseph Myers <joseph@codesourcery.com>
5495
5496 [BZ #16390]
5497 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5498 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5499
d7ad2d9b
AZ
55002014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5501
5502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5503 extra tokens at end of #undef directive.
5504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5505 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5507
7dd009d8
JM
55082014-01-03 Joseph Myers <joseph@codesourcery.com>
5509
24db925a
JM
5510 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5511
7dd009d8
JM
5512 * math/auto-libm-test-in: Mark various tests with
5513 xfail-rounding:ldbl-128ibm.
5514 * math/auto-libm-test-out: Regenerated.
5515
396e3ecf
JM
55162014-01-02 Joseph Myers <joseph@codesourcery.com>
5517
819e5d50
JM
5518 [BZ #16386]
5519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5520 numbers with subnormal high part when calculating exponent.
5521
90b6a1e5
JM
5522 [BZ #16385]
5523 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5524 fabs.
5525
396e3ecf
JM
5526 [BZ #16384]
5527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5528 M_LN2l.
5529 (__ieee754_acoshl): Use __log1pl not __log1p.
5530
6c8dbf00
OB
55312013-01-02 Ondřej Bílka <neleai@seznam.cz>
5532
57f41c40
AS
5533 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5534 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5535 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5536 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5537 (reused_arena, arena_get2): Convert to GNU style.
5538 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5539 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5540 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5541 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5542 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5543 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5544 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5545 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5546 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5547 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5548 * malloc/malloc.h: Likewise.
57f41c40
AS
5549 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5550 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5551 * malloc/mcheck.h: Likewise.
57f41c40
AS
5552 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5553 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5554 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5555 * malloc/morecore.c (__default_morecore): Likewise.
5556 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5557 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5558 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5559 (print_and_abort): Likewise.
6c8dbf00
OB
5560 * malloc/obstack.h: Likewise.
5561 * malloc/set-freeres.c (__libc_freeres): Likewise.
5562 * malloc/tst-mallocstate.c (main): Likewise.
5563 * malloc/tst-mtrace.c (main): Likewise.
5564 * malloc/tst-realloc.c (do_test): Likewise.
5565
d4124212
SP
55662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5567
9a3c6a6f
SP
5568 [BZ #16366]
5569 * nscd/netgroupcache.c (do_notfound): New function.
5570 (addgetnetgrentX): Use it.
5571
d4124212
SP
5572 [BZ # 16365]
5573 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5574 NSS_STATUS_NOTFOUND.
5575
97b9a009
JM
55762014-01-01 Joseph Myers <joseph@codesourcery.com>
5577
5578 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5580
d4697bc9
AM
55812014-01-01 Allan McRae <allan@archlinux.org>
5582
ddb3687f
AM
5583 * scripts/update-copyrights: Update configure input file suffix.
5584
88726d48
AM
5585 * NEWS: Update copyright year.
5586 * catgets/gencat.c: Likewise.
5587 * csu/version.c: Likewise.
5588 * debug/catchsegv.sh: Likewise.
5589 * debug/pcprofiledump.c: Likewise.
5590 * debug/xtrace.sh: Likewise.
5591 * elf/ldconfig.c: Likewise.
5592 * elf/ldd.bash.in: Likewise.
5593 * elf/pldd.c: Likewise.
5594 * elf/sotruss.ksh: Likewise.
5595 * elf/sprof.c: Likewise.
5596 * iconv/iconv_prog.c: Likewise.
5597 * iconv/iconvconfig.c: Likewise.
5598 * locale/programs/locale.c: Likewise.
5599 * locale/programs/localedef.c: Likewise.
5600 * login/programs/pt_chown.c: Likewise.
5601 * malloc/memusage.sh: Likewise.
5602 * malloc/memusagestat.c: Likewise.
5603 * malloc/mtrace.pl: Likewise.
5604 * manual/libc.texinfo: Likewise.
5605 * nscd/nscd.c: Likewise.
5606 * nss/getent.c: Likewise.
5607 * nss/makedb.c: Likewise.
5608 * posix/getconf.c: Likewise.
5609 * scripts/test-installation.pl: Likewise.
5610
d4697bc9
AM
5611 * All files with FSF copyright notices: Update copyright dates
5612 using scripts/update-copyrights.
5613 * intl/plural.c: Regenerated.
5614 * locale/programs/charmap-kw.h: Likewise.
5615 * locale/programs/locfile-kw.h: Likewise.
5616
c8590f9d
MF
56172013-12-31 Mike Frysinger <vapier@gentoo.org>
5618
5619 * sysdeps/unix/sysv/linux/configure: Regenerated.
5620 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5621 the linux/fanotify.h header.
5622 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5623 HAVE_LINUX_FANOTIFY_H is defined.
5624
b19221b9
SP
56252013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5626
dd1d85e5
SP
5627 * benchtests/cos-inputs: New inputs.
5628 * benchtests/sin-inputs: Likewise.
5629
1acbb90f
SP
5630 * benchtests/atan-inputs: New inputs. Fix name of multiple
5631 precision fallback inputs.
5632
4c012ed3
SP
5633 * benchtests/atanh-inputs: New inputs.
5634 * benchtests/tanh-inputs: Likewise.
5635
eff98324
SP
5636 * benchtests/acosh-inputs: New inputs.
5637 * benchtests/asinh-inputs: Likewise.
5638
ce641152
SP
5639 * benchtests/cosh-inputs: New inputs.
5640 * benchtests/sinh-inputs: Likewise.
5641
b19221b9
SP
5642 * benchtests/acos-inputs: Add more inputs.
5643 * benchtests/asin-inputs: Likewise.
5644
030a4976 56452013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5646
030a4976 5647 [BZ #16375]
9dcc8f11
VS
5648 * manual/arith.texi: Fix spelling.
5649 * manual/charset.texi: Likewise.
5650 * manual/errno.texi: Likewise.
5651 * manual/filesys.texi: Likewise.
5652 * manual/lang.texi: Likewise.
5653 * manual/llio.texi: Likewise.
5654 * manual/locale.texi: Likewise.
5655 * manual/message.texi: Likewise.
5656 * manual/resource.texi: Likewise.
5657 * manual/search.texi: Likewise.
5658 * manual/setjmp.texi: Likewise.
5659 * manual/stdio.texi: Likewise.
5660 * manual/string.texi: Likewise.
5661 * manual/sysinfo.texi: Likewise.
5662 * manual/time.texi: Likewise.
5663
11520a57
CD
56642013-12-27 Carlos O'Donell <carlos@redhat.com>
5665
5666 * po/sl.po: New file.
5667
471103ae
MF
56682013-12-27 Mike Frysinger <vapier@gentoo.org>
5669
5670 * .gitignore: Add core/.gdbinit/.gdb_history.
5671
6c9642ed
AM
56722013-12-27 Allan McRae <allan@archlinux.org>
5673
5674 [BZ #16369]
5675 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5676 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5677
3f637079
BM
56782013-12-24 Brooks Moses <bmoses@google.com>
5679
5680 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5681 all compilers that claim C++98 compliance, not just GCC.
5682 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5683 Likewise.
5684
abc26e99
MK
56852013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5686
5687 * NEWS: Restore accidentally deleted bug-fix entries.
5688
362b47fe
MK
56892013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5690 Ondřej Bílka <neleai@seznam.cz>
5691
5692 [BZ #15073]
5693 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5694 have_lock.
362b47fe 5695
b9bcbbcb
OB
56962013-12-23 Ondřej Bílka <neleai@seznam.cz>
5697
5698 [BZ #12986]
5699 * manual/stdio.texi (String Input Conversions): Clarify that character
5700 classes are not supported.
5701
fb55fcd2
AZ
57022013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5703
5704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5705
ef7344f0
JM
57062013-12-22 Joseph Myers <joseph@codesourcery.com>
5707
4f40e4b3
JM
5708 [BZ #16337]
5709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5710 Calculate results for small negative arguments directly rather
5711 than using reflection formula with special underflow handling.
5712
ef7344f0
JM
5713 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5714 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5715 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5716 (fchflags): Likewise.
5717 (revoke): Likewise.
5718 (setlogin): Likewise.
5719 (sigaltstack): Likewise.
5720 (wait4): Likewise.
5721 (sigblock): Remove.
5722 (sigsetmask): Likewise.
5723 (wait3): Likewise.
5724 (waitpid): Likewise.
5725 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5726 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5727 file.
5728 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5729 * sysdeps/unix/bsd/Makefile: ... here.
5730 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5731 * sysdeps/unix/bsd/Versions: ... here.
5732 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5733 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5734 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5735 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5736 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5737 * sysdeps/unix/bsd/sigblock.c: ... here.
5738 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5739 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5740 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5741 * sysdeps/unix/bsd/sigvec.c: ... here.
5742 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5743 * sysdeps/unix/bsd/tcdrain.c: ... here.
5744 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5745 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5746 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5747 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5748 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5749 * sysdeps/unix/bsd/wait.c: ... here.
5750 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5751 * sysdeps/unix/bsd/wait3.c: ... here.
5752 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5753 * sysdeps/unix/bsd/waitpid.c: ... here.
5754
5b0626b9
JM
57552013-12-21 Joseph Myers <joseph@codesourcery.com>
5756
5757 [BZ #16356]
5758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5759 round-to-nearest for [!USE_AS_EXPM1L].
5760 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5761 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5762 more tests of exp and exp10. Expect some exp10 tests to miss
5763 exceptions or fail in directed rounding modes.
5764 * math/auto-libm-test-out: Regenerated.
5765 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5766 (exp10_test_tonearest): New function.
5767 (exp10_towardzero_test_data): New array.
5768 (exp10_test_towardzero): New function.
5769 (exp10_downward_test_data): New array.
5770 (exp10_test_downward): New function.
5771 (exp10_upward_test_data): New array.
5772 (exp10_test_upward): New function.
5773 (main): Call the new functions.
5774 * sysdeps/i386/fpu/libm-test-ulps: Update.
5775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5776
7fda5682
JM
57772013-12-20 Joseph Myers <joseph@codesourcery.com>
5778
31e3a405
JM
5779 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5780 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5781 * math/auto-libm-test-out: Regenerated.
5782 * math/libm-test.inc (acosh_test_data): Add more tests.
5783 (atanh_test_data): Likewise.
5784 (ceil_test_data): Likewise.
5785 (copysign_test_data): Likewise.
5786 * sysdeps/i386/fpu/libm-test-ulps: Update.
5787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5788
85bff96a
JM
5789 * timezone/checktab.awk: Update from tzcode 2013i.
5790 * timezone/private.h: Likewise.
5791 * timezone/scheck.c: Likewise.
5792 * timezone/tzfile.h: Likewise.
5793 * timezone/tzselect.ksh: Likewise.
5794 * timezone/zdump.c: Likewise.
5795 * timezone/zic.c: Likewise.
5796
b7867a3b
JM
5797 * math/auto-libm-test-in: Add tests of cpow.
5798 * math/auto-libm-test-out: Regenerated.
5799 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5801 mpc_cc_c.
5802 (func_calc_desc): Add mpc_cc_c union field.
5803 (test_functions): Add cpow.
5804 (special_fill_2pi): New function.
5805 (special_real_inputs): Add 2pi.
5806 (calc_generic_results): Handle mpc_cc_c.
5807 * sysdeps/i386/fpu/libm-test-ulps: Update.
5808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5809
7fda5682
JM
5810 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5811 csqrt, ctan and ctanh.
5812 * math/auto-libm-test-out: Regenerated.
5813 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5814 (TEST_COND_x86): Likewise.
5815 (ccos_test_data): Use AUTO_TESTS_c_c.
5816 (ccosh_test_data): Likewise.
5817 (cexp_test_data): Likewise.
5818 (clog_test_data): Likewise.
5819 (csqrt_test_data): Likewise.
5820 (ctan_test_data): Likewise.
5821 (ctan_tonearest_test_data): Likewise.
5822 (ctan_towardzero_test_data): Likewise.
5823 (ctan_downward_test_data): Likewise.
5824 (ctan_upward_test_data): Likewise.
5825 (ctanh_test_data): Likewise.
5826 (ctanh_tonearest_test_data): Likewise.
5827 (ctanh_towardzero_test_data): Likewise.
5828 (ctanh_downward_test_data): Likewise.
5829 (ctanh_upward_test_data): Likewise.
5830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5831 mpc_c_c.
5832 (func_calc_desc): Add mpc_c_c union field.
5833 (FUNC_mpc_c_c): New macro.
5834 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5835 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5836 ctanh.
5837 (special_fill_min_subnorm_p120): New function.
5838 (special_real_inputs): Add min_subnorm_p120.
5839 (calc_generic_results): Handle mpc_c_c.
5840 * sysdeps/i386/fpu/libm-test-ulps: Update.
5841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5842
5ff8d60e
SP
58432013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5844
57f41c40
AS
5845 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5846 (do_sin_slow): New functions.
5847 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5848 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5849
84ba214c
SP
5850 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5851 Use M to change sign of result instead of X. Assume X is
5852 positive.
5853 (csloww1): Likewise.
5854 (__sin): Adjust.
5855 (__cos): Adjust.
5856
975195e4
SP
5857 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5858 arguments A and DA.
5859 (__sin): Adjust.
5860 (__cos): Likewise.
5861
5ff8d60e
SP
5862 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5863 (__cos): Likewise.
5864 (sloww1): Don't adjust sign of DX.
5865 (csloww1): Likewise.
5866 (sloww2): Use X directly and don't adjust sign of DX.
5867 (csloww2): Likewise.
5868
eb983568
JM
58692013-12-19 Joseph Myers <joseph@codesourcery.com>
5870
64a17f1a
JM
5871 * math/auto-libm-test-in: Add tests of cabs and carg.
5872 * math/auto-libm-test-out: Regenerated.
5873 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5874 (carg_test_data): Likewise.
5875 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5876 mpc_c_f.
5877 (func_calc_desc): Add mpc_c_f union field.
5878 (test_functions): Add cabs and carg.
5879 (calc_generic_results): Handle mpc_c_f.
5880
eb983568
JM
5881 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5882 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5883 as a macro and a compat symbol.
5884 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5885 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5886 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5887 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5888 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5890 not use .hidden.
5891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5892 Likewise.
5893 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5894 Likewise.
5895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5896 Likewise.
5897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5898 Likewise.
5899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5900 Likewise.
5901 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5902 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5903 from GLIBC_2.3.2.
5904
6eeb678a
AZ
59052013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5908
6f6fc482
JM
59092013-12-19 Joseph Myers <joseph@codesourcery.com>
5910
21fea2e2
JM
5911 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5912 trailing whitespace removed.
5913 * scripts/config.guess: Update to version 2013-11-29.
5914 * scripts/config.sub: Update to version 2013-10-01.
5915
6f6fc482
JM
5916 * math/auto-libm-test-in: Add tests of sincos.
5917 * math/auto-libm-test-out: Regenerated.
5918 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5919 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5920 mpfr_f_11.
5921 (func_calc_desc): Add mpfr_f_11 union field.
5922 (test_functions): Add sincos.
5923 (calc_generic_results): Handle mpfr_f_11.
5924 * sysdeps/i386/fpu/libm-test-ulps: Update.
5925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5926
83f5c32d
AS
59272013-12-19 Andreas Schwab <schwab@suse.de>
5928
5929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5930 CALL_MCOUNT.
5931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5933 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5934
c688b419
JM
59352013-12-19 Joseph Myers <joseph@codesourcery.com>
5936
335ee092
JM
5937 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5938 * sysdeps/i386/fpu/libm-test-ulps: Update.
5939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5940
f88acd39
JM
5941 [BZ #16293]
5942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5943 round-to-nearest mode when using frndint.
5944 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5945 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5947 Likewise.
5948 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5949 sinh test to fail.
5950 * math/auto-libm-test-out: Regenerated.
5951 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5952 (TEST_COND_x86): Likewise.
5953 (expm1_tonearest_test_data): New array.
5954 (expm1_test_tonearest): New function.
5955 (expm1_towardzero_test_data): New array.
5956 (expm1_test_towardzero): New function.
5957 (expm1_downward_test_data): New array.
5958 (expm1_test_downward): New function.
5959 (expm1_upward_test_data): New array.
5960 (expm1_test_upward): New function.
5961 (main): Run the new test functions.
5962 * sysdeps/i386/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5964
c688b419
JM
5965 * include/features.h: Update comment documenting feature test
5966 macros. Mention _DEFAULT_SOURCE in comment.
5967 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5968 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5969 _BSD_SOURCE and _SVID_SOURCE.
5970 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5971 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5972 !_SVID_SOURCE]: Likewise.
5973 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5974 (__USE_POSIX_IMPLICITLY): Define.
5975 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5976 (_POSIX_SOURCE): Undefine and redefine.
5977 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5978 (_POSIX_C_SOURCE): Likewise.
5979 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5980 (Feature Test Macros): Update documentation of default features.
5981
9f6e964c
RS
59822013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5983
5984 * benchtests/Makefile: Add bench-strtok.
5985 * benchtests/bench-strtok.c: New file: strtok benchtest.
5986
ee0a148a
AM
59872013-12-19 Allan McRae <allan@archlinux.org>
5988
5989 * manual/install.texi: Suppress menu for plain text output.
5990 * INSTALL: Regenerated.
5991
b9ab448f
BM
59922013-12-18 Brooks Moses <bmoses@google.com>
5993
5994 [BZ #15846]
5995 * misc/getauxval.c: Include errno.h.
5996 (__getauxval): Set errno to ENOENT if the requested type is not
5997 found.
5998 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5999 don't declare with __attribute_const__.
6000 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6001 * manual/startup.texi: Document that getauxval sets errno.
6002
23776487
JM
60032013-12-18 Joseph Myers <joseph@codesourcery.com>
6004
f889953b
JM
6005 * math/auto-libm-test-in: Add tests of jn and yn.
6006 * math/auto-libm-test-out: Regenerated.
6007 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6008 (yn_test_data): Likewise.
6009 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6010 mpfr_if_f.
6011 (func_calc_desc): Add mpfr_if_f union field.
6012 (FUNC_mpfr_if_f): New macro.
6013 (test_functions): Add jn and yn.
6014 (calc_generic_results): Assert type of second input for
6015 mpfr_ff_f. Handle mpfr_if_f.
6016 (output_for_one_input_case): Disable all checking for arguments
6017 fitting floating-point types in case of an integer argument.
6018 * sysdeps/i386/fpu/libm-test-ulps: Update.
6019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6020
23776487
JM
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6022 Don't expect fegetround reference in libm.so.
6023
cb756c6d
MS
60242013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6025
6026 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6027 $(config-cflags-nofma).
6028
2dec468f
JM
60292013-12-18 Joseph Myers <joseph@codesourcery.com>
6030
5953eb3a
JM
6031 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6032 * math/auto-libm-test-out: Regenerated.
6033
2dec468f
JM
6034 [BZ #16338]
6035 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6036 to determine exponent and adjust argument to have exponent of -1.
6037 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6038 log2.
6039 * math/auto-libm-test-out: Regenerated.
6040 * sysdeps/i386/fpu/libm-test-ulps: Update.
6041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6042
4d84e6ad
OB
60432013-12-18 Ondřej Bílka <neleai@seznam.cz>
6044
6045 * manual/probes.texi: Remove cases when per-thread arenas are
6046 disabled.
6047
1818483b
AS
60482013-12-18 Andreas Schwab <schwab@suse.de>
6049
6050 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6051 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6052 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6053 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6054 * sysdeps/i386/i686/multiarch/Makefile: Update.
6055 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6056
25de95bf
JM
60572013-12-17 Joseph Myers <joseph@codesourcery.com>
6058
6059 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6060 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6061
674762d9
PE
60622013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6063
ed27ed83 6064 [BZ #15968]
0748546f
PE
6065 Support TZ transition times < 00:00:00.
6066 This is needed for version-3 tz-format files; it supports time
6067 stamps past 2037 for America/Godthab (the only entry in the tz
6068 database for which this change is relevant).
6069 * manual/time.texi (TZ Variable): Document transition times
6070 from -167:59:59 through -00:00:01.
6071 * time/tzset.c (tz_rule): Time of day is now signed.
6072 (__tzset_parse_tz): Parse negative time of day.
6073
4480e934
PE
6074 Document TZ transition times >= 25:00:00.
6075 * manual/time.texi (TZ Variable): Document transition times from
6076 25:00:00 through 167:59:59. These are already supported, and this
6077 support will help with version-3 tz-format files.
6078
69947401
PE
6079 * manual/time.texi (TZ Variable): Modernize North America example
6080 to reflect current (i.e., 2007-and-later) daylight saving rules.
6081
674762d9
PE
6082 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6083
7011c262
JM
60842013-12-17 Joseph Myers <joseph@codesourcery.com>
6085
2fc6557e
JM
6086 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6087 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6090 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6091 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6092 * sysdeps/unix/bsd/clock.c: Likewise.
6093 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6094 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6095 * sysdeps/unix/bsd/init-posix.c: Likewise.
6096 * sysdeps/unix/bsd/poll.c: Likewise.
6097 * sysdeps/unix/bsd/ptsname.c: Likewise.
6098 * sysdeps/unix/bsd/seekdir.c: Likewise.
6099 * sysdeps/unix/bsd/setegid.c: Likewise.
6100 * sysdeps/unix/bsd/seteuid.c: Likewise.
6101 * sysdeps/unix/bsd/setgid.c: Likewise.
6102 * sysdeps/unix/bsd/setrgid.c: Likewise.
6103 * sysdeps/unix/bsd/setruid.c: Likewise.
6104 * sysdeps/unix/bsd/setsid.c: Likewise.
6105 * sysdeps/unix/bsd/setuid.c: Likewise.
6106 * sysdeps/unix/bsd/sigaction.c: Likewise.
6107 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6108 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6109 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6110 * sysdeps/unix/bsd/telldir.c: Likewise.
6111 * sysdeps/unix/bsd/times.c: Likewise.
6112 * sysdeps/unix/bsd/usleep.c: Likewise.
6113
029c7b25
JM
6114 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6115 ($(objpfx)libbsd-compat.a): Remove rule.
6116
7011c262
JM
6117 * include/features.h (__FAVOR_BSD): Do not define.
6118 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6119 features conflicting with POSIX.
6120 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6121 (_BSD_SOURCE): Remove description of not being a subset of other
6122 feature test macros.
6123 * manual/job.texi (getpgrp): Do not document BSD version.
6124 (getpgid): Do not document by reference to BSD getpgrp.
6125 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6126 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6127 * signal/signal.h [__FAVOR_BSD]: Likewise.
6128 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6129 instead of making contents conditional on [__FAVOR_BSD].
6130 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6131
affb6f78
AZ
61322013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133
6134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6135
c88769dd
JM
61362013-12-17 Joseph Myers <joseph@codesourcery.com>
6137
6432a540
JM
6138 [BZ #16314]
6139 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6140 values below 2**-450, not 2**-500.
6141 * math/auto-libm-test-in: Don't allow spurious underflow from
6142 hypot.
6143 * math/auto-libm-test-out: Regenerated.
6144
c88769dd
JM
6145 [BZ #16316]
6146 [BZ #16330]
6147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6148 values of ha and hb and sort them after adjusting subnormal
6149 arguments.
6150 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6151 Likewise.
6152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6153 values of ea and eb and sort them after adjusting subnormal
6154 arguments.
6155 * math/auto-libm-test-in: Do not expect some hypot tests of
6156 subnormals to fail. Add more hypot tests.
6157 * math/auto-libm-test-out: Regenerated.
6158
29618f6b
KK
61592013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6160
6161 [BZ #13304]
6162 * sysdeps/sh/s_fma.c: New file.
6163 * sysdeps/sh/s_fmaf.c: New file.
6164 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6165 version.
6166 * sysdeps/sh/Implies: Add sh/soft-fp.
6167
eacfdfbf
RM
61682013-12-16 Roland McGrath <roland@hack.frob.com>
6169
6170 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6171 level of indirection to members `objname', `errstring', `malloced'.
6172 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6173 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6174 it as the __longjmp argument (just pass 1 instead).
6175 (_dl_catch_error): Initialize C with argument pointers and address of
6176 volatile local ERRCODE rather than copying values out of C at return.
6177
ff362e5b
JM
61782013-12-16 Joseph Myers <joseph@codesourcery.com>
6179
6180 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6181 * math/auto-libm-test-out: Regenerated.
6182 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6183 (hypot_test_data): Likewise.
6184 (pow_test_data): Likewise.
6185 (pow_tonearest_test_data): Likewise.
6186 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6187 mpfr_ff_f.
6188 (func_calc_desc): Add mpfr_ff_f union field.
6189 (FUNC_mpfr_ff_f): New macro.
6190 (test_functions): Add atan2, hypot and pow.
6191 (special_fill_min): New function.
6192 (special_fill_minus_min): Likewise.
6193 (special_fill_min_subnorm): Likewise.
6194 (special_fill_minus_min_subnorm): Likewise.
6195 (special_real_inputs): Add min, -min, min_subnorm and
6196 -min_subnorm.
6197 (calc_generic_results): Handle mpfr_ff_f.
6198 * sysdeps/i386/fpu/libm-test-ulps: Update.
6199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6200
5764c27f
WN
62012013-12-16 Will Newton <will.newton@linaro.org>
6202
6203 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6204 (Aligned Memory Blocks): Add documentation for aligned_alloc
6205 and suggest it as an alternative to posix_memalign.
6206 (Hooks for Malloc): Document __memalign_hook is also called
6207 for aligned_alloc. (Summary of Malloc): Add summary for
6208 aligned alloc. Document __memalign_hook is also called
6209 for aligned_alloc.
6210
0a096e44
WN
62112013-12-16 Will Newton <will.newton@linaro.org>
6212
6213 * manual/memory.texi (Malloc Examples): Clarify default
6214 alignment documentation. Suggest posix_memalign rather
6215 than memalign or valloc.
6216 (Aligned Memory Blocks): Remove suggestion to use memalign
6217 or valloc. Remove obsolete comment about BSD.
6218 Document memalign errno values and mark the function obsolete.
6219 Document posix_memalign returned error codes. Mark valloc
6220 as obsolete. (Hooks for Malloc): __memalign_hook is also
6221 called for posix_memalign and valloc.
6222 (Summary of Malloc): Add posix_memalign to function summary.
6223 __memalign_hook is also called for posix_memalign and valloc.
6224
8d561986
SP
62252013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6226
6227 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6228 TAYLOR_SIN.
6229 (__sin): Adjust.
6230 (__cos): Likewise.
6231 (sloww): Use mynumber union. Expand ternary operator into
6232 if-else statements.
6233 (cslow): use mynumber union.
6234
73616a74
AM
62352013-12-16 Allan McRae <allan@archlinux.org>
6236
9e8ac24b
AM
6237 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6238 * configure: Regenerated.
6239
6f8e37eb
AM
6240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6241
8894bad3
AM
6242 [BZ #14120]
6243 * configure.ac: Added --enable-maintainer-mode. Check for
6244 autoconf when enabled.
6245 * configure: Regenerated.
6246
73616a74
AM
6247 * nscd/nscd.service: New file.
6248 * nscd/nscd.tmpfiles: New file.
6249
584b18eb
OB
62502013-12-14 Ondřej Bílka <neleai@seznam.cz>
6251
6252 [BZ #12100]
6253 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6254 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6255 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6256 (strstr): Add __strstr_sse2_unaligned ifunc.
6257 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6258 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6259 (strcasestr): Remove __strcasestr_sse42 ifunc.
6260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6263
8a5c7897
KK
62642013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6265
6266 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6267 * sysdeps/sh/bits/fenv.h: ... here.
6268 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6269
fd712ef3
AZ
62702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6271
6272 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6273
42fcb46c
AZ
6274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6275 hypotf multiarch implementations.
6276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6279 multiarch hypot for PPC64.
6280 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6283 multiarch hypotf for PPC64.
6284
83efded4
AZ
6285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6286 modff multiarch implementations.
6287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6290 multiarch modf for PPC64.
6291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6294 multiarch modff for PPC64.
6295
43e246d2
AZ
6296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6297 and logl multiarch implementations.
6298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6301 multiarch logb for PPC64.
6302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6305 multiarch logb for PPC64.
6306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6309 multiarch logb for PPC64.
6310
8fdad123
AZ
6311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6312 isinff multiarch implementation.
6313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6314 file.
6315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6317 multiarch isinf for PPC64.
6318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6319 file.
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6321 multiarch isinff for PPC64.
6322
1481d706
AZ
6323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6324 finitef multiarch implementation.
6325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6326 file.
6327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6329 multiarch finite for PPC64.
6330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6331 file.
6332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6333 multiarch finitef for PPC64.
6334
5ccd5fc8
AZ
6335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6336 lrint multiarch implementation.
6337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6338 file.
6339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6341 multiarch llrint for PPC64.
6342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6343 multiarch lrint for PPC64.
6344
2568f3fa
AZ
6345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6346 copysignf multiarch implementation.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6348 file.
6349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6350 file.
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6352 multiarch copysign for PPC64.
6353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6354 multiarch copysignf for PPC64.
6355
1cb341fd
AZ
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6357 multiarch implementation.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6359 file.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6361 file.
6362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6363 file.
6364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6365 file.
6366 multiarch llround for PPC64.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6368 multiarch trunc for PPC64.
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6370 multiarch truncf for PPC64.
6371
59a3e194
AZ
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6373 multiarch implementation.
6374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6375 file.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6377 file.
6378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6379 file.
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6381 file.
6382 multiarch llround for PPC64.
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6384 multiarch round for PPC64.
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6386 multiarch roundf for PPC64.
6387
357fd3b4
AZ
6388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6389 multiarch implementation.
6390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6391 file.
6392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6393 file.
6394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6395 file.
6396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6397 file.
6398 multiarch llround for PPC64.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6400 multiarch floor for PPC64.
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6402 multiarch floorf for PPC64.
6403
96770f12
AZ
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6405 multiarch implementation.
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6407 file.
6408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6409 file.
6410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6411 file.
6412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6413 file.
6414 multiarch llround for PPC64.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6416 multiarch ceil for PPC64.
6417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6418 multiarch ceilf for PPC64.
6419
c3627f6e
AZ
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6421 multiarch implementation.
6422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6423 file.
6424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6425 file.
6426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6427 file.
6428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6429 multiarch llround for PPC64.
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6431 multiarch lround for PPC64.
6432
b2284ad7
AZ
6433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6434 multiarch implementation.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6438 file.
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6442 multiarch isnan for PPC64.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6444 multiarch isnanf for PPC64.
6445
69bbc63d
AZ
6446 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6447 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6448 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6449 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6450 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6452
c24517c9
AZ
6453 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6454 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6457
a52374e8
AZ
6458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6459 multiarch implementations.
6460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6461 (__libc_ifunc_impl_list): Likewise.
6462 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6463 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6465 multiarch stpcpy for PPC64.
6466
7f5ec113
AZ
6467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6468 multiarch implementations.
6469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6470 (__libc_ifunc_impl_list): Likewise.
6471 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6472 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6473 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6474 multiarch strcpy for PPC64.
6475
e28bcd42
AZ
6476 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6477 redefine function name.
6478 (_wordcopy_fwd_dest_aligned): Likewise.
6479 (_wordcopy_bwd_aligned): Likewise.
6480 (_wordcopy_bwd_dest_aligned): Likewise.
6481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6482 multiarch implementations.
6483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6484 (__libc_ifunc_impl_list): Likewise.
6485 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6489 multiarch wcscpy for PPC64.
6490
92cacfce
AZ
6491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6492 multiarch implementations.
6493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6494 (__libc_ifunc_impl_list): Likewise.
6495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6499 multiarch wcscpy for PPC64.
6500
7b714620
AZ
6501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6502 multiarch implementations.
6503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6504 (__libc_ifunc_impl_list): Likewise.
6505 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6509 multiarch wcsrchr for PPC64.
6510
16fd2ae3
AZ
6511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6512 multiarch implementations.
6513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6514 (__libc_ifunc_impl_list): Likewise.
6515 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6516 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6517 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6518 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6519 multiarch wcschr for PPC64.
6520
9ee2969b
AZ
6521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6522 multiarch implementations.
6523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6524 (__libc_ifunc_impl_list): Likewise.
6525 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6526 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6527 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6528 multiarch strchrnul for PPC64.
6529
372dc060
AZ
6530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6531 implementations.
6532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6533 (__libc_ifunc_impl_list): Likewise.
6534 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6535 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6536 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6537 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6538 strchr for PPC64.
6539
24c2c3b9
AZ
6540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6541 implementations.
6542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6543 (__libc_ifunc_impl_list): Likewise.
6544 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6547 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6548 strncmp for PPC64.
6549
1c92d9a0
AZ
6550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6551 multiarch implementations.
6552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6553 (__libc_ifunc_impl_list): Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6555 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6556 strncasecmp for PPC64.
6557 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6558 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6559 multiarch strncasecmp_l for PPC64.
6560
17de3ee3
AZ
6561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6562 multiarch implementations.
6563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6564 (__libc_ifunc_impl_list): Likewise.
6565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6567 multiarch strcasecmp for PPC64.
6568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6569 file.
6570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6571 multiarch strcasecmp_l for PPC64.
6572
62982bf9
AZ
6573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6574 implementations.
6575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6576 (__libc_ifunc_impl_list): Likewise.
6577 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6578 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6579 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6580 strnlen for PPC64.
6581
a65f4904
AZ
6582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6583 implementations.
6584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6585 (__libc_ifunc_impl_list): Likewise.
6586 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6587 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6588 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6589 strlen for PPC64.
6590
1fd005ad
AZ
6591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6592 implementations.
6593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6594 (__libc_ifunc_impl_list): Likewise.
6595 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6596 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6597 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6598 rawmemrchr for PPC64.
6599
cd05ba91
AZ
6600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6601 implementation.
6602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6603 (__libc_ifunc_impl_list): Likewise.
6604 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6605 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6606 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6607 memrchr for PPC64.
6608
870f8676
AZ
6609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6610 implementation.
6611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6612 (__libc_ifunc_impl_list): Likewise.
6613 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6614 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6615 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6616 memchr for PPC64.
6617
f00be62b
AZ
6618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6619 implementation.
6620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6621 (__libc_ifunc_impl_list): Likewise.
6622 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6623 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6624 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6625 mempcpy for PPC64.
6626
8a29a3d0
AZ
6627 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6628 avoid cretion of __bzero symbol.
6629 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6630 Likewise.
6631 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6632 Likewise.
6633 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6634 Likewise.
6635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6636 multiarch implementations.
6637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6638 (__libc_ifunc_impl_list): Likewise.
6639 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6640 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6642 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6643 bzero for PPC32.
6644 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6645 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6646 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6647 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6648 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6649 memset for PPC64.
6650 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6651
07253fcf
AZ
6652 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6654 implementations.
6655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6656 (__libc_ifunc_impl_list): Likewise.
6657 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6658 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6659 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6660 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6661 memcmp for PPC64.
6662
b5beafbc
AZ
6663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6664 multiarch for POWER/PPC64.
6665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6666 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6673 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6674 memcpy for PPC64.
6675
5e6a4d4b
AZ
6676 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6677 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6678 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6679 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6680 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6681 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6682 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6683 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6684 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6685 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6686 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6687 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6688 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6689 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6690 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6698
ddfab6dc
KK
66992013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6700
6701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6702
19b5525e
SP
67032013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6704
6705 * benchtests/Makefile (bench): Add exp2 and log2.
6706 (LDLIBS-bench-exp2): Add -lm.
6707 (LDLIBS-bench-log2): Likewise.
6708 * benchtests/exp2-inputs: New inputs file.
6709 * benchtests/log2-inputs: New inputs file.
6710 * benchtests/log-inputs: Add new inputs.
6711 * benchtests/tan-inputs: Likewise.
6712
196f7f5d
SP
67132013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6714
7a74607f
SP
6715 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6716 definition...
57f41c40
AS
6717 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6718 (csloww2): ... from here.
7a74607f 6719
196f7f5d
SP
6720 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6721 instead of structures.
6722 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6723 (POLYNOMIAL): Likewise.
6724 (TAYLOR_SLOW): Likewise.
6725 (__sin): Likewise.
6726 (__cos): Likewise.
6727 (slow1): Likewise.
6728 (slow2): Likewise.
6729 (sloww): Likewise.
6730 (sloww1); Likewise.
6731 (sloww2): Likewise.
6732 (bsloww1): Likewise.
6733 (bsloww2): Likewise.
6734 (cslow2): Likewise.
6735 (csloww): Likewise.
6736 (csloww1): Likewise.
6737 (csloww2): Likewise.
6738
0dfa665c
OB
67392013-12-10 Ondřej Bílka <neleai@seznam.cz>
6740
6741 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6742 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6743 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6744 * malloc/hooks.c (realloc_check): Likewise.
6745
5782a80f
OB
6746 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6747 * malloc/arena.c: Remove PER_THREAD conditional.
6748 [!PER_THREAD]: Remove code.
6749 (ptmalloc_unlock_all2): Likewise.
6750 (ptmalloc_init): Likewise.
6751 (_int_new_arena): Likewise.
6752 (arena_get2): Likewise.
6753 * malloc/hooks.c (__malloc_get_state): Likewise.
6754 (__malloc_set_state): Likewise.
6755 * malloc/malloc.c: Likewise.
6756 (struct malloc_state): Likewise.
6757 (struct malloc_par): Likewise.
6758 (__libc_realloc): Likewise.
6759 (__libc_mallopt): Likewise.
6760
aeb95445
AZ
67612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6762
6763 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6764
e8349efd
OB
67652013-12-09 Ondřej Bílka <neleai@seznam.cz>
6766
6767 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6768 macro to a function. Check for zero perturb_byte.
6769 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6770
f3eeb3fc 6771 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6772 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6773 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6774 force_reg by atomic_forced_read.
6775 * malloc/arena.c (ptmalloc_init): Likewise.
6776 * malloc/hooks.c (top_check): Likewise.
6777
be2f9009
AZ
67782013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6779
6780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6781
e7b914bd
MT
67822013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6783
6784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6785
9f0be4f8
JM
67862013-12-08 Joseph Myers <joseph@codesourcery.com>
6787
6788 * math/auto-libm-test-in: Add tests of lgamma.
6789 * math/auto-libm-test-out: Regenerated.
6790 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6791 (M_LOG_2_SQRT_PIl): Likewise.
6792 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6793 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6794 mpfr_f_f1.
6795 (func_calc_desc): Add mpfr_f_f1 union field.
6796 (ARGS1): New macro.
6797 (ARGS2): Likewise.
6798 (ARGS3): Likewise.
6799 (ARGS4): Likewise.
6800 (RET1): Likewise.
6801 (RET2): Likewise.
6802 (CALC): Likewise.
6803 (FUNC): Likewise.
6804 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6805 (test_functions): Add lgamma.
6806 (calc_generic_results): Handle mpfr_f_f1.
6807 * sysdeps/i386/fpu/libm-test-ulps: Update.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6809
24eeafdb
AZ
68102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6811
6812 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6813 __mpn_add_n for PowerPC64/POWER7.
6814 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6815 __mpn_sub_n for PowerPC64/POWER7.
6816
4a2c0fd4
AZ
6817 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6818 __mpn_addmul_1 for PowerPC64.
6819 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6820 __mpn_submul_1 for PowerPC64.
6821 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6822 for PowerPC64.
6823 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6824 for PowerPC64.
6825
4b5b548c
FS
68262013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6827
6828 [BZ #15089]
6829 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6830
0a3ac0aa
AZ
68312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832
6833 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6834
ccdc8438
AZ
6835 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6836 add multiarch folders.
6837 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6838 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6839 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6840 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6841 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6842 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6843 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6844 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6845 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6846 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6847 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6854
2e973d99
AZ
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6856 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6858 New file.
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6860 New file.
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6862 multiarch __ieee754_hypot for PowerPC32.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6864 New file.
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6866 New file.
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6868 multiarch __ieee754_hypotf for PowerPC32.
6869
2d9470b2
AZ
6870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6871 long_double_symbol only if __logbl is defined.
6872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6873 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6875 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6877 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6878 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6879 path for implementation.
6880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6883 logb, and logbl multiarch implementations for PowerPC32.
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6885 file.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6887 file.
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6889 multiarch logb for PowerPC32.
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6891 file.
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6893 file.
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6895 multiarch logbf for PowerPC32.
6896 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6898 file.
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6900 multiarch logbl implementation for PowerPC32.
6901
5212ffce
AZ
6902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6903 and modff multiarch implementations.
6904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6905 New file.
6906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6907 New file.
6908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6909 multiarch modf for PowerPC32.
6910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6911 New file.
6912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6913 New file.
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6915 multiarch modff for PowerPC32.
6916
79dccf31
AZ
6917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6918 and lrintf multiarch implementations.
6919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6920 New file.
6921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6922 New file.
6923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6924 multiarch lrint for PowerPC32.
6925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6926 file: multiarch lrintf for PowerPC32.
6927
deb66480
AZ
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6929 and lroundf multiarch implementations.
6930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6931 New file.
6932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6933 New file.
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6935 New file.
6936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6937 multiarch lround for PowerPC32.
6938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6939 file: multiarch lroundf for PowerPC32.
6940
264b036b
AZ
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6942 copysign and copysignf multiarch implementations.
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6944 New file.
6945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6946 New file.
6947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6948 file: multiarch copysign for PowerPC32.
6949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6950 file: multiarch copysignf for PowerPC32.
6951
d47db6c9
AZ
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6953 and truncf multiarch implementations.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6955 New file.
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6957 file.
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6959 multiarch trunc for PowerPC32.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6961 New file.
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6963 New file.
6964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6965 multiarch truncf for PowerPC32.
6966
ddb60b5a
AZ
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6968 and roundf multiarch implementations.
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6970 New file.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6972 file.
6973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6974 multiarch round for PowerPC32.
6975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6976 New file.
6977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6978 New file.
6979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6980 multiarch roundf for PowerPC32.
6981
bedcf49b
AZ
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6983 and floorf multiarch implementations.
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6985 New file.
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6987 file.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6989 multiarch floor for PowerPC32.
6990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6991 New file.
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6993 New file.
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6995 multiarch floorf for PowerPC32.
6996
35ae5b40
AZ
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6998 and ceilf multiarch implementations.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7000 New file.
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7002 file.
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7004 multiarch ceil for PowerPC32.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7006 New file.
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7008 file.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7010 multiarch ceilf for PowerPC32.
7011
ae1a4cd9
AZ
7012 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7013 is defined.
7014 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7015 FINITEF is defined.
7016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7017 and finitef multiarch implementations.
7018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7019 New file.
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7021 file.
7022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7023 multiarch finite for PowerPC32.
7024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7025 New file.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7027 file: multiarch finitef for PowerPC32.
7028
64fffd65
AZ
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7030 and isinff multiarch implementations.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7032 file.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7034 file.
7035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7036 multiarch isinf for PowerPC32.
7037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7038 New file.
7039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7040 multiarch isinff for PowerPC32.
7041
8e4e7ba2
AZ
7042 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7043 alias when __isnan is defined.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7045 and isnanf multiarch implementations.
7046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7047 file.
7048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7049 file.
7050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7051 file.
7052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7053 file.
7054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7055 multiarch isnan for PowerPC32.
7056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7057 New file.
7058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7059 New file.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7061 multiarch isnanf for PowerPC32.
7062
ddba588e
AZ
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7064 and sqrtf multiarch implementations.
7065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7066 file.
7067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7068 file.
7069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7070 multiarch sqrt for PowerPC32.
7071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7072 file.
7073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7074 file.
7075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7076 multiarch sqrtf for PowerPC32.
7077
0f96a2f0
AZ
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7079 and llroundf multiarch implementations.
7080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7081 New file.
7082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7083 New file.
7084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7085 New file.
7086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7087 file: multiarch llround for PowerPC32.
7088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7089 file: multiarch llroundf for PowerPC32.
7090
c9b5d79e
AZ
7091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7092 multiarch PowerPC32 fpu implementations.
7093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7094 New file.
7095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7096 New file.
7097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7098 multiarch llrint for PowerPC32.
7099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7100 New file.
7101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7102 New file.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7104 file.
7105
9cbb3aab
AZ
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7107
ea5a72f8
AZ
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7109 file.
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7111 file.
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7113 file.
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7115 multiarch wordcopy for PPC32.
7116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7117 wordcopy objects.
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7119 (__libc_ifunc_impl_list): Likewise.
7120 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7121 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7122 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7123 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7125 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7126
93be09e7
AZ
7127 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7129 file.
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7131 file.
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7133 file.
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7135 multiarch wcscpy for PPC32.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7137 multiarch objects.
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7139 (__libc_ifunc_impl_list): Likewise.
7140 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7141 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7142 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7143 sysdeps/powerpc/power6/wcscpy.c.
7144
bb04e529
AZ
7145 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7147 file.
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7149 file.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7151 file.
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7153 multiarch wcsrchr for PPC32.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7155 multiarch objects.
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7157 (__libc_ifunc_impl_list): Likewise.
7158 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7159 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7160 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7161 sysdeps/powerpc/power6/wcsrchr.c.
7162
05b5cd1c
AZ
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7164 file.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7166 file.
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7169 multiarch wcschr for PPc32.
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7171 multiarch objects.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7173 (__libc_ifunc_impl_list): Likewise.
7174 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7175 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7176 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7177 sysdeps/powerpc/power6/wcschr.c.
7178
ba964147
AZ
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7180 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7181 file.
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7183 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7184 file: multiarch strchr for PPC32.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7186 multiarch objects.
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7188 (__libc_ifunc_impl_list): Likewise.
7189
31c81aaa
AZ
7190 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7191 name.
7192 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7193 file.
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7195 file.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7197 multiarch strchrnul for PPC32.
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7199 multiarch objects.
7200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7201 (__libc_ifunc_impl_list): Likewise.
7202
0d0607d9
AZ
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7204 file.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7206 multiarch strncasecmp for PPC32.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7208 file.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7210 multiarch strncasecmp_l for PPC32.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7212 strncasecmp multiarch objects.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7214 (__libc_ifunc_impl_list): Likewise.
7215
4dfd5c86
AZ
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7217 file.
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7219 multiarch strncasecmp for PPC32.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7221 New file.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7223 multiarch strcasecmp_l for PPC32.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7225 multiarch objects.
7226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7227 (__libc_ifunc_impl_list): Likewise.
7228
a19e01a3
AZ
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7230 file.
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7232 file.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7234 multiarch strncmp for PPC32.
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7236 multiarch objects.
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7238 (__libc_ifunc_impl_list): Likewise.
7239
ae9cf7a2
AZ
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7241 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7242 file.
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7246 multiarch objects.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7248 (__libc_ifunc_impl_list): Likewise.
7249
3148bb7d
AZ
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7251 file.
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7253 file.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7256 multiarch objects.
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7258 (__libc_ifunc_impl_list): Likewise.
7259
7af8b946
AZ
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7261 file.
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7263 file.
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7265 multiarch rawmemchr for PPC32.
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7267 multiarch objects.
7268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7269 (__libc_ifunc_impl_list): Likewise.
7270
03a6aa6a
AZ
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7272 file.
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7274 file.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7276 file: memrchr multiarch for PPC32.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7278 multiarch objects.
7279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7280 (__libc_ifunc_impl_list): Likewise.
7281
1c62e6d9
AZ
7282 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7284 file.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7286 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7287 multiarch memchr for PPC32.
7288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7289 multiarch objects.
7290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7291 (__libc_ifunc_impl_list): Likewise.
7292
87da8bdb
AZ
7293 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7294 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7295 file.
7296 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7297 file.
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7299 file: multiarch mempcpy for PPC32.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7301 multiarch objects.
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7303 (__libc_ifunc_impl_list): Likewise.
7304
20ed4714
AZ
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7308 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7309 multiarch bzero for PPC32.
7310 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7311 file.
7312 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7313 file.
7314 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7315 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7316 file: multiarch memset for PPC32.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7319 memset multiarch objects.
7320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7321 (__libc_ifunc_impl_list): Likewise.
7322
ab3e3a46
AZ
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7324 file.
7325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7327 memcmp for PPC32.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7330 multiarch objects.
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7332 (__libc_ifunc_impl_list): Likewise.
7333
930de6f0
AZ
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7337 file.
7338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7339 file.
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7341 file.
7342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7343 multiarch memcpy for PPC32.
7344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7345 multiarch objects.
7346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7347 (__libc_ifunc_impl_list): Likewise.
7348
4c628e00
AZ
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7350 support multiarch for POWER/PPC32.
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7352 Likewise.
7353 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7355 Implies file to make multiarch folder appers before the fpu and
7356 default folder for power4 configuration.
7357
f4479220
SP
73582013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7359
7360 * scripts/bench.pl: Append volatile keyword to type.
7361
8517800f
KK
73622013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7363
7364 * sysdeps/sh/sotruss-lib.c: New file.
7365 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7366
180138f1
AZ
73672013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7368
7369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7370
bbf37bdc
JM
73712013-12-05 Joseph Myers <joseph@codesourcery.com>
7372
e47cc4e0
JM
7373 [BZ #6810]
7374 * math/w_tgamma.c: Include <errno.h>.
7375 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7376 * math/w_tgammaf.c: Include <errno.h>.
7377 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7378 * math/w_tgammal.c: Include <errno.h>.
7379 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7380 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7381 underflow. Add more tgamma tests.
7382 * math/auto-libm-test-out: Regenerated.
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7385
bbf37bdc
JM
7386 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7387 sin, sinh, tan, tanh, tgamma, y0 and y1.
7388 * math/auto-libm-test-out: Regenerated.
7389 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7390 (TEST_COND_x86): Likewise.
7391 (M_E2l): Remove macro.
7392 (M_E3l): Likewise.
7393 (M_2_SQRT_PIl): Likewise.
7394 (M_SQRT_PIl): Likewise.
7395 (M_1_DIV_El): Likewise.
7396 (log_test_data): Use AUTO_TESTS_f_f.
7397 (log10_test_data): Likewise.
7398 (log1p_test_data): Likewise.
7399 (log2_test_data): Likewise.
7400 (sin_test_data): Likewise.
7401 (sin_tonearest_test_data): Likewise.
7402 (sin_towardzero_test_data): Likewise.
7403 (sin_downward_test_data): Likewise.
7404 (sin_upward_test_data): Likewise.
7405 (sinh_test_data): Likewise.
7406 (sinh_tonearest_test_data): Likewise.
7407 (sinh_towardzero_test_data): Likewise.
7408 (sinh_downward_test_data): Likewise.
7409 (sinh_upward_test_data): Likewise.
7410 (tan_test_data): Likewise.
7411 (tan_tonearest_test_data): Likewise.
7412 (tan_towardzero_test_data): Likewise.
7413 (tan_downward_test_data): Likewise.
7414 (tan_upward_test_data): Likewise.
7415 (tanh_test_data): Likewise.
7416 (tgamma_test_data): Likewise.
7417 (y0_test_data): Likewise.
7418 (y1_test_data): Likewise.
7419 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7420 (special_real_inputs): Add pi/4.
7421 * sysdeps/i386/fpu/libm-test-ulps: Update.
7422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7423
eb5ad6b9
AZ
74242013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7425
7426 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7427 "longjmp_target" static probes.
7428 (__longjmp): Rename to __longjmp_symbol.
7429 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7430 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7431 on which longjmp to generate.
7432 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7433 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7434 probe.
7435 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7436 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7437 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7438 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7439 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7440 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7442 __longjmp_symbol based on which __longjmp to generate.
7443 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7444 probe.
7445 (setjmp): Rename to setjmp_symbol.
7446 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7447 (_setjmp): Rename to _setjmp_symbol.
7448 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7449 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7450 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7451 which setjmp to generate.
7452 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7453 "longjmp_target" static probes.
7454
d136c6dc
SP
74552013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7456
9298ecba
SP
7457 * benchtests/README: Add note about output arguments.
7458 * benchtests/bench-sincos.c: Remove file.
7459 * benchtests/sincos-inputs: New file.
7460 * scripts/bench.pl: Identify output arguments and define
7461 static variables for them.
7462
232983e9
SP
7463 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7464
d136c6dc
SP
7465 [BZ #15941]
7466 * Makefile (INSTALL): Add install-plain.texi as the primary
7467 dependency.
7468 * manual/install-plain.texi: New file.
7469 * manual/install.texi: Include node directive only for
7470 non-plaintext output.
7471
699ff837
JM
74722013-12-04 Joseph Myers <joseph@codesourcery.com>
7473
ab07cea8
JM
7474 * stdlib/longlong.h: Update from GCC.
7475
699ff837
JM
7476 [BZ #6807]
7477 [BZ #15901]
7478 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7479 * math/w_j0f.c (y0f): Likewise.
7480 * math/w_j0l.c (__y0l): Likewise.
7481 * math/w_j1.c (y1): Likewise.
7482 * math/w_j1f.c (y1f): Likewise.
7483 * math/w_j1l.c (__y1l): Likewise
7484 * math/w_jn.c (yn): Likewise.
7485 * math/w_jnf.c (ynf): Likewise.
7486 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7487 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7488 value for Bessel function domain errors outside _SVID_ mode.
7489 Adjust sign of return value for yn (negative integer, 0).
7490 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7491 by zero in return for negative x and set sign appropriately for
7492 negative n.
7493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7495 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7496 expectations in error cases.
7497 (y1_test_data): Likewise.
7498 (yn_test_data): Likewise.
7499 * sysdeps/i386/fpu/libm-test-ulps: Update.
7500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7501
5b118558
UW
75022013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7503
7504 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7505 "64" to "64-v1". Add "64-v2".
7506 (abi-64-options): Rename to ...
7507 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7508 (abi-64-condition): Rename to ...
7509 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7510 (abi-64-ld-soname): Rename to ...
7511 (abi-64-v1-ld-soname): ... this.
7512 (abi-64-v2-options): Define.
7513 (abi-64-v2-condition): Likewise.
7514 (abi-64-v2-ld-soname): Likewise.
7515 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7516 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7520
61cd8fe4
UW
75212013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7522 Alan Modra <amodra@gmail.com>
7523
7524 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7525 New versions for use with the ELFv2 ABI.
7526 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7527 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7528 declaration.
7529 (struct La_ppc64v2_retval): Likewise.
7530 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7531 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7532 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7533 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7534 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7536 Do not save or restore CR.
7537 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7538 (_dl_profile_resolve): Do no save or restore CR. Support extended
7539 return values for ELFv2 ABI. Fix location of FPR return registers.
7540 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7541 updated values for _CALL_ELF == 2.
7542 (La_regs, La_retval, int_retval): Likewise.
7543
8b8a692c
UW
75442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7545
7546 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7547 (FRAME_MIN_SIZE_PARM): Likewise.
7548 (FRAME_BACKCHAIN): Likewise.
7549 (FRAME_CR_SAVE): Likewise.
7550 (FRAME_LR_SAVE): Likewise.
7551 (FRAME_TOC_SAVE): Likewise.
7552 (FRAME_PARM_SAVE): Likewise.
7553 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7554 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7555 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7556 (call_mcount_parm_offset): New macro.
7557 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7558 (PROF): Use symbolic stack frame offsets.
7559 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7560 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7561 Redefine in terms of FRAME_MIN_SIZE.
7562 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7563 (_dl_profile_resolve): Likewise. Update comment.
7564 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7565 symbols stack frame offsets.
7566 (__sigsetjmp): Likewise.
7567 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7568 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7569 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7570 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7571
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7573 (FRAME_BACKCHAIN): Remove.
7574 (FRAME_CR_SAVE): Likewise.
7575 (FRAME_LR_SAVE): Likewise.
7576 (FRAME_COMPILER_DW): Likewise.
7577 (FRAME_LINKER_DW): Likewise.
7578 (FRAME_TOC_SAVE): Likewise.
7579 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7580 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7581 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7582 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7584 (CHECK_SP): Use symbolic stack frame offsets.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7586 zone" instead of caller's parameter save area for temp storage.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7588 Likewise. Also, use symbolic stack frame offsets.
7589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7590 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7591 our own stack frame instead of the caller's.
7592 (__socket): Use symbolic stack frame offsets.
7593
122b66de
UW
75942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7595 Alan Modra <amodra@gmail.com>
7596
7597 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7598 Define.
57f41c40
AS
7599 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7600 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7601 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7602 New function.
7603 (elf_machine_fixup_plt): Call it.
7604 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7605 reloc arguments.
7606 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7607 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7608 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7609 r2 before calling target.
7610
696caf1d
UW
76112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7612 Alan Modra <amodra@gmail.com>
7613
7614 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7615 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7616 versions of macros to support ELFv2 ABI.
7617 (LOCALENTRY): New macro.
7618 (ENTRY, EALIGN): Use it.
7619 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7620 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7621 fall through into ENTRY entry point.
7622 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7623 Only define if _CALL_ELF != 2.
7624
7625 (elf_machine_matches_host): Verify ABI version matches.
7626 (RTLD_START): Use LOCALENTRY.
7627 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7628 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7629 (PLT_ENTRY_WORDS): New macro.
7630 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7631 (elf_machine_runtime_setup): Support ELFv2 ABI.
7632 (elf_machine_fixup_plt): Likewise.
7633 (elf_machine_plt_conflict): Likewise.
7634 (resolve_ifunc): Likewise.
7635 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7637 Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7639 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7641 (makecontext): Support ELFv2 ABI.
7642 * elf/elf.h (EF_PPC64_ABI): Define.
7643
d31beafa
UW
76442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7645
57f41c40
AS
7646 * sysdeps/powerpc/powerpc64/sysdep.h
7647 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7648 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7649 (ENTRY) [ASSEMBLER]: ... but instead here ...
7650 (EALIGN) [ASSEMBLER]: ... and here.
7651 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7652 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7653 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7654 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7655 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7657 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7658 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7660 Use PPC64_LOAD_FUNCPTR.
7661
b525166b
UW
7662 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7663
7ec07d9a
AM
76642013-12-04 Alan Modra <amodra@gmail.com>
7665
7666 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7667 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7668 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7669 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7670
7671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7672 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7673 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7674 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7675 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7676 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7677
5162e7dd
UW
76782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7679
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7681 (__makecontext): Fix incorrect CFI when backtracing out of
7682 context created via makecontext.
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7684 (__setcontext): Fix incorrect CFI during switch to new context.
7685 (__novec_setcontext): Likewise.
7686
19e3372b
OB
76872013-12-04 Ondřej Bílka <neleai@seznam.cz>
7688
7689 [BZ #4772]
7690 * time/strptime_l.c (__strptime_internal): Allow modifiers
7691 in strptime.
7692 * time/tst-strptime.c (day_tests): Add testcase.
7693
ecaf142d
SP
76942013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7695
7696 * scripts/bench.pl: Skip over blank lines.
7697
fbf964ae
PE
76982013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7699
7700 [BZ #926]
7701 * manual/time.texi (Calendar Time): Clarify what timezone functions
7702 use.
7703
fa60a674
AZ
77042013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7705
7706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7707
d674f0ef
OB
77082013-12-04 Ondřej Bílka <neleai@seznam.cz>
7709
7710 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7711 implementation.
7712 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7713 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7714 * debug/memset_chk.c (__memset_chk): Likewise.
7715 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7716 * debug/strncpy_chk.c: Likewise.
7717
17dea188
JM
77182013-12-03 Joseph Myers <joseph@codesourcery.com>
7719
749008ff
JM
7720 [BZ #15268]
7721 [BZ #15425]
7722 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7723 (__ieee754_exp): For possibly underflowing results, check size of
7724 result and force underflow exception if required.
7725 * math/auto-libm-test-in: Add more tests of exp.
7726 * math/auto-libm-test-out: Regenerated.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7729
17dea188
JM
7730 [BZ #16283]
7731 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7732 * math/w_exp2f.c (__exp2f): Likewise.
7733 * math/w_exp2l.c (__exp2l): Likewise.
7734 * math/auto-libm-test-in: Do not allow missing errno on exp2
7735 underflow.
7736 * math/auto-libm-test-out: Regenerated.
7737
b20de2c3
OB
77382013-12-03 Ondřej Bílka <neleai@seznam.cz>
7739
7740 [BZ #16274]
7741 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7742 handle filename validation.
7743 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7744 (do_open): Delete.
7745
d8e2dbe3
JM
77462013-12-03 Joseph Myers <joseph@codesourcery.com>
7747
34e16df5
JM
7748 [BZ #6786]
7749 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7750 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7751 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7752 <float.h>.
7753 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7755 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7756 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7757 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7758 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7759 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7760 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7761 Add more erfc tests.
7762 * math/auto-libm-test-out: Regenerated.
7763 * sysdeps/i386/fpu/libm-test-ulps: Update.
7764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7765
d8e2dbe3
JM
7766 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7767 exp2, expm1, j0 and j1.
7768 * math/auto-libm-test-out: Regenerated.
7769 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7770 (erfc_test_data): Likewise.
7771 (exp_test_data): Likewise.
7772 (exp_tonearest_test_data): Likewise.
7773 (exp_towardzero_test_data): Likewise.
7774 (exp_downward_test_data): Likewise.
7775 (exp_upward_test_data): Likewise.
7776 (exp10_test_data): Likewise.
7777 (exp2_test_data): Likewise.
7778 (expm1_test_data): Likewise.
7779 (j0_test_data): Likewise.
7780 (j1_test_data): Likewise.
7781 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7782 (input_flag_type): Add flag_xfail_rounding.
7783 (input_flags): Add xfail-rounding.
7784 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7785 (output_for_one_input_case): Handle flag_xfail_rounding.
7786 * sysdeps/i386/fpu/libm-test-ulps: Update.
7787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7788
18d14251
AJ
77892013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7790
3d2e6075 7791 [BZ #16289]
18d14251
AJ
7792 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7793 division by 0.
7794
520d437b
SP
77952013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7796
7797 [BZ #16195]
7798 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7799 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7800 (STAP_PROBE0): New macro.
7801 (STAP_PROBE1): Likewise.
7802 (STAP_PROBE2): Likewise.
7803 (STAP_PROBE3): Likewise.
7804 (STAP_PROBE4): Likewise.
7805
416e0145
OB
78062013-12-02 Ondřej Bílka <neleai@seznam.cz>
7807
7808 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7809
9d17796a
SE
78102013-12-02 Steve Ellcey <sellcey@mips.com>
7811
7812 * benchtests/Makefile (bench): Add sqrt.
7813 (LDLIBS-bench-sqrt): New.
7814 * benchtests/sqrt-input: New.
7815
f524d6a8
PS
78162013-12-02 Pavel Simerda <psimerda@redhat.com>
7817
639a0ef8
PS
7818 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7819 (GAIH_EAI): Likewise.
7820 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7821 (gaih_inet): Likewise.
7822 (getaddrinfo): Don't use GAIH_EAI.
7823
f524d6a8
PS
7824 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7825 (struct gaih): Remove definition.
7826
df3aedaf
SP
78272013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7828
7829 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7830 Use HERRNOP directly.
7831
1ab19dec
AZ
78322013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7833
b42ad38d 7834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7835
176b0c79
JM
78362013-11-30 Joseph Myers <joseph@codesourcery.com>
7837
7838 * math/gen-auto-libm-tests.c (test_functions): Add more
7839 single-argument functions.
7840 (special_fill_pi_2): New function.
7841 (special_fill_minus_pi_2): Likewise.
7842 (special_fill_pi_6): Likewise.
7843 (special_fill_minus_pi_6): Likewise.
7844 (special_fill_pi_3): Likewise.
7845 (special_fill_2pi_3): Likewise.
7846 (special_fill_e): Likewise.
7847 (special_fill_1_e): Likewise.
7848 (special_fill_e_minus_1): Likewise.
7849 (special_real_inputs): Add more special inputs.
7850 (output_for_one_input_case): Do not require ERANGE on underflow to
7851 zero if round-to-nearest result does not underflow to zero, unless
7852 exact results required.
7853 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7854 atan, atanh, cbrt, cos and cosh.
7855 * math/auto-libm-test-out: Regenerated.
7856 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7857 (acos_tonearest_test_data): Likewise.
7858 (acos_towardzero_test_data): Likewise.
7859 (acos_downward_test_data): Likewise.
7860 (acos_upward_test_data): Likewise.
7861 (acosh_test_data): Likewise.
7862 (asin_test_data): Likewise.
7863 (asin_tonearest_test_data): Likewise.
7864 (asin_towardzero_test_data): Likewise.
7865 (asin_upward_test_data): Likewise.
7866 (asinh_test_data): Likewise.
7867 (atan_test_data): Likewise.
7868 (atanh_test_data): Likewise.
7869 (cbrt_test_data): Likewise.
7870 (cos_test_data): Likewise.
7871 (cos_tonearest_test_data): Likewise.
7872 (cos_towardzero_test_data): Likewise.
7873 (cos_downward_test_data): Likewise.
7874 (cos_upward_test_data): Likewise.
7875 (cosh_test_data): Likewise.
7876 (cosh_tonearest_test_data): Likewise.
7877 (cosh_towardzero_test_data): Likewise.
7878 (cosh_downward_test_data): Likewise.
7879 (cosh_upward_test_data): Likewise.
7880 * sysdeps/i386/fpu/libm-test-ulps: Update.
7881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7882
ffb536d0
JM
78832013-11-29 Joseph Myers <joseph@codesourcery.com>
7884
2a77a467
JM
7885 [BZ #6787]
7886 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7887 * math/w_exp10f.c (__exp10f): Likewise.
7888 * math/w_exp10l.c (__exp10l): Likewise.
7889 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7890 errno settings in existing tests.
7891
ea3bc4e8
JM
7892 [BZ #14032]
7893 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7894 precision control set to double precision.
7895 * sysdeps/i386/fpu/w_sqrt.c: New file.
7896 * math/auto-libm-test-in: Add more tests.
7897 * math/auto-libm-test-out: Update.
7898
0712c9d8
JM
7899 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7900 (sqrt_test_tonearest): New function.
7901 (sqrt_towardzero_test_data): New variable.
7902 (sqrt_test_towardzero): New function.
7903 (sqrt_downward_test_data): New variable.
7904 (sqrt_test_downward): New function.
7905 (sqrt_upward_test_data): New variable.
7906 (sqrt_test_upward): New function.
7907 (main): Call the new functions.
7908
ffb536d0
JM
7909 * math/gen-auto-libm-tests.c: New file.
7910 * math/auto-libm-test-in: Likewise.
7911 * math/auto-libm-test-out: New generated file.
7912 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7913 variables.
7914 (%beautify): Add generated representations of zero.
7915 (top level): Set $auto_input and call parse_auto_input.
7916 (beautify): Remove trailing "f" from hex float constants.
7917 (parse_args): Handle XFAIL_TEST.
7918 (convert_condition): New function.
7919 (or_value): Likewise.
7920 (or_cond_value): Likewise.
7921 (generate_testfile): Handle AUTO_TESTS_* lines.
7922 (parse_auto_input): New function.
7923 * math/libm-test.inc (XFAIL_TEST): New macro.
7924 (ERRNO_UNCHANGED): Update value.
7925 (ERRNO_EDOM): Likewise.
7926 (ERRNO_ERANGE): Likewise.
7927 (IGNORE_RESULT): Likewise.
7928 (TEST_COND_flt_32): New macro.
7929 (TEST_COND_dbl_64): Likewise.
7930 (TEST_COND_ldbl_96_intel): Likewise.
7931 (TEST_COND_ldbl_96_m68k): Likewise.
7932 (TEST_COND_ldbl_128): Likewise.
7933 (TEST_COND_ldbl_128ibm): Likewise.
7934 (TEST_COND_long32): Likewise.
7935 (TEST_COND_long64): Likewise.
7936 (TEST_COND_before_rounding): Likewise.
7937 (TEST_COND_after_rounding): Likewise.
7938 (enable_test): Handle XFAIL_TEST flag.
7939 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7940 with finite results.
7941 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7942 auto-libm-test-out.
7943
acd98a8e
AK
79442013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7945 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7946
7947 [BZ #16214]
7948 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7949 __tls_get_addr_internal instead of __tls_get_offset in order to
7950 avoid GOT pointer dependency. Make rtld export
7951 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7952 __tls_get_addr since we are a __tls_get_offset platform.
7953 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7954 GOT pointer being set up before.
7955 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7956
3c1c46a6
JM
79572013-11-28 Joseph Myers <joseph@codesourcery.com>
7958
7475aef5
JM
7959 * manual/math.texi (Errors in Math Functions): Document accuracy
7960 goals.
7961
8bca7cd8
JM
7962 [BZ #15004]
7963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7964 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7965 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7966 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7967 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7968 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7969 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7970 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7971 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7972 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7974 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7975 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7976 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7979
91a1f3fe
JM
7980 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7981 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7982 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7983 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7984 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7985 Likewise.
7986 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7987 Likewise.
7988 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7989 Likewise.
7990 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7991 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7992 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7993 atomic-feupdateenv and flt-rounds.
7994 * sysdeps/powerpc/nofpu/Versions (libc): Add
7995 __atomic_feholdexcept, __atomic_feclearexcept,
7996 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7997 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7998 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7999 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8000 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8001 here.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8003 Update.
8004
c5df7609
JM
8005 * manual/arith.texi (FP Exceptions): Document that exceptions may
8006 not be raised when matherr is used.
8007 (Math Error Reporting): Document overflow in directed rounding
8008 modes. Document that errno may not be set when finite values are
8009 returned on overflow. Document intent to set errno on underflow
8010 only for underflow to zero.
8011
3c1c46a6
JM
8012 [BZ #16271]
8013 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8014 round-to-nearest then adjust result for other rounding modes.
8015 * include/fenv.h (fegetround): Use libm_hidden_proto.
8016 * math/fegetround.c (fegetround): Use libm_hidden_def.
8017 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8018 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8019 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8020 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8021 Likewise.
8022 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8023 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8024 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8025 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8026
5a4c6d53
SP
80272013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8028
8029 [BZ #16077]
8030 * nss/Versions (libnss_files): Add
8031 _nss_files_gethostbyname3_r.
8032 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8033 New function.
8034 (HOST_DB_LOOKUP): Remove macro.
8035 (_nss_files_gethostbyname_r): Implement function without the
8036 HOST_DB_LOOKUP macro.
8037 (_nss_files_gethostbyname2_r): Likewise.
8038
897b98ba
OB
80392013-11-28 Ondřej Bílka <neleai@seznam.cz>
8040
8041 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8042
6f476861
UB
80432013-11-26 Uros Bizjak <ubizjak@gmail.com>
8044
8045 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8046 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8047 warning.
8048
bd12ab55
AZ
80492013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8050
8051 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8052 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8053 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8054 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8055 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8056 __fe_nomask_env_priv and attribute_hidden.
8057 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8058 (libc_feupdateenv_test_ppc): Likewise.
8059 (libc_feresetround_ppc): Likewise.
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8061 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8062 compat_symbol macro.
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8064 (__fe_nomask_env): Likewise.
8065 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8066
52bb6543
OB
80672013-11-26 Ondřej Bílka <neleai@seznam.cz>
8068
8069 * string/Makefile: Remove ifunc tests.
8070 * string/test-string.h: Define TEST_IFUNC.
8071 * string/test-bcopy-ifunc.c: Remove.
8072 * string/test-bzero-ifunc.c: Likewise.
8073 * string/test-memccpy-ifunc.c: Likewise.
8074 * string/test-memchr-ifunc.c: Likewise.
8075 * string/test-memcmp-ifunc.c: Likewise.
8076 * string/test-memcpy-ifunc.c: Likewise.
8077 * string/test-memmem-ifunc.c: Likewise.
8078 * string/test-memmove-ifunc.c: Likewise.
8079 * string/test-mempcpy-ifunc.c: Likewise.
8080 * string/test-memrchr-ifunc.c: Likewise.
8081 * string/test-memset-ifunc.c: Likewise.
8082 * string/test-rawmemchr-ifunc.c: Likewise.
8083 * string/test-stpcpy-ifunc.c: Likewise.
8084 * string/test-stpncpy-ifunc.c: Likewise.
8085 * string/test-strcasecmp-ifunc.c: Likewise.
8086 * string/test-strcasestr-ifunc.c: Likewise.
8087 * string/test-strcat-ifunc.c: Likewise.
8088 * string/test-strchr-ifunc.c: Likewise.
8089 * string/test-strchrnul-ifunc.c: Likewise.
8090 * string/test-strcmp-ifunc.c: Likewise.
8091 * string/test-strcpy-ifunc.c: Likewise.
8092 * string/test-strcspn-ifunc.c: Likewise.
8093 * string/test-strlen-ifunc.c: Likewise.
8094 * string/test-strncasecmp-ifunc.c: Likewise.
8095 * string/test-strncat-ifunc.c: Likewise.
8096 * string/test-strncmp-ifunc.c: Likewise.
8097 * string/test-strncpy-ifunc.c: Likewise.
8098 * string/test-strnlen-ifunc.c: Likewise.
8099 * string/test-strpbrk-ifunc.c: Likewise.
8100 * string/test-strrchr-ifunc.c: Likewise.
8101 * string/test-strspn-ifunc.c: Likewise.
8102 * string/test-strstr-ifunc.c: Likewise.
8103
ab260039 81042013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8105
8106 * benchtests/Makefile: Remove ifunc tests.
8107 * benchtests/bench-string.h: Define TEST_IFUNC.
8108 * benchtests/bench-bcopy-ifunc.c: Remove.
8109 * benchtests/bench-bzero-ifunc.c: Likewise.
8110 * benchtests/bench-memccpy-ifunc.c: Likewise.
8111 * benchtests/bench-memchr-ifunc.c: Likewise.
8112 * benchtests/bench-memcmp-ifunc.c: Likewise.
8113 * benchtests/bench-memcpy-ifunc.c: Likewise.
8114 * benchtests/bench-memmem-ifunc.c: Likewise.
8115 * benchtests/bench-memmove-ifunc.c: Likewise.
8116 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8117 * benchtests/bench-memrchr-ifunc.c: Likewise.
8118 * benchtests/bench-memset-ifunc.c: Likewise.
8119 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8120 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8121 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8122 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8123 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8124 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8125 * benchtests/bench-strcat-ifunc.c: Likewise.
8126 * benchtests/bench-strchr-ifunc.c: Likewise.
8127 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8128 * benchtests/bench-strcmp-ifunc.c: Likewise.
8129 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8130 * benchtests/bench-strcpy-ifunc.c: Likewise.
8131 * benchtests/bench-strcspn-ifunc.c: Likewise.
8132 * benchtests/bench-strlen-ifunc.c: Likewise.
8133 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8134 * benchtests/bench-strncat-ifunc.c: Likewise.
8135 * benchtests/bench-strncmp-ifunc.c: Likewise.
8136 * benchtests/bench-strncpy-ifunc.c: Likewise.
8137 * benchtests/bench-strnlen-ifunc.c: Likewise.
8138 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8139 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8140 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8141 * benchtests/bench-strspn-ifunc.c: Likewise.
8142 * benchtests/bench-strstr-ifunc.c: Likewise.
8143
81442013-11-26 Ondřej Bílka <neleai@seznam.cz>
8145
ab260039
OB
8146 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8147
d1d9eaf4 81482013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8149
d1d9eaf4
OB
8150 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8151 * rt/aio.h: Likewise.
8152 * sysdeps/gnu/bits/utmp.h: Likewise.
8153 * sysdeps/gnu/bits/utmpx.h: Likewise.
8154 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8155 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8156 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8157 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8158 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8159 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8160 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8161 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8162 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8163 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8164 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8165 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8166 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8169 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8170 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8171 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8172 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8173 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8174 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8175 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8177 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8178 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8180 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8181 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8182 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8184 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8185 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8186 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8187 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8189 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8190 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8191 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8192 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8193 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8194 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8195 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8196
a7624ed9
CD
81972013-11-25 Carlos O'Donell <carlos@redhat.com>
8198
8199 [BZ #16245]
8200 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8201 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8202
63cfe52b
JM
82032013-11-25 Joseph Myers <joseph@codesourcery.com>
8204
8205 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8206 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8207 Likewise.
8208
41e8926a
AZ
82092013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8210
8211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8212 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8213 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8214 (__fesetround): Remove define.
8215 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8216 rounding and exceptions handling.
8217 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8218 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8219 (__fe_nomask_env): Likewise.
8220 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8221 __fegetround instead of fegetround.
8222 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8224
6851bd4d
RM
82252013-11-21 Roland McGrath <roland@hack.frob.com>
8226
070906ff
RM
8227 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8228 it's there.
8229
6851bd4d
RM
8230 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8231
84ae135d
MI
82322013-11-21 Meador Inge <meadori@codesourcery.com>
8233
8234 [BZ #11157]
8235 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8236 (encrypt_r): Likewise.
8237 * malloc/obstack.h (obstack_free): Likewise.
8238 * posix/unistd.h (encrypt): Likewise.
8239
daf75146
GM
82402013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8241
8242 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8243 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8244 DL_CALL_DT_FINI() that call the functions directly.
8245 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8246 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8247 * elf/dl-fini.c: Likewise.
8248
10ad46bc
OB
82492013-11-20 Ondřej Bílka <neleai@seznam.cz>
8250
8251 * malloc/hooks.c (memalign_check): Add alignment rounding.
8252 * malloc/malloc.c (_mid_memalign): New function.
8253 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8254 Implement by calling _mid_memalign.
8255 * manual/probes.texi (Memory Allocation Probes): Remove
8256 memory_valloc_retry and memory_pvalloc_retry.
8257
f3fd2628
SP
82582013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8259
4712799f
SP
8260 * locale/programs/locarchive.c (open_archive): Add const
8261 qualifier to ARCHIVEFNAME and copy default fname to
8262 DEFAULT_FNAME.
8263
0417b20f
SP
8264 [BZ #15601]
8265 * libio/tst-widetext.input: Rename Oriya to Odia.
8266 * locale/iso-639.def: Likewise.
8267
f3fd2628
SP
8268 * manual/probes.texi (Mathematical Function Probes): Add
8269 documentation for sin, cos, asin and acos probes.
8270 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8271 (__sin32): Add slowasin probe.
8272 (__cos32): Add slowacos probe.
8273 (__mpsin): Add slowsin probe.
8274 (__mpcos): Add slowcos probe.
8275
73c1ce4f
JM
82762013-11-19 Joseph Myers <joseph@codesourcery.com>
8277
8278 [BZ #15483]
8279 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8280 thread-local __sim_exceptions_thread and global
8281 __sim_exceptions_global.
8282 (__sim_disabled_exceptions): Change to thread-local
8283 __sim_disabled_exceptions_thread and global
8284 __sim_disabled_exceptions_global.
8285 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8286 and global __sim_round_mode_global.
8287 (__simulate_exceptions): Use thread-local floating-point state and
8288 set global state from it as needed.
8289 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8290 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8291 __sim_round_mode_thread.
8292 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8293 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8294 and global __sim_exceptions_global.
8295 (__sim_disabled_exceptions): Change to thread-local
8296 __sim_disabled_exceptions_thread and global
8297 __sim_disabled_exceptions_global.
8298 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8299 and global __sim_round_mode_global.
8300 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8301 (SIM_SET_GLOBAL): Likewise.
8302 * sysdeps/powerpc/soft-fp/sfp-machine.h
8303 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8304 __sim_round_mode_thread.
8305 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8306 __sim_disabled_exceptions_thread.
8307 (__sim_exceptions): Change to __sim_exceptions_thread.
8308 (__sim_disabled_exceptions): Change to
8309 __sim_disabled_exceptions_thread.
8310 (__sim_round_mode): Change to __sim_round_mode_thread.
8311 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8312 thread-local floating-point state and set global state from it as
8313 needed.
8314 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8315 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8316 (__sim_disabled_exceptions): Remove extern declaration.
8317 (feenableexcept): Use thread-local floating-point state and set
8318 global state from it as needed.
8319 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8320 extern declaration.
8321 (__sim_disabled_exceptions): Likewise.
8322 (__sim_round_mode): Likewise.
8323 (__fegetenv): Use thread-local floating-point state.
8324 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8325 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8326 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8327 floating-point state and set global state from it as needed.
8328 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8329 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8330 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8331 Likewise.
8332 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8333 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8334 Likewise.
8335 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8336 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8337 Use __sim_round_mode_thread.
8338 * math/test-fenv-tls.c: New file.
8339 * math/Makefile (tests): Add test-fenv-tls.
8340 ($(objpfx)test-fenv-tls): Depend on
8341 $(common-objpfx)nptl/libpthread.so.
8342
b5449b12
AS
83432013-11-19 Andreas Schwab <schwab@suse.de>
8344
8345 * locale/programs/locale.c (show_info): Decode wordarray elements.
8346 * locale/categories.def (LC_MONETARY): Add element for
8347 _NL_MONETARY_CRNCYSTR.
8348 * locale/C-monetary.c (conversion_rate): New variable.
8349 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8350 element.
8351
e186536b
CM
83522013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8353
8354 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8355 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8356
5c349950
PP
83572013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8358
8359 * elf/Makefile (tst-auxv): New test.
8360 * elf/tst-auxv.c: New
8361 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8362
699df45b
JM
83632013-11-18 Joseph Myers <joseph@codesourcery.com>
8364
8365 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8366 (hidden_proto): Caller changed.
8367 (hidden_tls_proto): New macro.
8368 (libc_hidden_tls_proto): Likewise.
8369 (rtld_hidden_tls_proto): Likewise.
8370 (libm_hidden_tls_proto): Likewise.
8371 (libresolv_hidden_tls_proto): Likewise.
8372 (librt_hidden_tls_proto): Likewise.
8373 (libdl_hidden_tls_proto): Likewise.
8374 (libnss_files_hidden_tls_proto): Likewise.
8375 (libnsl_hidden_tls_proto): Likewise.
8376 (libnss_nisplus_hidden_tls_proto): Likewise.
8377 (libutil_hidden_tls_proto): Likewise.
8378
b7589107
OB
83792013-11-18 Ondřej Bílka <neleai@seznam.cz>
8380
8381 [BZ #10253]
8382 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8383 (decompose_rpath): Defer expansion to fillin_rpath.
8384 (_dl_init_paths): Pass linkmap to fillin_rpath.
8385
250c23bd
RS
83862013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8387
8388 * benchtests/Makefile: Add strsep.
8389 * benchtests/bench-strsep.c: New file: strsep benchtest.
8390 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8391
a7931fcf
AS
83922013-11-18 Andreas Schwab <schwab@suse.de>
8393
8394 * locale/programs/locale.c (show_info) [case byte]: Check for
8395 '\377' instead of '\177'.
8396 * locale/C-monetary.c (not_available): Always use "\377".
8397 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8398 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8399 detect unavailable sign_posn locale elements.
8400 * locale/localeconv.c (__localeconv): For grouping and
8401 mon_grouping handle "\177" and "\377" like no grouping.
8402 (INT_ELEM): New macro. Use it to set all numeric members.
8403 * locale/programs/ld-monetary.c (monetary_read)
8404 <tok_mon_grouping>: Normalize single -1 to the empty string.
8405 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8406 Likewise.
8407
728dab0e
OB
84082013-11-07 Ondřej Bílka <neleai@seznam.cz>
8409
8410 [BZ #16055]
8411 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8412 when we match (nil).
8413 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8414
66294491
JM
84152013-11-16 Joseph Myers <joseph@codesourcery.com>
8416
ce665817
JM
8417 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8418 (NO_TEST_INLINE): Update value.
8419 (ERRNO_UNCHANGED): Likewise.
8420 (ERRNO_EDOM): Likewise.
8421 (ERRNO_ERANGE): Likewise.
8422 (IGNORE_RESULT): Likewise.
8423 (check_float_internal): Check signs of NaN results if
8424 TEST_NAN_SIGN used.
8425 (check_complex): Pass TEST_NAN_SIGN flag through to second
8426 check_float_internal call.
8427 (copysign_test_data): Add tests with quiet NaNs as second
8428 argument. Use TEST_NAN_SIGN.
8429 (fabs_test_data): Add test of negative quiet NaN argument. Use
8430 TEST_NAN_SIGN.
8431 (signbit_test_data): Add tests of quiet NaN argument.
8432 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8433
ee1466a9
JM
8434 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8435 $ignore_result.
8436 (parse_args): Handle function results specified as IGNORE.
8437 * math/libm-test.inc (IGNORE_RESULT): New macro.
8438 (check_float_internal): Do not check numerical result if flag
8439 IGNORE_RESULT set.
8440 (check_complex): Pass through IGNORE_RESULT to second
8441 check_float_internal call.
8442 (check_int): Do not check numerical result if flag IGNORE_RESULT
8443 set.
8444 (check_long): Likewise.
8445 (check_bool): Likewise.
8446 (check_longlong): Likewise.
8447 (lrint_test_data): Add tests of infinite and NaN arguments.
8448 (lrint_tonearest_test_data): Likewise.
8449 (lrint_towardzero_test_data): Likewise.
8450 (lrint_downward_test_data): Likewise.
8451 (lrint_upward_test_data): Likewise.
8452 (llrint_test_data): Likewise.
8453 (llrint_tonearest_test_data): Likewise.
8454 (llrint_towardzero_test_data): Likewise.
8455 (llrint_downward_test_data): Likewise.
8456 (llrint_upward_test_data): Likewise.
8457 (lround_test_data): Likewise.
8458 (llround_test_data): Likewise.
8459
14407b7e
JM
8460 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8461 (ERRNO_UNCHANGED): Update value.
8462 (ERRNO_EDOM): Likewise.
8463 (ERRNO_ERANGE): Likewise.
8464 (NO_TEST_INLINE_FLOAT): New macro.
8465 (NO_TEST_INLINE_DOUBLE): Likewise.
8466 (enable_test): New function.
8467 (RUN_TEST_f_f): Check enable_test before running test.
8468 (RUN_TEST_2_f): Likewise.
8469 (RUN_TEST_fff_f): Likewise.
8470 (RUN_TEST_c_f): Likewise.
8471 (RUN_TEST_f_f1): Likewise.
8472 (RUN_TEST_fF_f1): Likewise.
8473 (RUN_TEST_fI_f1): Likewise.
8474 (RUN_TEST_ffI_f1): Likewise.
8475 (RUN_TEST_c_c): Likewise.
8476 (RUN_TEST_cc_c): Likewise.
8477 (RUN_TEST_f_i): Likewise.
8478 (RUN_TEST_f_i_tg): Likewise.
8479 (RUN_TEST_ff_i_tg): Likewise.
8480 (RUN_TEST_f_b): Likewise.
8481 (RUN_TEST_f_b_tg): Likewise.
8482 (RUN_TEST_f_l): Likewise.
8483 (RUN_TEST_f_L): Likewise.
8484 (RUN_TEST_fFF_11): Likewise.
8485 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8486 conditionals.
8487 (cosh_test_data): Likewise.
8488 (exp_test_data): Likewise.
8489 (expm1_test_data): Likewise.
8490 (hypot_test_data): Likewise.
8491 (pow_test_data): Likewise.
8492 (sinh_test_data): Likewise.
8493 (tanh_test_data): Likewise.
8494 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8495 flags argument.
8496
ca07f197
JM
8497 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8498 tests with quiet NaN input and output.
8499 (acosh_test_data): Likewise.
8500 (asin_test_data): Likewise.
8501 (asinh_test_data): Likewise.
8502 (atan_test_data): Likewise.
8503 (atanh_test_data): Likewise.
8504 (atan2_test_data): Likewise.
8505 (cbrt_test_data): Likewise.
8506 (cos_test_data): Likewise.
8507 (cosh_test_data): Likewise.
8508 (erf_test_data): Likewise.
8509 (erfc_test_data): Likewise.
8510 (exp_test_data): Likewise.
8511 (exp10_test_data): Likewise.
8512 (exp2_test_data): Likewise.
8513 (expm1_test_data): Likewise.
8514 (hypot_test_data): Likewise.
8515 (j0_test_data): Likewise.
8516 (j1_test_data): Likewise.
8517 (jn_test_data): Likewise.
8518 (lgamma_test_data): Likewise.
8519 (log_test_data): Likewise.
8520 (log10_test_data): Likewise.
8521 (log1p_test_data): Likewise.
8522 (log2_test_data): Likewise.
8523 (pow_test_data): Likewise.
8524 (scalb_test_data): Likewise.
8525 (sin_test_data): Likewise.
8526 (sincos_test_data): Likewise.
8527 (sinh_test_data): Likewise.
8528 (tan_test_data): Likewise.
8529 (tanh_test_data): Likewise.
8530 (tgamma_test_data): Likewise.
8531 (y0_test_data): Likewise.
8532 (y1_test_data): Likewise.
8533 (yn_test_data): Likewise.
8534
66294491
JM
8535 [BZ #16167]
8536 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8537 argument being NaN and avoid computations with second argument in
8538 that case.
8539 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8540 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8541 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8542
1820b143
CL
85432013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8544
8545 * locale/iso-639.def: Add Chitwani Tharu (the).
8546
714bd261
AS
85472013-11-14 Andreas Schwab <schwab@suse.de>
8548
8549 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8550 word instead of empty string.
8551
7ab44563
AZ
85522013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8553
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8555 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8557 (__fe_nomask_env): Likewise.
8558
e8470ea2
SE
85592013-11-13 Steve Ellcey <sellcey@mips.com>
8560
8561 * benchtests/bench-timing.h: Include time.h.
8562
17c1d9f0
L
85632013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 [BZ #15997]
8566 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8567 to 3.4.0 for x32.
8568 * sysdeps/unix/sysv/linux/configure: Regenerated.
8569
9310c284
JM
85702013-11-13 Joseph Myers <joseph@codesourcery.com>
8571
8572 [BZ #16151]
8573 * stdlib/strtod_l.c (round_and_return): Do not consider
8574 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8575 exponent one less than half the least subnormal exponent.
8576 * stdlib/test-strtod-round-data: Add more tests.
8577 * stdlib/tst-strtod-round.c (tests): Regenerated.
8578
7a2ad8cf
AZ
85792013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8580
8581 [BZ #14143]
8582 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8583 (__fe_mask_env): Likewise.
8584 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8585 libm_hidden_proto and add function prototype.
8586 (__fe_mask_env): Add function prototype.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8588 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8590 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8592 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8593
50727aa7
MS
85942013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8595
b2f386c1 8596 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8597 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8598
a615be46
MS
85992013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8600
8601 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8602 of htab_find_slot().
8603
7ddace62
DM
86042013-11-11 David S. Miller <davem@davemloft.net>
8605
8606 [BZ #16150]
8607 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8608 symbol in the non-vis3 case in static builds.
8609 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8610 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8611 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8612 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8613
9182aa67
JK
86142013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8615
8616 [BZ #387]
8617 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8618 it is empty.
8619
450a2e2d
AZ
86202013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8621
b2f386c1
SP
8622 * benchtests/Makefile: Add bench-strtod.
8623 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8624
8ec3f656
AS
86252013-11-11 Andreas Schwab <schwab@suse.de>
8626
8627 [BZ #16153]
8628 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8629 terminating NUL in key length.
8630
76a9b998
AZ
86312013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8632
8633 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8634 Add artificial ODP entry for vDSO symbol for PPC64.
8635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8636 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8637
e4368156
OB
86382013-11-07 Ondřej Bílka <neleai@seznam.cz>
8639
8640 [BZ #15374]
8641 * nss/getent.c (services_keys): Recognize services starting with digit.
8642
8d6bb57c
DM
86432013-11-06 David S. Miller <davem@davemloft.net>
8644
8645 [BZ #15985]
8646 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8647 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8648
e256c421
WN
86492013-11-06 Will Newton <will.newton@linaro.org>
8650
8651 * manual/memory.texi (Malloc Examples): Remove register
8652 keyword from examples.
8653
f6e12daa 86542013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8655
f6e12daa 8656 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8657
9d880655
AS
86582013-11-04 Joseph Myers <joseph@codesourcery.com>
8659
fd2f9486 8660 [BZ #6981]
9d880655
AS
8661 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8662 depending on [__GCC_IEC_559 > 0].
8663 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8664 depending on [__GCC_IEC_559_COMPLEX > 0].
8665
ae129d3c
CL
86662013-11-03 Chris Leonard <cjl@sugarlabs.org>
8667
8668 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8669 to iso-639.def.
8670
4a15c2a4 86712013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8672
8673 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8674
8b35e35d
OB
86752013-11-01 Ondřej Bílka <neleai@seznam.cz>
8676
8677 [BZ #16112]
8678 * malloc/malloc (malloc_info): Do not handle first bin as
8679 special case.
8680
1d70fd6c
CL
86812013-11-01 Chris Leonard <cjl@sugarlabs.org>
8682
8683 * locale/iso-639.def: Add Central Nahuatl (nhn).
8684
8c5c2600
BH
86852013-11-01 Bruno Haible <bruno@clisp.org>
8686
8687 [BZ #7003]
8688 * manual/math.texi (BSD Random): Specify range upper bound as
8689 in POSIX.
8690
da5579c2
CL
86912013-10-31 Chris Leonard <cjl@sugarlabs.org>
8692
8693 * locale/iso-639.def: Add Meadow Mari (mhr).
8694
5d30d853
OB
86952013-10-31 Ondřej Bílka <neleai@seznam.cz>
8696
8697 [BZ #14752], [BZ #15763]
8698 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8699 Validate name.
8700 * rt/tst_shm.c: Add test for escaping directory.
8701
a4966c61
AS
87022013-10-31 Andreas Schwab <schwab@suse.de>
8703
8a43e768 8704 [BZ #15917]
a4966c61
AS
8705 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8706 followed by 'x' as part of digit sequence.
8707 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8708
28d708c4
MAP
87092013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8710
8711 [BZ #16037]
8712 * configure.ac: allow GNU Make 4.0 and greater.
8713 * configure: Regenerated.
8714
a56ee40b
WN
87152013-10-30 Will Newton <will.newton@linaro.org>
8716
8717 [BZ #16038]
8718 * malloc/hooks.c (memalign_check): Limit alignment to the
8719 maximum representable power of two.
8720 * malloc/malloc.c (__libc_memalign): Likewise.
8721 * malloc/tst-memalign.c (do_test): Add test for very
8722 large alignment values.
8723 * malloc/tst-posix_memalign.c (do_test): Likewise.
8724
c6e4925d
OB
87252013-10-30 Ondřej Bílka <neleai@seznam.cz>
8726
8727 [BZ #11087]
8728 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8729 (munmap_chunk): Likewise.
8730 (mremap_chunk): Likewise.
8731
87322013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8733
8a43e768 8734 [BZ #15799]
bbea82f7
OB
8735 * stdlib/div.c (div): Remove obsolete code.
8736 * stdlib/ldiv.c (ldiv): Likewise.
8737 * stdlib/lldiv.c (lldiv): Likewise.
8738
977f4b31
SP
87392013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8740
8741 [BZ #16071]
8742 * nss/nss_files/files-XXX.c (get_contents_ret): New
8743 enumerator.
8744 (get_contents): New function.
8745 (internal_getent): Use it. Expand size of LINEBUFLEN.
8746
cb8a6dbd
MF
87472013-10-30 Mike Frysinger <vapier@gentoo.org>
8748
8749 * configure.in: Moved to ...
8750 * configure.ac: ... here. Change reference to configure.in
8751 to configure.ac.
8752 * sysdeps/arm/preconfigure.ac: ... here.
8753 configure.in to configure.ac.
8754 * sysdeps/gnu/configure.in: Moved to ...
8755 * sysdeps/gnu/configure.ac: ... here.
8756 * sysdeps/i386/configure.in: Moved to ...
8757 * sysdeps/i386/configure.ac: ... here.
8758 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8759 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8760 * sysdeps/mach/configure.in: Moved to ...
8761 * sysdeps/mach/configure.ac: ... here.
8762 * sysdeps/mach/hurd/configure.in: Moved to ...
8763 * sysdeps/mach/hurd/configure.ac: ... here.
8764 * sysdeps/powerpc/configure.in: Moved to ...
8765 * sysdeps/powerpc/configure.ac: ... here.
8766 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8767 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8768 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8769 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8770 * sysdeps/s390/s390-32/configure.in: Moved to ...
8771 * sysdeps/s390/s390-32/configure.ac: ... here.
8772 * sysdeps/s390/s390-64/configure.in: Moved to ...
8773 * sysdeps/s390/s390-64/configure.ac: ... here.
8774 * sysdeps/sh/configure.in: Moved to ...
8775 * sysdeps/sh/configure.ac: ... here.
8776 * sysdeps/sparc/configure.in: Moved to ...
8777 * sysdeps/sparc/configure.ac: ... here.
8778 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8779 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8780 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8781 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8782 * sysdeps/x86_64/configure.in: Moved to ...
8783 * sysdeps/x86_64/configure.ac: ... here.
8784 * sysdeps/x86_64/preconfigure.in: Moved to ...
8785 * sysdeps/x86_64/preconfigure.ac: ... here.
8786 * aclocal.m4: Change reference to configure.in to configure.ac.
8787 * config.h.in: Likewise.
8788 * manual/install.texi: Likewise.
8789 * manual/maint.texi: Likewise.
8790 * Makefile: Likewise.
8791 * malloc/Makefile: Likewise.
8792 * nscd/Makefile: Likewise.
8793 * Makeconfig: Change reference to configure.in and
8794 preconfigure.in to configure.ac and preconfigure.ac
8795 respectively.
8796 * INSTALL: Regenerated.
8797 * configure: Likewise.
8798 * sysdeps/gnu/configure: Likewise.
8799 * sysdeps/i386/configure: Likewise.
8800 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8801 * sysdeps/mach/configure: Likewise.
8802 * sysdeps/mach/hurd/configure: Likewise.
8803 * sysdeps/powerpc/configure: Likewise.
8804 * sysdeps/powerpc/powerpc32/configure: Likewise.
8805 * sysdeps/powerpc/powerpc64/configure: Likewise.
8806 * sysdeps/s390/s390-32/configure: Likewise.
8807 * sysdeps/s390/s390-64/configure: Likewise.
8808 * sysdeps/sh/configure: Likewise.
8809 * sysdeps/sparc/configure: Likewise.
8810 * sysdeps/unix/sysv/linux/configure: Likewise.
8811 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8812 * sysdeps/x86_64/configure: Likewise.
8813 * sysdeps/x86_64/preconfigure: Likewise.
8814
36a4953a
AS
88152013-10-29 Andreas Schwab <schwab@suse.de>
8816
8817 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8818
c79a1204
SP
88192013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8820
dfa1b402
SP
8821 * benchtests/pow-inputs: Add new inputs.
8822
54f73d9c
SP
8823 * benchtests/exp-inputs: Add new inputs.
8824
c79a1204
SP
8825 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8826 conditional check for return value.
8827 (__cos32): Likewise.
8828
67beb545 88292013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8830
8831 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8832 to provide a boost for large inputs with word alignment.
8833 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8834 implementation based on optimized PPC64 strcpy.
8835 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8836 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8837 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8838 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8839
151659f6
OB
88402013-10-25 Ondřej Bílka <neleai@seznam.cz>
8841
482a077e 8842 [BZ #2801]
151659f6
OB
8843 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8844
10b0f26b
OB
88452013-10-25 Ondřej Bílka <neleai@seznam.cz>
8846
8847 [BZ #14876]
8848 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8849 * time/tst-strptime.c (day_tests): Add testcase.
8850
ca42d35e
OB
88512013-10-25 Ondřej Bílka <neleai@seznam.cz>
8852
482a077e 8853 [BZ #14029]
ca42d35e
OB
8854 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8855
52e6d801
FB
88562013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8857
8858 [BZ #16074]
8859 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8860 MAP_FAILED on error.
8861
7cbcdb36
SP
88622013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8863
8864 [BZ #16072]
8865 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8866 heap for large requests.
8867
894f3f10
AM
88682013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8869
8870 [BZ #9954]
8871 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8872 result if the result has no associated interface.
8873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8874 interface for all 127.X.Y.Z addresses.
8875
b85545a6
CL
88762013-10-24 Chris Leonard <cjl@sugarlabs.org>
8877
8878 * locale/iso-639.def: Add Ligurian (lij)
8879
d1f23d46
OB
88802013-10-21 Ondřej Bílka <neleai@seznam.cz>
8881
8882 [BZ #15825]
8883 * sunrpc/rpc_main.c: Document rpcgen -5.
8884
4db5b08f
MS
88852013-10-19 Michael Stahl <mstahl@redhat.com>
8886
8887 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8888
a471e96a
OB
88892013-10-19 Ondřej Bílka <neleai@seznam.cz>
8890
d1f23d46 8891 [BZ #10278]
a471e96a
OB
8892 * posix/glob.c: Match only directories when trailing slash is present.
8893 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8894 (main): Add testcase.
8895
45c30c61
OB
88962013-10-19 Ondřej Bílka <neleai@seznam.cz>
8897
8898 [BZ #15670]
8899 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8900
484c12fb
CD
89012013-10-18 Carlos O'Donell <carlos@redhat.com>
8902
3d7dc513
CD
8903 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8904 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8905 AUTH_DES and cindex for FIPS 140-2.
8906 (DES Encryption): Add cindex FIPS 46-3.
8907
484c12fb
CD
8908 * locale/locarchive.h (struct locarhandle): Add fname.
8909 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8910 if an optional argument was specified to --list-archive,
8911 otherwise NULL.
8912 * locale/programs/locarchive.c (show_archive_content): Take new
8913 argument fname and pass it via ah.fname to open_archive.
8914 * locale/programs/localedef.h: Update decl.
8915 (open_archive): If AH->fname is non-null, open that file
8916 rather than the default file name, and don't ignore ENOENT.
8917 (create_archive): Set AH.fname to NULL.
8918 (delete_locales_from_archive): Likewise.
8919 (add_locales_to_archive): Likewise.
8920 * locale/programs/locfile.c (write_all_categories): Likewise.
8921
3c8325fb
JM
89222013-10-18 Joseph Myers <joseph@codesourcery.com>
8923 Aldy Hernandez <aldyh@redhat.com>
8924
8925 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8926 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8927 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8928 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8929 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8930 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8931 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8932 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8933 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8934 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8935 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8936 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8937 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8938 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8939 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8940 Likewise.
8941 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8942 Likewise.
8943 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8944 Likewise.
8945 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8946 Likewise.
8947 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8948 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8949 Likewise.
8950 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8951 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8952 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8953 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8954 Likewise.
8955 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8956 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8957 * sysdeps/powerpc/preconfigure: Likewise.
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8959 Likewise.
8960 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8961 Replace contents of file by #include of <fenv_libc.h>.
8962 * sysdeps/powerpc/soft-fp/sfp-machine.h
8963 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8964 and <sys/prctl.h>.
8965 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8966 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8967 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8978 Allow copysignl PLT reference to be missing.
8979
5abe0682
RS
89802013-10-18 Richard Sandiford <richard@codesourcery.com>
8981 Joseph Myers <joseph@codesourcery.com
8982
8983 [BZ #15948]
8984 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8985 single character.
8986 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8987
c7738d08
SP
89882013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8989
8990 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8991 * elf/tst-tls1.c: Likewise.
8992 * elf/tst-tls10.h: Likewise.
8993 * elf/tst-tls14.c: Likewise.
8994 * elf/tst-tls2.c: Likewise.
8995 * elf/tst-tls3.c: Likewise.
8996 * elf/tst-tls4.c: Likewise.
8997 * elf/tst-tls5.c: Likewise.
8998 * elf/tst-tls6.c: Likewise.
8999 * elf/tst-tls7.c: Likewise.
9000 * elf/tst-tls8.c: Likewise.
9001 * elf/tst-tls9.c: Likewise.
9002 * elf/tst-tlsmod1.c: Likewise.
9003 * elf/tst-tlsmod13.c: Likewise.
9004 * elf/tst-tlsmod13a.c: Likewise.
9005 * elf/tst-tlsmod14a.c: Likewise.
9006 * elf/tst-tlsmod16a.c: Likewise.
9007 * elf/tst-tlsmod16b.c: Likewise.
9008 * elf/tst-tlsmod2.c: Likewise.
9009 * elf/tst-tlsmod3.c: Likewise.
9010 * elf/tst-tlsmod4.c: Likewise.
9011 * elf/tst-tlsmod5.c: Likewise.
9012 * elf/tst-tlsmod6.c: Likewise.
9013
0bfcf2c7
OB
90142013-10-18 Ondřej Bílka <neleai@seznam.cz>
9015
9016 [BZ #12486]
9017 * malloc/malloc.c: remove checks for statistics.
9018
264aad1e
OB
90192013-10-17 Ondřej Bílka <neleai@seznam.cz>
9020
9021 [BZ #15277]
9022 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9023 * inet/tst-network.c: Add testcase.
9024
b957ced8
AS
90252013-10-17 Andreas Schwab <schwab@suse.de>
9026
9027 [BZ #15218]
9028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9029 to determine canonical name.
9030
c5d5d574
OB
90312013-10-17 Ondřej Bílka <neleai@seznam.cz>
9032
9033 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9034 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9057 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9063 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9091
e5c2c2d0
JM
90922013-10-17 Joseph Myers <joseph@codesourcery.com>
9093
9094 [BZ #16041]
9095 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9096 make result into a quiet NaN.
9097
51ca9e29
JM
90982013-10-16 Joseph Myers <joseph@codesourcery.com>
9099
9100 * soft-fp/adddf3.c: Fix horizontal whitespace.
9101 * soft-fp/addsf3.c: Likewise.
9102 * soft-fp/addtf3.c: Likewise.
9103 * soft-fp/divdf3.c: Likewise.
9104 * soft-fp/divsf3.c: Likewise.
9105 * soft-fp/divtf3.c: Likewise.
9106 * soft-fp/double.h: Likewise.
9107 * soft-fp/eqdf2.c: Likewise.
9108 * soft-fp/eqsf2.c: Likewise.
9109 * soft-fp/eqtf2.c: Likewise.
9110 * soft-fp/extenddftf2.c: Likewise.
9111 * soft-fp/extended.h: Likewise.
9112 * soft-fp/extendsfdf2.c: Likewise.
9113 * soft-fp/extendsftf2.c: Likewise.
9114 * soft-fp/extendxftf2.c: Likewise.
9115 * soft-fp/fixdfdi.c: Likewise.
9116 * soft-fp/fixdfsi.c: Likewise.
9117 * soft-fp/fixdfti.c: Likewise.
9118 * soft-fp/fixsfdi.c: Likewise.
9119 * soft-fp/fixsfsi.c: Likewise.
9120 * soft-fp/fixsfti.c: Likewise.
9121 * soft-fp/fixtfdi.c: Likewise.
9122 * soft-fp/fixtfsi.c: Likewise.
9123 * soft-fp/fixtfti.c: Likewise.
9124 * soft-fp/fixunsdfdi.c: Likewise.
9125 * soft-fp/fixunsdfsi.c: Likewise.
9126 * soft-fp/fixunsdfti.c: Likewise.
9127 * soft-fp/fixunssfdi.c: Likewise.
9128 * soft-fp/fixunssfsi.c: Likewise.
9129 * soft-fp/fixunssfti.c: Likewise.
9130 * soft-fp/fixunstfdi.c: Likewise.
9131 * soft-fp/fixunstfsi.c: Likewise.
9132 * soft-fp/fixunstfti.c: Likewise.
9133 * soft-fp/floatdidf.c: Likewise.
9134 * soft-fp/floatdisf.c: Likewise.
9135 * soft-fp/floatditf.c: Likewise.
9136 * soft-fp/floatsidf.c: Likewise.
9137 * soft-fp/floatsisf.c: Likewise.
9138 * soft-fp/floatsitf.c: Likewise.
9139 * soft-fp/floattidf.c: Likewise.
9140 * soft-fp/floattisf.c: Likewise.
9141 * soft-fp/floattitf.c: Likewise.
9142 * soft-fp/floatundidf.c: Likewise.
9143 * soft-fp/floatundisf.c: Likewise.
9144 * soft-fp/floatunditf.c: Likewise.
9145 * soft-fp/floatunsidf.c: Likewise.
9146 * soft-fp/floatunsisf.c: Likewise.
9147 * soft-fp/floatunsitf.c: Likewise.
9148 * soft-fp/floatuntidf.c: Likewise.
9149 * soft-fp/floatuntisf.c: Likewise.
9150 * soft-fp/floatuntitf.c: Likewise.
9151 * soft-fp/fmadf4.c: Likewise.
9152 * soft-fp/fmasf4.c: Likewise.
9153 * soft-fp/fmatf4.c: Likewise.
9154 * soft-fp/gedf2.c: Likewise.
9155 * soft-fp/gesf2.c: Likewise.
9156 * soft-fp/getf2.c: Likewise.
9157 * soft-fp/ledf2.c: Likewise.
9158 * soft-fp/lesf2.c: Likewise.
9159 * soft-fp/letf2.c: Likewise.
9160 * soft-fp/muldf3.c: Likewise.
9161 * soft-fp/mulsf3.c: Likewise.
9162 * soft-fp/multf3.c: Likewise.
9163 * soft-fp/negdf2.c: Likewise.
9164 * soft-fp/negsf2.c: Likewise.
9165 * soft-fp/negtf2.c: Likewise.
9166 * soft-fp/op-1.h: Likewise.
9167 * soft-fp/op-2.h: Likewise.
9168 * soft-fp/op-4.h: Likewise.
9169 * soft-fp/op-8.h: Likewise.
9170 * soft-fp/op-common.h: Likewise.
9171 * soft-fp/quad.h: Likewise.
9172 * soft-fp/single.h: Likewise.
9173 * soft-fp/soft-fp.h: Likewise.
9174 * soft-fp/sqrtdf2.c: Likewise.
9175 * soft-fp/sqrtsf2.c: Likewise.
9176 * soft-fp/sqrttf2.c: Likewise.
9177 * soft-fp/subdf3.c: Likewise.
9178 * soft-fp/subsf3.c: Likewise.
9179 * soft-fp/subtf3.c: Likewise.
9180 * soft-fp/truncdfsf2.c: Likewise.
9181 * soft-fp/trunctfdf2.c: Likewise.
9182 * soft-fp/trunctfsf2.c: Likewise.
9183 * soft-fp/trunctfxf2.c: Likewise.
9184 * soft-fp/unorddf2.c: Likewise.
9185 * soft-fp/unordsf2.c: Likewise.
9186 * soft-fp/unordtf2.c: Likewise.
9187
9ebb0332
JM
91882013-10-15 Joseph Myers <joseph@codesourcery.com>
9189
9190 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9191 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9192
4b1a6d8b
OB
91932013-10-15 Ondřej Bílka <neleai@seznam.cz>
9194
9195 * elf/dl-libc.c: Clear initfini list after freeing.
9196
1e145589
JM
91972013-10-14 Joseph Myers <joseph@codesourcery.com>
9198
9199 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9200 * soft-fp/addsf3.c: Likewise.
9201 * soft-fp/addtf3.c: Likewise.
9202 * soft-fp/divdf3.c: Likewise.
9203 * soft-fp/divsf3.c: Likewise.
9204 * soft-fp/divtf3.c: Likewise.
9205 * soft-fp/double.h: Likewise.
9206 * soft-fp/eqdf2.c: Likewise.
9207 * soft-fp/eqsf2.c: Likewise.
9208 * soft-fp/eqtf2.c: Likewise.
9209 * soft-fp/extenddftf2.c: Likewise.
9210 * soft-fp/extended.h: Likewise.
9211 * soft-fp/extendsfdf2.c: Likewise.
9212 * soft-fp/extendsftf2.c: Likewise.
9213 * soft-fp/extendxftf2.c: Likewise.
9214 * soft-fp/fixdfdi.c: Likewise.
9215 * soft-fp/fixdfsi.c: Likewise.
9216 * soft-fp/fixdfti.c: Likewise.
9217 * soft-fp/fixsfdi.c: Likewise.
9218 * soft-fp/fixsfsi.c: Likewise.
9219 * soft-fp/fixsfti.c: Likewise.
9220 * soft-fp/fixtfdi.c: Likewise.
9221 * soft-fp/fixtfsi.c: Likewise.
9222 * soft-fp/fixtfti.c: Likewise.
9223 * soft-fp/fixunsdfdi.c: Likewise.
9224 * soft-fp/fixunsdfsi.c: Likewise.
9225 * soft-fp/fixunsdfti.c: Likewise.
9226 * soft-fp/fixunssfdi.c: Likewise.
9227 * soft-fp/fixunssfsi.c: Likewise.
9228 * soft-fp/fixunssfti.c: Likewise.
9229 * soft-fp/fixunstfdi.c: Likewise.
9230 * soft-fp/fixunstfsi.c: Likewise.
9231 * soft-fp/fixunstfti.c: Likewise.
9232 * soft-fp/floatdidf.c: Likewise.
9233 * soft-fp/floatdisf.c: Likewise.
9234 * soft-fp/floatditf.c: Likewise.
9235 * soft-fp/floatsidf.c: Likewise.
9236 * soft-fp/floatsisf.c: Likewise.
9237 * soft-fp/floatsitf.c: Likewise.
9238 * soft-fp/floattidf.c: Likewise.
9239 * soft-fp/floattisf.c: Likewise.
9240 * soft-fp/floattitf.c: Likewise.
9241 * soft-fp/floatundidf.c: Likewise.
9242 * soft-fp/floatundisf.c: Likewise.
9243 * soft-fp/floatunsidf.c: Likewise.
9244 * soft-fp/floatunsisf.c: Likewise.
9245 * soft-fp/floatuntidf.c: Likewise.
9246 * soft-fp/floatuntisf.c: Likewise.
9247 * soft-fp/floatuntitf.c: Likewise.
9248 * soft-fp/fmadf4.c: Likewise.
9249 * soft-fp/fmasf4.c: Likewise.
9250 * soft-fp/fmatf4.c: Likewise.
9251 * soft-fp/gedf2.c: Likewise.
9252 * soft-fp/gesf2.c: Likewise.
9253 * soft-fp/getf2.c: Likewise.
9254 * soft-fp/ledf2.c: Likewise.
9255 * soft-fp/lesf2.c: Likewise.
9256 * soft-fp/letf2.c: Likewise.
9257 * soft-fp/muldf3.c: Likewise.
9258 * soft-fp/mulsf3.c: Likewise.
9259 * soft-fp/multf3.c: Likewise.
9260 * soft-fp/negdf2.c: Likewise.
9261 * soft-fp/negsf2.c: Likewise.
9262 * soft-fp/negtf2.c: Likewise.
9263 * soft-fp/op-1.h: Likewise.
9264 * soft-fp/op-2.h: Likewise.
9265 * soft-fp/op-4.h: Likewise.
9266 * soft-fp/op-8.h: Likewise.
9267 * soft-fp/op-common.h: Likewise.
9268 * soft-fp/quad.h: Likewise.
9269 * soft-fp/single.h: Likewise.
9270 * soft-fp/soft-fp.h: Likewise.
9271 * soft-fp/sqrtdf2.c: Likewise.
9272 * soft-fp/sqrtsf2.c: Likewise.
9273 * soft-fp/sqrttf2.c: Likewise.
9274 * soft-fp/subdf3.c: Likewise.
9275 * soft-fp/subsf3.c: Likewise.
9276 * soft-fp/subtf3.c: Likewise.
9277 * soft-fp/truncdfsf2.c: Likewise.
9278 * soft-fp/trunctfdf2.c: Likewise.
9279 * soft-fp/trunctfsf2.c: Likewise.
9280 * soft-fp/trunctfxf2.c: Likewise.
9281 * soft-fp/unorddf2.c: Likewise.
9282 * soft-fp/unordsf2.c: Likewise.
9283 * soft-fp/unordtf2.c: Likewise.
9284
17c48a60
OB
92852013-10-14 Ondřej Bílka <neleai@seznam.cz>
9286
9287 [BZ #15672]
9288 * misc/error.c (error_tail): Fix possible buffer overflow.
9289
cabba934
OB
92902013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9291
9292 [BZ #13028]
9293 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9294 address.
9295
94bf958a
PM
92962013-10-14 P. J. McDermott <pj@pehjota.net>
9297
9298 [BZ #832]
9299 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9300 testing pipefail option.
9301
71b4dea7
JM
93022013-10-12 Joseph Myers <joseph@codesourcery.com>
9303
9304 * soft-fp/double.h: Indent preprocessor directives inside #if.
9305 * soft-fp/extended.h: Likewise.
9306 * soft-fp/op-2.h: Likewise.
9307 * soft-fp/op-4.h: Likewise.
9308 * soft-fp/op-common.h: Likewise.
9309 * soft-fp/quad.h: Likewise.
9310 * soft-fp/single.h: Likewise.
9311 * soft-fp/soft-fp.h: Likewise.
9312
55602758
YC
93132013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9314
9315 * iconv/iconv_prog.c: Fix typos.
9316 * stdio-common/psiginfo-data.h: Likewise.
9317
9cd83302
RT
93182013-10-12 Reuben Thomas <rrt@sc3d.org>
9319
9320 [BZ #15764]
9321 * locale/setlocale.c: Fix typo.
9322
99fd9f47
JM
93232013-10-12 Joseph Myers <joseph@codesourcery.com>
9324
b7ea74f0
JM
9325 [BZ #16036]
9326 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9327 signaling NaN arguments.
9328 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9329 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9330
8a509447
JM
9331 [BZ #14910]
9332 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9333 unordered operands.
9334 * soft-fp/gesf2.c (__gesf2): Likewise.
9335 * soft-fp/getf2.c (__getf2): Likewise.
9336 * soft-fp/ledf2.c (__ledf2): Likewise.
9337 * soft-fp/lesf2.c (__lesf2): Likewise.
9338 * soft-fp/letf2.c (__letf2): Likewise.
9339
98998e9f
JM
9340 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9341 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9342 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9343 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9344 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9345 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9346 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9347 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9348 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9349 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9350 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9351 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9352 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9353 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9354 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9355 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9356 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9357 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9358 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9359 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9360 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9361 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9362 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9363 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9364 * soft-fp/floattidf.c (__floattidf): Likewise.
9365 * soft-fp/floattisf.c (__floattisf): Likewise.
9366 * soft-fp/floattitf.c (__floattitf): Likewise.
9367 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9368 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9369 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9370 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9371 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9372 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9373 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
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
8edc4a11
JM
9380 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9381 Undefine and redefine.
9382 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9383 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9384 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9385 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9386 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9387 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9388 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9389 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9390 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9391 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9392 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9393 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9394 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9395 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9396 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9397
8399acaf
JM
9398 [BZ #16032]
9399 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9400 without decrementing exponent if mantissa >= that for the
9401 denominator, not >.
9402 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9403 denominator, not >. Decrement exponent in < case instead of
9404 incrementing in >= case.
9405 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9406 without decrementing exponent if mantissa >= that for the
9407 denominator, not >.
9408
99fd9f47
JM
9409 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9410 computing saturated result for unsigned overflow.
9411
10e1cf6b
SP
94122013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9413 Jeff Law <law@redhat.com>
9414
9415 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9416 (atan2Mp): Add systemtap probe marker.
9417 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9418 (__ieee754_log): Add systemtap probe marker.
9419 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9420 (atanMp): Add systemtap probe marker.
9421 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9422 (tanMp): Add systemtap probe marker.
9423 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9424 (__slowexp): Add systemtap probe marker.
9425 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9426 (__slowpow): Add systemtap probe marker.
9427 * manual/probes.texi: Document probes.
9428
3d110c7c
EB
94292013-10-11 Eric Biggers <ebiggers3@gmail.com>
9430
9431 [BZ #15362]
9432 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9433 written.
9434 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9435 written.
9436 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9437 written to buffer but not flushed.
9438 * libio/iofwrite_u.c: Likewise.
9439 * libio/iopadn.c: Return bytes returned even if EOF was
9440 encountered.
9441 * libio/iowpadn.c: Likewise.
9442 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9443 if _IO_padn does not write the whole buffer.
9444 [!COMPILE_WPRINTF] (PAD): Likewise.
9445
75b4202a
DM
94462013-10-10 David S. Miller <davem@davemloft.net>
9447
9448 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9449 directory block.
9450
6c6352e6
JM
94512013-10-10 Joseph Myers <joseph@codesourcery.com>
9452
33b853c3
JM
9453 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9454 instead of FSF address.
9455 * soft-fp/fixdfti.c: Likewise.
9456 * soft-fp/fixsfti.c: Likewise.
9457 * soft-fp/fixtfti.c: Likewise.
9458 * soft-fp/fixunsdfti.c: Likewise.
9459 * soft-fp/fixunssfti.c: Likewise.
9460 * soft-fp/fixunstfti.c: Likewise.
9461 * soft-fp/floattidf.c: Likewise.
9462 * soft-fp/floattisf.c: Likewise.
9463 * soft-fp/floattitf.c: Likewise.
9464 * soft-fp/floatuntidf.c: Likewise.
9465 * soft-fp/floatuntisf.c: Likewise.
9466 * soft-fp/floatuntitf.c: Likewise.
9467 * soft-fp/trunctfxf2.c: Likewise.
9468
6c6352e6
JM
9469 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9470 * soft-fp/fixdfti.c: Likewise.
9471 * soft-fp/fixsfti.c: Likewise.
9472 * soft-fp/fixtfti.c: Likewise.
9473 * soft-fp/fixunsdfti.c: Likewise.
9474 * soft-fp/fixunssfti.c: Likewise.
9475 * soft-fp/fixunstfti.c: Likewise.
9476 * soft-fp/floattidf.c: Likewise.
9477 * soft-fp/floattisf.c: Likewise.
9478 * soft-fp/floattitf.c: Likewise.
9479 * soft-fp/floatuntidf.c: Likewise.
9480 * soft-fp/floatuntisf.c: Likewise.
9481 * soft-fp/floatuntitf.c: Likewise.
9482 * soft-fp/trunctfxf2.c: Likewise.
9483
3bf78b71
DM
94842013-10-10 David S. Miller <davem@davemloft.net>
9485
9486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9487
6f10289e
JM
94882013-10-10 Joseph Myers <joseph@codsourcery.com>
9489
bd878fc0
JM
9490 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9491 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9492 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9493 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9494 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9495 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9496 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9497
6f10289e
JM
9498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9499 for NaNs before doing comparisons on argument.
9500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9501 Likewise.
9502
321e2684
WN
95032013-10-10 Will Newton <will.newton@linaro.org>
9504
9505 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9506 passed to _int_memalign does not overflow.
9507
40fefba1
TR
95082013-10-10 Torvald Riegel <triegel@redhat.com>
9509
9510 * scripts/bench.pl: Add include-sources directive.
9511 * benchtests/README: Update documentation.
9512
2ae21ed2
JM
95132013-10-10 Joseph Myers <joseph@codesourcery.com>
9514
dcc2dd3f
JM
9515 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9516 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9517 instead of FP_INIT_ROUNDMODE.
9518 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9519 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9520
2ae21ed2
JM
9521 [BZ #16034]
9522 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9523 copy class of input value.
9524 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9525 not handle exceptions.
9526 * soft-fp/negsf2.c (__negsf2): Likewise.
9527 * soft-fp/negtf2.c (__negtf2): Likewise.
9528 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9529
cb8f9562
JM
95302013-10-09 Joseph Myers <joseph@codesourcery.com>
9531
9532 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9533 semicolon. From Linux kernel.
9534
5b60c59d
AB
95352013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9536
9537 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9538
b86835ca
YC
95392013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9540
9541 [BZ #156]
9542 * manual/socket.texi: Added statement about buffer
9543 for gethostbyname2_r.
9544
e7044ea7
OB
95452013-10-08 Ondřej Bílka <neleai@seznam.cz>
9546
9547 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9548 Use .p2align directive instead, throughout.
9549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9550 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9551 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9554 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9555 * sysdeps/x86_64/strchr.S: Likewise.
9556 * sysdeps/x86_64/strrchr.S: Likewise.
9557
09544cbc
SP
95582013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9559
88576635
SP
9560 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9561
e7b2d1dd
SP
9562 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9563
09544cbc
SP
9564 * sysdeps/generic/math_private.h (__mpsin1): Remove
9565 declaration.
9566 (__mpcos1): Likewise.
9567 (__mpsin): New argument __range_reduce.
9568 (__mpcos): Likewise.
9569 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9570 (slow): Use __mpsin and __mpcos.
9571 (slow1): Likewise.
9572 (slow2): Likewise.
9573 (sloww): Likewise.
9574 (sloww1): Likewise.
9575 (sloww2): Likewise.
9576 (bsloww): Likewise.
9577 (bsloww1): Likewise.
9578 (bsloww2): Likewise.
9579 (cslow2): Likewise.
9580 (csloww): Likewise.
9581 (csloww1): Likewise.
9582 (csloww2): Likewise.
9583 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9584 range_reduce. Merge in __mpsin1.
9585 (__mpcos): Likewise.
9586 (__mpsin1): Remove.
9587 (__mpcos1): Likewise.
9588
7602d070
JM
95892013-10-07 Joseph Myers <joseph@codesourcery.com>
9590
9591 * locale/loadlocale.c (_nl_intern_locale_data): Use
9592 LOCFILE_ALIGNED_P.
9593 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9594 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9595 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9596 obstack data is appropriately aligned.
9597 (obstack_int32_grow_fast): Likewise.
9598 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9599 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9600 (add_locale_uint32_array): Likewise.
9601
a357259b
SP
96022013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9603
9604 * benchtests/Makefile: Remove ARGLIST and RET variables.
9605 ($(objpfx)bench-%.c): Pass only function name to the script.
9606 * benchtests/README: Update documentation.
9607 * benchtests/acos-inputs: Add new directives.
9608 * benchtests/acosh-inputs: Likewise.
9609 * benchtests/asin-inputs: Likewise.
9610 * benchtests/asinh-inputs: Likewise.
9611 * benchtests/atan-inputs: Likewise.
9612 * benchtests/atanh-inputs: Likewise.
9613 * benchtests/cos-inputs: Likewise.
9614 * benchtests/cosh-inputs: Likewise.
9615 * benchtests/exp-inputs: Likewise.
9616 * benchtests/log-inputs: Likewise.
9617 * benchtests/pow-inputs: Likewise.
9618 * benchtests/rint-inputs: Likewise.
9619 * benchtests/sin-inputs: Likewise.
9620 * benchtests/sinh-inputs: Likewise.
9621 * benchtests/tan-inputs: Likewise.
9622 * benchtests/tanh-inputs: Likewise.
9623 * scripts/bench.pl: Add support for new directives.
9624
9ec1b13d
AM
96252013-10-07 Alan Modra <amodra@gmail.com>
9626
9627 * README: Fix careless merge.
9628
8b7d57cd
AM
96292013-10-05 Alan Modra <amodra@gmail.com>
9630
9631 * NEWS: Mention powerpc64le support and bugs fixed.
9632 * README: Both big-endian and little-endian powerpc64 supported.
9633
7b7bab13
ST
96342013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9635
57f41c40
AS
9636 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9637 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9638 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9639 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9640
d39baad1
RA
96412013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9642
9643 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9644 match prototype.
9645
cd78f7e7
JM
96462013-10-04 Joseph Myers <joseph@codesourcery.com>
9647
29d73d86
JM
9648 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9649 Move -mhard-float appending from
9650 ports/sysdeps/powerpc/powerpc32/Makefile.
9651 [$(with-fp) = yes] (ASFLAGS): Likewise.
9652 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9653 * sysdeps/powerpc/nofpu: Move directory from
9654 ports/sysdeps/powerpc/nofpu.
9655 * sysdeps/powerpc/soft-fp: Move directory from
9656 ports/sysdeps/powerpc/soft-fp.
9657 * sysdeps/powerpc/powerpc32/405: Move directory from
9658 ports/sysdeps/powerpc/powerpc32/405.
9659 * sysdeps/powerpc/powerpc32/440: Move directory from
9660 ports/sysdeps/powerpc/powerpc32/440.
9661 * sysdeps/powerpc/powerpc32/464: Move directory from
9662 ports/sysdeps/powerpc/powerpc32/464.
9663 * sysdeps/powerpc/powerpc32/476: Move directory from
9664 ports/sysdeps/powerpc/powerpc32/476.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9666 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9668 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9670 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9672 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9675 * README: Update for powerpc-*-linux-gnu software floating point
9676 support in libc.
9677
e246b347
JM
9678 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9679 case to powerpc/powerpc32*.
9680 * sysdeps/unix/sysv/linux/configure: Regenerated.
9681
89c2003e
JM
9682 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9683 (_FPU_MASK_OM): Define as 0x04.
9684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9686 0x00c10080.
9687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9688 0x0000003c.
9689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9690
cd78f7e7
JM
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9692 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9693 getcontext_e500.
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9695 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9696 setcontext_e500.
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9698 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9699 and setcontext_e500.
9700
c755294d
CL
97012013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9702
9703 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9704
e16d221c
SP
97052013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9706
9707 * manual/threads.texi (Default Thread Attributes): Fix typo.
9708
215c7d43
WN
97092013-10-04 Will Newton <will.newton@linaro.org>
9710
9711 * malloc/Makefile: Add tst-memalign.
9712 * malloc/tst-memalign.c: New file.
9713
27d0461b
WN
9714 * malloc/tst-posix_memalign.c: Add comments.
9715 (do_test): Add comments and call free on all potentially
9716 allocated pointers. Add space after cast.
9717
1bc92709
WN
9718 * malloc/tst-pvalloc.c: Add comments.
9719 (do_test): Add comments and call free on all potentially
9720 allocated pointers. Remove duplicate check for NULL pointer.
9721 Add space after cast.
9722
66a9be9d
WN
9723 * malloc/tst-valloc.c: Add comments.
9724 (do_test): Add comments and call free on all potentially
9725 allocated pointers. Remove duplicate check for NULL pointer.
9726 Add space after cast.
9727
4cb81307
AM
97282013-10-04 Alan Modra <amodra@gmail.com>
9729
9730 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9731 Use stdint types in rather than __attribute__((mode())).
9732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9733
f8e3e9f3
AM
97342013-10-04 Alan Modra <amodra@gmail.com>
9735
9736 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9737 Correct handling of unaligned relocs for little-endian.
9738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9739
8f9ebb08
AM
97402013-10-04 Alan Modra <amodra@gmail.com>
9741
9742 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9743 * configure: Regenerate.
9744 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9745 * shlib-versions: Likewise.
9746
0edf96c2
AM
97472013-10-04 Alan Modra <amodra@gmail.com>
9748
9749 * string/tester.c (test_memrchr): Increment reported test cycle.
9750
e0f7a380
AM
97512013-10-04 Alan Modra <amodra@gmail.com>
9752
9753 * string/test-memcpy.c (do_one_test): When reporting errors, print
9754 string address and don't overrun end of string.
9755
466b0393
AM
97562013-10-04 Alan Modra <amodra@gmail.com>
9757
9758 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9759 insrdi. Make better use of reg selection to speed exit slightly.
9760 Schedule entry path a little better. Remove useless "are we done"
9761 checks on entry to main loop. Handle wrapping around zero address.
9762 Correct main loop count. Handle single left-over word from main
9763 loop inline rather than by using loop_small. Remove extra word
9764 case in loop_small caused by wrong loop count. Add little-endian
9765 support.
9766 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9768 cache hint.
9769 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9770 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9771 support. Avoid rlwimi.
9772 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9773
3be87c77
AM
97742013-10-04 Alan Modra <amodra@gmail.com>
9775
9776 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9777 insrdi. Formatting.
3be87c77
AM
9778 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9779 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9783 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9784
759cfef3
AM
97852013-10-04 Alan Modra <amodra@gmail.com>
9786
9787 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9788 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9790 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9791 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9794 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9795 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9796 use of regs. Use power7 mtocrf. Tidy function tails.
9797
fe6e95d7
AM
97982013-10-04 Alan Modra <amodra@gmail.com>
9799
9800 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9801 Formatting. Consistently use rXXX register defines or rN defines.
9802 Use early exit labels that avoid restoring unused non-volatile regs.
9803 Make cr field use more consistent with rWORDn compares. Rename
9804 regs used as shift registers for unaligned loop, using rN defines
9805 for short lifetime/multiple use regs.
9806 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9808 addi 1,1,64 to pop stack frame. Simplify return value code.
9809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9810
664318c3
AM
98112013-10-04 Alan Modra <amodra@gmail.com>
9812
9813 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9814 support. Correct typos, formatting. Optimize tail. Use insrdi
9815 rather than rlwimi.
9816 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9817 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9818 little-endian support. Correct typos.
9819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9820 rather than rlwimi.
9821 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9822 in loop and entry code to keep "and." results.
9823 (strchr): Add little-endian support. Comment. Move cntlzd
9824 earlier in tail.
9825 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9826
43b84013
AM
98272013-10-04 Alan Modra <amodra@gmail.com>
9828
9829 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9830 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9831 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9832 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9833
8a7413f9
AM
98342013-10-04 Alan Modra <amodra@gmail.com>
9835
9836 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9837 (rTMP): Define as r11.
9838 (strcmp): Add little-endian support. Optimise tail.
9839 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9840 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9841 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9842 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9843 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9846
33ee81de
AM
98472013-10-04 Alan Modra <amodra@gmail.com>
9848
9849 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9850 little-endian support. Remove unnecessary "are we done" tests.
9851 Handle "s" wrapping around zero and extremely large "size".
9852 Correct main loop count. Handle single left-over word from main
9853 loop inline rather than by using small_loop. Correct comments.
9854 Delete "zero" tail, use "end_max" instead.
9855 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9856
db9b4570
AM
98572013-10-04 Alan Modra <amodra@gmail.com>
9858
9859 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9860 support. Don't branch over align.
9861 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9863 support. Rearrange tmp reg use to suit. Comment.
9864 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9865
f7c399cf
AM
98662013-10-04 Alan Modra <amodra@gmail.com>
9867
9868 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9869
0b2c2ace
AM
98702013-10-04 Alan Modra <amodra@gmail.com>
9871
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9873 conditional form of branch and link when obtaining pc.
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9875
02f04a6c
AM
98762013-10-04 Alan Modra <amodra@gmail.com>
9877
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9879 HIWORD/LOWORD.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9882
9b874b2f
AM
98832013-10-04 Alan Modra <amodra@gmail.com>
9884
9885 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9886 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9887 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9888 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9889 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9890 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9891 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9892 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9893 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9894 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9895
be1e5d31
AB
98962013-10-04 Anton Blanchard <anton@au1.ibm.com>
9897 Alistair Popple <alistair@ozlabs.au.ibm.com>
9898 Alan Modra <amodra@gmail.com>
9899
9900 [BZ #15723]
9901 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9902 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9903 _dl_hwcap access for little-endian.
9904 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9905 destroy vmx regs when saving unaligned.
9906 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9908 destroy vmx regs when saving unaligned.
9909
fef13a78
AM
99102013-10-04 Alan Modra <amodra@gmail.com>
9911
9912 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9913 Don't use a union to pack hi/low value.
9914
76a66d51
AB
99152013-10-04 Anton Blanchard <anton@au1.ibm.com>
9916
9917 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9918 for little-endian.
9919 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9921 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9922 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9923 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9924
6a31fe7f
AM
99252013-10-04 Alan Modra <amodra@gmail.com>
9926
9927 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9928 constants to usual value for .cst8 section, and remove redundant
9929 high address load.
9930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9931 constant for 0x1p52. Load little-endian words of double from
9932 correct stack offsets.
9933
7b88401f
AM
99342013-10-04 Alan Modra <amodra@gmail.com>
9935
9936 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9937 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9938 words of double from correct stack offsets.
9939 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9940 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9941 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9942 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9943 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9946 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9947 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9948 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9953 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9954 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9955 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9956
9c008155
AM
99572013-10-04 Alan Modra <amodra@gmail.com>
9958
9959 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9960 64-bit int/double union.
9961 (_FPU_SETCW): Likewise.
9962 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9963 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9964
da13146d
AM
99652013-10-04 Alan Modra <amodra@gmail.com>
9966
9967 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9968 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9969
603e8410
AM
99702013-10-04 Alan Modra <amodra@gmail.com>
9971
9972 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9973 use vector int constants.
9974 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9975
4a28b3ca
AB
99762013-10-04 Anton Blanchard <anton@au1.ibm.com>
9977
9978 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9979 array with long long.
9980 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9981 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9982 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9983 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9984 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9985 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9986 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9987 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9988 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9989 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9990 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9991 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9992 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9993
2ca85d2b
AB
99942013-10-04 Anton Blanchard <anton@au1.ibm.com>
9995
9996 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9997 (__signbit): Likewise. Correct for little-endian.
9998 (__signbitl): Call __signbit.
9999 (lrint): Correct for little-endian.
10000 (lrintf): Call lrint.
10001
62a728ae
AM
100022013-10-04 Alan Modra <amodra@gmail.com>
10003
10004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10005 union 32-bit int array member with 64-bit int array.
10006 (t515, tm256): Double rather than long double.
10007 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10008
32c301df
AM
100092013-10-04 Alan Modra <amodra@gmail.com>
10010
10011 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10012 Delete.
10013 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10014 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10015 version of math_ldbl.h.
10016
650ef4bd
AM
100172013-10-04 Alan Modra <amodra@gmail.com>
10018
10019 [BZ #15734], [BZ #15735]
10020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10021 all uses of ieee875 long double macros and unions. Simplify test
10022 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10023 ldbl_extract_mantissa value for ix,iy exponents. Properly
10024 normalize after ldbl_extract_mantissa, and don't add hidden bit
10025 already handled. Don't treat low word of ieee854 mantissa like
10026 low word of IBM long double and mask off bit when testing for
10027 zero.
10028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10029 all uses of ieee875 long double macros and unions. Simplify tests
10030 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10031 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10032 two1022, instead use their values. Recognise that tests for large
10033 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10034 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10035 Rewrite all uses of ieee875 long double macros and unions. Simplify
10036 test for 0.0L and nan. Correct negation.
10037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10038 ieee875 long double macros and unions. Correct output for large
10039 magnitude x. Correct absolute value calculation.
10040 (__erfcl): Likewise.
10041 * math/libm-test.inc: Add tests for errors discovered in IBM long
10042 double versions of fmodl, remainderl, erfl and erfcl.
10043
765714ca
AM
100442013-10-04 Alan Modra <amodra@gmail.com>
10045
10046 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10047 all uses of ieee854 long double macros and unions. Simplify tests
10048 for long doubles that are fully specified by the high double.
10049 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10050 Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10052 Remove dead code too.
10053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10054 (__ieee754_ynl): Likewise.
10055 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10056 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10058 Remove dead code too.
10059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10061 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10063 Simplify.
10064 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10065 Simplify.
10066 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10069 Comment on variable precision.
10070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10072 Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10078
4ebd120c
AM
100792013-10-04 Alan Modra <amodra@gmail.com>
10080
10081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10082 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10083 all uses of ieee854 long double macros and unions.
10084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10086 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10088 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10089 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10090 Likewise.
10091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10096 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10097 Simplify sign and nan test too.
10098 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10099 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10100 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10101 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10102 Likewise.
10103 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10104 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10105 Likewise.
10106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10107 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10108 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10109 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10110 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10112
1b6adf88
AM
101132013-10-04 Alan Modra <amodra@gmail.com>
10114
10115 * stdio-common/printf_size.c (__printf_size): Don't use
10116 union ieee854_long_double in fpnum union.
10117 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10118 signbit macro to retrieve sign from long double.
10119 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10120 retrieve sign from long double.
10121 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10122 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10123 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10124 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10125 * math/test-misc.c (main): Don't use union ieee854_long_double.
10126
4cf69995
AM
101272013-10-04 Alan Modra <amodra@gmail.com>
10128
10129 [BZ #15680]
10130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10131 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10132 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10133 calculation. Remove unnecessary test for denormal exponent.
10134 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10135 Correct handling of denormals. Avoid undefined shift behaviour.
10136 Correct normalisation of low mantissa when low double is denormal.
10137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10138 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10139 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10140 Correct normalisation of low mantissa. Test for overflow of high
10141 mantissa and normalise.
10142 (ldbl_nearbyint): Use more readable constant for two52.
10143 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10144 (__mpn_construct_long_double): Fix test for overflow of high
10145 mantissa and correct normalisation. Avoid undefined shift.
10146
9605ca6c
AM
101472013-10-04 Alan Modra <amodra@gmail.com>
10148
10149 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10150 (union ibm_extended_long_double): Define as an array of ieee754_double.
10151 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10153 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10154 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10158 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10162
975569d0
JM
101632013-10-03 Joseph Myers <joseph@codesourcery.com>
10164
d3d23756
JM
10165 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10166 page size instead of calling getpagesize.
10167
975569d0
JM
10168 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10169 (LOCFILE_ALIGN_MASK): Likewise.
10170 (LOCFILE_ALIGN_UP): Likewise.
10171 (LOCFILE_ALIGNED_P): Likewise.
10172 * locale/programs/ld-collate.c (collate_output): Use the new
10173 macros instead of __alignof__ (int32_t).
10174 * locale/weight.h (findidx): Likewise.
10175
b1fe1f2b
OB
101762013-10-03 Ondřej Bílka <neleai@seznam.cz>
10177
10178 [BZ #431]
10179 * manual/string.texi: Fix strncat and wcsncat.
10180
5f855e35
BM
101812013-10-03 Brooks Moses <bmoses@google.com>
10182
10183 [BZ #15915]
10184 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10185 * Makerules: ...here, and adjust associated comments.
10186
3cef6009
WN
101872013-10-02 Will Newton <will.newton@linaro.org>
10188
10189 * malloc/Makefile: Add tst-pvalloc.
10190 * malloc/tst-pvalloc.c: New file.
10191
7815420b
WN
101922013-10-02 Will Newton <will.newton@linaro.org>
10193
10194 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10195 improve test coverage.
10196
4868b204
WN
101972013-10-02 Will Newton <will.newton@linaro.org>
10198
10199 * malloc/Makefile: Add tst-posix_memalign.
10200 * malloc/tst-posix_memalign.c: New file.
10201
29c793b3
EB
102022013-10-01 Eric Blake <eblake@redhat.com>
10203
10204 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10205 Use __THROWNL rather than __THROW on static functions.
10206
fd967522
PM
102072013-09-30 Petr Machata <pmachata@redhat.com>
10208
10209 * elf/elf.h (R_AARCH64_ABS16): New macro.
10210 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10211 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10212 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10213 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10214 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10215 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10216 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10217 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10218 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10219 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10220 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10221 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10222 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10223 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10224 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10225 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10226 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10227 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10228 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10229 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10230 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10231 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10232 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10233 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10234 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10235 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10236 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10237 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10238 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10239 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10240 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10241 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10242 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10243 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10244 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10245 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10246 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10247 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10248 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10249 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10250 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10251 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10252 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10253 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10254 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10255 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10256 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10257 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10258 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10259 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10260 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10261 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10262 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10263 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10264 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10265 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10266 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10267 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10268 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10269 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10270 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10271 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10272 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10273 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10274 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10275 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10276 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10277 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10278 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10279 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10280 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10281 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10282 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10283 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10284 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10285 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10286 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10287 (R_AARCH64_TLSDESC_LDR): Likewise.
10288 (R_AARCH64_TLSDESC_ADD): Likewise.
10289 (R_AARCH64_TLSDESC_CALL): Likewise.
10290
b2179107
AS
102912013-09-30 Andreas Schwab <schwab@suse.de>
10292
10293 [BZ #15048]
10294 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10295 the nss database lookup.
10296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10298
47f28d0a
MF
102992013-09-28 Mike Frysinger <vapier@gentoo.org>
10300
10301 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10302
103032013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10304
10305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10306 ${Bash-specific parameter/pattern/string} parameter expansion.
10307 * sysdeps/unix/make-syscalls.sh: Likewise.
10308
f4518a17
KK
103092013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10310
10311 * sysdeps/sh/stackguard-macros.h: New file.
10312
dc1a95c7
OB
103132013-09-26 Ondřej Bílka <neleai@seznam.cz>
10314
10315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10317 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10318 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10319 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10320 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10321
5ebbff8f
AZ
103222013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10323
10324 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10325 Fix thread ID register.
10326
4fd2cf9f
JM
103272013-09-25 Joseph Myers <joseph@codesourcery.com>
10328
10329 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10330 [POSIX || UNIX98]: Require rather than permitting all symbols from
10331 <time.h>.
10332 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10333 element of struct sched_param.
10334 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10335 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10336 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10337 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10338 constant.
10339
12c22bc4
OL
103402013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10341
10342 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10343 argument calculation.
10344
a03d8ea7
JM
103452013-09-24 Joseph Myers <joseph@codesourcery.com>
10346
10347 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10348 Expect macro.
10349 [POSIX] (pthread_attr_t): Do not require type.
10350 [POSIX] (pthread_cond_t): Likewise.
10351 [POSIX] (pthread_condattr_t): Likewise.
10352 [POSIX] (pthread_key_t): Likewise.
10353 [POSIX] (pthread_mutex_t): Likewise.
10354 [POSIX] (pthread_mutexattr_t): Likewise.
10355 [POSIX] (pthread_once_t): Likewise.
10356 [POSIX] (pthread_t): Likewise.
10357 [POSIX-based standards] (pthread_atfork): Expect function.
10358
6055173a
JM
103592013-09-24 Joseph Myers <joseph@codesourcery.com>
10360 Richard Sandiford <richard@codesourcery.com>
10361
10362 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10363 (swap_endianness_p): New extern variable.
10364 (set_big_endian): New inline function.
10365 (maybe_swap_uint32): Likewise.
10366 (maybe_swap_uint32_array): Likewise.
10367 (maybe_swap_uint32_obstack): Likewise.
10368 * locale/programs/locfile.c: Include <stdbool.h>.
10369 (swap_endianness_p): New variable.
10370 (add_locale_uint32): Call maybe_swap_uint32.
10371 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10372 (write_locale_data): Call maybe_swap_uint32_array.
10373 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10374 maybe_swap_uint32.
10375 (obstack_int32_grow_fast): Likewise.
10376 (output_weightwc): Call maybe_swap_uint32_obstack.
10377 (collate_output): Likewise.
10378 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10379 (OPT_LITTLE_ENDIAN): Likewise.
10380 (options): Add --little-endian and --big-endian options.
10381 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10382 * locale/programs/locarchive.c: Include "locfile.h".
10383 (GET): New macro.
10384 (SET): Likewise.
10385 (INC): Likewise.
10386 (create_archive): Use the new macros to access fields of
10387 structures directly mapped from or written to locale archives.
10388 (oldlocrecentcmp): Likewise.
10389 (enlarge_archive): Likewise.
10390 (insert_name): Likewise.
10391 (add_alias): Likewise.
10392 (add_locale): Likewise.
10393 (delete_locales_from_archive): Likewise.
10394 (show_archive_content): Likewise.
10395 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10396 locale data.
10397
39bf0bb4
RM
103982013-09-24 Roland McGrath <roland@hack.frob.com>
10399
10400 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10401 http://www.gnu.org/doc/freemanuals.texi.
10402 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10403
f02eed10
WN
104042013-09-24 Will Newton <will.newton@linaro.org>
10405
10406 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10407 macro.
10408
a3a6c312
JM
104092013-09-23 Joseph Myers <joseph@codesourcery.com>
10410
10411 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10412 unsigned char.
10413
107375ac
MR
104142013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10415
10416 * manual/threads.texi (POSIX Threads): Fix a typo.
10417
141f3a77
SP
104182013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10419
303e567a
SP
10420 [BZ #14547]
10421 * string/tst-strcoll-overflow.c: New test case.
10422 * string/Makefile (xtests): Add tst-strcoll-overflow.
10423 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10424 cache if string sizes may cause integer overflow.
10425
141f3a77
SP
10426 [BZ #14547]
10427 * string/strcoll_l.c (coll_seq): New members rule, idx,
10428 save_idx and back_us.
10429 (get_next_seq_nocache): New function.
10430 (do_compare_nocache): New function.
10431 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10432 when malloc fails.
10433
c61b4d41
CD
104342013-09-23 Carlos O'Donell <carlos@redhat.com>
10435
0b1f8e35
CD
10436 [BZ #15754]
10437 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10438 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10439 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10440
c61b4d41
CD
10441 [BZ #15754]
10442 * elf/Makefile (tests): Add tst-ptrguard1.
10443 (tests-static): Add tst-ptrguard1-static.
10444 (tst-ptrguard1-ARGS): Define.
10445 (tst-ptrguard1-static-ARGS): Define.
10446 * elf/tst-ptrguard1.c: New file.
10447 * elf/tst-ptrguard1-static.c: New file.
10448 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10449 * sysdeps/i386/stackguard-macros.h: Likewise.
10450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10456
104572013-09-23 Hector Marco <hecmargi@upv.es>
10458 Ismael Ripoll <iripoll@disca.upv.es>
10459 Carlos O'Donell <carlos@redhat.com>
10460
10461 [BZ #15754]
10462 * sysdeps/generic/stackguard-macros.h: Define
10463 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10464 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10465 Define __pointer_chk_guard_local.
10466 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10467 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10468
f5f4e7b4
VV
104692013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10470
10471 [BZ #15859]
10472 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10473
5bb43a43
AS
104742013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10475
10476 * include/string.h (__ffs): Declare as hidden.
10477 * string/ffs.c (__ffs): Define as hidden.
10478 * sysdeps/i386/ffs.c (__ffs): Likewise.
10479 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10480 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10481 * sysdeps/s390/ffs.c (__ffs): Likewise.
10482 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10483
3ea5be54
AO
104842013-09-20 Alexandre Oliva <aoliva@redhat.com>
10485
ffb89e53
AO
10486 * NEWS: Mention malloc probes.
10487
322dea08
AO
10488 * malloc/arena.c (new_heap): New memory_heap_new probe.
10489 (grow_heap): New memory_heap_more probe.
10490 (shrink_heap): New memory_heap_less probe.
10491 (heap_trim): New memory_heap_free probe.
10492 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10493 (systrim): New memory_sbrk_less probe.
10494 * manual/probes.texi: Document them.
10495
655673f3
AO
10496 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10497 * manual/probes.texi: Document it.
10498
35fed6f1
AO
10499 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10500 (__libc_realloc): Add memory_realloc_retry probe.
10501 (__libc_memalign): Add memory_memalign_retry probe.
10502 (__libc_valloc): Add memory_valloc_retry probe.
10503 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10504 (__libc_calloc): Add memory_calloc_retry probe.
10505 * manual/probes.texi: Document them.
10506
6999d38c
AO
10507 * malloc/arena.c (get_free_list): Add probe
10508 memory_arena_reuse_free_list.
10509 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10510 and memory_arena_reuse.
10511 (arena_get2) [!PER_THREAD]: Likewise.
10512 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10513 memory_arena_reuse_realloc.
10514 * manual/probes.texi: Document them.
10515
0653427f
AO
10516 * malloc/malloc.c (__libc_free): Add
10517 memory_mallopt_free_dyn_thresholds probe.
10518 (__libc_mallopt): Add multiple memory_mallopt probes.
10519 * manual/probes.texi: Document them.
10520
3ea5be54
AO
10521 * malloc/malloc.c: Include stap-probe.h.
10522 (__libc_mallopt): Add memory_mallopt probe.
10523 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10524 * manual/probes.texi: New.
10525 * manual/Makefile (chapters): Add probes.
10526 * manual/threads.texi: Set next node.
10527
e35696c3 105282013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10529
e35696c3
CL
10530 [BZ #15963, #13985]
10531 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10532 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10533 Add `Chinese' to `nan' entry name.
10534
4aafb73c
SP
105352013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10536
10537 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10538 (POLYNOMIAL): Likewise.
10539 (TAYLOR_SINCOS): Likewise.
10540 (TAYLOR_SLOW): Likewise.
10541 (__sin): Use TAYLOR_SINCOS.
10542 (__cos): Likewise.
10543 (slow): Use TAYLOR_SLOW.
10544 (sloww): Likewise.
10545 (bsloww): Likewise.
10546 (csloww): Likewise.
10547
d84f25c7
LD
105482013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10549
10550 * stdlib/strtod_l.c: Fix buffer overrun.
10551
5eea0404
SP
105522013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10553
7849ff93
SP
10554 * benchtests/Makefile (bench): Add sincos.
10555 * benchtests/bench-sincos.c: New file.
10556
cfa3c886
SP
10557 * math/libm-test.inc (cos_test_data): New test inputs.
10558 (sin_test_data): Likewise.
10559
b348e1e3
SP
10560 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10561 macro.
10562 (__sin): Use it.
10563 (__cos): Likewise.
10564 (slow1): Likewise.
10565 (slow2): Likewise.
10566 (sloww1): Likewise.
10567 (sloww2): Likewise.
10568 (bsloww1): Likewise.
10569 (bsloww2): Likewise.
10570 (cslow2): Likewise.
10571 (csloww1): Likewise.
10572 (csloww2): Likewise.
10573
6cce25f8
SP
10574 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10575 function.
10576 (__sin): Use it.
10577 (__cos): Likewise.
10578
5eea0404
SP
10579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10580 gotos.
10581 (__cos): Likewise.
10582
9c21573c
MR
105832013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10584
10585 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10586 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10587 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10588 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10589 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10590 * elf/cache.c (print_entry): Handle the new cache flags.
10591
24d22e65
JM
105922013-09-18 Joseph Myers <joseph@codesourcery.com>
10593 Aldy Hernandez <aldyh@redhat.com>
10594
10595 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10596 Change condition to [_SOFT_FLOAT].
10597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10609 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10612 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10613 declaration.
10614
d13ef066
JM
106152013-09-18 Joseph Myers <joseph@codesourcery.com>
10616
2e071de0
JM
10617 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10618 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10619 (__longjmp): Use LOAD_GP to load saved GPRs.
10620 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10621 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10622 (__sigsetjmp): Use SAVE_GP to save GPRs.
10623
d13ef066
JM
10624 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10625 Do not append -msoft-float.
10626 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10627
97a0650b
SP
106282013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10629
10630 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10631
11ca09e9
JM
106322013-09-17 Joseph Myers <joseph@codesourcery.com>
10633
10634 [BZ #15966]
10635 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10636 (_FPU_GETCW): Use initial "__" on variable and field names but not
10637 on macro parameter name.
10638 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10639 parentheses around reference to macro parameter.
10640
08ffcf34
RS
106412013-09-13 Richard Sandiford <richard@codesourcery.com>
10642
10643 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10644 prototype.
10645 (ctype_startup): Use uint32_t in cast and sizeof for
10646 ctype->charnames.
10647
ae7080d3
JL
106482013-09-11 Jia Liu <proljc@gmail.com>
10649
10650 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10651 __daddr_t_defined.
10652 [__FreeBSD__]: Likewise.
10653
5905e7b3
OB
106542013-09-11 Ondřej Bílka <neleai@seznam.cz>
10655
10656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10657 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10658 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10659 (strchr): Remove __strchr_sse42 ifunc selection.
10660 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10661 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10662
b987c776
WN
106632013-09-11 Will Newton <will.newton@linaro.org>
10664
10665 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10666 parameter to RES. Remove hardcoded 1000 value.
10667 * benchtests/bench-skeleton.c (main): Pass RES parameter
10668 to TIMING_INIT and multiply result by 1000.
10669
ddf985af
AZ
106702013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10671
10672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10673
ffdd3181
AS
106742013-09-11 Andreas Schwab <schwab@suse.de>
10675
10676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10677 if not defined.
10678 (O_TMPFILE) [__USE_GNU]: Define.
10679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10680 Define.
10681
b73ed247
WN
106822013-09-11 Will Newton <will.newton@linaro.org>
10683
10684 [BZ #15857]
10685 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10686 does not overflow.
10687
55e17aad
WN
106882013-09-11 Will Newton <will.newton@linaro.org>
10689
10690 [BZ #15856]
10691 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10692 does not overflow.
10693
1159a193
WN
106942013-09-11 Will Newton <will.newton@linaro.org>
10695
10696 [BZ #15855]
10697 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10698 does not overflow.
10699
5905e7b3 107002013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10701
10702 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10703 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10707
cdfc721b
AM
107082013-09-10 Allan McRae <allan@archlinux.org>
10709
aa04af00
AM
10710 [BZ #15748]
10711 * manual/arith.texi (Parsing of Floats): Clarify
10712 cross-reference.
10713
cdfc721b
AM
10714 [BZ #15849]
10715 * manual/install.texi (Running make install): Mention
10716 --enable-pt-chown.
10717 * INSTALL: Regenerated.
10718
95e7cf29
MR
107192013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10720
10721 * csu/init-first.c (_init): Remove the !SHARED condition around
10722 FPU control word initialization.
10723 * elf/dl-support.c (_dl_fpu_control): New variable.
10724 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10725 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10726 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10727 * math/test-fpucw-static.c: New file.
10728 * math/test-fpucw-ieee.c: New file.
10729 * math/test-fpucw-ieee-static.c: New file.
10730 * math/Makefile (tests): Add `test-fpucw-ieee' and
10731 `$(tests-static)'.
10732 (tests-static): New variable.
10733 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10734 dependency to...
10735 [($(build-shared),yes)]
10736 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10737 ... this.
10738 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10739 New dependency.
10740
83e43bf0
AM
107412013-09-09 Allan McRae <allan@archlinux.org>
10742
a9f5ce09
AM
10743 [BZ #15939]
10744 * manual/string.texi (Collation Functions): Fix typo in
10745 strcoll example.
10746 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10747
34829bc2
AM
10748 [BZ #15893]
10749 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10750
3932737d
AM
10751 [BZ #15892]
10752 * libio/memstream.c (open_memstream): Fix memory leak.
10753 * libio/wmemstream.c (open_wmemstream): Likewise.
10754
83e43bf0
AM
10755 [BZ #15895]
10756 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10757
0c66b8e9
WN
107582013-09-09 Will Newton <will.newton@linaro.org>
10759
10760 * malloc/Makefile: Add tst-realloc to tests.
10761 * malloc/tst-realloc.c: New file.
10762
f6b00fd1
AM
107632013-09-09 Allan McRae <allan@archlinux.org>
10764
10765 [BZ #15844]
10766 * COPYING: Update from GNU website to fix FSF address.
10767 * COPYING.LIB: Likewise.
10768
eec55e16
DM
107692013-09-06 David S. Miller <davem@davemloft.net>
10770
10771 * po/zh_TW.po: Update Chinese (traditional) translation from
10772 translation project.
10773
1ecbb381
RS
107742013-09-06 Richard Sandiford <richard@codesourcery.com>
10775 Joseph Myers <joseph@codesourcery.com>
10776
10777 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10778 "localeinfo.h".
10779 (obstack_chunk_alloc): New macro.
10780 (obstack_chunk_free): Likewise.
10781 (record_offset): New function.
10782 (init_locale_data): Likewise.
10783 (align_locale_data): Likewise.
10784 (add_locale_empty): Likewise.
10785 (add_locale_raw_data): Likewise.
10786 (add_locale_raw_obstack): Likewise.
10787 (add_locale_string): Likewise.
10788 (add_locale_wstring): Likewise.
10789 (add_locale_uint32): Likewise.
10790 (add_locale_uint32_array): Likewise.
10791 (add_locale_char): Likewise.
10792 (start_locale_structure): Likewise.
10793 (end_locale_structure): Likewise.
10794 (start_locale_prelude): Likewise.
10795 (end_locale_prelude): Likewise.
10796 (write_locale_data): Take locale_file structure rather than an
10797 iovec.
10798 * locale/programs/locfile.h: Include "obstack.h".
10799 (struct locale_file): Change to store locale file contents instead
10800 of header.
10801 (init_locale_data): New prototype.
10802 (align_locale_data): Likewise.
10803 (add_locale_empty): Likewise.
10804 (add_locale_raw_data): Likewise.
10805 (add_locale_raw_obstack): Likewise.
10806 (add_locale_string): Likewise.
10807 (add_locale_wstring): Likewise.
10808 (add_locale_uint32): Likewise.
10809 (add_locale_uint32_array): Likewise.
10810 (add_locale_char): Likewise.
10811 (start_locale_structure): Likewise.
10812 (end_locale_structure): Likewise.
10813 (start_locale_prelude): Likewise.
10814 (end_locale_prelude): Likewise.
10815 (write_locale_data): Update prototype.
10816 * locale/programs/3level.h (struct TABLE): Remove result field.
10817 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10818 Use new locale_file interface.
10819 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10820 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10821 * locale/programs/ld-address.c (address_output): Use new
10822 locale_file interface.
10823 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10824 NO_ADD_LOCALE.
10825 (collate_finish): Don't call collseq_table_finalize.
10826 (collate_output): Use new locale_file interface.
10827 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10828 in file.
10829 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10830 (TABLE): Move defines earlier in file.
10831 (ELEMENT): Likewise.
10832 (DEFAULT): Likewise.
10833 (wctrans_table_add): Move macro and inline function earlier in
10834 file.
10835 (struct wctype_table): Move type earlier in file.
10836 (add_locale_wctype_table): New static prototype.
10837 (struct locale_ctype_t): Use logical types instead of struct iovec
10838 pointers for members.
10839 (ctype_output): Use new locale_file interface.
10840 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10841 new locale_file interface.
10842 (allocate_arrays): Update for use of new locale_file interface.
10843 * locale/programs/ld-identification.c (identification_output): Use
10844 new locale_file interface.
10845 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10846 * locale/programs/ld-messages.c (messages_output): Likewise.
10847 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10848 * locale/programs/ld-name.c (name_output): Likewise.
10849 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10850 * locale/programs/ld-paper.c (paper_output): Likewise.
10851 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10852 * locale/programs/ld-time.c (time_output): Likewise.
10853
e029e2e5
AZ
108542013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10855
10856 * benchtests/Makefile: Add memrchr benchmark.
10857 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10858 benchmark as memrchr.
10859 * benchtests/bench-memrchr-ifunc.c: New file.
10860 * benchtests/bench-memrchr.c: New file.
10861
bbf6e8e4
WN
108622013-09-06 Will Newton <will.newton@linaro.org>
10863
10864 * benchtests/Makefile (string-bench): Add memcpy.
10865
6c82a2f8
CD
108662013-09-05 Carlos O'Donell <carlos@redhat.com>
10867 Cong Wang <amwang@redhat.com>
10868
e732c5f0 10869 [BZ #15850]
6c82a2f8
CD
10870 * sysdeps/unix/sysv/linux/bits/in.h
10871 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10872 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10873 before __USE_KERNEL_IPV6_DEFS uses.
10874 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10875 IPPROTO_BEETPH.
10876 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10877 sockaddr_in6, or ipv6_mreq.
10878
5430fc65
AZ
108792013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10880
10881 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10882 memory access for final bytes in some large inputs.
10883 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10884
4660856c
AZ
108852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10886
10887 * string/test-memrchr.c: New file.
10888 * string/test-memrchr-ifunc.c: New file.
10889 * string/Makefile: Add new memrchr testcase.
10890
bb8ea713
MF
108912013-09-05 Mike Frysinger <vapier@gentoo.org>
10892
10893 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10894 fanotify_init returns EPERM.
10895
b92a20b5
JM
108962013-09-04 Joseph Myers <joseph@codesourcery.com>
10897
10898 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10899 errors.
10900 (top level): Treat second token from macro or constant entries for
10901 allowed headers as allowed.
10902 * include/complex.h: Condition internal declarations on
10903 [!_ISOMAC].
10904 * include/fenv.h: Condition include of <stdbool.h> and internal
10905 declarations on [!_ISOMAC].
7447ccd9
CL
10906
109072013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10908
3e181dda 10909 [BZ #15923]
7447ccd9
CL
10910 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10911
3f2e46a4
JM
109122013-09-04 Joseph Myers <joseph@codesourcery.com>
10913
10914 * configure.in (--enable-versioning): Remove configure option.
10915 (libc_cv_asm_symver_directive): Remove configure test.
10916 (libc_cv_ld_version_script_option): Likewise.
10917 (VERSIONING): Remove variable and AC_SUBST.
10918 (DO_VERSIONING): Remove AC_DEFINE.
10919 * configure: Regenerated.
10920 * config.h.in (DO_VERSIONING): Remove macro.
10921 * Makerules [$(versioning) = yes]: Change conditionals to
10922 [$(build-shared) = yes].
10923 * config.make.in (versioning): Remove variable.
10924 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10925 [$(build-shared) = yes].
10926 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10927 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10928 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10929 [$(build-shared) = yes].
10930 * extra-lib.mk [$(versioning) = yes]: Likewise.
10931 * hurd/Makefile [$(versioning) = yes]: Likewise.
10932 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10933 [SHARED].
10934 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10935 [SHARED].
10936 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10937 [SHARED && !NO_HIDDEN].
10938 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10939 [SHARED].
10940 [SHARED && DO_VERSIONING]: Likewise..
10941 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10942 [$(build-shared) = yes].
10943 * manual/install.texi (--disable-versioning): Remove
10944 documentation.
10945 * INSTALL: Regenerated.
10946 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10947 to [SHARED].
10948 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10949 [$(build-shared) = yes].
10950 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10951 * sysdeps/i386/i686/multiarch/strstr-c.c
10952 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10953 [SHARED && !NO_HIDDEN].
10954 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10955 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10956 * sysdeps/powerpc/powerpc32/dl-machine.c
10957 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10958 * sysdeps/powerpc/powerpc32/sysdep.h
10959 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10960 to [SHARED && PIC && !NO_HIDDEN].
10961 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10962 conditional to [SHARED].
10963
44558701
WN
109642013-09-04 Will Newton <will.newton@linaro.org>
10965
10966 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10967 * benchtests/bench-string.h: Include bench-timing.h instead
10968 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10969 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10970 call to HP_TIMING_DIFF_INIT.
10971 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10972 instead of hp-timing.h macros.
10973 * benchtests/bench-memchr.c: Likewise.
10974 * benchtests/bench-memcmp.c: Likewise.
10975 * benchtests/bench-memcpy.c: Likewise.
10976 * benchtests/bench-memmem.c: Likewise.
10977 * benchtests/bench-memmove.c: Likewise.
10978 * benchtests/bench-memset.c: Likewise.
10979 * benchtests/bench-rawmemchr.c: Likewise.
10980 * benchtests/bench-strcasecmp.c: Likewise.
10981 * benchtests/bench-strcasestr.c: Likewise.
10982 * benchtests/bench-strcat.c: Likewise.
10983 * benchtests/bench-strchr.c: Likewise.
10984 * benchtests/bench-strcmp.c: Likewise.
10985 * benchtests/bench-strcpy.c: Likewise.
10986 * benchtests/bench-strcpy_chk.c: Likewise.
10987 * benchtests/bench-strlen.c: Likewise.
10988 * benchtests/bench-strncasecmp.c: Likewise.
10989 * benchtests/bench-strncat.c: Likewise.
10990 * benchtests/bench-strncmp.c: Likewise.
10991 * benchtests/bench-strncpy.c: Likewise.
10992 * benchtests/bench-strnlen.c: Likewise.
10993 * benchtests/bench-strpbrk.c: Likewise.
10994 * benchtests/bench-strrchr.c: Likewise.
10995 * benchtests/bench-strspn.c: Likewise.
10996 * benchtests/bench-strstr.c: Likewise.
10997
cae16d66
WN
109982013-09-04 Will Newton <will.newton@linaro.org>
10999
11000 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11001
ffa3cd7f
JM
110022013-09-03 Joseph Myers <joseph@codesourcery.com>
11003
11004 [BZ #15427]
11005 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11006 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11007 * math/libm-test.inc (lgamma_test_data): Add more tests.
11008 * sysdeps/i386/fpu/libm-test-ulps: Update.
11009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11010
8f02859f
OB
110112013-09-03 Ondřej Bílka <neleai@seznam.cz>
11012
11013 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11014 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11015 Add ifunc.
11016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11017 Add strcmp-sse2-unaligned
11018 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11019
18d43716
MF
110202013-09-02 Mike Frysinger <vapier@gentoo.org>
11021
11022 * Versions.def (libc): Add GLIBC_2.19.
11023
ac444012
MF
110242013-09-02 Mike Frysinger <vapier@gentoo.org>
11025
11026 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11027 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11028
b7835e32
JM
110292013-09-02 Joseph Myers <joseph@codesourcery.com>
11030
11031 [BZ #14155]
11032 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11033 intermediate calculations in recurrence.
11034 (__ieee754_ynf): Likewise.
11035 * math/libm-test.inc (jn_test_data): Do not allow spurious
11036 underflow exception. Add more tests.
11037 (yn_test_data): Add more tests.
11038 * sysdeps/i386/fpu/libm-test-ulps: Update.
11039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11040
8220f4f0
OB
110412013-09-02 Ondřej Bílka <neleai@seznam.cz>
11042
11043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11044
f24a6d08
OB
110452013-08-30 Ondřej Bílka <neleai@seznam.cz>
11046
11047 * csu/init-first.c: Fix then/than typos.
11048 * locale/programs/ld-collate.c: Likewise.
11049 * locale/programs/linereader.h: Likewise.
11050 * manual/charset.texi: Likewise.
11051 * manual/filesys.texi: Likewise.
11052 * manual/stdio.texi: Likewise.
11053 * manual/string.texi: Likewise.
11054 * stdlib/fmtmsg.c: Likewise.
11055 * sysdeps/i386/stpncpy.S: Likewise.
11056 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11057 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11059 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11060
382466e0
OB
110612013-08-30 Ondřej Bílka <neleai@seznam.cz>
11062
11063 * elf/dl-open.c: Fix typos.
11064 * iconvdata/gbbig5.c: Likewise.
11065 * iconvdata/iso-2022-jp.c: Likewise.
11066 * iconv/gconv_int.h: Likewise.
11067 * iconv/loop.c: Likewise.
11068 * nis/rpcsvc/nis.h: Likewise.
11069 * resolv/ns_name.c: Likewise.
11070 * stdio-common/vfscanf.c: Likewise.
11071 * streams/stropts.h: Likewise.
11072 * sunrpc/rpc_thread.c: Likewise.
11073 * sysdeps/i386/strpbrk.S: Likewise.
11074 * sysdeps/ieee754/k_standard.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11077 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11078 * sysdeps/mach/hurd/profil.c: Likewise.
11079 * sysdeps/s390/dl-procinfo.h: Likewise.
11080 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11082 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11083 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11085
0186c6e9
OB
110862013-08-30 Ondřej Bílka <neleai@seznam.cz>
11087
11088 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11090
d4e16af1
OB
110912013-08-29 Ondřej Bílka <neleai@seznam.cz>
11092
11093 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11094 aix specific files.
11095 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11097 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11098 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11099 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11103
88335980
TS
111042013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11105 Roland McGrath <roland@hack.frob.com>
11106
11107 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11108 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11109
ed479b02
ST
111102013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11111
11112 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11113 __executable_start symbol instead of _start.
11114
f1cc4c86
TS
111152013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11116
d821f07c
TS
11117 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11118 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11119 Move macros to...
11120 * sysdeps/gnu/ldsodefs.h: ... this new file.
11121
c54290cf
TS
11122 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11123 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11124 instead of ELFOSABI_LINUX.
11125
0007fc9b 11126 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11127 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11128 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11129 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11130 Likewise.
11131 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11132 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11134 Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11136 (ibm_extended_long_double): Add ieee_nan member.
11137 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11138 (do_test): New function.
11139
f1cc4c86
TS
11140 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11141 TEST_TRUNC.
11142 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11143 functions, renamed from truncdfsf_test, trunctfsf_test,
11144 trunctfdf_test.
11145 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11146 functions.
11147 (do_test): Run all these.
11148
6f65e668
OB
111492013-08-29 Ondřej Bílka <neleai@seznam.cz>
11150
11151 * argp/argp-help.c: Fix typos.
11152 * argp/argp-parse.c: Likewise.
11153 * debug/backtracesyms.c: Likewise.
11154 * elf/elf.h: Likewise.
11155 * malloc/malloc.c: Likewise.
11156 * nis/nis_print.c: Likewise.
11157 * resolv/res_comp.c: Likewise.
11158 * stdlib/stdlib.h: Likewise.
11159 * sunrpc/clnt_tcp.c: Likewise.
11160 * sunrpc/clnt_udp.c: Likewise.
11161 * sunrpc/clnt_unix.c: Likewise.
11162 * sysdeps/unix/bsd/ptsname.c: Likewise.
11163 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11166 Likewise.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11168 Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11170 Likewise.
6f65e668
OB
11171 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11172
3a309239
SP
111732013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11174
11175 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11177
3b813b29
MF
111782013-08-27 Mike Frysinger <vapier@gentoo.org>
11179
11180 [BZ #15897]
11181 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11182 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11183 ($(objpfx)bug-dl-leaf): New rule.
11184 ($(objpfx)bug-dl-leaf.so): Likewise.
11185 ($(objpfx)bug-dl-leaf.out): Likewise.
11186 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11187 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11188 * dlfcn/bug-dl-leaf.c: New test.
11189 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11190 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11191 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11192 (dlclose): Likewise.
11193 (dlmopen): Likewise.
11194
8cc3269f
RM
111952013-08-27 Roland McGrath <roland@hack.frob.com>
11196
7f9d0034
RM
11197 * include/netdb.h [!_ISOMAC]:
11198 Don't include <tls.h>.
11199 (h_errno, __libc_h_errno): Move declaration and macros out of
11200 [_LIBC_REENTRANT].
11201
fb431262
RM
11202 * include/resolv.h [_RESOLV_H_]:
11203 Don't include <tls.h>.
11204 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11205 * resolv/res_libc.c: Don't include <tls.h>.
11206 (_res): Use __attribute__ ((nocommon)) in place of
11207 __attribute__ ((section (".bss"))).
11208
bd81123a
RM
11209 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11210 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11211
c4e42566
RM
11212 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11213
f890a59b
RM
11214 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11215 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11216
11217 * resolv/res_mkquery.c: Include <sys/time.h>.
11218
5d1f0a09
RM
11219 * inet/ifreq.c: Moved to ...
11220 * sysdeps/unix/ifreq.c: ... here.
11221 * inet/ifreq.c: New file, true stub version.
11222
6fcf28b3
RM
11223 * socket/sa_len.c: New file.
11224 * socket/Makefile (aux): Add it.
11225 * sysdeps/unix/sysv/linux/Makefile
11226 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11227 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11228 and #include <socket/sa_len.c>.
11229 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11230 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11231
e041fb8b
RM
11232 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11233 * bits/socket.h: ... here.
11234
8cc3269f
RM
11235 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11236 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11237 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11238
5d228a43
AS
112392013-08-27 Andreas Schwab <schwab@suse.de>
11240
45b8accc
AS
11241 [BZ #15736]
11242 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11243 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11244 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11245 * string/test-strcasecmp.c (test_main): Run tests in several
11246 locales.
11247 * string/test-strncasecmp.c (test_main): Likewise.
11248
5d228a43
AS
11249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11250 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11251 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11253 (__strncasecmp_ssse3) [PIC]: Likewise.
11254
59d112a4
RM
112552013-08-26 Roland McGrath <roland@hack.frob.com>
11256
53234cc3
RM
11257 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11258
59d112a4
RM
11259 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11260 instead of explicitly declaring xdecrypt.
11261 * nis/nss_nis/nis-publickey.c: Likewise.
11262
595aba70
SP
112632013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11264
11265 [BZ #15890]
11266 * nscd/aicache.c: Include res_hconf.h.
11267 (addhstaiX): Initialize res_hconf.
11268
ffabd393
AS
112692013-08-26 Andreas Schwab <schwab@suse.de>
11270
11271 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11272 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11273
e0a69f5c
SP
112742013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11275
11276 * nscd/aicache.c (addhstaiX): Fix indentation.
11277
8c12f01d
MF
112782013-08-25 Mike Frysinger <vapier@gentoo.org>
11279
11280 * configure.ac: Quote $build_pt_chown test.
11281 * configure: Regenerated.
11282
8fe89494
JM
112832013-08-23 Joseph Myers <joseph@codesourcery.com>
11284
11285 [BZ #15532]
11286 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11287 * math/s_cexpf.c (__cexpf): Likewise.
11288 * math/s_cexpl.c (__cexpl): Likewise.
11289 * math/libm-test.inc (cexp_test_data): Correct expected return
11290 value for NaN + i0. Add another test.
11291
75b181d6
DM
112922013-08-22 David S. Miller <davem@davemloft.net>
11293
11294 * po/ca.po: Update Catalan translation from translation project.
936241e4 11295 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11296
acd06bb1
JM
112972013-08-21 Joseph Myers <joseph@codesourcery.com>
11298
11299 [BZ #15797]
11300 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11301 is infinite, not alongside NaN test.
11302 * math/s_fdimf.c (__fdimf): Likewise.
11303 * math/s_fdiml.c (__fdiml): Likewise.
11304 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11305 errno is unchanged.
11306
c0c3f78a
OB
113072013-08-21 Ondřej Bílka <neleai@seznam.cz>
11308
11309 * argp/argp-help.c: Fix typos.
11310 * crypt/speeds.c: Likewise.
11311 * csu/check_fds.c: Likewise.
11312 * elf/dl-load.c: Likewise.
11313 * elf/dl-open.c: Likewise.
11314 * elf/reldep3.c: Likewise.
11315 * elf/reldep.c: Likewise.
11316 * elf/sprof.c: Likewise.
11317 * iconv/iconv_charmap.c: Likewise.
11318 * iconv/skeleton.c: Likewise.
11319 * iconv/strtab.c: Likewise.
11320 * io/lockf64.c: Likewise.
11321 * libio/libioP.h: Likewise.
11322 * resolv/gai_notify.c: Likewise.
11323 * resolv/ns_name.c: Likewise.
11324 * resolv/ns_samedomain.c: Likewise.
11325 * resolv/res_send.c: Likewise.
11326 * stdlib/random.c: Likewise.
11327 * sunrpc/rpc/xdr.h: Likewise.
11328 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11329 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11330 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11331 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11333 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11335 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11336 * sysdeps/mach/hurd/check_fds.c: Likewise.
11337 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11338 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11341 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11343 * sysdeps/pthread/aio_notify.c: Likewise.
11344 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11345 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11348 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11349
46ed1038
LD
113502013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11351
11352 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11353 version if bit_Slow_SSE4_2 is set.
11354 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11355 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11356
d400dcac
AZ
113572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11358
11359 [BZ #15867]
11360 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11361 trampoline stack frame information.
11362 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11363 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11364 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11365 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11366 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11367 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11368 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11369 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11370 sa_flags value.
11371 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11372 interrupting a syscall and set with option SA_SIGINFO.
11373
42c8fdd8
JM
113742013-08-20 Joseph Myers <joseph@codesourcery.com>
11375
c980f2f4
JM
11376 [BZ #15531]
11377 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11378 argument is infinite.
11379 * math/s_cprojf.c (__cprojf): Likewise.
11380 * math/s_cprojl.c (__cprojl): Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11382 * math/libm-test.inc (cproj_test_data): Add more tests.
11383
0716c4fc
JM
11384 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11385
42c8fdd8
JM
11386 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11387 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11388 size. Use __ffs to determine corresponding shift.
11389
b31469d0
JM
113902013-08-20 Joseph Myers <joseph@codesourcery.com>
11391 Roland McGrath <roland@hack.frob.com>
11392
11393 * Makefile (INSTALL): Remove trailing blank lines from output of
11394 makeinfo.
11395
4e39af6e
AK
113962013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11397
11398 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11399 Align 32 bit compat elf_greg to 8 bytes.
11400
f315524e
AA
114012013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11402
11403 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11404
1326ba1a
SP
114052013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11406
11407 * string/strcoll_l.c (coll_seq): New structure.
11408 (get_next_seq_cached): New function.
11409 (get_next_seq): New function.
11410 (do_compare): New function.
11411 (STRCOLL): Use GNU style definition. Simplify implementation
11412 by using get_next_seq, get_next_seq_cached and do_compare.
11413
91ce4085
FW
114142013-08-16 Florian Weimer <fweimer@redhat.com>
11415
11416 [BZ #14699]
11417 CVE-2013-4237
11418 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11419 member.
11420 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11421 member.
11422 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11423 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11424 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11425 conditional.
11426 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11427 GETDENTS_64BIT_ALIGNED.
11428 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11429 * manual/filesys.texi (Reading/Closing Directory): Document
11430 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11431 strongly.
11432 * manual/conf.texi (Limits for Files): Add portability note to
11433 NAME_MAX, PATH_MAX.
11434 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11435
ca0a6bc4
AS
114362013-08-13 Andreas Schwab <schwab@suse.de>
11437
11438 [BZ #15749]
11439 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11440 of fabs.
11441 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11442 LDBL_MAX_EXP >= 16384]: Add tests for it.
11443
6c1fd795
DM
114442013-08-12 David S. Miller <davem@davemloft.net>
11445
11446 * version.h (RELEASE): Set to "development".
11447 (VERSION): Set to "2.18.90".
11448 * NEWS: Add 2.19 section.
11449
31ad488d
DM
114502013-08-03 David S. Miller <davem@davemloft.net>
11451
11452 * po/ko.po: Update Korean translation from translation project.
11453
db24e684
DM
114542013-08-01 David S. Miller <davem@davemloft.net>
11455
11456 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11457 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11458 Bilka.
11459
f723285b
DM
114602013-07-30 David S. Miller <davem@davemloft.net>
11461
11462 * po/fr.po: Update French translation from translation project.
11463
3cbc52db
DM
114642013-07-28 David S. Miller <davem@davemloft.net>
11465
30bbc0cc
DM
11466 * po/cs.po: Update Czech translation from translation project.
11467
3cbc52db
DM
11468 * po/sv.po: Update Swedish translation from translation project.
11469
d492e6d0
DM
114702013-07-27 David S. Miller <davem@davemloft.net>
11471
f1a7f492
DM
11472 * po/eo.po: Update Esperanto translation from translation project.
11473
90e62a4a
DM
11474 * po/vi.po: Update Vietnamese translation from translation project.
11475
d492e6d0
DM
11476 * po/de.po: Update German translation from translation project.
11477
d4baa62d
DM
114782013-07-26 David S. Miller <davem@davemloft.net>
11479
641aa7b4
DM
11480 * po/bg.po: Update Bulgarian translation from translation project.
11481
d4baa62d
DM
11482 * po/nl.po: Update Dutch translation from translation project.
11483 * po/pl.po: Update Polish translation from translation project.
11484 * po/ru.po: Update Russian translation from translation project.
11485
61a9dcb9
DM
114862013-07-24 David S. Miller <davem@davemloft.net>
11487
11488 * po/libc.pot: Update.
11489
7b1f8b58
AZ
114902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11491
11492 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11493 variable page size.
11494 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11496 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11497
a8fc7a03
AK
114982013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11499
11500 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11501
e4608715
CD
115022013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11503 Andreas Schwab <schwab@suse.de>
11504 Roland McGrath <roland@hack.frob.com>
11505 Joseph Myers <joseph@codesourcery.com>
11506 Carlos O'Donell <carlos@redhat.com>
11507
11508 [BZ #15755]
11509 * config.h.in: Define HAVE_PT_CHOWN.
11510 * config.make.in (build-pt-chown): New variable.
11511 * configure.in (--enable-pt_chown): New configure option.
11512 * configure: Regenerate.
11513 * login/Makefile: Include Makeconfig. Build pt_chown only if
11514 build-pt-chown is enabled.
11515 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11516 pt_chown to fix pty ownership.
11517 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11518 CLOSE_ALL_FDS.
11519 * manual/install.texi (Configuring and compiling): Mention
11520 --enable-pt_chown. Add @findex for grantpt.
11521 * INSTALL: Regenerate.
11522
da2d62df
DM
115232013-07-20 David S. Miller <davem@davemloft.net>
11524
11525 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11526 difference between 32-bit and 64-bit.
11527
d7e06450
CD
115282013-07-15 Carlos O'Donell <carlos@redhat.com>
11529
11530 [BZ #15711]
11531 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11532 Avoid system header dependency with -ffreestanding.
11533 ($(objpfx)bits/syscall%d): Likewise.
11534
f959cfd7
DM
115352013-07-13 David S. Miller <davem@davemloft.net>
11536
11537 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11538 underflows from atanl/atan2l due to bug 15319.
11539 (casinh_test_data): Likewise.
11540
c61f8513
DM
115412013-07-07 David S. Miller <davem@davemloft.net>
11542
11543 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11544
72c90ed0
JA
115452013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11546
11547 * sysdeps/i386/fpu/libm-test-ulps: Update.
11548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11549
52dfbe13
SP
115502013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11551
11552 * configure.in (--enable-lock-elision): Fix message text.
11553 * INSTALL: Regenerate.
11554 * configure: Regenerate.
11555
3f169543
AZ
115562013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557
11558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11559
521c6785
AJ
115602013-07-03 Andreas Jaeger <aj@suse.de>
11561
11562 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11563 define.
11564 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11565 (ptrace_peeksiginfo_args): Add.
11566 (__ptrace_peeksiginfo_flags): Add.
11567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11570
d2cc15cb
AM
115712013-07-03 Allan McRae <allan@archlinux.org>
11572
11573 * sysdeps/i386/fpu/libm-test-ulps: Update.
11574
3aaeeca7
DM
115752013-07-02 David S. Miller <davem@davemloft.net>
11576
11577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11578
5314ed1a
MT
115792013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11580
11581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11582
67338156
JM
115832013-07-02 Joseph Myers <joseph@codesourcery.com>
11584
11585 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11587
1717da59
AK
115882013-07-02 Andi Kleen <ak@linux.intel.com>
11589
11590 * config.h.in (ENABLE_LOCK_ELISION): Add.
11591 * configure.in (--enable-lock-elision): Add option.
11592 * manual/install.texi: Document --enable lock elision.
11593 * configure: Regenerate
11594 * INSTALL: Regenerate.
11595
1c81621c
L
115962013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11597
11598 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11599 SSE4.2 strcasecmp for libc.a.
11600 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11601
77f01ab5
JM
116022013-07-02 Joseph Myers <joseph@codesourcery.com>
11603
11604 [BZ #13304]
11605 * soft-fp/op-common.h (_FP_FMA): New macro.
11606 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11607 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11608 (_FP_MUL_MEAT_1_imm): ... here.
11609 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11610 (_FP_MUL_MEAT_1_wide): ... here.
11611 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11612 (_FP_MUL_MEAT_1_hard): ... here.
11613 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11614 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11615 (_FP_MUL_MEAT_2_wide): ... here.
11616 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11617 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11618 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11619 (_FP_MUL_MEAT_2_gmp): ... here.
11620 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11621 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11622 (_FP_MUL_MEAT_4_wide): ... here.
11623 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11624 (_FP_MUL_MEAT_4_gmp): ... here.
11625 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11626 (_FP_WFRACBITS_DW_S): Likewise.
11627 (_FP_WFRACXBITS_DW_S): Likewise.
11628 (_FP_HIGHBIT_DW_S): Likewise.
11629 (FP_FMA_S): Likewise.
11630 (_FP_FRAC_HIGH_DW_S): Likewise.
11631 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11632 (_FP_WFRACBITS_DW_D): Likewise.
11633 (_FP_WFRACXBITS_DW_D): Likewise.
11634 (_FP_HIGHBIT_DW_D): Likewise.
11635 (FP_FMA_D): Likewise.
11636 (_FP_FRAC_HIGH_DW_D): Likewise.
11637 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11638 (_FP_WFRACBITS_DW_E): Likewise.
11639 (_FP_WFRACXBITS_DW_E): Likewise.
11640 (_FP_HIGHBIT_DW_E): Likewise.
11641 (FP_FMA_E): Likewise.
11642 (_FP_FRAC_HIGH_DW_E): Likewise.
11643 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11644 (_FP_WFRACBITS_DW_Q): Likewise.
11645 (_FP_WFRACXBITS_DW_Q): Likewise.
11646 (_FP_HIGHBIT_DW_Q): Likewise.
11647 (FP_FMA_Q): Likewise.
11648 (_FP_FRAC_HIGH_DW_Q): Likewise.
11649 * soft-fp/fmasf4.c: New file.
11650 * soft-fp/fmadf4.c: Likewise.
11651 * soft-fp/fmatf4.c: Likewise.
11652
6308fd9a
LD
116532013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11654
11655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11656 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11657 Silvermont.
11658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11659 macro.
11660 (index_Slow_SSE4_2): Likewise.
11661 (index_Prefer_PMINUB_for_stringop): Likewise.
11662 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11663 bit_Slow_SSE4_2 is set.
11664 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11665 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11666
89cd9569
RA
116672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11668
11669 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11670 rtld_global._dl_hwcap2.
11671 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11672 POWER8.
11673 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11674 POWER8 feature descriptions defined in _dl_hwcap2.
11675 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11676 string handling for POWER8 feature bits.
11677 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11678 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11679 _dl_powerpc_cap_flags.
11680 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11681 * sysdeps/powerpc/rtld-global-offsets.sym
11682 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11683 _dl_hwcap2 in the rtld_global_ro structure.
11684
1ae8bfe0
RA
116852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11686
11687 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11688 hardware capabilities in support of AT_HWCAP2.
11689 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11690 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11691 GLRO(dl_hwcap2).
11692 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11693 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11694 explicitly the unknown a_type display mechanism is used.
11695 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11696 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11697 struct member.
11698 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11699 to macro prototype for AT_HWCAP2 support.
11700 * sysdeps/i386/dl-procinfo.h: Likewise.
11701 * sysdeps/s390/dl-procinfo.h: Likewise.
11702 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11703 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11704 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11705 return -1 for unknown a_type display fallback.
11706 * sysdeps/sparc/dl-procinfo.h: Likewise.
11707 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11708 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11709
8fbec010
JM
117102013-06-28 Joseph Myers <joseph@codesourcery.com>
11711
11712 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11713 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11714
0432680e
PY
117152013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11716
11717 [BZ #12492]
11718 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11719 mprotect making __stack_prot writable.
11720
ce61a2ad
NF
117212013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11722 Joseph Myers <joseph@codesourcery.com>
11723
11724 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11725 as being properly aligned.
11726
f91f1c0f
MR
117272013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11728
3d0f5d0c
MR
11729 * dlfcn/modstatic5.c: New file.
11730 * dlfcn/tststatic5.c: New file.
11731 * dlfcn/Makefile (tests): Add tststatic5.
11732 (tests-static): Likewise.
11733 (modules-names): Add modstatic5.
11734 (tststatic5-ENV): New variable.
11735 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11736
f91f1c0f
MR
11737 [BZ #15022]
11738 * elf/dl-support.c (_dl_main_map): New variable.
11739 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11740 (_dl_nns, _dl_load_adds): Set to 1.
11741 (_dl_initial_searchlist): Refer to _dl_main_map.
11742 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11743 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11744 call to _dl_get_origin.
11745 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11746 around call_map.
11747 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11748 * dlfcn/modstatic3.c: New file.
11749 * dlfcn/tststatic3.c: New file.
11750 * dlfcn/tststatic4.c: New file.
11751 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11752 (tests-static): Likewise.
11753 (modules-names): Add modstatic3.
11754 (tststatic3-ENV, tststatic4-ENV): New variables.
11755 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11756 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11757
cbe7d24b
JM
117582013-06-26 Joseph Myers <joseph@codesourcery.com>
11759
11760 * configure.in (CC): Require GCC version 4.4 or later.
11761 * configure: Regenerated.
11762 * manual/install.texi (Tools for Compilation): Update GCC version
11763 requirement.
11764 * INSTALL: Regenerated.
11765
11b8a0e1
LD
117662013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11767
11768 [BZ #15674]
bb5bb87c
L
11769 * string/test-memcmp.c (check2): New.
11770 (main): Call check2.
11771
11b8a0e1
LD
11772 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11773
b0037103
MR
117742013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11775
11776 [BZ #15022]
11777 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11778 over to...
11779 (dl_open_worker) [!SHARED]: ... here.
11780
c18c701d
RA
117812013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11782
11783 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11784
1d17fa5f
RH
117852013-06-25 Richard Henderson <rth@redhat.com>
11786
11787 * locale/programs/locarchive.c: Include <libc-internal.h>
11788
8fcb833a
JM
117892013-06-25 Joseph Myers <joseph@codesourcery.com>
11790
11791 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11792 trailing whitespace removed.
11793
17db6e8d
MF
117942013-06-24 Mike Frysinger <vapier@gentoo.org>
11795
11796 [BZ #10283]
17db6e8d
MF
11797 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11798 * locale/programs/locarchive.c: Include libc-mmap.h.
11799 (prepare_address_space): Take two new outputs (the mmap base and len).
11800 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11801 values.
11802 (create_archive): Declare new mmap base and len values for
11803 prepare_address_space, and store the result in ah.
11804 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11805 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11806 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11807 Declare new mmap base and len values for
11808 prepare_address_space, and store the result in new_ah.
11809 (open_archive): Declare new mmap base and len values for
11810 prepare_address_space, and store the result in ah.
11811 (close_archive): If ah->mmap_base is not NULL, use that and
11812 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11813 * sysdeps/generic/libc-mmap.h: New file.
11814
d605071e
MF
118152013-06-24 Mike Frysinger <vapier@gentoo.org>
11816
11817 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11818 (ALIGN_UP): Likewise.
11819 (PTR_ALIGN_DOWN): Likewise.
11820 (PTR_ALIGN_UP): Likewise.
11821
2f063a6e
RA
118222013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11823
11824 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11825 entry mapped to PPC_PLATFORM_POWER8.
11826 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11827 POWER8.
11828 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11829 (_dl_string_platform): Add case for exporting platform position for
11830 POWER8.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11832 search path to sysdeps/powerpc/powerpc32/power8 directory.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11834 search path to sysdeps/powerpc/powerpc64/power8 directory.
11835 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11836 power7 directories.
11837 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11838 power7 directories.
11839
a31ee4b3
SP
118402013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11841
a74ca98f
SP
11842 * INSTALL: Regenerate.
11843
a31ee4b3
SP
11844 * nscd/connections.c (nscd_init): Fix comment.
11845
695c378f
JM
118462013-06-22 Joseph Myers <joseph@codesourcery.com>
11847
d8412221
JM
11848 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11849
695c378f
JM
11850 [BZ #15667]
11851 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11852 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11853
d1d54715
MR
118542013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11855
11856 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11857 DL_DST_REQ_STATIC.
11858 (DL_DST_REQ_STATIC): Remove macro.
11859
8fdda7af
JM
118602013-06-21 Joseph Myers <joseph@codesourcery.com>
11861
11862 [BZ #7006]
11863 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11864 with a shift of 0 bits.
11865
f3bc5e5a
MR
118662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11867
11868 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11869 $(tststatic-ENV).
11870
be09e8c9
KK
118712013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11872
11873 [BZ #15655]
11874 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11875
85c2e611
AZ
118762013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11877
11878 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11879 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11880 accepts -fno-tree-loop-distribute-patterns.
11881 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11882 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11883 recursive call.
11884 * string/memset.c (memset): Likewise.
11885 * string/test-memmove.c (simple_memmove): Disable loop transformation
11886 to library calls.
11887 * string/test-memset.c (simple_memset): Likewise.
11888 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11889 * benchtests/bench-memset.c (simple_memset): Likewise.
11890 * configure: Regenerated.
11891
c91e0825
JM
118922013-06-20 Joseph Myers <joseph@codesourcery.com>
11893
b8c792af
JM
11894 * math/test-misc.c (main): Ignore fesetround failure when failures
11895 of subsequent rounding tests would be ignored.
11896
c91e0825
JM
11897 [BZ #15654]
11898 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11899 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11900 * math/fegetenv.c (__fegetenv): Return 0.
11901 * math/fegetexcept.c (fegetexcept): Return 0.
11902 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11903 FE_TONEAREST.
11904 * math/feholdexcpt.c (feholdexcept): Return 0.
11905 * math/fesetenv.c (__fesetenv): Return 0.
11906 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11907 argument FE_TONEAREST.
11908 * math/feupdateenv.c (__feupdateenv): Return 0.
11909 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11910
bfcacbde
RM
119112013-06-18 Roland McGrath <roland@hack.frob.com>
11912
11913 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11914 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11915 ($(objpfx)rtld-%.os rules): Use them.
11916
e55a9b25
AZ
119172013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11918
11919 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11920 fields.
11921
346d65b3
RM
119222013-06-17 Roland McGrath <roland@hack.frob.com>
11923
12086fb4
RM
11924 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11925 length of target pattern, then descending length of dependency pattern.
11926 * configure.in (AWK): Require gawk 3.1.2 or newer.
11927 * manual/install.texi (Tools for Compilation): Say that we do.
11928 * configure: Regenerated.
11929
346d65b3
RM
11930 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11931 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11932 * scripts/sysd-rules.awk: ... this new script.
11933 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11934 than a glob-style pattern.
11935
1a846317
JM
119362013-06-17 Joseph Myers <joseph@codesourcery.com>
11937
11938 * math/test-misc.c (main): Do not treat incorrectly rounded
11939 conversions as failure unless ROUNDING_TESTS passes.
11940
8fc75e6f
JM
119412013-06-15 Joseph Myers <joseph@codesourcery.com>
11942
3711a167
JM
11943 [BZ #15631]
11944 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11945 restore exception state around main square root computation, then
11946 check for inexactness explicitly.
11947
8fc75e6f
JM
11948 * math/libm-test.inc (fma_test_data): Add another test.
11949
61dd6208
SP
119502013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11951
adf23d2c
SP
11952 * manual/threads.texi (Non-POSIX Extensions): New document
11953 node. Document pthread_getattr_default_np and
11954 pthread_setattr_default_np.
11955
61dd6208
SP
11956 * Versions.def (libpthread): Add GLIBC_2.18.
11957 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11959 Likewise.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11961 Likewise.
11962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11963 Likewise.
11964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11965 Likewise.
11966 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11967 Likewise.
11968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11969 Likewise.
11970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11971 Likewise.
11972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11973 Likewise.
11974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11975 Likewise.
11976
d086fc7b
LD
119772013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11978
11979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11980 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11981
747ef469
SP
119822013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11983 H.J. Lu <hjl.tools@gmail.com>
11984
11985 [BZ #15627]
11986 * sysdeps/x86_64/rtld-memset.c: Remove file.
11987 * sysdeps/x86_64/rtld-memset.S: New file.
11988
1b2feed2
JM
119892013-06-14 Joseph Myers <joseph@codesourcery.com>
11990
11991 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11992 (test_in_one_mode): Take arguments for whether the rounding mode
11993 is supported for each floating-point type.
11994 (do_test): Pass new arguments to test_in_one_mode using
11995 ROUNDING_TESTS.
11996
a58ad3f8
RM
119972013-06-13 Roland McGrath <roland@hack.frob.com>
11998
11999 * posix/tst-waitid.c (do_test): Distinguish different instances of
12000 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12001 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12002 before entering the kernel for waitpid.
12003
c204ab28
SP
120042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12005
12006 * NEWS: Fix note on clock function precision. Text by Roland
12007 McGrath.
12008
f4a29fba
RM
120092013-06-13 Roland McGrath <roland@hack.frob.com>
12010
12011 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12012 it into place only when and if the sanity check passes.
12013
1f24b9ad
JM
120142013-06-13 Joseph Myers <joseph@codesourcery.com>
12015
12016 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12017 output for whether conversion result is exact. Take argument
12018 indicating whether type is IBM long double.
12019 (round_for_all): Change need_exact field to ibm_ld.
12020 * stdlib/tst-strtod-round.c (struct exactness): New type.
12021 (struct test): Change bool ld_ok field to struct exactness exact.
12022 (TEST): Update all definitions for change to field.
12023 (tests): Regenerate array contents.
12024 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12025 field value. Check for IBM long double here.
12026 (do_test): Update calls to test_in_one_mode.
12027
58206c68
SP
120282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12029
12030 [BZ #12515]
12031 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12032 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12033
2d6f4c5b 120342013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12035
12036 [BZ #15605]
12037 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12038 generated by the compiler on loop optimizations.
12039 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12040 general definitions.
12041
94f2c076
JM
120422013-06-12 Joseph Myers <joseph@codesourcery.com>
12043
12044 * math/bug-nextafter.c: Include <math-tests.h>.
12045 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12046 the relevant type.
12047 * math/bug-nexttoward.c: Include <math-tests.h>.
12048 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12049 the relevant type.
12050 * math/test-misc.c: Include <math-tests.h>.
12051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12052 the relevant type.
12053
e0e50a0a
AJ
120542013-06-12 Andreas Jaeger <aj@suse.de>
12055
12056 * po/ia.po: Update Interlingua translation from translation
12057 project.
12058
25061094
SP
120592013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12060
12061 * include/fenv.h: Include stdbool.h.
12062 (struct rm_ctx): New structure.
12063 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12064 Define macro.
12065 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12066 (SET_RESTORE_ROUNDF): Likewise.
12067 (SET_RESTORE_ROUNDL): Likewise.
12068 (SET_RESTORE_ROUND_NOEX): Likewise.
12069 (SET_RESTORE_ROUND_NOEXF): Likewise.
12070 (SET_RESTORE_ROUND_NOEXL): Likewise.
12071 (SET_RESTORE_ROUND_53BIT): Likewise.
12072 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12073 (libc_feresetround_noexf_ctx): Likewise.
12074 (libc_feresetround_noexl_ctx): Likewise.
12075 (libc_feholdsetround_53bit_ctx): Likewise.
12076 (libc_feresetround_53bit_ctx): Likewise.
12077 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12078 (libc_feholdexcept_setround_sse_ctx): New function.
12079 (libc_fesetenv_sse_ctx): Likewise.
12080 (libc_feupdateenv_sse_ctx): Likewise.
12081 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12082 (libc_feholdexcept_setround_387_ctx): Likewise.
12083 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12084 (libc_feholdsetround_387_prec_ctx): Likewise.
12085 (libc_feholdsetround_387_ctx): Likewise.
12086 (libc_feholdsetround_387_53bit_ctx): Likewise.
12087 (libc_feholdsetround_sse_ctx): Likewise.
12088 (libc_feresetround_sse_ctx): Likewise.
12089 (libc_feresetround_387_ctx): Likewise.
12090 (libc_feupdateenv_387_ctx): Likewise.
12091 (libc_feholdexcept_setroundf_ctx): Define macro.
12092 (libc_fesetenvf_ctx): Likewise.
12093 (libc_feupdateenvf_ctx): Likewise.
12094 (libc_feholdsetroundf_ctx): Likewise.
12095 (libc_feresetroundf_ctx): Likewise.
12096 (libc_feholdexcept_setround_ctx): Likewise.
12097 (libc_fesetenv_ctx): Likewise.
12098 (libc_feupdateenv_ctx): Likewise.
12099 (libc_feholdsetround_ctx): Likewise.
12100 (libc_feresetround_ctx): Likewise.
12101 (libc_feholdexcept_setroundl_ctx): Likewise.
12102 (libc_feupdateenvl_ctx): Likewise.
12103 (libc_feholdsetroundl_ctx): Likewise.
12104 (libc_feresetroundl_ctx): Likewise.
12105 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12106 (libc_feresetround_53bit_ctx): Likewise.
12107
59b30555
SP
121082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
12110 * locale/iso-639.def: Convert to UTF-8.
12111
f1d73d30
JM
121122013-06-11 Joseph Myers <joseph@codesourcery.com>
12113
12114 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12115 (EXCEPTION_TESTS_double): Likewise.
12116 (EXCEPTION_TESTS_long_double): Likewise.
12117 (EXCEPTION_TESTS): Likewise.
12118 * math/libm-test.inc (test_exceptions): Only test exceptions if
12119 EXCEPTION_TESTS (FLOAT).
12120
94aca5e7
SP
121212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12122
12123 * benchtests/Makefile (string-bench): Add strcpy_chk and
12124 stpcpy_chk.
12125 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12126 * benchtests/bench-stpcpy_chk.c: New file.
12127 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12128 * benchtests/bench-strcpy_chk.c: New file.
12129 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12130 code.
12131 (do_test): Likewise.
12132
fac0c5f2
RA
121332013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12134
12135 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12136 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12137 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12138 with tabs where appropriate.
12139 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12140 dl-procinfo.h.
12141 [PPC_PLATFORM_PPC440]: Likewise.
12142 [PPC_PLATFORM_PPC464]: Likewise.
12143 [PPC_PLATFORM_PPC476]: Likewise.
12144 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12145 ppc464, and ppc476 platform strings merging from ports/
12146 dl-procinfo.h.
12147
f22bc486
AS
121482013-06-11 Andreas Schwab <schwab@suse.de>
12149
12150 [BZ #14991]
12151 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12152 (from_ucs4_idx): Regenerate.
12153 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12154 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12155 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12156 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12157 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12158 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12159 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12160 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12161 from FROM_LOOP and TO_LOOP specific macros.
12162 (BODY): Handle combining characters.
12163 * iconvdata/BIG5HKSCS.irreversible: Update.
12164 * iconvdata/BIG5HKSCS.precomposed: New file.
12165 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12166 characters.
12167 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12168
c1f75dc3
SP
121692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12170
4eacded2
SP
12171 * include/sys/time.h: Fix indentation and add copyright header.
12172
fec799f8
SP
12173 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12174 (do_test): Likewise.
12175 * string/test-memchr.c (do_one_test): Likewise.
12176 (do_test): Likewise.
12177 * string/test-memcmp.c (do_one_test): Likewise.
12178 (do_test): Likewise.
12179 * string/test-memcpy.c (do_one_test): Likewise.
12180 (do_test): Likewise.
12181 * string/test-memmem.c (do_one_test): Likewise.
12182 (do_test): Likewise.
12183 (do_random_tests): Likewise.
12184 * string/test-memmove.c (do_one_test): Likewise.
12185 (do_test): Likewise.
12186 * string/test-memset.c (do_one_test): Likewise.
12187 (do_test): Likewise.
12188 * string/test-rawmemchr.c (do_one_test): Likewise.
12189 (do_test): Likewise.
12190 * string/test-strcasecmp.c (do_one_test): Likewise.
12191 (do_test): Likewise.
12192 * string/test-strcasestr.c (do_one_test): Likewise.
12193 (do_test): Likewise.
12194 * string/test-strcat.c (do_one_test): Likewise.
12195 (do_test): Likewise.
12196 * string/test-strchr.c (do_one_test): Likewise.
12197 (do_test): Likewise.
12198 * string/test-strcmp.c (do_one_test): Likewise.
12199 (do_test): Likewise.
12200 * string/test-strcpy.c (do_one_test): Likewise.
12201 (do_test): Likewise.
12202 * string/test-string.h: Likewise.
12203 (test_init): Likewise.
12204 * string/test-strlen.c (do_one_test): Likewise.
12205 (do_test): Likewise.
12206 * string/test-strncasecmp.c (do_one_test): Likewise.
12207 (do_test): Likewise.
12208 * string/test-strncat.c (do_one_test): Likewise.
12209 (do_test): Likewise.
12210 * string/test-strncmp.c (do_one_test): Likewise.
12211 (do_test_limit): Likewise.
12212 (do_test): Likewise.
12213 * string/test-strncpy.c (do_one_test): Likewise.
12214 (do_test): Likewise.
12215 * string/test-strnlen.c (do_one_test): Likewise.
12216 (do_test): Likewise.
12217 * string/test-strpbrk.c (do_one_test): Likewise.
12218 (do_test): Likewise.
12219 * string/test-strrchr.c (do_one_test): Likewise.
12220 (do_test): Likewise.
12221 * string/test-strspn.c (do_one_test): Likewise.
12222 (do_test): Likewise.
12223 * string/test-strstr.c (do_one_test): Likewise.
12224 (do_test): Likewise.
12225
97020474
SP
12226 * benchtests/Makefile (string-bench): Add string benchmarks.
12227 * benchtests/bench-bcopy-ifunc.c: New file.
12228 * benchtests/bench-bcopy.c: New file.
12229 * benchtests/bench-bzero-ifunc.c: New file.
12230 * benchtests/bench-bzero.c: New file.
12231 * benchtests/bench-memccpy-ifunc.c: New file.
12232 * benchtests/bench-memccpy.c: New file.
12233 * benchtests/bench-memchr-ifunc.c: New file.
12234 * benchtests/bench-memchr.c: New file.
12235 * benchtests/bench-memcmp-ifunc.c: New file.
12236 * benchtests/bench-memcmp.c: New file.
12237 * benchtests/bench-memmem-ifunc.c: New file.
12238 * benchtests/bench-memmem.c: New file.
12239 * benchtests/bench-memmove-ifunc.c: New file.
12240 * benchtests/bench-memmove.c: New file.
12241 * benchtests/bench-mempcpy-ifunc.c: New file.
12242 * benchtests/bench-mempcpy.c: New file.
12243 * benchtests/bench-memset-ifunc.c: New file.
12244 * benchtests/bench-memset.c: New file.
12245 * benchtests/bench-rawmemchr-ifunc.c: New file.
12246 * benchtests/bench-rawmemchr.c: New file.
12247 * benchtests/bench-stpcpy-ifunc.c: New file.
12248 * benchtests/bench-stpcpy.c: New file.
12249 * benchtests/bench-stpncpy-ifunc.c: New file.
12250 * benchtests/bench-stpncpy.c: New file.
12251 * benchtests/bench-strcasecmp-ifunc.c: New file.
12252 * benchtests/bench-strcasecmp.c: New file.
12253 * benchtests/bench-strcasestr-ifunc.c: New file.
12254 * benchtests/bench-strcasestr.c: New file.
12255 * benchtests/bench-strcat-ifunc.c: New file.
12256 * benchtests/bench-strcat.c: New file.
12257 * benchtests/bench-strchr-ifunc.c: New file.
12258 * benchtests/bench-strchr.c: New file.
12259 * benchtests/bench-strchrnul-ifunc.c: New file.
12260 * benchtests/bench-strchrnul.c: New file.
12261 * benchtests/bench-strcmp-ifunc.c: New file.
12262 * benchtests/bench-strcmp.c: New file.
12263 * benchtests/bench-strcpy-ifunc.c: New file.
12264 * benchtests/bench-strcpy.c: New file.
12265 * benchtests/bench-strcspn-ifunc.c: New file.
12266 * benchtests/bench-strcspn.c: New file.
12267 * benchtests/bench-strlen-ifunc.c: New file.
12268 * benchtests/bench-strlen.c: New file.
12269 * benchtests/bench-strncasecmp-ifunc.c: New file.
12270 * benchtests/bench-strncasecmp.c: New file.
12271 * benchtests/bench-strncat-ifunc.c: New file.
12272 * benchtests/bench-strncat.c: New file.
12273 * benchtests/bench-strncmp-ifunc.c: New file.
12274 * benchtests/bench-strncmp.c: New file.
12275 * benchtests/bench-strncpy-ifunc.c: New file.
12276 * benchtests/bench-strncpy.c: New file.
12277 * benchtests/bench-strnlen-ifunc.c: New file.
12278 * benchtests/bench-strnlen.c: New file.
12279 * benchtests/bench-strpbrk-ifunc.c: New file.
12280 * benchtests/bench-strpbrk.c: New file.
12281 * benchtests/bench-strrchr-ifunc.c: New file.
12282 * benchtests/bench-strrchr.c: New file.
12283 * benchtests/bench-strspn-ifunc.c: New file.
12284 * benchtests/bench-strspn.c: New file.
12285 * benchtests/bench-strstr-ifunc.c: New file.
12286 * benchtests/bench-strstr.c: New file.
12287
c1f75dc3
SP
12288 * benchtests/Makefile: Disable parallel execution of targets.
12289 (string-bench): Add memcpy.
12290 (benchset): New variable to store a list of benchmark sets.
12291 (bench-func): Renamed from bench.
12292 (bench-set): New target.
12293 (bench): Depend on bench-func and bench-set.
12294 * benchtests/README: Add section on benchmark sets.
12295 * benchtests/bench-memcpy-ifunc.c: New file.
12296 * benchtests/bench-memcpy.c: New file.
12297 * benchtests/bench-string.h: New file.
12298
50fd745b
AS
122992013-06-11 Andreas Schwab <schwab@suse.de>
12300
12301 [BZ #15577]
12302 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12303 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12304 values in the triple.
12305 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12306 terminator in the group key.
12307
3ee7e9fe
AJ
123082013-06-11 Andreas Jaeger <aj@suse.de>
12309
12310 * po/zh_TW.po: Update Chinese (traditional) translation from
12311 translation project.
12312
89fb6835
SP
123132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12314
12315 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12316 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12317 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12319 (clock_getcpuclockid): Likewise.
12320 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12321 Add weak_alias and libc_hidden_def.
12322 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12323 * rt/clock_gettime.c (clock_gettime): Rename to
12324 __clock_gettime. Add weak_alias and libc_hidden_def.
12325 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12326 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12327 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12328 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12329 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12330 Likewise.
12331 * rt/clock_settime.c (clock_settime): Rename to
12332 __clock_settime. Add weak_alias and libc_hidden_def.
12333 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12334
0efa6f8b
JM
123352013-06-10 Joseph Myers <joseph@codesourcery.com>
12336
b8c61b4b
JM
12337 * mach/err_boot.sub: Remove trailing whitespace.
12338 * mach/err_ipc.sub: Likewise.
12339 * mach/err_mach.sub: Likewise.
12340
0efa6f8b
JM
12341 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12342 (ROUNDING_TESTS_double): Likewise.
12343 (ROUNDING_TESTS_long_double): Likewise.
12344 (ROUNDING_TESTS): Likewise.
12345 * math/libm-test.inc: Include <math-tests.h>.
12346 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12347 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12348 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12349 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12350
50b818bf
SP
123512013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12352
12353 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12354 of assigning.
12355
60d2f8f3
JM
123562013-06-08 Joseph Myers <joseph@codesourcery.com>
12357
4902d2c3
JM
12358 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12359 otherwise empty TRANS lines.
12360 * sysdeps/gnu/errlist.c: Regenerated.
12361
60d2f8f3
JM
12362 * catgets/gencat.c (error_print): Use (void) in function
12363 definition.
12364 * crypt/crypt_util.c (__init_des): Likewise.
12365 * crypt/speeds.c (Stop): Likewise.
12366 (main): Likewise.
12367 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12368 * inet/ruserpass.c (token): Likewise.
12369 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12370 * intl/localealias.c (extend_alias_table): Likewise.
12371 * intl/plural-exp.c (init_germanic_plural): Likewise.
12372 * libio/fcloseall.c (__fcloseall): Likewise.
12373 * libio/genops.c (_IO_flush_all): Likewise.
12374 (_IO_flush_all_linebuffered): Likewise.
12375 (_IO_cleanup): Likewise.
12376 (_IO_iter_begin): Likewise.
12377 (_IO_iter_end): Likewise.
12378 (_IO_list_lock): Likewise.
12379 (_IO_list_unlock): Likewise.
12380 (_IO_list_resetlock): Likewise.
12381 * libio/getchar.c (getchar): Likewise.
12382 * libio/getchar_u.c (getchar_unlocked): Likewise.
12383 * libio/getwchar.c (getwchar): Likewise.
12384 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12385 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12386 * login/getpt.c (__getpt): Likewise.
12387 * login/tst-utmp.c (main): Likewise.
12388 * malloc/hooks.c (__malloc_check_init): Likewise.
12389 * malloc/malloc.c (__malloc_stats): Likewise.
12390 * malloc/mtrace.c (tr_break): Likewise.
12391 (mtrace): Likewise.
12392 (muntrace): Likewise.
12393 * misc/fstab.c (endfsent): Likewise.
12394 * misc/getclktck.c (__getclktck): Likewise.
12395 * misc/getdtsz.c (__getdtablesize): Likewise.
12396 * misc/gethostid.c (gethostid): Likewise.
12397 * misc/getpagesize.c (__getpagesize): Likewise.
12398 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12399 (__get_nprocs): Likewise.
12400 (__get_phys_pages): Likewise.
12401 (__get_avphys_pages): Likewise.
12402 * misc/getttyent.c (getttyent): Likewise.
12403 (setttyent): Likewise.
12404 (endttyent): Likewise.
12405 * misc/getusershell.c (getusershell): Likewise.
12406 (endusershell): Likewise.
12407 (setusershell): Likewise.
12408 (initshells): Likewise.
12409 * misc/hsearch.c (__hdestroy): Likewise.
12410 * misc/sync.c (sync): Likewise.
12411 * misc/syslog.c (closelog_internal): Likewise.
12412 (closelog): Likewise.
12413 * misc/ttyslot.c (ttyslot): Likewise.
12414 * misc/vhangup.c (vhangup): Likewise.
12415 * posix/fork.c (__fork): Likewise.
12416 * posix/getegid.c (__getegid): Likewise.
12417 * posix/geteuid.c (__geteuid): Likewise.
12418 * posix/getgid.c (__getgid): Likewise.
12419 * posix/getpid.c (__getpid): Likewise.
12420 * posix/getppid.c (__getppid): Likewise.
12421 * posix/getuid.c (__getuid): Likewise.
12422 * posix/pause.c (pause): Likewise.
12423 * posix/setpgrp.c (setpgrp): Likewise.
12424 * posix/setsid.c (__setsid): Likewise.
12425 * posix/test-vfork.c (noop): Likewise.
12426 * resolv/gethnamaddr.c (_endhtent): Likewise.
12427 (_gethtent): Likewise.
12428 (ht_endhostent): Likewise.
12429 (gethostent): Likewise.
12430 (dns_service): Likewise.
12431 * stdlib/drand48.c (drand48): Likewise.
12432 * stdlib/lrand48.c (lrand48): Likewise.
12433 * stdlib/mrand48.c (mrand48): Likewise.
12434 * stdlib/rand.c (rand): Likewise.
12435 * stdlib/random.c (__random): Likewise.
12436 * stdlib/setenv.c (clearenv): Likewise.
12437 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12438 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12439 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12440 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12441 (__get_nprocs): Likewise.
12442 (__get_phys_pages): Likewise.
12443 (__get_avphys_pages): Likewise.
12444 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12445 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12446 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12447 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12448 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12449 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12450 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12451 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12452 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12453 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12454 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12455 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12456 * sysdeps/posix/clock.c (clock): Likewise.
12457 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12458 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12459 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12460 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12461 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12463 (__get_nprocs_conf): Likewise.
12464 (__get_phys_pages): Likewise.
12465 (__get_avphys_pages): Likewise.
12466 * time/clock.c (clock): Likewise.
12467 * time/tzset.c (__tzname_max): Likewise.
12468
2e09a79a
JM
124692013-06-07 Joseph Myers <joseph@codesourcery.com>
12470
12471 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12472 (__bswap_32): Do not use "register".
12473 * crypt/crypt.c (_ufc_doit_r): Likewise.
12474 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12475 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12476 * gmon/gmon.c (__monstartup): Likewise.
12477 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12478 * hurd/hurdmalloc.c (more_memory): Likewise.
12479 (malloc): Likewise.
12480 (free): Likewise.
12481 (realloc): Likewise.
12482 (malloc_fork_prepare): Likewise.
12483 (malloc_fork_parent): Likewise.
12484 (malloc_fork_child): Likewise.
12485 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12486 (_svcauth_des): Likewise.
12487 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12488 * inet/inet_net.c (inet_network): Likewise.
12489 * inet/inet_netof.c (inet_netof): Likewise.
12490 * inet/rcmd.c (__validuser2_sa): Likewise.
12491 * io/fts.c (fts_open): Likewise.
12492 (fts_load): Likewise.
12493 (fts_close): Likewise.
12494 (fts_read): Likewise.
12495 (fts_children): Likewise.
12496 (fts_build): Likewise.
12497 (fts_stat): Likewise.
12498 (fts_sort): Likewise.
12499 (fts_alloc): Likewise.
12500 (fts_lfree): Likewise.
12501 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12502 (_IO_file_xsgetn): Likewise.
12503 (_IO_file_xsgetn_mmap): Likewise.
12504 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12505 (_IO_cookie_write): Likewise.
12506 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12507 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12508 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12509 * malloc/obstack.c (_obstack_begin): Likewise.
12510 (_obstack_begin_1): Likewise.
12511 (_obstack_newchunk): Likewise.
12512 (_obstack_allocated_p): Likewise.
12513 (obstack_free): Likewise.
12514 (_obstack_memory_used): Likewise.
12515 * misc/getttyent.c (getttynam): Likewise.
12516 (getttyent): Likewise.
12517 (skip): Likewise.
12518 (value): Likewise.
12519 * misc/getusershell.c (initshells): Likewise.
12520 * misc/syslog.c (__vsyslog_chk): Likewise.
12521 * misc/ttyslot.c (ttyslot): Likewise.
12522 * nis/nis_hash.c (__nis_hash): Likewise.
12523 * posix/fnmatch_loop.c (FCT): Likewise.
12524 * posix/getconf.c (print_all): Likewise.
12525 (main): Likewise.
12526 * posix/getopt.c (exchange): Likewise.
12527 * posix/glob.c (globfree): Likewise.
12528 (prefix_array): Likewise.
12529 (__glob_pattern_type): Likewise.
12530 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12531 (NS_GET32): Likewise.
12532 (NS_PUT16): Likewise.
12533 (NS_PUT32): Likewise.
12534 * resolv/gethnamaddr.c (getanswer): Likewise.
12535 (gethostbyname2): Likewise.
12536 (gethostbyaddr): Likewise.
12537 (_gethtent): Likewise.
12538 (_gethtbyname2): Likewise.
12539 (_gethtbyaddr): Likewise.
12540 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12541 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12542 * resolv/res_init.c (__res_vinit): Likewise.
12543 (net_mask): Likewise.
12544 * resolv/res_mkquery.c (outchar): Likewise.
12545 (PRINT): Likewise.
12546 * stdio-common/printf_fp.c (outchar): Likewise.
12547 (PRINT): Likewise.
12548 * stdio-common/printf_fphex.c (outchar): Likewise.
12549 (PRINT): Likewise.
12550 * stdio-common/printf_size.c (outchar): Likewise.
12551 (PRINT): Likewise.
12552 * stdio-common/test_rdwr.c (main): Likewise.
12553 * stdio-common/tfformat.c (matches): Likewise.
12554 * stdio-common/vfprintf.c (outchar): Likewise.
12555 (printf_unknown): Likewise.
12556 (buffered_vfprintf): Likewise.
12557 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12558 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12559 (ReadFile): Likewise.
12560 * stdlib/qsort.c (SWAP): Likewise.
12561 (_quicksort): Likewise.
12562 * stdlib/setenv.c (__add_to_environ): Likewise.
12563 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12564 * stdlib/strtol_l.c (__strtol_l): Likewise.
12565 * stdlib/tst-strtod.c (main): Likewise.
12566 * stdlib/tst-strtol.c (main): Likewise.
12567 * stdlib/tst-strtoll.c (main): Likewise.
12568 * string/bits/string2.h (__strcmp_cc): Likewise.
12569 (__strcmp_cg): Likewise.
12570 (__strcspn_c1): Likewise.
12571 (__strcspn_c2): Likewise.
12572 (__strcspn_c3): Likewise.
12573 (__strspn_c1): Likewise.
12574 (__strspn_c2): Likewise.
12575 (__strspn_c3): Likewise.
12576 (__strsep_1c): Likewise.
12577 (__strsep_2c): Likewise.
12578 (__strsep_3c): Likewise.
12579 * string/memccpy.c (__memccpy): Likewise.
12580 * string/stpcpy.c (__stpcpy): Likewise.
12581 * string/strcmp.c (strcmp): Likewise.
12582 * string/strrchr.c (strrchr): Likewise.
12583 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12584 Likewise.
12585 * sysdeps/mach/hurd/getcwd.c
12586 (_hurd_canonicalize_directory_name_internal): Likewise.
12587 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12588 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12589 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12590 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12591 Likewise, in both definitions.
12592 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12593 definitions.
12594 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12595 64] (__bswap_64): Likewise.
12596 * time/test_time.c (main): Likewise.
12597 * time/tzfile.c (__tzfile_read): Likewise.
12598 (__tzfile_compute): Likewise.
12599 * time/tzset.c (__tzset_parse_tz): Likewise.
12600 (tzset_internal): Likewise.
12601 (compute_change): Likewise.
12602 * wcsmbs/wcscat.c (__wcscat): Likewise.
12603 * wcsmbs/wcschr.c (wcschr): Likewise.
12604 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12605 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12606 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12607 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12608 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12609 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12610 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12611 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12612 * wcsmbs/wmemset.c (wmemset): Likewise.
12613
9e54314b
JM
126142013-06-06 Joseph Myers <joseph@codesourcery.com>
12615
12616 * scripts/config.guess: Update to version 2013-05-16.
12617 * scripts/config.sub: Update to version 2013-04-24.
12618 * scripts/install-sh: Update to version 2011-11-20.07.
12619 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12620 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12621
350635a5
OB
126222013-06-06 Ondřej Bílka <neleai@seznam.cz>
12623
12624 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12625 * elf/sln.c: Likewise.
12626 * hurd/hurd/ioctl.h: Likewise.
12627 * hurd/hurdmalloc.c: Likewise.
12628 * hurd/xattr.c: Likewise.
12629 * include/shlib-compat.h: Likewise.
12630 * inet/ruserpass.c: Likewise.
12631 * libio/iofgets_u.c: Likewise.
12632 * libio/iofgetws_u.c: Likewise.
12633 * locale/programs/ld-identification.c: Likewise.
12634 * locale/programs/ld-time.c: Likewise.
12635 * mach/msg-destroy.c: Likewise.
12636 * nss/nss_files/files-netgrp.c: Likewise.
12637 * resolv/res_data.c: Likewise.
12638 * soft-fp/op-1.h: Likewise.
12639 * soft-fp/op-2.h: Likewise.
12640 * soft-fp/op-4.h: Likewise.
12641 * soft-fp/op-common.h: Likewise.
12642 * stdio-common/printf_fphex.c: Likewise.
12643 * stdlib/strtod_l.c: Likewise.
12644 * sunrpc/rpc/clnt.h: Likewise.
12645 * sysdeps/generic/framestate.c: Likewise.
12646 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12647 * sysdeps/i386/bsd-setjmp.S: Likewise.
12648 * sysdeps/i386/__longjmp.S: Likewise.
12649 * sysdeps/i386/setjmp.S: Likewise.
12650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12651 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12668 * sysdeps/ieee754/support.c: Likewise.
12669 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12670 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12671 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12672 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12673 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12674 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12675 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12676 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12677 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12678 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12679 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12680 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12681 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12682 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12683 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12684 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12685 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12687
44a988af
OB
126882013-06-05 Ondřej Bílka <neleai@seznam.cz>
12689
25506f09 12690 * posix/transbug.c: Remove executable mode.
44a988af 12691
9c84384c
JM
126922013-06-05 Joseph Myers <joseph@codesourcery.com>
12693
12694 * crypt/speeds.c: Remove trailing whitespace.
12695 * dlfcn/default.c: Likewise.
12696 * elf/ifuncdep2.c: Likewise.
12697 * elf/ifuncmain1.c: Likewise.
12698 * elf/ifuncmain1vis.c: Likewise.
12699 * elf/testobj.h: Likewise.
12700 * elf/tst-stackguard1.c: Likewise.
12701 * gmon/sys/gmon.h: Likewise.
12702 * hurd/hurdmsg.c: Likewise.
12703 * hurd/new-fd.c: Likewise.
12704 * hurd/ports-get.c: Likewise.
12705 * iconvdata/ibm1008_420.c: Likewise.
12706 * inet/tst-getni1.c: Likewise.
12707 * inet/tst-getni2.c: Likewise.
12708 * libio/ioungetc.c: Likewise.
12709 * libio/wfiledoalloc.c: Likewise.
12710 * manual/libm-err-tab.pl: Likewise.
12711 * math/w_dremf.c: Likewise.
12712 * misc/ftruncate.c: Likewise.
12713 * posix/bug-glob2.c: Likewise.
12714 * posix/tst-pcre.c: Likewise.
12715 * posix/wait4.c: Likewise.
12716 * resolv/README: Likewise.
12717 * resolv/res_debug.h: Likewise.
12718 * resolv/tst-inet_ntop.c: Likewise.
12719 * setjmp/bug269-setjmp.c: Likewise.
12720 * soft-fp/extended.h: Likewise.
12721 * soft-fp/op-1.h: Likewise.
12722 * soft-fp/op-2.h: Likewise.
12723 * soft-fp/op-4.h: Likewise.
12724 * soft-fp/op-8.h: Likewise.
12725 * soft-fp/testit.c: Likewise.
12726 * stdio-common/bug16.c: Likewise.
12727 * stdlib/random.c: Likewise.
12728 * sunrpc/rpcsvc/rquota.x: Likewise.
12729 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12734 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12738 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12758 * sysdeps/ieee754/s_lib_version.c: Likewise.
12759 * sysdeps/mach/hurd/check_fds.c: Likewise.
12760 * sysdeps/mach/hurd/getsockname.c: Likewise.
12761 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12762 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12763 * sysdeps/powerpc/bits/link.h: Likewise.
12764 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12765 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12766 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12767 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12768 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12769 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12770 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12771 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12772 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12773 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12774 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12775 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12776 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12777 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12778 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12779 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12780 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12781 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12783 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12784 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12785 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12787 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12788 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12789 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12790 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12793 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12794 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12795 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12798 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12799 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12800 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12802 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12803 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12804 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12805 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12806 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12807 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12808 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12809 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12810 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12811 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12812 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12813 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12816 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12817 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12818 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12819 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12820 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12821 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12823 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12824 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12826 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12827 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12828 * sysdeps/powerpc/sysdep.h: Likewise.
12829 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12830 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12831 * sysdeps/sh/dl-trampoline.S: Likewise.
12832 * sysdeps/sh/memset.S: Likewise.
12833 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12834 * sysdeps/sh/strlen.S: Likewise.
12835 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12836 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12837 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12838 * sysdeps/sparc/sparc32/rem.S: Likewise.
12839 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12840 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12841 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12842 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12843 * sysdeps/sparc/sparc32/urem.S: Likewise.
12844 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12845 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12846 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12847 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12848 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12849 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12850 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12851 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12852 * sysdeps/unix/bsd/times.c: Likewise.
12853 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12854 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12858 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12860 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12861 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12862 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12864 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12865 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12866 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12867 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12870 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12871 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12872 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12873 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12874 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12875 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12876 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12877 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12878 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12879 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12881 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12882 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12883 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12884 * sysdeps/x86_64/strcspn.S: Likewise.
12885
869378a5
RA
128862013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12887
12888 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12889 generated file. Regenerate properly from gen-translit.pl.
12890 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12891 locale/C-translit.h.
12892
840e2943
AS
128932013-06-05 Andreas Schwab <schwab@suse.de>
12894
12895 [BZ #15100]
12896 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12897 week as 6 instead of -1.
12898 * time/tst-strptime.c (day_tests): Add test case.
12899
4c60cb0c
SP
129002013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12901
12902 * sysdeps/generic/math_private.h
12903 (libc_feholdexcept_setround_53bit): Replace with
12904 libc_feholdsetround_53bit.
12905 (libc_feupdateenv_53bit): Replace with
12906 libc_feresetround_53bit.
12907 (SET_RESTORE_ROUND_53BIT): Adjust.
12908
d180203e
SP
129092013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12910
96df079a
SP
12911 * string/test-strchrnul.c: Add copyright header.
12912
d180203e
SP
12913 * posix/tst-getaddrinfo4.c: Increase test timeout.
12914
8b0ccb2d
CD
129152013-06-03 Carlos O'Donell <carlos@redhat.com>
12916
12917 [BZ #15536]
12918 * math/libm-test.inc (MAX_EXP): Remove
12919 (MIN_EXP): Define.
12920 (ulp): Use MIN_EXP - MANT_DIG.
12921 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12922
3b3c4d40
CD
129232013-05-31 Carlos O'Donell <carlos@redhat.com>
12924
12925 * po/be.po: Revert last change.
12926 * po/zh_CN.po: Likewise.
12927 * po/header.pot: Likewise.
12928
fab7ce3f
JM
129292013-05-31 Joseph Myers <joseph@codesourcery.com>
12930
12931 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12932 link-libc-deps to empty as target-specific variable.
12933 * Makerules (link-libc-args): New variable.
12934 (libc-for-link): Likewise.
12935 (link-libc-deps): Likewise.
12936 (lib%.so): Depend on $(link-libc-deps). Link with
12937 $(link-libc-args).
12938 (build-module): Link with $(link-libc-args).
12939 (build-module-asneeded): Likewise.
12940 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12941 list of objects.
12942 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12943 target-specific variable.
12944 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12945 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12946 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12947 libc.
12948 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12949 libc and ld.so.
12950 ($(objpfx)libpcprofile.so): Likewise.
12951 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12952 libc_nonshared.a.
12953 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12954 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12956 $(link-libc-deps).
12957 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12958 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12959 * login/Makefile ($(objpfx)libutil.so): Likewise.
12960 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12961 * math/Makefile ($(objpfx)libm.so): Likewise.
12962 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12963 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12964 variable instead of depending directly on libc.
12965 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12966 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12967 $(link-libc-deps).
12968 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12969 libc.
12970 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12971 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12972 ($(objpfx)libanl.so): Likewise.
12973 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12974 ld.so.
12975 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12976 $(link-libc-deps).
12977 * sysdeps/i386/fpu/Makefile: Remove file.
12978 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12979 ($(objpfx)libm.so): Remove dependency on ld.so.
12980
eca5920c
PF
129812013-05-30 Patsy Franklin <pfrankli@redhat.com>
12982
12983 [BZ # 15553]
12984 * nis/yp_xdr.c (XDRMAXNAME): Define.
12985 (XDRMAXRECORD): Define.
12986 (xdr_domainname): Use XDRMAXNAME.
12987 (xdr_mapname): Likewise.
12988 (xdr_peername): Likewise.
12989 (xdr_keydat): Use XDRMAXRECORD.
12990 (xdr_valdat): Likewise.
12991
129922013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12993
12994 [BZ #14256]
12995 * manual/errno.texi (ESTALE): Update to account for more than
12996 just NFS file systems.
12997 * sysdeps/gnu/errlist.c: Regenerated.
12998
b9375348
SP
129992013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13000
13001 [BZ #15465]
13002 * elf/Makefile (tests): Add tst-null-argv.
13003 (modules-names): Add tst-null-argv-lib.
13004 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13005 (tst-null-argv-ENV): Set environment for tst-null-argv.
13006 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13007 (RTLD_PROGNAME): New macro.
13008 * elf/tst-null-argv.c: New test case.
13009 * elf/tst-null-argv-lib.c: Library for test case.
13010 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13011 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13012 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13013 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13014 * elf/dl-init.c (call_init): Likewise.
13015 (_dl_init): Likewise.
13016 * elf/dl-load.c (print_search_path): Likewise.
13017 (_dl_map_object): Likewise.
13018 * elf/dl-lookup.c (do_lookup_x): Likewise.
13019 (add_dependency): Likewise.
13020 (_dl_lookup_symbol_x): Likewise.
13021 (_dl_debug_bindings): Likewise.
13022 * elf/dl-open.c (_dl_show_scope): Likewise.
13023 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13024 * elf/dl-version.c (match_symbol): Likewise.
13025 (_dl_check_map_versions): Likewise.
13026 * elf/rtld.c (dl_main): Likewise.
13027 (print_unresolved): Use RTLD_PROGNAME.
13028 (print_missing_version): Likewise.
13029 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13030 (elf_machine_rela): Likewise.
13031 * sysdeps/powerpc/powerpc32/dl-machine.c
13032 (__process_machine_rela): Likewise.
13033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13034 Likewise.
13035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13036 Likewise.
13037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13038 Likewise.
13039 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13041 Likewise.
13042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13043 Likewise.
13044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13045
8a9f20c8
CD
130462013-05-28 Carlos O'Donell <carlos@redhat.com>
13047
13048 * po/be.po: Add descriptive title.
13049 * po/zh_CN.po: Likewise.
13050 * po/header.pot: Likewise.
13051
0e60d68e
MF
130522013-05-28 Mike Frysinger <vapier@gentoo.org>
13053
13054 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13055 error message.
13056 (enlarge_archive): Likewise.
13057
56b672e9
BN
130582013-05-28 Ben North <ben@redfrontdoor.org>
13059
13060 * manual/arith.texi (frexp): It is the magnitude of the return
13061 value which lies in [0.5, 1), not the return value itself.
13062
5e056687
AZ
130632013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13064
13065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13066
2b66ef5d
TS
130672013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13068
528c2405
TS
13069 * stdio-common/bug26.c (main): Correct fscanf template.
13070
07b4c13d
TS
13071 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13072 declare _dl_skip_args.
13073
ec9dd97c
TS
13074 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13075 Don't declare.
13076
2b66ef5d
TS
13077 * manual/platform.texi: Add missing @end deftypefun.
13078
4f8dfe27
JM
130792013-05-24 Joseph Myers <joseph@codesourcery.com>
13080
0323d086
JM
13081 [BZ #15529]
13082 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13083 bit of mantissa of 2^16382.
13084 * math/libm-test.inc (hypot_test_data): Add more tests.
13085
dd4259b9
JM
13086 * math/libm-test.inc: Add drem and pow10 to list of tested
13087 functions.
13088 (pow10_test): New function.
13089 (drem_test): Likewise.
13090 (drem_test_tonearest): Likewise.
13091 (drem_test_towardzero): Likewise.
13092 (drem_test_downward): Likewise.
13093 (drem_test_upward): Likewise.
13094 (main): Call the new functions.
13095
4f8dfe27
JM
13096 * math/libm-test.inc (finite_test_data): Remove.
13097 (finite_test): Run tests from isfinite_test_data.
13098 (gamma_test_data): Remove.
13099 (gamma_test): Run tests from lgamma_test_data.
13100 * sysdeps/i386/fpu/libm-test-ulps: Update.
13101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13102
d116b7c4
AZ
131032013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13104
13105 * manual/platform.texi: Add PowerPC PPR function set documentation.
13106 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13107 implementation.
13108
e96e3767
CD
131092013-05-24 Carlos O'Donell <carlos@redhat.com>
13110
13111 * math/libm-test.inc (MAX_EXP): Define.
13112 (ULPDIFF): Define.
13113 (ulp): New function.
13114 (check_float_internal): Use ULPDIFF.
13115 (cpow_test): Disable failing test.
13116 (check_ulp): Test ulp() implemetnation.
13117 (main): Call check_ulp before starting tests.
13118
b679a606
JM
131192013-05-24 Joseph Myers <joseph@codesourcery.com>
13120
e8bdba36
JM
13121 * math/gen-libm-test.pl (generate_testfile): Do not handle
13122 START_DATA and END_DATA.
13123 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13124 END_DATA.
13125 (acos_tonearest_test_data): Likewise.
13126 (acos_towardzero_test_data): Likewise.
13127 (acos_downward_test_data): Likewise.
13128 (acos_upward_test_data): Likewise.
13129 (acosh_test_data): Likewise.
13130 (asin_test_data): Likewise.
13131 (asin_tonearest_test_data): Likewise.
13132 (asin_towardzero_test_data): Likewise.
13133 (asin_downward_test_data): Likewise.
13134 (asin_upward_test_data): Likewise.
13135 (asinh_test_data): Likewise.
13136 (atan_test_data): Likewise.
13137 (atanh_test_data): Likewise.
13138 (atan2_test_data): Likewise.
13139 (cabs_test_data): Likewise.
13140 (cacos_test_data): Likewise.
13141 (cacosh_test_data): Likewise.
13142 (carg_test_data): Likewise.
13143 (casin_test_data): Likewise.
13144 (casinh_test_data): Likewise.
13145 (catan_test_data): Likewise.
13146 (catanh_test_data): Likewise.
13147 (cbrt_test_data): Likewise.
13148 (ccos_test_data): Likewise.
13149 (ccosh_test_data): Likewise.
13150 (ceil_test_data): Likewise.
13151 (cexp_test_data): Likewise.
13152 (cimag_test_data): Likewise.
13153 (clog_test_data): Likewise.
13154 (clog10_test_data): Likewise.
13155 (conj_test_data): Likewise.
13156 (copysign_test_data): Likewise.
13157 (cos_test_data): Likewise.
13158 (cos_tonearest_test_data): Likewise.
13159 (cos_towardzero_test_data): Likewise.
13160 (cos_downward_test_data): Likewise.
13161 (cos_upward_test_data): Likewise.
13162 (cosh_test_data): Likewise.
13163 (cosh_tonearest_test_data): Likewise.
13164 (cosh_towardzero_test_data): Likewise.
13165 (cosh_downward_test_data): Likewise.
13166 (cosh_upward_test_data): Likewise.
13167 (cpow_test_data): Likewise.
13168 (cproj_test_data): Likewise.
13169 (creal_test_data): Likewise.
13170 (csin_test_data): Likewise.
13171 (csinh_test_data): Likewise.
13172 (csqrt_test_data): Likewise.
13173 (ctan_test_data): Likewise.
13174 (ctan_tonearest_test_data): Likewise.
13175 (ctan_towardzero_test_data): Likewise.
13176 (ctan_downward_test_data): Likewise.
13177 (ctan_upward_test_data): Likewise.
13178 (ctanh_test_data): Likewise.
13179 (ctanh_tonearest_test_data): Likewise.
13180 (ctanh_towardzero_test_data): Likewise.
13181 (ctanh_downward_test_data): Likewise.
13182 (ctanh_upward_test_data): Likewise.
13183 (erf_test_data): Likewise.
13184 (erfc_test_data): Likewise.
13185 (exp_test_data): Likewise.
13186 (exp_tonearest_test_data): Likewise.
13187 (exp_towardzero_test_data): Likewise.
13188 (exp_downward_test_data): Likewise.
13189 (exp_upward_test_data): Likewise.
13190 (exp10_test_data): Likewise.
13191 (exp2_test_data): Likewise.
13192 (expm1_test_data): Likewise.
13193 (fabs_test_data): Likewise.
13194 (fdim_test_data): Likewise.
13195 (finite_test_data): Likewise.
13196 (floor_test_data): Likewise.
13197 (fma_test_data): Likewise.
13198 (fma_towardzero_test_data): Likewise.
13199 (fma_downward_test_data): Likewise.
13200 (fma_upward_test_data): Likewise.
13201 (fmax_test_data): Likewise.
13202 (fmin_test_data): Likewise.
13203 (fmod_test_data): Likewise.
13204 (fpclassify_test_data): Likewise.
13205 (frexp_test_data): Likewise.
13206 (gamma_test_data): Likewise.
13207 (hypot_test_data): Likewise.
13208 (ilogb_test_data): Likewise.
13209 (isfinite_test_data): Likewise.
13210 (isgreater_test_data): Likewise.
13211 (isgreaterequal_test_data): Likewise.
13212 (isinf_test_data): Likewise.
13213 (isless_test_data): Likewise.
13214 (islessequal_test_data): Likewise.
13215 (islessgreater_test_data): Likewise.
13216 (isnan_test_data): Likewise.
13217 (isnormal_test_data): Likewise.
13218 (issignaling_test_data): Likewise.
13219 (isunordered_test_data): Likewise.
13220 (j0_test_data): Likewise.
13221 (j1_test_data): Likewise.
13222 (jn_test_data): Likewise.
13223 (ldexp_test_data): Likewise.
13224 (lgamma_test_data): Likewise.
13225 (lrint_test_data): Likewise.
13226 (lrint_tonearest_test_data): Likewise.
13227 (lrint_towardzero_test_data): Likewise.
13228 (lrint_downward_test_data): Likewise.
13229 (lrint_upward_test_data): Likewise.
13230 (llrint_test_data): Likewise.
13231 (llrint_tonearest_test_data): Likewise.
13232 (llrint_towardzero_test_data): Likewise.
13233 (llrint_downward_test_data): Likewise.
13234 (llrint_upward_test_data): Likewise.
13235 (log_test_data): Likewise.
13236 (log10_test_data): Likewise.
13237 (log1p_test_data): Likewise.
13238 (log2_test_data): Likewise.
13239 (logb_test_data): Likewise.
13240 (logb_downward_test_data): Likewise.
13241 (lround_test_data): Likewise.
13242 (llround_test_data): Likewise.
13243 (modf_test_data): Likewise.
13244 (nearbyint_test_data): Likewise.
13245 (nextafter_test_data): Likewise.
13246 (nexttoward_test_data): Likewise.
13247 (pow_test_data): Likewise.
13248 (pow_tonearest_test_data): Likewise.
13249 (pow_towardzero_test_data): Likewise.
13250 (pow_downward_test_data): Likewise.
13251 (pow_upward_test_data): Likewise.
13252 (remainder_test_data): Likewise.
13253 (remainder_tonearest_test_data): Likewise.
13254 (remainder_towardzero_test_data): Likewise.
13255 (remainder_downward_test_data): Likewise.
13256 (remainder_upward_test_data): Likewise.
13257 (remquo_test_data): Likewise.
13258 (rint_test_data): Likewise.
13259 (rint_tonearest_test_data): Likewise.
13260 (rint_towardzero_test_data): Likewise.
13261 (rint_downward_test_data): Likewise.
13262 (rint_upward_test_data): Likewise.
13263 (round_test_data): Likewise.
13264 (scalb_test_data): Likewise.
13265 (scalbn_test_data): Likewise.
13266 (scalbln_test_data): Likewise.
13267 (signbit_test_data): Likewise.
13268 (sin_test_data): Likewise.
13269 (sin_tonearest_test_data): Likewise.
13270 (sin_towardzero_test_data): Likewise.
13271 (sin_downward_test_data): Likewise.
13272 (sin_upward_test_data): Likewise.
13273 (sincos_test_data): Likewise.
13274 (sinh_test_data): Likewise.
13275 (sinh_tonearest_test_data): Likewise.
13276 (sinh_towardzero_test_data): Likewise.
13277 (sinh_downward_test_data): Likewise.
13278 (sinh_upward_test_data): Likewise.
13279 (sqrt_test_data): Likewise.
13280 (tan_test_data): Likewise.
13281 (tan_tonearest_test_data): Likewise.
13282 (tan_towardzero_test_data): Likewise.
13283 (tan_downward_test_data): Likewise.
13284 (tan_upward_test_data): Likewise.
13285 (tanh_test_data): Likewise.
13286 (tgamma_test_data): Likewise.
13287 (trunc_test_data): Likewise.
13288 (y0_test_data): Likewise.
13289 (y1_test_data): Likewise.
13290 (yn_test_data): Likewise.
13291 (significand_test_data): Likewise.
13292
b679a606
JM
13293 * math/gen-libm-test.pl (@functions): Remove variable.
13294 (generate_testfile): Don't handle START and END lines.
13295 * math/libm-test.inc (START): New macro.
13296 (END): Likewise.
13297 (END_COMPLEX): Likewise.
13298 (acos_test): Use END macro without arguments.
13299 (acos_test_tonearest): Likewise.
13300 (acos_test_towardzero): Likewise.
13301 (acos_test_downward): Likewise.
13302 (acos_test_upward): Likewise.
13303 (acosh_test): Likewise.
13304 (asin_test): Likewise.
13305 (asin_test_tonearest): Likewise.
13306 (asin_test_towardzero): Likewise.
13307 (asin_test_downward): Likewise.
13308 (asin_test_upward): Likewise.
13309 (asinh_test): Likewise.
13310 (atan_test): Likewise.
13311 (atanh_test): Likewise.
13312 (atan2_test): Likewise.
13313 (cabs_test): Likewise.
13314 (cacos_test): Use END_COMPLEX macro without arguments.
13315 (cacosh_test): Likewise.
13316 (carg_test): Use END macro without arguments.
13317 (casin_test): Use END_COMPLEX macro without arguments.
13318 (casinh_test): Likewise.
13319 (catan_test): Likewise.
13320 (catanh_test): Likewise.
13321 (cbrt_test): Use END macro without arguments.
13322 (ccos_test): Use END_COMPLEX macro without arguments.
13323 (ccosh_test): Likewise.
13324 (ceil_test): Use END macro without arguments.
13325 (cexp_test): Use END_COMPLEX macro without arguments.
13326 (cimag_test): Use END macro without arguments.
13327 (clog_test): Use END_COMPLEX macro without arguments.
13328 (clog10_test): Likewise.
13329 (conj_test): Likewise.
13330 (copysign_test): Use END macro without arguments.
13331 (cos_test): Likewise.
13332 (cos_test_tonearest): Likewise.
13333 (cos_test_towardzero): Likewise.
13334 (cos_test_downward): Likewise.
13335 (cos_test_upward): Likewise.
13336 (cosh_test): Likewise.
13337 (cosh_test_tonearest): Likewise.
13338 (cosh_test_towardzero): Likewise.
13339 (cosh_test_downward): Likewise.
13340 (cosh_test_upward): Likewise.
13341 (cpow_test): Use END_COMPLEX macro without arguments.
13342 (cproj_test): Likewise.
13343 (creal_test): Use END macro without arguments.
13344 (csin_test): Use END_COMPLEX macro without arguments.
13345 (csinh_test): Likewise.
13346 (csqrt_test): Likewise.
13347 (ctan_test): Likewise.
13348 (ctan_test_tonearest): Likewise.
13349 (ctan_test_towardzero): Likewise.
13350 (ctan_test_downward): Likewise.
13351 (ctan_test_upward): Likewise.
13352 (ctanh_test): Likewise.
13353 (ctanh_test_tonearest): Likewise.
13354 (ctanh_test_towardzero): Likewise.
13355 (ctanh_test_downward): Likewise.
13356 (ctanh_test_upward): Likewise.
13357 (erf_test): Use END macro without arguments.
13358 (erfc_test): Likewise.
13359 (exp_test): Likewise.
13360 (exp_test_tonearest): Likewise.
13361 (exp_test_towardzero): Likewise.
13362 (exp_test_downward): Likewise.
13363 (exp_test_upward): Likewise.
13364 (exp10_test): Likewise.
13365 (exp2_test): Likewise.
13366 (expm1_test): Likewise.
13367 (fabs_test): Likewise.
13368 (fdim_test): Likewise.
13369 (finite_test): Likewise.
13370 (floor_test): Likewise.
13371 (fma_test): Likewise.
13372 (fma_test_towardzero): Likewise.
13373 (fma_test_downward): Likewise.
13374 (fma_test_upward): Likewise.
13375 (fmax_test): Likewise.
13376 (fmin_test): Likewise.
13377 (fmod_test): Likewise.
13378 (fpclassify_test): Likewise.
13379 (frexp_test): Likewise.
13380 (gamma_test): Likewise.
13381 (hypot_test): Likewise.
13382 (ilogb_test): Likewise.
13383 (isfinite_test): Likewise.
13384 (isgreater_test): Likewise.
13385 (isgreaterequal_test): Likewise.
13386 (isinf_test): Likewise.
13387 (isless_test): Likewise.
13388 (islessequal_test): Likewise.
13389 (islessgreater_test): Likewise.
13390 (isnan_test): Likewise.
13391 (isnormal_test): Likewise.
13392 (issignaling_test): Likewise.
13393 (isunordered_test): Likewise.
13394 (j0_test): Likewise.
13395 (j1_test): Likewise.
13396 (jn_test): Likewise.
13397 (ldexp_test): Likewise.
13398 (lgamma_test): Likewise.
13399 (lrint_test): Likewise.
13400 (lrint_test_tonearest): Likewise.
13401 (lrint_test_towardzero): Likewise.
13402 (lrint_test_downward): Likewise.
13403 (lrint_test_upward): Likewise.
13404 (llrint_test): Likewise.
13405 (llrint_test_tonearest): Likewise.
13406 (llrint_test_towardzero): Likewise.
13407 (llrint_test_downward): Likewise.
13408 (llrint_test_upward): Likewise.
13409 (log_test): Likewise.
13410 (log10_test): Likewise.
13411 (log1p_test): Likewise.
13412 (log2_test): Likewise.
13413 (logb_test): Likewise.
13414 (logb_test_downward): Likewise.
13415 (lround_test): Likewise.
13416 (llround_test): Likewise.
13417 (modf_test): Likewise.
13418 (nearbyint_test): Likewise.
13419 (nextafter_test): Likewise.
13420 (nexttoward_test): Likewise.
13421 (pow_test): Likewise.
13422 (pow_test_tonearest): Likewise.
13423 (pow_test_towardzero): Likewise.
13424 (pow_test_downward): Likewise.
13425 (pow_test_upward): Likewise.
13426 (remainder_test): Likewise.
13427 (remainder_test_tonearest): Likewise.
13428 (remainder_test_towardzero): Likewise.
13429 (remainder_test_downward): Likewise.
13430 (remainder_test_upward): Likewise.
13431 (remquo_test): Likewise.
13432 (rint_test): Likewise.
13433 (rint_test_tonearest): Likewise.
13434 (rint_test_towardzero): Likewise.
13435 (rint_test_downward): Likewise.
13436 (rint_test_upward): Likewise.
13437 (round_test): Likewise.
13438 (scalb_test): Likewise.
13439 (scalbn_test): Likewise.
13440 (scalbln_test): Likewise.
13441 (signbit_test): Likewise.
13442 (sin_test): Likewise.
13443 (sin_test_tonearest): Likewise.
13444 (sin_test_towardzero): Likewise.
13445 (sin_test_downward): Likewise.
13446 (sin_test_upward): Likewise.
13447 (sincos_test): Likewise.
13448 (sinh_test): Likewise.
13449 (sinh_test_tonearest): Likewise.
13450 (sinh_test_towardzero): Likewise.
13451 (sinh_test_downward): Likewise.
13452 (sinh_test_upward): Likewise.
13453 (sqrt_test): Likewise.
13454 (tan_test): Likewise.
13455 (tan_test_tonearest): Likewise.
13456 (tan_test_towardzero): Likewise.
13457 (tan_test_downward): Likewise.
13458 (tan_test_upward): Likewise.
13459 (tanh_test): Likewise.
13460 (tgamma_test): Likewise.
13461 (trunc_test): Likewise.
13462 (y0_test): Likewise.
13463 (y1_test): Likewise.
13464 (yn_test): Likewise.
13465 (significand_test): Likewise.
13466
bae143d2
OB
134672013-05-24 Ondřej Bílka <neleai@seznam.cz>
13468
13469 [BZ #15381]
13470 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13471
9323d39b
EM
134722013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13473
d4ea44a0 13474 [BZ #14894]
9323d39b
EM
13475 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13476 __ppc_mdoio and __ppc_mdoom.
13477 * manual/platform.texi: Document new functions __ppc_yield,
13478 __ppc_mdoio and __ppc_mdoom.
13479
13e23af7
CD
134802013-05-22 Carlos O'Donell <carlos@redhat.com>
13481
13482 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13483 (main): Mention "tls" pseudo-hwcap is legacy.
13484 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13485
351fe550
JM
134862013-05-22 Joseph Myers <joseph@codesourcery.com>
13487
13488 * math/gen-libm-test.pl (parse_args): Output only string of
13489 arguments as text for test name, not full call or descriptions of
13490 tests for extra outputs.
13491 (generate_testfile): Do not pass function name to parse_args.
13492 Generate this_func variable from START.
13493 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13494 field to arg_str.
13495 (struct test_ff_f_data): Likewise.
13496 (test_ff_f_data_nexttoward): Likewise.
13497 (struct test_fi_f_data): Likewise.
13498 (struct test_fl_f_data): Likewise.
13499 (struct test_if_f_data): Likewise.
13500 (struct test_fff_f_data): Likewise.
13501 (struct test_c_f_data): Likewise.
13502 (struct test_f_f1_data): Likewise. Remove field extra_name.
13503 (struct test_fF_f1_data): Likewise.
13504 (struct test_ffI_f1_data): Likewise.
13505 (struct test_c_c_data): Rename test_name field to arg_str.
13506 (struct test_cc_c_data): Likewise.
13507 (struct test_f_i_data): Likewise.
13508 (struct test_ff_i_data): Likewise.
13509 (struct test_f_l_data): Likewise.
13510 (struct test_f_L_data): Likewise.
13511 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13512 and extra2_name.
13513 (COMMON_TEST_SETUP): New macro.
13514 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13515 (COMMON_TEST_CLEANUP): Likewise.
13516 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13517 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13518 macros.
13519 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13520 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13521 macros.
13522 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13523 (RUN_TEST_fff_f): Take argument string. Call new setup and
13524 cleanup macros.
13525 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13526 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13527 macros.
13528 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13529 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13530 macros.
13531 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13532 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13533 cleanup macros.
13534 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13535 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13536 cleanup macros.
13537 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13538 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13539 cleanup macros.
13540 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13541 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13542 macros.
13543 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13544 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13545 macros.
13546 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13547 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13548 macros.
13549 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13550 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13551 cleanup macros.
13552 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13553 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13554 cleanup macros.
13555 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13556 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13557 macros.
13558 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13559 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13560 cleanup macros.
13561 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13562 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13563 macros.
13564 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13565 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13566 macros.
13567 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13568 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13569 cleanup macros.
13570 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13571
85118d4d
EBM
135722013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13573
13574 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13575 to _sifields.sigfault.
13576 (si_addr_lsb): Define new macro.
13577 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13580
7a44c18f
CD
135812013-05-03 Carlos O'Donell <carlos at redhat.com>
13582
13583 [BZ #15441]
13584 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13585 returns -1.
13586 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13587 null return -1.
13588 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13589 loading the domain.
13590
b50a7181
JM
135912013-05-22 Joseph Myers <joseph@codesourcery.com>
13592
13593 * math/gen-libm-test.pl (parse_args): Do not include expected
13594 result in test name.
13595 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13597 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13598 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13599 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13601
051063c8
SP
136022013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13603
3ce9e010
SP
13604 * benchtests/Makefile: Sort function entries.
13605
051063c8
SP
13606 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13607 tanh, asinh, acosh, atanh.
13608 * benchtests/acos-inputs: New file.
13609 * benchtests/acosh-inputs: New file.
13610 * benchtests/asin-inputs: New file.
13611 * benchtests/asinh-inputs: New file.
13612 * benchtests/atanh-inputs: New file.
13613 * benchtests/cosh-inputs: New file.
13614 * benchtests/log-inputs: New file.
13615 * benchtests/sinh-inputs: New file.
13616 * benchtests/tanh-inputs: New file.
13617
47c22455
DL
136182013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13619
13620 [BZ #15339]
13621 * posix/tst-getaddrinfo4.c: New test.
13622 * posix/Makefile (tests): Add it.
13623
3d04f5db
SP
136242013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13625
13626 [BZ #15339]
13627 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13628 when no services were used.
13629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13630 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13631
d5dd6189
AS
136322013-05-21 Andreas Schwab <schwab@suse.de>
13633
13634 [BZ #15014]
13635 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13636 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13637 successful.
13638 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13639 redundant variable declarations and reallocation of buffer when
13640 parsing as IPv6 address. Always set NSS status when called from
13641 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13642 buffer too small. Correct computation of needed size.
13643 * nss/Makefile (tests): Add test-digits-dots.
13644 * nss/test-digits-dots.c: New test.
13645
fef94eab
SP
136462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13647
13648 * benchtests/Makefile: Remove instructions for adding
13649 benchmark tests.
13650 * benchtests/README: New file to explain how to execute and
13651 enhance the benchmark tests.
13652
e39adf43
AS
136532013-05-21 Andreas Schwab <schwab@suse.de>
13654
13655 [BZ #15493]
13656 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13657 * setjmp/tst-sigsetjmp.c: New test.
13658
b2b671b6
OB
136592013-05-20 Ondřej Bílka <neleai@seznam.cz>
13660
13661 * sysdeps/x86_64/memset.S (memset): New implementation.
13662 (__bzero): Likewise.
13663 (__memset_tail): New function.
13664
2d48b41c
OB
136652013-05-20 Ondřej Bílka <neleai@seznam.cz>
13666
13667 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13668 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13669 __memcpy_sse2_unaligned ifunc selection.
13670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13671 Add memcpy-sse2-unaligned.S.
13672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13673 Add: __memcpy_sse2_unaligned.
13674
f16cc3eb
JM
136752013-05-19 Joseph Myers <joseph@codesourcery.com>
13676
3e694268
JM
13677 [BZ #15490]
13678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13679 math_force_eval before restoring floating-point envrionment.
13680 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13681 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13682 Likewise.
13683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13684 <math_private.h>.
13685 (__nearbyintl): Use math_force_eval before restoring
13686 floating-point environment.
13687 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13688
db62a907
JM
13689 * math/gen-libm-test.pl (special_functions): Remove.
13690 (parse_args): Don't handle TEST_extra. Handle functions with no
13691 return value.
13692 * math/libm-test.inc (struct test_sincos_data): Replace with
13693 struct test_fFF_11_data.
13694 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13695 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13696 (sincos_test_data): Change element type to struct
13697 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13698 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13699 RUN_TEST_LOOP_sincos.
13700 * math/README.libm-test: Don't mention special handling of
13701 individual functions.
13702 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13706 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13708
f16cc3eb
JM
13709 * math/gen-libm-test.pl (get_variable): Remove function.
13710 (parse_args): Don't show pointer parameters to call in test
13711 names. Use "extra output N" in test names for extra outputs
13712 rather than naming variables.
13713
3779b5b6
JM
137142013-05-18 Joseph Myers <joseph@codesourcery.com>
13715
2ee094ff
JM
13716 [BZ #15488]
13717 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13718 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13719 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13720 double tests.
13721 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13722 disable.
13723 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13724 check_long_double.
13725
3779b5b6
JM
13726 * math/gen-libm-test.pl (@tests): Remove variable.
13727 ($count): Likewise.
13728 (new_test): Remove function.
13729 (show_exceptions): New function.
13730 (special_functions): Use show_exceptions instead of new_test.
13731 (parse_args): Likewise.
13732 (generate_testfile): Pass only function name in generated call to
13733 print_max_error or print_complex_max_error.
13734 (get_ulps): Do not handle complex tests specially.
13735 (output_test): Rename to ...
13736 (get_all_ulps_for_test): ... this. Return a string rather than
13737 printing to a file. Require ulps to be present.
13738 (output_ulps): Generate arrays rather than #defines.
13739 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13740 (struct ulp_data): New type.
13741 (BUILD_COMPLEX_ULP): Remove macro.
13742 (compare_ulp_data): New function.
13743 (find_ulps): Likewise.
13744 (find_test_ulps): Likewise.
13745 (find_function_ulps): Likewise.
13746 (find_complex_function_ulps): Likewise.
13747 (print_max_error): Determine allowed ulps using
13748 find_function_ulps.
13749 (print_complex_max_error): Determine allowed ulps using
13750 find_complex_function_ulps.
13751 (check_float_internal): Determine max ulps using find_test_ulps.
13752 (check_float): Do not take max_ulp parameter. Update call to
13753 check_float_internal.
13754 (check_complex): Likewise.
13755 (check_int): Do not take max_ulp parameter.
13756 (check_long): Likewise.
13757 (check_bool): Likewise.
13758 (check_longlong): Likewise.
13759 (struct test_f_f_data): Remove max_ulp field.
13760 (struct test_ff_f_data): Likewise.
13761 (struct test_ff_f_data_nexttoward): Likewise.
13762 (struct test_fi_f_data): Likewise.
13763 (struct test_fl_f_data): Likewise.
13764 (struct test_if_f_data): Likewise.
13765 (struct test_fff_f_data): Likewise.
13766 (struct test_c_f_data): Likewise.
13767 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13768 (struct test_fF_f1_data): Likewise.
13769 (struct test_ffI_f1_data): Likewise.
13770 (struct test_c_c_data): Remove max_ulp field.
13771 (struct test_cc_c_data): Likewise.
13772 (struct test_f_i_data): Likewise.
13773 (struct test_ff_i_data): Likewise.
13774 (struct test_f_l_data): Likewise.
13775 (struct test_f_L_data): Likewise.
13776 (struct test_sincos_data): Likewise.
13777 (RUN_TEST_f_f): Do not handle ulps.
13778 (RUN_TEST_LOOP_f_f): Likewise.
13779 (RUN_TEST_2_f): Likewise.
13780 (RUN_TEST_LOOP_2_f): Likewise.
13781 (RUN_TEST_fff_f): Likewise.
13782 (RUN_TEST_LOOP_fff_f): Likewise.
13783 (RUN_TEST_c_f): Likewise.
13784 (RUN_TEST_LOOP_c_f): Likewise.
13785 (RUN_TEST_f_f1): Likewise.
13786 (RUN_TEST_LOOP_f_f1): Likewise.
13787 (RUN_TEST_fF_f1): Likewise.
13788 (RUN_TEST_LOOP_fF_f1): Likewise.
13789 (RUN_TEST_fI_f1): Likewise.
13790 (RUN_TEST_LOOP_fI_f1): Likewise.
13791 (RUN_TEST_ffI_f1): Likewise.
13792 (RUN_TEST_LOOP_ffI_f1): Likewise.
13793 (RUN_TEST_c_c): Likewise.
13794 (RUN_TEST_LOOP_c_c): Likewise.
13795 (RUN_TEST_cc_c): Likewise.
13796 (RUN_TEST_LOOP_cc_c): Likewise.
13797 (RUN_TEST_f_i): Likewise.
13798 (RUN_TEST_LOOP_f_i): Likewise.
13799 (RUN_TEST_f_i_tg): Likewise.
13800 (RUN_TEST_LOOP_f_i_tg): Likewise.
13801 (RUN_TEST_ff_i_tg): Likewise.
13802 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13803 (RUN_TEST_f_b): Likewise.
13804 (RUN_TEST_LOOP_f_b): Likewise.
13805 (RUN_TEST_f_b_tg): Likewise.
13806 (RUN_TEST_LOOP_f_b_tg): Likewise.
13807 (RUN_TEST_f_l): Likewise.
13808 (RUN_TEST_LOOP_f_l): Likewise.
13809 (RUN_TEST_f_L): Likewise.
13810 (RUN_TEST_LOOP_f_L): Likewise.
13811 (RUN_TEST_sincos): Likewise.
13812 (RUN_TEST_LOOP_sincos): Likewise.
13813
8269107f
JM
138142013-05-17 Joseph Myers <joseph@codesourcery.com>
13815
bb38759d
JM
13816 [BZ #15480]
13817 [BZ #15485]
13818 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13819 main case of finite arguments, set rounding mode to FE_TONEAREST
13820 and discard exceptions.
13821 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13822 exceptions.
13823 (remainder_tonearest_test_data): New variable.
13824 (remainder_test_tonearest): New function.
13825 (remainder_towardzero_test_data): New variable.
13826 (remainder_test_towardzero): New function.
13827 (remainder_downward_test_data): New variable.
13828 (remainder_test_downward): New function.
13829 (remainder_upward_test_data): New variable.
13830 (remainder_test_upward): New function.
13831 (main): Call the new test functions.
13832
a00bdcf0
JM
13833 * math/libm-test.inc (struct test_f_f1_data): Remove field
13834 extra_init.
13835 (struct test_fF_f1_data): Likewise.
13836 (struct test_ffI_f1_data): Likewise.
13837 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13838 based on value of EXTRA_EXPECTED.
13839 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13840 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13841 EXTRA_VAR based on value of EXTRA_EXPECTED.
13842 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13843 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13844 EXTRA_VAR based on value of EXTRA_EXPECTED.
13845 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13846 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13847 EXTRA_VAR based on value of EXTRA_EXPECTED.
13848 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13849 * math/gen-libm-test.pl (parse_args): Don't output initializers
13850 for extra output values.
13851
de407f79
JM
13852 * math/libm-test.inc (check_int): Expect result to be exactly
13853 equal to expected value and do not handle ulps.
13854 (check_long): Likewise.
13855 (check_longlong): Likewise.
13856
8269107f
JM
13857 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13858 exceptions.
13859 (cimag_test_data): Likewise.
13860 (conj_test_data): Likewise.
13861 (copysign_test_data): Likewise.
13862 (cproj_test_data): Likewise.
13863 (creal_test_data): Likewise.
13864 (fabs_test_data): Likewise.
13865 (fdim_test_data): Likewise.
13866 (finite_test_data): Likewise.
13867 (floor_test_data): Likewise.
13868 (fmax_test_data): Likewise.
13869 (fmin_test_data): Likewise.
13870 (fmod_test_data): Likewise.
13871 (fpclassify_test_data): Likewise.
13872 (frexp_test_data): Likewise.
13873 (ilogb_test_data): Likewise.
13874 (isfinite_test_data): Likewise.
13875 (isgreater_test_data): Likewise.
13876 (isgreaterequal_test_data): Likewise.
13877 (isinf_test_data): Likewise.
13878 (isless_test_data): Likewise.
13879 (islessequal_test_data): Likewise.
13880 (islessgreater_test_data): Likewise.
13881 (isnan_test_data): Likewise.
13882 (isnormal_test_data): Likewise.
13883 (issignaling_test_data): Likewise.
13884 (isunordered_test_data): Likewise.
13885 (ldexp_test_data): Likewise.
13886 (lrint_test_data): Likewise.
13887 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13888 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13889 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13890 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13891 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13892 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13893 test input.
13894 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13895 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13896 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13897 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13898 that test input.
13899 (lrint_downward_test_data): Test for "inexact" exceptions.
13900 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13901 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13902 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13903 test input.
13904 (lrint_upward_test_data): Test for "inexact" exceptions.
13905 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13906 test input.
13907 (llrint_test_data): Test for "inexact" exceptions.
13908 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13909 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13910 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13911 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13912 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13913 (llrint_downward_test_data): Test for "inexact" exceptions.
13914 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13915 (llrint_upward_test_data): Test for "inexact" exceptions.
13916 (logb_test_data): Likewise.
13917 (logb_downward_test_data): Likewise.
13918 (nextafter_test_data): Likewise.
13919 (nexttoward_test_data): Likewise.
13920 (remainder_test_data): Likewise.
13921 (remquo_test_data): Likewise.
13922 (scalbn_test_data): Likewise.
13923 (scalbln_test_data): Likewise.
13924 (signbit_test_data): Likewise.
13925 (sqrt_test_data): Likewise.
13926 (significand_test_data): Likewise.
13927
48a18de1
SP
139282013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13929
13930 [BZ #15424]
13931 * benchtests/bench-modf.c (struct args): Mark arg0 as
13932 volatile.
13933 * scripts/bench.pl: Mark members of struct args as volatile.
13934
13d3b41a
AZ
139352013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13936
68191c1d 13937 [BZ # 15497]
13d3b41a
AZ
13938 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13939 negative infinity on POWER6 or lower.
13940 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13941
2848b105
MR
139422013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13943
13944 [BZ #15442]
13945 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13946 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13947 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13948 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13949 (_FP_SETQNAN): New macro.
13950 (_FP_SETQNAN_SEMIRAW): Likewise.
13951 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13952 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13953 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13954 (FP_EXTEND): Use _FP_FRAC_SNANP.
13955 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13956 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13957 into account.
13958 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13959 New macro.
13960 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13961 Likewise.
13962
323e5cb7
JM
139632013-05-16 Joseph Myers <joseph@codesourcery.com>
13964
c58b274f
JM
13965 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13966 with DIVIDE_BY_ZERO_EXCEPTION.
13967 (gamma_test_data): Likewise.
13968 (lgamma_test_data): Likewise.
13969 (log_test_data): Likewise.
13970 (log10_test_data): Likewise.
13971 (log2_test_data): Likewise.
13972 (tgamma_test_data): Likewise.
13973
0ab34904
JM
13974 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13975 (acos_test_tonearest): Likewise.
13976 (acos_test_towardzero): Likewise.
13977 (acos_test_downward): Likewise.
13978 (acos_test_upward): Likewise.
13979 (acosh_test): Likewise.
13980 (asin_test): Likewise.
13981 (asin_test_tonearest): Likewise.
13982 (asin_test_towardzero): Likewise.
13983 (asin_test_downward): Likewise.
13984 (asin_test_upward): Likewise.
13985 (asinh_test): Likewise.
13986 (atan_test): Likewise.
13987 (atanh_test): Likewise.
13988 (atan2_test): Likewise.
13989 (cabs_test): Likewise.
13990 (cacos_test): Likewise.
13991 (cacosh_test): Likewise.
13992 (casin_test): Likewise.
13993 (casinh_test): Likewise.
13994 (catan_test): Likewise.
13995 (catanh_test): Likewise.
13996 (cbrt_test): Likewise.
13997 (ccos_test): Likewise.
13998 (ccosh_test): Likewise.
13999 (cexp_test): Likewise.
14000 (clog_test): Likewise.
14001 (clog10_test): Likewise.
14002 (cos_test): Likewise.
14003 (cos_test_tonearest): Likewise.
14004 (cos_test_towardzero): Likewise.
14005 (cos_test_downward): Likewise.
14006 (cos_test_upward): Likewise.
14007 (cosh_test): Likewise.
14008 (cosh_test_tonearest): Likewise.
14009 (cosh_test_towardzero): Likewise.
14010 (cosh_test_downward): Likewise.
14011 (cosh_test_upward): Likewise.
14012 (cpow_test): Likewise.
14013 (csin_test): Likewise.
14014 (csinh_test): Likewise.
14015 (csqrt_test): Likewise.
14016 (ctan_test): Likewise.
14017 (ctan_test_tonearest): Likewise.
14018 (ctan_test_towardzero): Likewise.
14019 (ctan_test_downward): Likewise.
14020 (ctan_test_upward): Likewise.
14021 (ctanh_test): Likewise.
14022 (ctanh_test_tonearest): Likewise.
14023 (ctanh_test_towardzero): Likewise.
14024 (ctanh_test_downward): Likewise.
14025 (ctanh_test_upward): Likewise.
14026 (erf_test): Likewise.
14027 (erfc_test): Likewise.
14028 (exp_test): Likewise.
14029 (exp_test_tonearest): Likewise.
14030 (exp_test_towardzero): Likewise.
14031 (exp_test_downward): Likewise.
14032 (exp_test_upward): Likewise.
14033 (exp10_test): Likewise.
14034 (exp2_test): Likewise.
14035 (expm1_test): Likewise.
14036 (fmod_test): Likewise.
14037 (gamma_test): Likewise.
14038 (hypot_test): Likewise.
14039 (j0_test): Likewise.
14040 (j1_test): Likewise.
14041 (jn_test): Likewise.
14042 (lgamma_test): Likewise.
14043 (log_test): Likewise.
14044 (log10_test): Likewise.
14045 (log1p_test): Likewise.
14046 (log2_test): Likewise.
14047 (logb_test_downward): Likewise.
14048 (pow_test): Likewise.
14049 (pow_test_tonearest): Likewise.
14050 (pow_test_towardzero): Likewise.
14051 (pow_test_downward): Likewise.
14052 (pow_test_upward): Likewise.
14053 (remainder_test): Likewise.
14054 (remquo_test): Likewise.
14055 (sin_test): Likewise.
14056 (sin_test_tonearest): Likewise.
14057 (sin_test_towardzero): Likewise.
14058 (sin_test_downward): Likewise.
14059 (sin_test_upward): Likewise.
14060 (sincos_test): Likewise.
14061 (sinh_test): Likewise.
14062 (sinh_test_tonearest): Likewise.
14063 (sinh_test_towardzero): Likewise.
14064 (sinh_test_downward): Likewise.
14065 (sinh_test_upward): Likewise.
14066 (sqrt_test): Likewise.
14067 (tan_test): Likewise.
14068 (tan_test_tonearest): Likewise.
14069 (tan_test_towardzero): Likewise.
14070 (tan_test_downward): Likewise.
14071 (tan_test_upward): Likewise.
14072 (tanh_test): Likewise.
14073 (tgamma_test): Likewise.
14074 (y0_test): Likewise.
14075 (y1_test): Likewise.
14076 (yn_test): Likewise.
14077
323e5cb7
JM
14078 * math/gen-libm-test.pl (adjust_arg): Remove function.
14079 (special_function): Remove argument $in_func. Only handle
14080 generating output for tables of tests, not inside functions.
14081 (parse_args): Likewise.
14082 (generate_testfile): Remove variable $in_func. Update call to
14083 parse_args.
14084 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14085 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14086 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14087 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14088 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14089 (MAX_VALUE_INIT): Rename macro to max_value.
14090 (MIN_VALUE_INIT): Rename macro to min_value.
14091 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14092 (plus_zero): Remove variable.
14093 (minus_zero): Likewise.
14094 (plus_infty): Likewise.
14095 (minus_infty): Likewise.
14096 (qnan_value): Likewise.
14097 (max_value): Likewise.
14098 (min_value): Likewise.
14099 (min_subnorm_value): Likewise.
14100
e054f494
RA
141012013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14102
14103 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14104 uint64_t or uint32_t usage.
14105 * crypt/sha256-block.c: Likewise.
14106 * crypt/sha256-crypt.c: Likewise.
14107 * crypt/sha256.c: Likewise.
14108 * crypt/sha512-block.c: Likewise.
14109 * crypt/sha512-crypt.c: Likewise.
14110 * crypt/sha512.c: Likewise.
14111 * debug/backtrace-tst.c: Likewise.
14112 * debug/pcprofiledump.c: Likewise.
14113 * elf/cache.c: Likewise.
14114 * elf/dl-cache.c: Likewise.
14115 * elf/dl-misc.c: Likewise.
14116 * elf/dl-profile.c: Likewise.
14117 * elf/dl-support.c: Likewise.
14118 * elf/ldconfig.c: Likewise.
14119 * elf/sprof.c: Likewise.
14120 * iconv/dummy-repertoire.c: Likewise.
14121 * iconv/iconv_charmap.c: Likewise.
14122 * iconv/skeleton.c: Likewise.
14123 * iconvdata/8bit-generic.c: Likewise.
14124 * iconvdata/cp737.h: Likewise.
14125 * iconvdata/cp775.h: Likewise.
14126 * iconvdata/ibm1008.h: Likewise.
14127 * iconvdata/ibm1025.h: Likewise.
14128 * iconvdata/ibm1046.h: Likewise.
14129 * iconvdata/ibm1097.h: Likewise.
14130 * iconvdata/ibm1112.h: Likewise.
14131 * iconvdata/ibm1122.h: Likewise.
14132 * iconvdata/ibm1123.h: Likewise.
14133 * iconvdata/ibm1124.h: Likewise.
14134 * iconvdata/ibm1129.h: Likewise.
14135 * iconvdata/ibm1130.h: Likewise.
14136 * iconvdata/ibm1132.h: Likewise.
14137 * iconvdata/ibm1133.h: Likewise.
14138 * iconvdata/ibm1137.h: Likewise.
14139 * iconvdata/ibm1140.h: Likewise.
14140 * iconvdata/ibm1141.h: Likewise.
14141 * iconvdata/ibm1142.h: Likewise.
14142 * iconvdata/ibm1143.h: Likewise.
14143 * iconvdata/ibm1144.h: Likewise.
14144 * iconvdata/ibm1145.h: Likewise.
14145 * iconvdata/ibm1146.h: Likewise.
14146 * iconvdata/ibm1147.h: Likewise.
14147 * iconvdata/ibm1148.h: Likewise.
14148 * iconvdata/ibm1149.h: Likewise.
14149 * iconvdata/ibm1153.h: Likewise.
14150 * iconvdata/ibm1154.h: Likewise.
14151 * iconvdata/ibm1155.h: Likewise.
14152 * iconvdata/ibm1156.h: Likewise.
14153 * iconvdata/ibm1157.h: Likewise.
14154 * iconvdata/ibm1158.h: Likewise.
14155 * iconvdata/ibm1160.h: Likewise.
14156 * iconvdata/ibm1161.h: Likewise.
14157 * iconvdata/ibm1162.h: Likewise.
14158 * iconvdata/ibm1163.h: Likewise.
14159 * iconvdata/ibm1164.h: Likewise.
14160 * iconvdata/ibm1166.h: Likewise.
14161 * iconvdata/ibm1167.h: Likewise.
14162 * iconvdata/ibm12712.h: Likewise.
14163 * iconvdata/ibm1390.h: Likewise.
14164 * iconvdata/ibm1399.h: Likewise.
14165 * iconvdata/ibm16804.h: Likewise.
14166 * iconvdata/ibm4517.h: Likewise.
14167 * iconvdata/ibm4899.h: Likewise.
14168 * iconvdata/ibm4909.h: Likewise.
14169 * iconvdata/ibm4971.h: Likewise.
14170 * iconvdata/ibm5347.h: Likewise.
14171 * iconvdata/ibm803.h: Likewise.
14172 * iconvdata/ibm856.h: Likewise.
14173 * iconvdata/ibm901.h: Likewise.
14174 * iconvdata/ibm902.h: Likewise.
14175 * iconvdata/ibm9030.h: Likewise.
14176 * iconvdata/ibm9066.h: Likewise.
14177 * iconvdata/ibm921.h: Likewise.
14178 * iconvdata/ibm922.h: Likewise.
14179 * iconvdata/ibm9448.h: Likewise.
14180 * iconvdata/isiri-3342.h: Likewise.
14181 * iconvdata/jis0201.h: Likewise.
14182 * include/link.h: Likewise.
14183 * include/netdb.h: Likewise.
14184 * inet/check_native.c: Likewise.
14185 * inet/check_pf.c: Likewise.
14186 * inet/getipv4sourcefilter.c: Likewise.
14187 * inet/getnameinfo.c: Likewise.
14188 * inet/getsourcefilter.c: Likewise.
14189 * inet/htonl.c: Likewise.
14190 * inet/setipv4sourcefilter.c: Likewise.
14191 * inet/setsourcefilter.c: Likewise.
14192 * inet/test-inet6_opt.c: Likewise.
14193 * inet/tst-network.c: Likewise.
14194 * locale/C-collate.c: Likewise.
14195 * locale/C-ctype.c: Likewise.
14196 * locale/C-time.c: Likewise.
14197 * locale/C-translit.h: Likewise.
14198 * locale/loadarchive.c: Likewise.
14199 * locale/programs/3level.h: Likewise.
14200 * locale/programs/charmap.c: Likewise.
14201 * locale/programs/charmap.h: Likewise.
14202 * locale/programs/ld-address.c: Likewise.
14203 * locale/programs/ld-collate.c: Likewise.
14204 * locale/programs/ld-ctype.c: Likewise.
14205 * locale/programs/ld-identification.c: Likewise.
14206 * locale/programs/ld-measurement.c: Likewise.
14207 * locale/programs/ld-messages.c: Likewise.
14208 * locale/programs/ld-monetary.c: Likewise.
14209 * locale/programs/ld-name.c: Likewise.
14210 * locale/programs/ld-numeric.c: Likewise.
14211 * locale/programs/ld-paper.c: Likewise.
14212 * locale/programs/ld-telephone.c: Likewise.
14213 * locale/programs/ld-time.c: Likewise.
14214 * locale/programs/linereader.c: Likewise.
14215 * locale/programs/locale.c: Likewise.
14216 * locale/programs/locarchive.c: Likewise.
14217 * locale/programs/locfile.h: Likewise.
14218 * locale/programs/repertoire.c: Likewise.
14219 * locale/programs/simple-hash.c: Likewise.
14220 * locale/programs/simple-hash.h: Likewise.
14221 * malloc/memusage.c: Likewise.
14222 * malloc/memusagestat.c: Likewise.
14223 * nis/nis_defaults.c: Likewise.
14224 * nis/nis_hash.c: Likewise.
14225 * nis/nis_print.c: Likewise.
14226 * nis/nis_xdr.c: Likewise.
14227 * nscd/connections.c: Likewise.
14228 * nscd/hstcache.c: Likewise.
14229 * nscd/nscd_gethst_r.c: Likewise.
14230 * nscd/nscd_getserv_r.c: Likewise.
14231 * nscd/nscd_helper.c: Likewise.
14232 * nscd/servicescache.c: Likewise.
14233 * nss/makedb.c: Likewise.
14234 * nss/nss_db/db-XXX.c: Likewise.
14235 * nss/nss_db/db-initgroups.c: Likewise.
14236 * nss/nss_db/db-netgrp.c: Likewise.
14237 * nss/nss_files/files-network.c: Likewise.
14238 * nss/nss_files/files-parse.c: Likewise.
14239 * posix/bug-regex5.c: Likewise.
14240 * posix/fnmatch_loop.c: Likewise.
14241 * posix/regcomp.c: Likewise.
14242 * posix/regexec.c: Likewise.
14243 * posix/tst-rfc3484-2.c: Likewise.
14244 * posix/tst-rfc3484-3.c: Likewise.
14245 * posix/tst-rfc3484.c: Likewise.
14246 * resolv/nss_dns/dns-canon.c: Likewise.
14247 * resolv/nss_dns/dns-network.c: Likewise.
14248 * resolv/res_init.c: Likewise.
14249 * resolv/res_mkquery.c: Likewise.
14250 * resolv/tst-aton.c: Likewise.
14251 * stdlib/cxa_atexit.c: Likewise.
14252 * stdlib/cxa_finalize.c: Likewise.
14253 * stdlib/gen-fpioconst.c: Likewise.
14254 * stdlib/strtol_l.c: Likewise.
14255 * string/tst-endian.c: Likewise.
14256 * sunrpc/auth_des.c: Likewise.
14257 * sunrpc/clnt_udp.c: Likewise.
14258 * sunrpc/rtime.c: Likewise.
14259 * sunrpc/svcauth_des.c: Likewise.
14260 * sunrpc/xdr.c: Likewise.
14261 * sunrpc/xdr_intXX_t.c: Likewise.
14262 * sunrpc/xdr_rec.c: Likewise.
14263 * sysdeps/generic/ldconfig.h: Likewise.
14264 * sysdeps/generic/ldsodefs.h: Likewise.
14265 * sysdeps/generic/memusage.h: Likewise.
14266 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14267 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14269 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14276 * sysdeps/posix/getaddrinfo.c: Likewise.
14277 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14278 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14279 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14280 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14281 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14282 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14283 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14284 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14285 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14286 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14287 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14288 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14289 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14290 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14291 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14292 * sysdeps/x86_64/dl-tls.h: Likewise.
14293 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14294 * time/alt_digit.c: Likewise.
14295 * time/era.c: Likewise.
14296 * wcsmbs/tst-c16c32-1.c: Likewise.
14297
8c75f674
JM
142982013-05-16 Joseph Myers <joseph@codesourcery.com>
14299
14300 * math/libm-test.inc (struct test_sincos_data): New type.
14301 (RUN_TEST_LOOP_sincos): New macro.
14302 (sincos_test_data): New variable.
14303 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14304
e6e49e59
RH
143052013-05-16 Richard Henderson <rth@redhat.com>
14306
14307 * math/atest-exp2.c (LIMB64): New macro.
14308 (CONSTSZ): New macro.
14309 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14310 (hexdig): Move ...
14311 (print_mpn_fp): ... to function scope.
14312 (read_mpn_hex): Remove.
14313 (get_log2): Remove.
14314 (exp2_mpn): Use mp_log2.
14315 (main): Use mp_exp1.
14316
15c7c18d
JM
143172013-05-16 Joseph Myers <joseph@codesourcery.com>
14318
105a07df
JM
14319 * math/libm-test.inc: Remove comment about not testing "inexact"
14320 exceptions.
14321 (INEXACT_EXCEPTION): New macro.
14322 (NO_INEXACT_EXCEPTION): Likewise.
14323 (INVALID_EXCEPTION_OK): Update value.
14324 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14325 (OVERFLOW_EXCEPTION_OK): Likewise.
14326 (UNDERFLOW_EXCEPTION_OK): Likewise.
14327 (IGNORE_ZERO_INF_SIGN): Likewise.
14328 (ERRNO_UNCHANGED): Likewise.
14329 (ERRNO_EDOM): Likewise.
14330 (ERRNO_ERANGE): Likewise.
14331 (test_exceptions): Handle testing "inexact" exceptions.
14332 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14333 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14334 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14335 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14336 INEXACT_EXCEPTION.
14337 (rint_towardzero_test_data): Likewise.
14338 (rint_downward_test_data): Likewise.
14339 (rint_upward_test_data): Likewise.
14340
e9eee333
JM
14341 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14342 with OVERFLOW_EXCEPTION.
14343 (exp10_test_data): Likewise.
14344 (exp2_test_data): Likewise.
14345 (expm1_test_data): Likewise.
14346 (lgamma_test_data): Likewise.
14347 (pow_test_data): Likewise.
14348 (tgamma_test_data): Likewise.
14349 (yn_test_data): Remove duplicate test of overflow.
14350
1c38ff73
JM
14351 * math/libm-test.inc (struct test_cc_c_data): New type.
14352 (RUN_TEST_LOOP_cc_c): New macro.
14353 (cpow_test_data): New variable.
14354 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14355
15c7c18d
JM
14356 * math/libm-test.inc (struct test_f_L_data): New type.
14357 (RUN_TEST_LOOP_f_L): New macro.
14358 (llrint_test_data): New variable.
14359 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14360 (llrint_tonearest_test_data): New variable.
14361 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14362 (llrint_towardzero_test_data): New variable.
14363 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14364 (llrint_downward_test_data): New variable.
14365 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14366 (llrint_upward_test_data): New variable.
14367 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14368 (llround_test_data): New variable.
14369 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14370
f137ff13
PC
143712013-05-13 Peter Collingbourne <pcc@google.com>
14372
14373 * math/atest-exp2.c (get_log2): Remove const attribute.
14374
3608cb24
JM
143752013-05-15 Joseph Myers <joseph@codesourcery.com>
14376
14377 * math/libm-test.inc (struct test_f_l_data): New type.
14378 (RUN_TEST_LOOP_f_l): New macro.
14379 (lrint_test_data): New variable.
14380 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14381 (lrint_tonearest_test_data): New variable.
14382 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14383 (lrint_towardzero_test_data): New variable.
14384 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14385 (lrint_downward_test_data): New variable.
14386 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14387 (lrint_upward_test_data): New variable.
14388 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14389 (lround_test_data): New variable.
14390 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14391
39b1f617
PC
143922013-05-15 Peter Collingbourne <pcc@google.com>
14393
1deff3dc
PC
14394 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14395 (EXTRACT_WORDS64) Use where appropriate.
14396 (INSERT_WORDS64) Likewise.
14397
791f3ba0
PC
14398 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14399 constraints with x constraints.
14400 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14401
39b1f617
PC
14402 * malloc/obstack.c (_obstack_compat): Add initializer.
14403
12fba011
EM
144042013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14405
14406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14407 si_trapno and add si_addr_lsb to _sifields.sigfault.
14408 (si_trapno): Remove macro.
14409 (si_addr_lsb): Define new macro.
14410 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14411
d369f531
JM
144122013-05-15 Joseph Myers <joseph@codesourcery.com>
14413
b861c6c4
JM
14414 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14415 instead of TEST_f_l.
14416 (llrint_test_tonearest): Likewise.
14417 (llrint_test_towardzero): Likewise.
14418 (llrint_test_downward): Likewise.
14419 (llrint_test_upward): Likewise.
14420 (llround_test): Likewise.
14421
7abeee12
JM
14422 * math/libm-test.inc (struct test_f_i_data): Add comment.
14423 (RUN_TEST_LOOP_f_b): New macro.
14424 (RUN_TEST_LOOP_f_b_tg): Likewise.
14425 (finite_test_data): New variable.
14426 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14427 (isfinite_test_data): New variable.
14428 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14429 (isinf_test_data): New variable.
14430 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14431 (isnan_test_data): New variable.
14432 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14433 (isnormal_test_data): New variable.
14434 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14435 (issignaling_test_data): New variable.
14436 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14437 (signbit_test_data): New variable.
14438 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14439
cbe8c4d3
JM
14440 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14441 with INVALID_EXCEPTION.
14442 (acosh_test_data): Likewise.
14443 (asin_test_data): Likewise.
14444 (atanh_test_data): Likewise.
14445 (fmod_test_data): Likewise.
14446 (log_test_data): Likewise.
14447 (log10_test_data): Likewise.
14448 (log2_test_data): Likewise.
14449 (pow_test_data): Likewise.
14450 (sqrt_test_data): Likewise.
14451 (y0_test_data): Likewise.
14452 (y1_test_data): Likewise.
14453 (yn_test_data): Likewise.
14454
5575c0e5
JM
14455 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14456 function contents.
14457
d369f531
JM
14458 * math/libm-test.inc (struct test_ff_i_data): New type.
14459 (RUN_TEST_LOOP_ff_i_tg): New macro.
14460 (isgreater_test_data): New variable.
14461 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14462 (isgreaterequal_test_data): New variable.
14463 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14464 (isless_test_data): New variable.
14465 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14466 (islessequal_test_data): New variable.
14467 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14468 (islessgreater_test_data): New variable.
14469 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14470 (isunordered_test_data): New variable.
14471 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14472
781fd748
DM
144732013-05-14 David S. Miller <davem@davemloft.net>
14474
14475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14476
87aa21df
JM
144772013-05-14 Joseph Myers <joseph@codesourcery.com>
14478
5e908270
JM
14479 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14480
f71172e5
JM
14481 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14482 extra_test to int.
14483 (struct test_f_i_data): Change type of max_ulp to int.
14484
8cfa635a
JM
14485 * math/libm-test.inc (test_ffI_f1_data): New type.
14486 (RUN_TEST_LOOP_ffI_f1): New macro.
14487 (remquo_test_data): New variable.
14488 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14489
2bcb36b2
JM
14490 * setjmp/tst-setjmp-fp.c: New file.
14491 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14492 (link-libm): New variable.
14493 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14494
acbd839a
JM
14495 * math/libm-test.inc (struct test_f_i_data): New type.
14496 (RUN_TEST_LOOP_f_i): New macro.
14497 (RUN_TEST_LOOP_f_i_tg): Likewise.
14498 (fpclassify_test_data): New variable.
14499 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14500 (ilogb_test_data): New variable.
14501 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14502
e414d745
JM
14503 * math/libm-test.inc (scalbln_test): Correct function name in END
14504 call.
14505
d9c2a0fd
JM
14506 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14507 (RUN_TEST_LOOP_fI_f1): New macro.
14508 (frexp_test_data): New variable.
14509 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14510
9dc9095d
JM
14511 * math/libm-test.inc (struct test_fF_f1_data): New type.
14512 (RUN_TEST_LOOP_fF_f1): New macro.
14513 (modf_test_data): New variable.
14514 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14515
87aa21df
JM
14516 * math/libm-test.inc (struct test_f_f1_data): New type.
14517 (RUN_TEST_LOOP_f_f1): New macro.
14518 (gamma_test_data): New variable.
14519 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14520 (lgamma_test_data): New variable.
14521 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14522
141af660
CD
145232013-05-13 Carlos O'Donell <carlos@redhat.com>
14524
14525 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14526 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14527 (main): Comment "tls" pseudo-hwcap.
14528
6d33265c
JM
145292013-05-13 Joseph Myers <joseph@codesourcery.com>
14530
68fc074c
JM
14531 * math/libm-test.inc (struct test_fl_f_data): New type.
14532 (RUN_TEST_LOOP_fl_f): New variable.
14533 (scalbln_test_data): New variable.
14534 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14535
243216e1
JM
14536 * math/libm-test.inc (struct test_fi_f_data): New type.
14537 (RUN_TEST_LOOP_fi_f): New macro.
14538 (ldexp_test_data): New variable.
14539 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14540 (scalbn_test_data): New variable.
14541 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14542
6a1992e2
JM
14543 * math/libm-test.inc (struct test_c_f_data): New type.
14544 (RUN_TEST_LOOP_c_f): New macro.
14545 (cabs_test_data): New variable.
14546 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14547 (carg_test_data): New variable.
14548 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14549 (cimag_test_data): New variable.
14550 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14551 (creal_test_data): New variable.
14552 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14553
0e400df5
JM
14554 * math/libm-test.inc (struct test_if_f_data): New type.
14555 (RUN_TEST_LOOP_if_f): New macro.
14556 (jn_test_data): New variable.
14557 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14558 (yn_test_data): New variable.
14559 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14560
6d33265c
JM
14561 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14562
f98ece5f
AZ
145632013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14564
14565 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14566 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14567
0f7d347b
SP
145682013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14569
43fe811b
SP
14570 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14571 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14572 (bench-deps): Add bench-timing.h.
14573 * benchtests-bench-skeleton.c: Include bench-timing.h.
14574 (main): Use TIMING_* macros instead of clock_gettime.
14575 * benchtests/bench-timing.h: New file.
14576
0f7d347b
SP
14577 [BZ #14582]
14578 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14579 Renamed from _LIB_VERSION.
14580 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14581
601a3a5f
JM
145822013-05-12 Joseph Myers <joseph@codesourcery.com>
14583
4f184d30
JM
14584 * math/libm-test.inc (struct test_fff_f_data): New type.
14585 (RUN_TEST_LOOP_fff_f): New macro.
14586 (fma_test_data): New variable.
14587 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14588 (fma_towardzero_test_data): New variable.
14589 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14590 (fma_downward_test_data): New variable.
14591 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14592 (fma_upward_test_data): New variable.
14593 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14594
08198877
JM
14595 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14596 (struct test_c_c_data): New type.
14597 (RUN_TEST_LOOP_c_c): New macro.
14598 (cacos_test_data): New variable.
14599 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14600 (cacosh_test_data): New variable.
14601 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14602 (casin_test_data): New variable.
14603 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14604 (casinh_test_data): New variable.
14605 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14606 (catan_test_data): New variable.
14607 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14608 (catanh_test_data): New variable.
14609 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14610 (ccos_test_data): New variable.
14611 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14612 (ccosh_test_data): New variable.
14613 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14614 (cexp_test_data): New variable.
14615 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14616 (clog_test_data): New variable.
14617 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14618 (clog10_test_data): New variable.
14619 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14620 (conj_test_data): New variable.
14621 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14622 (cproj_test_data): New variable.
14623 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14624 (csin_test_data): New variable.
14625 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14626 (csinh_test_data): New variable.
14627 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14628 (csqrt_test_data): New variable.
14629 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14630 (ctan_test_data): New variable.
14631 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14632 (ctan_tonearest_test_data): New variable.
14633 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14634 (ctan_towardzero_test_data): New variable.
14635 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14636 (ctan_downward_test_data): New variable.
14637 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14638 (ctan_upward_test_data): New variable.
14639 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14640 (ctanh_test_data): New variable.
14641 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14642 (ctanh_tonearest_test_data): New variable.
14643 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14644 (ctanh_towardzero_test_data): New variable.
14645 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14646 (ctanh_downward_test_data): New variable.
14647 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14648 (ctanh_upward_test_data): New variable.
14649 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14650 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14651 of BUILD_COMPLEX.
14652
601a3a5f
JM
14653 * math/libm-test.inc (struct test_ff_f_data): New type.
14654 (struct test_ff_f_data_nexttoward): Likewise.
14655 (RUN_TEST_LOOP_2_f): New macro.
14656 (RUN_TEST_LOOP_ff_f): Likewise.
14657 (atan2_test_data): New variable.
14658 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14659 (copysign_test_data): New variable.
14660 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14661 (fdim_test_data): New variable.
14662 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14663 (fmax_test_data): New variable.
14664 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14665 (fmin_test_data): New variable.
14666 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14667 (fmod_test_data): New variable.
14668 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14669 (hypot_test_data): New variable.
14670 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14671 (nextafter_test_data): New variable.
14672 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14673 (nexttoward_test_data): New variable.
14674 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14675 (pow_test_data): New variable.
14676 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14677 (pow_tonearest_test_data): New variable.
14678 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14679 (pow_towardzero_test_data): New variable.
14680 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14681 (pow_downward_test_data): New variable.
14682 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14683 (pow_upward_test_data): New variable.
14684 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14685 (remainder_test_data): New variable.
14686 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14687 (scalb_test_data): New variable.
14688 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14689 * sysdeps/i386/fpu/libm-test-ulps: Update.
14690
74c57478
JM
146912013-05-11 Joseph Myers <joseph@codesourcery.com>
14692
8329e4da
JM
14693 * math/libm-test.inc (fma_test): Use max_value instead of local
14694 variable fltmax.
14695 (nextafter_test): Likewise.
14696
74c57478
JM
14697 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14698 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14699 (acos_downward_test_data): New variable.
14700 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14701 (acos_upward_test_data): New variable.
14702 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14703 (acosh_test_data): New variable.
14704 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14705 (asin_test_data): New variable.
14706 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14707 (asin_tonearest_test_data): New variable.
14708 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14709 (asin_towardzero_test_data): New variable.
14710 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14711 (asin_downward_test_data): New variable.
14712 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14713 (asin_upward_test_data): New variable.
14714 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14715 (asinh_test_data): New variable.
14716 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14717 (atan_test_data): New variable.
14718 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14719 (atanh_test_data): New variable.
14720 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14721 (cbrt_test_data): New variable.
14722 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14723 (ceil_test_data): New variable.
14724 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14725 (cos_test_data): New variable.
14726 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14727 (cos_tonearest_test_data): New variable.
14728 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14729 (cos_towardzero_test_data): New variable.
14730 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14731 (cos_downward_test_data): New variable.
14732 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14733 (cos_upward_test_data): New variable.
14734 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14735 (cosh_test_data): New variable.
14736 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14737 (cosh_tonearest_test_data): New variable.
14738 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14739 (cosh_towardzero_test_data): New variable.
14740 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14741 (cosh_downward_test_data): New variable.
14742 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14743 (cosh_upward_test_data): New variable.
14744 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14745 (erf_test_data): New variable.
14746 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14747 (erfc_test_data): New variable.
14748 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14749 (exp_test_data): New variable.
14750 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14751 (exp_tonearest_test_data): New variable.
14752 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14753 (exp_towardzero_test_data): New variable.
14754 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14755 (exp_downward_test_data): New variable.
14756 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14757 (exp_upward_test_data): New variable.
14758 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14759 (exp10_test_data): New variable.
14760 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14761 (exp2_test_data): New variable.
14762 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14763 (expm1_test_data): New variable.
14764 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14765 (fabs_test_data): New variable.
14766 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14767 (floor_test_data): New variable.
14768 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14769 (j0_test_data): New variable.
14770 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14771 (j1_test_data): New variable.
14772 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14773 (log_test_data): New variable.
14774 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14775 (log10_test_data): New variable.
14776 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14777 (log1p_test_data): New variable.
14778 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14779 (log2_test_data): New variable.
14780 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14781 (logb_test_data): New variable.
14782 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14783 (logb_downward_test_data): New variable.
14784 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14785 (nearbyint_test_data): New variable.
14786 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14787 (rint_test_data): New variable.
14788 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14789 (rint_tonearest_test_data): New variable.
14790 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14791 (rint_towardzero_test_data): New variable.
14792 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14793 (rint_downward_test_data): New variable.
14794 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14795 (rint_upward_test_data): New variable.
14796 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14797 (round_test_data): New variable.
14798 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14799 (sin_test_data): New variable.
14800 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14801 (sin_tonearest_test_data): New variable.
14802 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14803 (sin_towardzero_test_data): New variable.
14804 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14805 (sin_downward_test_data): New variable.
14806 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14807 (sin_upward_test_data): New variable.
14808 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14809 (sinh_test_data): New variable.
14810 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14811 (sinh_tonearest_test_data): New variable.
14812 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14813 (sinh_towardzero_test_data): New variable.
14814 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14815 (sinh_downward_test_data): New variable.
14816 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14817 (sinh_upward_test_data): New variable.
14818 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14819 (sqrt_test_data): New variable.
14820 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14821 (tan_test_data): New variable.
14822 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14823 (tan_tonearest_test_data): New variable.
14824 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14825 (tan_towardzero_test_data): New variable.
14826 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14827 (tan_downward_test_data): New variable.
14828 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14829 (tan_upward_test_data): New variable.
14830 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14831 (tanh_test_data): New variable.
14832 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14833 (tgamma_test_data): New variable.
14834 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14835 (trunc_test_data): New variable.
14836 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14837 (y0_test_data): New variable.
14838 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14839 (y1_test_data): New variable.
14840 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14841 (significand_test_data): New variable.
14842 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14843
7187d844
CG
148442013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14845
14846 [BZ #12387]
14847 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14848
f63fae73
PT
148492013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14850
14851 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14852
8a67a4b3
AJ
148532013-05-10 Andreas Jaeger <aj@suse.de>
14854
14855 [BZ #15448]
14856 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14857 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14858
51df539d
JM
148592013-05-10 Joseph Myers <joseph@codesourcery.com>
14860
14861 * math/gen-libm-test.pl (adjust_arg): New function.
14862 (special_functions): Handle generating output in both functions
14863 and arrays.
14864 (parse_args): Likewise.
14865 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14866 $in_func argument to parse_args.
14867 * math/libm-test.inc (struct test_f_f_data): New type.
14868 (IF_ROUND_INIT_): New macro.
14869 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14870 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14871 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14872 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14873 (ROUND_RESTORE_): Likewise.
14874 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14875 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14876 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14877 (ROUND_RESTORE_FE_UPWARD): Likewise.
14878 (RUN_TEST_LOOP_f_f): New macro.
14879 (acos_test_data): New variable.
14880 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14881 (acos_tonearest_test_data): New variable.
14882 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14883
5c637fe5
SP
148842013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14885
14886 * benchtests/bench-skeleton.c (startup): Fix coding style.
14887
ab2b9461
JM
148882013-05-10 Joseph Myers <joseph@codesourcery.com>
14889
14890 [BZ #6809]
14891 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14892 negative infinity argument.
14893 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14894 negative infinity argument.
14895 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14896 negative infinity argument.
14897 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14898 domain errors.
14899
4c0fe6fe
FW
149002013-05-10 Florian Weimer <fweimer@redhat.com>
14901
14902 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14903 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14904 * iconv/iconv_prog.c (main): Likewise.
14905 * locale/programs/charmap-dir.c (charmap_readdir)
14906 (fopen_uncompressed): Likewise.
14907 * locale/programs/locfile.c (siblings_uncached)
14908 (write_locale_data): Use lstat64 instead of lstat.
14909 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14910 stat.
14911
a3375d29
AJ
149122013-05-10 Andreas Jaeger <aj@suse.de>
14913
14914 [BZ #15395]
14915 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14916 localization.
14917 Include <locale.h>.
14918
36129722
CD
149192013-05-09 Carlos O'Donell <carlos@redhat.com>
14920
14921 * elf/dl-close.c (_dl_close_worker): Add comments.
14922
faa7f811
JM
149232013-05-09 Joseph Myers <joseph@codesourcery.com>
14924
ed41ffef
JM
14925 [BZ #15359]
14926 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14927 high part of pi/2.
14928 (__ieee754_rem_pio2l): Update comments.
14929
d0213cd0
JM
14930 [BZ #15429]
14931 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14932 high part of pi/2.
14933 (__ieee754_rem_pio2l): Update comments.
14934
0d3e777a
JM
14935 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14936 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14937
24f56066
JM
14938 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14939 M_PI_4l.
14940
faa7f811
JM
14941 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14942 (M_PI_34_LOG10El): Likewise.
14943 (M_PI2_LOG10El): Likewise.
14944 (M_PI4_LOG10El): Likewise.
14945 (M_PI_LOG10El): Likewise.
14946
e9a5e0fd
AZ
149472013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14948
14949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14950
d8cd06db
JM
149512013-05-08 Joseph Myers <joseph@codesourcery.com>
14952
a0d9f9d7
JM
14953 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14954 (MINUS_ZERO_INIT): Likewise.
14955 (PLUS_INFTY_INIT): Likewise.
14956 (MINUS_INFTY_INIT): Likewise.
14957 (QNAN_VALUE_INIT): Likewise.
14958 (MAX_VALUE_INIT): Likewise.
14959 (MIN_VALUE_INIT): Likewise.
14960 (MIN_SUBNORM_VALUE_INIT): Likewise.
14961 (plus_zero): Initialize with PLUS_ZERO_INIT.
14962 (minus_zero): Initialize with MINUS_ZERO_INIT.
14963 (plus_infty): Initialize with PLUS_INFTY_INIT.
14964 (minus_infty): Initialize with MINUS_INFTY_INIT.
14965 (qnan_value): Initialize with QNAN_VALUE_INIT.
14966 (max_value): Initialize with MAX_VALUE_INIT.
14967 (min_value): Initialize with MIN_VALUE_INIT.
14968 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14969
ae08db3b
JM
14970 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14971 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14972 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14973 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14974
f44bf14a
JM
14975 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14976 (RUN_TEST_2_f): Likewise.
14977 (RUN_TEST_ff_f): Likewise.
14978 (RUN_TEST_fi_f): Likewise.
14979 (RUN_TEST_fl_f): Likewise.
14980 (RUN_TEST_fff_f): Likewise.
14981 (RUN_TEST_c_f): Likewise.
14982 (RUN_TEST_f_f1): Likewise.
14983 (RUN_TEST_fF_f1): Likewise.
14984 (RUN_TEST_fI_f1): Likewise.
14985 (RUN_TEST_ffI_f1): Likewise.
14986 (RUN_TEST_c_c): Likewise.
14987 (RUN_TEST_cc_c): Likewise.
14988 (RUN_TEST_f_i): Likewise.
14989 (RUN_TEST_f_i_tg): Likewise.
14990 (RUN_TEST_ff_i_tg): Likewise.
14991 (RUN_TEST_f_b): Likewise.
14992 (RUN_TEST_f_b_tg): Likewise.
14993 (RUN_TEST_f_l): Likewise.
14994 (RUN_TEST_f_L): Likewise.
14995 (RUN_TEST_sincos): Likewise.
14996 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14997 whether to show exceptions. Do not include ");\n" in return
14998 value.
14999 (special_functions): Output call to RUN_TEST_sincos instead of
15000 check_float calls. Update calls to new_test.
15001 (parse_args): Output call to single RUN_TEST_* macro instead of
15002 check_* calls and other assignments. Update calls to new_test.
15003
d8cd06db
JM
15004 [BZ #2546]
15005 [BZ #2560]
15006 [BZ #5159]
15007 [BZ #15426]
15008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15009 input to result for tgamma overflow.
15010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15011 (gamma_coeff): New variable.
15012 (NCOEFF): New macro.
15013 (gamma_positive): New function.
15014 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15015 underflow here. Use gamma_positive instead of exp (lgamma) for
15016 other arguments.
15017 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15018 (gamma_coeff): New variable.
15019 (NCOEFF): New macro.
15020 (gammaf_positive): New function.
15021 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15022 underflow here. Use gamma_positive instead of exp (lgamma) for
15023 other arguments.
15024 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15025 (gamma_coeff): New variable.
15026 (NCOEFF): New macro.
15027 (gammal_positive): New function.
15028 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15029 underflow here. Use gamma_positive instead of exp (lgamma) for
15030 other arguments.
15031 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15032 (gamma_coeff): New variable.
15033 (NCOEFF): New macro.
15034 (gammal_positive): New function.
15035 (__ieee754_gammal_r): Handle positive infinity, overflow and
15036 underflow here. Handle NaN the same as positive infinity. Remove
15037 check x < 0xffffffff for negative integers. Use gamma_positive
15038 instead of exp (lgamma) for other arguments.
15039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15040 (gamma_coeff): New variable.
15041 (NCOEFF): New macro.
15042 (gammal_positive): New function.
15043 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15044 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15048 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15049 * sysdeps/generic/math_private.h (__gamma_productf): New
15050 prototype.
15051 (__gamma_product): Likewise.
15052 (__gamma_productl): Likewise.
15053 * math/Makefile (libm-calls): Add gamma_product.
15054 * math/libm-test.inc (tgamma_test): Add more tests.
15055 * sysdeps/i386/fpu/libm-test-ulps: Update.
15056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15057
bb7cf681
OB
150582013-05-08 Ondřej Bílka <neleai@seznam.cz>
15059
15060 * benchtests/bench-skeleton.c (main): Preheat CPU.
15061
ba853947
AJ
150622013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15063
15064 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15065
8347c74c
RM
150662013-05-07 Roland McGrath <roland@hack.frob.com>
15067
15068 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15069 and _dl_skip_args_internal.
15070
e8dd4791
CD
150712013-05-07 Carlos O'Donell <carlos@redhat.com>
15072
15073 * manual/message.texi (Message Translation): Talk about users.
15074 Message to key mapping impacts design.
15075
c7405830
RM
150762013-05-06 Roland McGrath <roland@hack.frob.com>
15077
a9173057
RM
15078 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15079
976e2f03
RM
15080 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15081
9723ffc5
RM
15082 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15083 * sysdeps/wordsize-64/glob64.c: ... here.
15084
962e6658
RM
15085 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15086 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15087 New macros.
15088
ee586a6d
RM
15089 * debug/getlogin_r_chk.c: Moved to ...
15090 * login/getlogin_r_chk.c: ... here.
15091 * debug/Makefile (routines): Move getlogin_r_chk to ...
15092 * login/Makefile (routines): ... here.
15093 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15094 * login/Versions (libc: GLIBC_2.4): ... here.
15095
355f9165
RM
15096 * io/poll.c (__poll): Renamed from poll.
15097 Add libc_hidden_def.
15098 (poll): Define as weak alias.
15099
bd9ffde6
RM
15100 * debug/ptsname_r_chk.c: Moved to ...
15101 * login/ptsname_r_chk.c: ... here.
15102 * debug/Makefile (routines): Move ptsname_r_chk to ...
15103 * login/Makefile (routines): ... here.
15104 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15105 * login/Versions (libc: GLIBC_2.4): ... here.
15106
8fb16a04
RM
15107 * posix/getlogin.c: Moved to ...
15108 * login/getlogin.c: ... here.
15109 * posix/getlogin_r.c: Moved to ...
15110 * login/getlogin_r.c: ... here.
15111 * posix/getlogin_r.c: Moved to ...
15112 * login/getlogin_r.c: ... here.
15113 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15114 * login/Makefile (routines): ... here.
15115 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15116 * login/Versions (libc: GLIBC_2.0): ... here.
15117
b99b892f
RM
15118 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15119 (setrlimit): Define as weak alias.
15120
c7405830
RM
15121 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15122 Call __ names for open, ftruncate, and close.
15123 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15124 (truncate): Define as weak alias.
15125
5bf96de5
JM
151262013-05-06 Joseph Myers <joseph@codesourcery.com>
15127
9ea3513c
JM
15128 * math/gen-libm-test.pl (parse_args): Initialize x before each
15129 test of frexp, modf and remquo.
15130
5bf96de5
JM
15131 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15132 test signgam value.
15133
16e616a7
AZ
151342013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15135
15136 [BZ #15418]
15137 [BZ #15419]
15138 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15139 internal tests.
15140 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15141
d5e82754
RM
151422013-05-06 Roland McGrath <roland@hack.frob.com>
15143
15144 * elf/dl-writev.h: New file.
15145 * elf/dl-misc.c: Include it.
15146 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15147 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15148
a7548d41
JM
151492013-05-04 Joseph Myers <joseph@codesourcery.com>
15150
b7dab1e4
JM
15151 * math/libm-test.inc (noXFails): Remove variable.
15152 (noXPasses): Likewise.
15153 (BUILD_COMPLEX_INT): Remove macro.
15154 (print_screen): Remove xfail argument.
15155 (print_screen_max_error): Likewise.
15156 (update_stats): Likewise.
15157 (print_max_error): Likewise. Update calls to other affected
15158 functions.
15159 (print_complex_max_error): Likewise.
15160 (test_single_exception): Update calls to print_screen.
15161 (test_single_errno): Likewise.
15162 (check_float_internal): Remove xfail argument. Update calls to
15163 other affected functions.
15164 (check_float): Likewise.
15165 (check_complex): Likewise.
15166 (check_int): Likewise.
15167 (check_long): Likewise.
15168 (check_bool): Likewise.
15169 (check_longlong): Likewise.
15170 (main): Don't print noXFails and noXPasses.
15171 * math/gen-libm-test.pl (top level): Don't mention expected
15172 failure handling in comment.
15173 (new_test): Don't handle expected failures.
15174 (parse_args): Don't mention expected failure handling in comment.
15175 (generate_testfile): Don't handle expected failures.
15176 (parse_ulps): Likewise.
15177 (print_ulps_file): Likewise.
15178 (get_failure): Remove function.
15179 (output_test): Don't handle expected failures.
15180 * make/README.libm-test: Don't mention expected failure handling.
15181
a7548d41
JM
15182 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15183 (minus_zero): Likewise.
15184 (plus_infty): Likewise.
15185 (minus_infty): Likewise.
15186 (qnan_value): Likewise.
15187 (max_value): Likewise.
15188 (min_value): Likewise.
15189 (min_subnorm_value): Likewise.
15190 (initialize): Do not initialize those variables dynamically.
15191
60bfd54c
RM
151922013-05-03 Roland McGrath <roland@hack.frob.com>
15193
cc0e6ed8
RM
15194 * io/open.c (__open_2): Moved to ...
15195 * io/open_2.c: ... this new file.
15196 * io/open64.c (__open64_2): Moved to ...
15197 * io/open64_2.c: ... this new file.
15198 * io/openat.c (__openat_2): Moved to ...
15199 * io/openat_2.c: ... this new file.
15200 * io/openat64.c (__openat64_2): Moved to ...
15201 * io/openat64_2.c: ... this new file.
15202 * io/Makefile (routines): Add them.
15203 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15204 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15205 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15206 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15207 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15208 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15209 (__openat64): Add hidden_ver.
15210 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15211 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15212
60bfd54c
RM
15213 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15214 Separately conditionalize setting of GLRO(dl_sysinfo) so
15215 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15216 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15217
83e7640f
AZ
152182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15219
15220 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15221 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15222 definition.
15223 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15224 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15225 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15226 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15227 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15228
d5dc2af3
JM
152292013-05-03 Joseph Myers <joseph@codesourcery.com>
15230
c31a5b1e
JM
15231 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15232 test signgam value.
15233
d5dc2af3
JM
15234 * math/libm-test.inc (hypot_test): Do not use
15235 IGNORE_ZERO_INF_SIGN.
15236
164fd39d
AJ
152372013-05-03 Andreas Jaeger <aj@suse.de>
15238
15239 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15240 Linux 3.9.
15241 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15242 (PF_MAX): Adjust for VSOCK change.
15243
8237f48c
AZ
152442013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15245
15246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15247
9df02941
CD
152482013-05-02 Carlos O'Donell <carlos@redhat.com>
15249
15250 [BZ #15264]
15251 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15252 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15253 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15254
d422395e
DM
152552013-05-02 David S. Miller <davem@davemloft.net>
15256
15257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15258
a07c5731
OB
152592013-05-01 Ondřej Bílka <neleai@seznam.cz>
15260
15261 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15262
1324e37f
RM
152632013-05-01 Roland McGrath <roland@hack.frob.com>
15264
15265 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15266
0695940b
RS
152672013-05-01 Richard Smith <richard@metafoo.co.uk>
15268
bb5f27ad 15269 [BZ #14952]
0695940b
RS
15270 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15271 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15272 Use __attribute__ ((__gnu_inline__)).
15273 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15274 Don't use __attribute__ ((__gnu_inline__)).
15275
10de07f5
JM
152762013-05-01 Joseph Myers <joseph@codesourcery.com>
15277
15278 [BZ #15423]
15279 * math/s_catan.c (__catan): Handle small real or imaginary part of
15280 input specially to avoid spurious underflow.
15281 * math/s_catanf.c (__catanf): Likewise.
15282 * math/s_catanh.c (__catanh): Likewise.
15283 * math/s_catanhf.c (__catanhf): Likewise.
15284 * math/s_catanhl.c (__catanhl): Likewise.
15285 * math/s_catanl.c (__catanl): Likewise.
15286 * math/libm-test.inc (catan_test): Add more tests.
15287 (catanh_test): Likewise.
15288 * sysdeps/i386/fpu/libm-test-ulps: Update.
15289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15290
cb4d5414
AZ
152912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15292
15293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15294
caf84319
JM
152952013-04-30 Joseph Myers <joseph@codesourcery.com>
15296
15297 [BZ #15416]
15298 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15299 accurately for denominator in atan2.
15300 * math/s_catanf.c (__catanf): Likewise.
15301 * math/s_catanh.c (__catanh): Likewise.
15302 * math/s_catanhf.c (__catanhf): Likewise.
15303 * math/s_catanhl.c (__catanhl): Likewise.
15304 * math/s_catanl.c (__catanl): Likewise.
15305 * math/libm-test.inc (catan_test): Add more tests.
15306 (catanh_test): Likewise.
15307 * sysdeps/i386/fpu/libm-test-ulps: Update.
15308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15309
d569c6ee
SP
153102013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15311
6dbe713d
SP
15312 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15313
f0ee064b
SP
15314 * benchtests/Makefile (bench): Remove slow benchmarks.
15315 * benchtests/atan-inputs: Add slow benchmark inputs.
15316 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15317 (BENCH_FUNC): Accept variant offset.
15318 (VARIANT): Define.
15319 * benchtests/bench-skeleton.c (main): Run benchmark for each
15320 variant.
15321 * benchtests/cos-inputs: Add slow benchmark inputs.
15322 * benchtests/exp-inputs: Likewise.
15323 * benchtests/pow-inputs: Likewise.
15324 * benchtests/sin-inputs: Likewise.
15325 * benchtests/slowatan-inputs: Remove.
15326 * benchtests/slowatan.c: Remove.
15327 * benchtests/slowcos-inputs: Remove.
15328 * benchtests/slowcos.c: Remove.
15329 * benchtests/slowexp-inputs: Remove.
15330 * benchtests/slowexp.c: Remove.
15331 * benchtests/slowpow-inputs: Remove.
15332 * benchtests/slowpow.c: Remove.
15333 * benchtests/slowsin-inputs: Remove.
15334 * benchtests/slowsin.c: Remove.
15335 * benchtests/slowtan-inputs: Remove.
15336 * benchtests/slowtan.c: Remove.
15337 * benchtests/tan-inputs: Add slow benchmark inputs.
15338 * scripts/bench.pl: Parse comments and directives.
15339
d569c6ee
SP
15340 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15341 in CPPFLAGS.
15342 ($(objpfx)bench-%.c): Remove *-ITER.
15343 * benchtests/bench-modf.c: Remove definition of ITER.
15344 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15345 (main): Loop for DURATION seconds instead of fixed number of
15346 iterations.
15347 * scripts/bench.pl: Don't expect iterations in parameters.
15348
a6a242fe
RM
153492013-04-29 Roland McGrath <roland@hack.frob.com>
15350
15351 * io/fchdir.c (__fchdir): Renamed from fchdir.
15352 (fchdir): Define as weak alias.
15353
f2da7793
JM
153542013-04-29 Joseph Myers <joseph@codesourcery.com>
15355
15356 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15357 (ERRNO_EDOM): Likewise.
15358 (ERRNO_ERANGE): Likewise.
15359 (noErrnoTests): New variable.
15360 (init_max_error): Set errno to 0.
15361 (test_single_errno): New function.
15362 (test_errno): Likewise.
15363 (check_float_internal): Call test_errno. Set errno to 0.
15364 (check_complex): Refer to errno tests in comment.
15365 (check_int): Call test_errno. Set errno to 0.
15366 (check_long): Likewise.
15367 (check_bool): Likewise.
15368 (check_longlong): Likewise.
15369 (cos_test): Use ERRNO_* flags for errno tests instead of
15370 check_int.
15371 (expm1_test): Likewise.
15372 (fmod_test): Likewise.
15373 (ilogb_test): Likewise.
15374 (lgamma_test): Likewise.
15375 (pow_test): Likewise.
15376 (remainder_test): Likewise.
15377 (sin_test): Likewise.
15378 (tan_test): Likewise.
15379 (yn_test): Likewise.
15380 (initialize): Set errno to 0.
15381 (main): Print number of errno tests.
15382 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15383
b1a36ceb
AJ
153842013-04-29 Andreas Jaeger <aj@suse.de>
15385
c3ed8088
AJ
15386 [BZ #15084]
15387 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15388 and RES_USEVC.
15389
f1a24198
AJ
15390 [BZ #15085]
15391 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15392 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15393 unimplemented.
15394
9ce3b2cb
AJ
15395 [BZ #15380]
15396 * stdlib/random.c (__initstate): Return NULL if
15397 __initstate fails.
15398
f1a24198 15399 [BZ #15086]
b1a36ceb
AJ
15400 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15401 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15402 RES_SNGLKUPREOP.
15403
7e7b6f36
AZ
154042013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15405
15406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15407
4d14f449
JM
154082013-04-29 Joseph Myers <joseph@codesourcery.com>
15409
15410 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15411 of individual tests.
15412 (casin_test): Likewise.
15413 (casinh_test): Likewise.
15414
5b4217d7
JM
154152013-04-27 Joseph Myers <joseph@codesourcery.com>
15416
15417 [BZ #15409]
15418 * math/s_catan.c (__catan): Handle arguments with large real or
15419 imaginary part separately without squaring.
15420 * math/s_catanf.c (__catanf): Likewise.
15421 * math/s_catanh.c (__catanh): Likewise.
15422 * math/s_catanhf.c (__catanhf): Likewise.
15423 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15424 and redefine.
15425 (__catanhl): Handle arguments with large real or imaginary part
15426 separately without squaring.
15427 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15428 and redefine.
15429 (__catanl): Handle arguments with large real or imaginary part
15430 separately without squaring.
15431 * math/libm-test.inc (catan_test): Add more tests.
15432 (catanh_test): Likewise.
15433 * sysdeps/i386/fpu/libm-test-ulps: Update.
15434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435
4220c3ef
AJ
154362013-04-27 Andreas Jaeger <aj@suse.de>
15437
15438 [BZ #15007]
15439 * stdlib/stdlib.h: Update guards for qecvt.
15440 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15441 <stdlib.h>.
15442
4721b2d1
AM
154432013-04-27 Allan McRae <allan@archlinux.org>
15444
15445 * sysdeps/i386/fpu/libm-test-ulps: Update.
15446
f0302940
JM
154472013-04-26 Joseph Myers <joseph@codesourcery.com>
15448
9457fd95
JM
15449 [BZ #15406]
15450 * math/s_catan.c: Include <float.h>.
15451 (__catan): Ensure underflow exception occurs for underflowed
15452 result.
15453 * math/s_catanf.c: Include <float.h>.
15454 (__catanf): Ensure underflow exception occurs for underflowed
15455 result.
15456 * math/s_catanh.c: Include <float.h>.
15457 (__catanh): Ensure underflow exception occurs for underflowed
15458 result.
15459 * math/s_catanhf.c: Include <float.h>.
15460 (__catanhf): Ensure underflow exception occurs for underflowed
15461 result.
15462 * math/s_catanhl.c: Include <float.h>.
15463 (__catanhl): Ensure underflow exception occurs for underflowed
15464 result.
15465 * math/s_catanl.c: Include <float.h>.
15466 (__catanl): Ensure underflow exception occurs for underflowed
15467 result.
15468 * math/libm-test.inc (catan_test): Add more tests.
15469 (catanh_test): Likewise.
15470
f0302940
JM
15471 [BZ #15405]
15472 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15473 underflowed result.
15474 * math/s_ccoshf.c (__ccoshf): Likewise.
15475 * math/s_ccoshl.c (__ccoshl): Likewise.
15476 * math/s_csin.c (__csin): Likewise.
15477 * math/s_csinf.c (__csinf): Likewise.
15478 * math/s_csinh.c (__csinh): Likewise.
15479 * math/s_csinhf.c (__csinhf): Likewise.
15480 * math/s_csinhl.c (__csinhl): Likewise.
15481 * math/s_csinl.c (__csinl): Likewise.
15482 * math/libm-test.inc (ccos_test): Add more tests.
15483 (ccosh_test): Likewise.
15484 (csin_test): Likewise.
15485 (csinh_test): Likewise.
15486
aa630f59
AZ
154872013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15488
15489 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15490 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15491 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15492 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15493 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15494 powerpc/power5+/fpu folders.
15495 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15496
15497
1b835983
MT
154982013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15499
15500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15501
73709b26
JM
155022013-04-25 Joseph Myers <joseph@codesourcery.com>
15503
15504 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15505 additions to variable.
15506 [$(config-machine) = x86_64] (modules-names): Likewise.
15507 ($(objpfx)tst-audit3): Remove dependency.
15508 ($(objpfx)tst-audit3.out): Likewise.
15509 ($(objpfx)tst-audit4): Likewise.
15510 ($(objpfx)tst-audit4.out): Likewise.
15511 ($(objpfx)tst-audit5): Likewise.
15512 ($(objpfx)tst-audit5.out): Likewise.
15513 ($(objpfx)tst-audit6): Likewise.
15514 ($(objpfx)tst-audit6.out): Likewise.
15515 ($(objpfx)tst-audit7): Likewise.
15516 ($(objpfx)tst-audit7.out): Likewise.
15517 (tst-audit3-ENV): Remove variable.
15518 (tst-audit4-ENV): Likewise.
15519 (tst-audit5-ENV): Likewise.
15520 (tst-audit6-ENV): Likewise.
15521 (tst-audit7-ENV): Likewise.
15522 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15523 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15524 addition to variable.
15525 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15526 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15527 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15528 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15529 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15530 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15531 tst-audit3, tst-audit4 and tst-audit5.
15532 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15533 tst-audit6 and tst-audit7.
15534 [$(subdir) = elf] (modules-names): Add audit modules for those
15535 tests.
15536 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15537 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15538 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15539 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15540 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15541 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15542 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15543 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15544 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15545 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15546 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15547 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15548 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15549 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15550 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15551 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15552 Likewise.
15553 [$(subdir) = elf && $(config-cflags-avx) = yes]
15554 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15555 [$(subdir) = elf && $(config-cflags-avx) = yes]
15556 (CFLAGS-tst-auditmod4a.c): Likewise.
15557 [$(subdir) = elf && $(config-cflags-avx) = yes]
15558 (CFLAGS-tst-auditmod4b.c): Likewise.
15559 [$(subdir) = elf && $(config-cflags-avx) = yes]
15560 (CFLAGS-tst-auditmod6b.c): Likewise.
15561 [$(subdir) = elf && $(config-cflags-avx) = yes]
15562 (CFLAGS-tst-auditmod6c.c): Likewise.
15563 [$(subdir) = elf && $(config-cflags-avx) = yes]
15564 (CFLAGS-tst-auditmod7b.c): Likewise.
15565 * elf/tst-audit3.c: Move to ...
15566 * sysdeps/x86_64/tst-audit3.c: ... here.
15567 * elf/tst-audit4.c: Move to ...
15568 * sysdeps/x86_64/tst-audit4.c: ... here.
15569 * elf/tst-audit5.c: Move to ...
15570 * sysdeps/x86_64/tst-audit5.c: ... here.
15571 * elf/tst-audit6.c: Move to ...
15572 * sysdeps/x86_64/tst-audit6.c: ... here.
15573 * elf/tst-audit7.c: Move to ...
15574 * sysdeps/x86_64/tst-audit7.c: ... here.
15575 * elf/tst-auditmod3a.c: Move to ...
15576 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15577 * elf/tst-auditmod3b.c: Move to ...
15578 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15579 * elf/tst-auditmod4a.c: Move to ...
15580 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15581 * elf/tst-auditmod4b.c: Move to ...
15582 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15583 * elf/tst-auditmod5a.c: Move to ...
15584 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15585 * elf/tst-auditmod5b.c: Move to ...
15586 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15587 * elf/tst-auditmod6a.c: Move to ...
15588 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15589 * elf/tst-auditmod6b.c: Move to ...
15590 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15591 * elf/tst-auditmod6c.c: Move to ...
15592 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15593 * elf/tst-auditmod7a.c: Move to ...
15594 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15595 * elf/tst-auditmod7b.c: Move to ...
15596 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15597
1ef74943
PP
155982013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15599
15600 [BZ #15366]
15601 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15602 define unconditionally.
15603 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15604 define unconditionally.
15605 (INT8_C, INT16_C, etc.): Likewise.
15606
93fd48c5
MR
156072013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15608
ae9552cf
MR
15609 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15610 __ehdr_start with hidden visibility.
15611
93fd48c5
MR
15612 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15613
418601aa
CD
156142013-04-24 Carlos O'Donell <carlos@redhat.com>
15615
15616 * math/libm-test.inc (cos_test): Use accurate hex constants.
15617 (sincost_test): Likewise.
15618
2f38fbfe
JM
156192013-04-24 Joseph Myers <joseph@codesourcery.com>
15620
5e221800
JM
15621 * math/libm-test.inc (catan_test): Add more tests.
15622 (catanh_test): Likewise.
15623
77f143fd
JM
15624 * math/s_catanf.c (__catanf): Use suffixed floating-point
15625 constants.
15626 * math/s_catanhf.c (__catanhf): Likewise.
15627 * math/s_catanhl.c (__catanhl): Likewise.
15628 * math/s_catanl.c (__catanl): Likewise.
15629
2f38fbfe
JM
15630 [BZ #15394]
15631 * math/s_catan.c (__catan): Calculate imaginary part of result
15632 with log1p not log unless computing log of number close to 0.
15633 * math/s_catanf.c (__catanf): Likewise.
15634 * math/s_catanl.c (__catanl): Likewise.
15635 * math/s_catanh.c (__catanh): Calculate real part of result with
15636 log1p not log unless computing log of number close to 0.
15637 * math/s_catanhf.c (__catanhf): Likewise.
15638 * math/s_catanhl.c (__catanhl): Likewise.
15639 * math/libm-test.inc (catan_test): Add more tests.
15640 (catanh_test): Likewise.
15641 * sysdeps/i386/fpu/libm-test-ulps: Update.
15642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15643
45d69176
SP
156442013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15645
15646 * benchtests/Makefile: Mention files in which fast and slow
15647 paths of math functions are implemented.
15648
87f51853
RM
156492013-04-23 Roland McGrath <roland@hack.frob.com>
15650
15651 * sysdeps/posix/timespec_get.c: New file.
15652
3c026539
AZ
156532013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15654
15655 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15656 POWER.
15657 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15658 for POWER.
15659 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15660 powerpc/power5/fpu folders.
15661 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15662 * benchtests/Makefile: Add modf testcase.
15663 * benchtests/bench-modf.c: New file: Benchmark test for mo
15664
ff491d14
SP
156652013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15666
15667 [BZ #14888]
15668 * time/Makefile (tests): Add tst-strptime-whitespace.
15669 * time/strptime_l.c (get_number): Use ISSPACE.
15670 (__strptime_internal): Likewise.
15671 * time/tst-strptime-whitespace.c: New test case.
15672
7ed3f4e8
AS
156732013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15674
15675 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15676 member.
15677 (_nss_files_init): Set it here.
15678
5c95f7b6
HC
156792013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15680
15681 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15682 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15683 unsigned.
15684
d34c9158
JBG
156852013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15686
15687 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15688
2169712d
SP
156892013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15690
15691 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15692 size just once.
15693
29c5de99
DM
156942013-04-21 David S. Miller <davem@davemloft.net>
15695
15696 * po/ru.po: Update Russion translation from translation project.
15697
ccdad15d
AC
156982013-04-17 Adam Conrad <adconrad@0c3.net>
15699
15700 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15701 and setfsgid.
15702
0f122b8d
CD
157032013-04-17 Carlos O'Donell <carlos@redhat.com>
15704
5c5b07da 15705 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15706 * configure: Regenerate.
5c5b07da 15707 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15708 Add example to error message.
15709 * sysdeps/i386/configure: Regenerate.
15710
037714dd
SP
157112013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15712
15713 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15714 slowtan.
15715 * benchtests/cos-inputs: New file.
15716 * benchtests/slowcos-inputs: New file.
15717 * benchtests/slowcos.c: New file.
15718 * benchtests/slowtan-inputs: New file.
15719 * benchtests/slowtan.c: New file.
15720 * benchtests/tan-inputs: New file.
15721
e913141d
RM
157222013-04-16 Roland McGrath <roland@hack.frob.com>
15723
15724 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15725 considered kosher.
15726
a2964074
SP
157272013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15728
4856bcd2
SP
15729 * benchtests/Makefile: Include cppflags-iterator.mk to add
15730 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15731
a2964074
SP
15732 * Makefile.in (bench-clean): New target.
15733 * benchtests/Makefile (bench-clean): Likewise.
15734
9fbf9aca
DH
157352013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15736
15737 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15738
207d1e2a
TS
157392013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15740
15741 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15742
306dfba9
AS
157432013-04-15 Andreas Schwab <schwab@suse.de>
15744
15745 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15746 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15747 * nscd/pwdcache.c (cache_addpw): Likewise.
15748 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15749 more than recsize.
15750
206a6699
SP
157512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15752
15753 * benchtests/Makefile (bench): Write all output to
15754 bench-out.tmp together.
15755
0582f6b3
AS
157562013-04-15 Andreas Schwab <schwab@suse.de>
15757
15758 * nscd/nscd.c (main): Don't fork again after closing files.
15759
acb4325f
SP
157602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15761
5cb26d0a
SP
15762 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15763
acb4325f
SP
15764 * benchtests/Rules (bench-deps): Collect dependencies into a
15765 single variable. Add Makefile to dependencies.
15766 ($(objpfx)bench-%.c): Depend on bench-deps.
15767
47792506
RM
157682013-04-12 Roland McGrath <roland@hack.frob.com>
15769 Xavier Roche <roche+kml2@exalead.com>
15770
15771 [BZ #15361]
15772 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15773 just that it's a file descriptor.
15774 * manual/llio.texi (Synchronizing AIO Operations): Update description
15775 for EBADF error from aio_fsync.
15776
8fc1bee5
SP
157772013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15778
15779 * Rules (bench): Move target definition...
15780 * benchtests/Makefile: ... here.
15781
aba5e333
CD
157822013-04-11 Carlos O'Donell <carlos@redhat.com>
15783
15784 * math/libm-test.inc (cos_test): Fix PI/2 test.
15785 (sincos_test): Likewise.
15786 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15787 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15788
273cdee8
AS
157892013-04-11 Andreas Schwab <schwab@suse.de>
15790
6ecec3b6
AS
15791 [BZ #13988]
15792 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15793 accept exponent character only when digits were seen.
15794 * stdio-common/Makefile (tests): Add bug26.
15795 * stdio-common/bug26.c: New file.
15796
273cdee8
AS
15797 [BZ #14293]
15798 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15799 non-freeable.
15800
8da491f5
SP
158012013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15802
01dc6df9
SP
15803 * Makeconfig (rtld-prefix): Define built linker prefix.
15804 * Rules (run-bench): Use it.
15805 * math/Makefile (run-regen-ulps): Likewise.
15806
8da491f5
SP
15807 * Rules (bench): Remove eval.
15808
abe7f530
SP
158092013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15810 Roland McGrath <roland@hack.frob.com>
15811 Ondrej Bilka <neleai@seznam.cz>
15812
15813 [BZ #15346]
15814 * time/getdate.c: Include ctype.h and alloca.h.
15815 (__getdate_r): Trim leading and trailing spaces of input.
15816 * time/tst-getdate.c (tests): Add tests with leading and
15817 trailing spaces.
15818
61c23e62
RM
158192013-04-08 Roland McGrath <roland@hack.frob.com>
15820
15821 [BZ #14280]
15822 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15823 when computing value.
15824
7208a313
CD
158252013-04-06 Carlos O'Donell <carlos@redhat.com>
15826
085b2d41
CD
15827 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15828 Use testrun.sh to run libm tests.
15829
7208a313
CD
15830 [BZ #15309]
15831 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15832
872c0acd
MM
158332013-04-06 Marko Myllynen <myllynen@redhat.com>
15834
15835 [BZ #15264]
15836 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15837
26510bdd
CD
158382013-04-06 Carlos O'Donell <carlos@redhat.com>
15839
15840 * Makefile.in (regen-ulps): New target.
15841 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15842 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15843 [ifneq (no,$(PERL)] (regen-ulps): New target.
15844 [ifeq (no,$(PERL)] (regen-ulps): New target.
15845 * math/libm-test.inc (ulps_file_name): Define.
15846 (output_dir): New variable.
15847 (options): Add "output-dir" option.
15848 (parse_opt): Handle 'o' case.
15849 (main): If output_dir is non-NULL use it as a prefix
15850 otherwise use "".
15851 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15852
a01f19c8
CD
158532013-04-06 Carlos O'Donell <carlos@redhat.com>
15854
15855 [BZ #10060, #10062]
15856 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15857 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15858 fail configure if __sync_val_compare_and_swap is not inlined.
15859 * sysdeps/i386/configure: Regenerate.
15860 * configure.in: Build for i686 when configured for i386.
15861 * configure: Regenerate.
15862 * README: Remove i386 reference.
15863
b7a329a5
CD
158642013-04-06 Carlos O'Donell <carlos@redhat.com>
15865
15866 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15868
bf0f50df
TS
158692013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15870
ee091edf
TS
15871 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15872 (lmsnanval): New variables.
15873 (F): Add conversion tests.
15874 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15875 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15876
a8b792d6
TS
15877 * stdio-common/tstdiomisc.c (F): Properly collect individual
15878 tests' results.
15879
a1cbf437
TS
15880 [BZ #14686, #15336]
15881 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15882 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15883 Instead, use input NaN values or generate a qNaN by arithmetic
15884 operation. Also fix bugs to comply with the standard.
15885 * math/libm-test.inc (remainder_test): Add more tests.
15886
8b43a0c9
TS
15887 [BZ #15335, #15342]
15888 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15890 input NaN values or generate a qNaN by arithmetic operation.
15891
d91da4ce
TS
15892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15893 unreachable code.
15894
bf0f50df
TS
15895 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15896 definitions.
15897
05e166c8
JM
158982013-04-03 Joseph Myers <joseph@codesourcery.com>
15899
15900 [BZ #14478]
15901 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15902 underflowed result.
15903 * math/s_cexpf.c (__cexpf): Likewise.
15904 * math/s_cexpl.c (__cexpl): Likewise.
15905 * math/libm-test.inc (cexp_test): Add more tests.
15906
1cef1b19
AS
159072013-04-03 Andreas Schwab <schwab@suse.de>
15908
15909 [BZ #15330]
15910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15911 order arrays from heap if bigger than alloca cutoff.
15912
74d87055
TS
159132013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15914
15915 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15916 (SNAN_TESTS_double): Refer to GCC PR56831.
15917 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15918 GCC PR56828.
15919
d755bba4
SP
159202013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15921
90d5d5bb
SP
15922 * Rules (bench): Move bench.out after the run is complete.
15923
73e0cd5d
SP
15924 * Rules (bench): Echo currently running benchmark.
15925
64aabd4b
SP
15926 * benchtests/Makefile (bench): Add atan and slowatan.
15927 * benchtests/atan-inputs: New file.
15928 * benchtests/slowatan-inputs: New file.
15929 * benchtests/slowatan.c: New file.
15930
c871eccd
SP
15931 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15932 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15933 its value.
15934
d755bba4
SP
15935 [BZ #15305]
15936 * sysdeps/unix/sysv/linux/kernel-features.h
15937 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15938 __ASSUME_XFS_RESTRICTED_CHOWN.
15939 * sysdeps/unix/sysv/linux/pathconf.c
15940 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15941 Save and restore errno.
15942
52ce4860
JM
159432013-04-02 Joseph Myers <joseph@codesourcery.com>
15944
15945 [BZ #15327]
15946 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15947 arguments using __kernel_casinh.
15948 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15949 arguments using __kernel_casinhf.
15950 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15951 arguments using __kernel_casinhl.
15952 * math/libm-test.inc (cacosh_test): Add more tests.
15953 * sysdeps/i386/fpu/libm-test-ulps: Update.
15954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15955
81f311c2
SP
159562013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15957
e7906a47
SP
15958 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15960
92e3664b
SP
15961 * bench/Makefile (bench): Add sin and slowsin.
15962 * benchtests/sin-inputs: New file.
15963 * benchtests/slowsin-inputs: New file.
15964 * benchtests/slowsin.c: New file.
15965
81f311c2
SP
15966 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15967 (bench): Add slowexp and slowpow.
15968 (exp-ITER): Increase iterations.
15969 (pow-ITER): Likewise.
15970 * benchtests/exp-inputs: Change input.
15971 * benchtests/pow-inputs: Likewise.
15972 * benchtests/slowexp-inputs: New file.
15973 * benchtests/slowexp.c: New file.
15974 * benchtests/slowpow-inputs: New file.
15975 * benchtests/slowpow.c: New file.
15976
ab0f1aa9
AZ
159772013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15978
15979 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15980 instructions.
15981 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15982 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15983 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15984 * benchtests/Makefile: Add rint benchtest.
15985 * benchtests/rint-inputs: Input for rint benchtest.
15986
57267616
TS
159872013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15988
15989 * Versions.def (libm): Add GLIBC_2.18.
15990 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15991 hidden libm prototypes.
15992 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15993 * math/Makefile (libm-calls): Add s_issignaling.
15994 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15995 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15996 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15997 declaration.
15998 * math/math.h [__USE_GNU] (issignaling): New macro.
15999 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16000 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16002 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16005 * manual/arith.texi (issignaling): New section.
16006 * manual/libm-err-tab.pl (@all_functions): Update comment.
16007 * math/gen-libm-test.pl (parse_args): Apply special handling for
16008 issignaling.
16009 * math/libm-test.inc (print_float, issignaling_test): New
16010 functions.
16011 (check_float_internal): Add issignaling checks.
16012 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16013 default definition.
16014 * sysdeps/powerpc/math-tests.h: New file.
16015 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16016 tests.
16017 * math/test-snan.c (TEST_FUNC): Likewise.
16018
6142896d
DM
160192013-03-30 David S. Miller <davem@davemloft.net>
16020
16021 * po/de.po: Update from translation team.
16022
ccc8cadf
JM
160232013-03-30 Joseph Myers <joseph@codesourcery.com>
16024
16025 [BZ #10357]
16026 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16027 imaginary part less than 1.0 and real part less than 0.5
16028 specially.
16029 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16030 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16031 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16032 (cacos_test): Add more tests.
16033 (casin_test): Likewise.
16034 (casinh_test): Likewise.
16035 * sysdeps/i386/fpu/libm-test-ulps: Update.
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16037
0f6a8d4b
SP
160382013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16039
0d1029de
SP
16040 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16041 ONE with its value.
16042
c2d94018
SP
16043 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16044 (__pow_mp): Replace ONE and MONE with their values.
16045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16046 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16047 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16048 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16049 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16051
27ec37f1
SP
16052 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16053
a64d7e0e
SP
16054 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16055 (__pow_mp): Replace ZERO and MZERO with their values.
16056 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16058 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16060 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16061 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16062 (__sqr): Likewise.
16063
d26dd3eb
SP
16064 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16065
0f6a8d4b
SP
16066 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16067
e57b0c61
RM
160682013-03-28 Roland McGrath <roland@hack.frob.com>
16069
16070 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16071 Declare with __attribute__ ((weak)).
16072 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16073 Call __call_tls_dtors only if it's not NULL.
16074
356b3480
RM
160752013-03-28 Roland McGrath <roland@hack.frob.com>
16076
288f7d79
RM
16077 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16078 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16079 magic __ehdr_start linker symbol if it's defined.
16080 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16081 them up here if it was already done.
16082
dc0a0263
RM
16083 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16084 (_dl_aux_init): Use const in cast when setting it.
16085 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16086 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16087 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16088
3d3436ae
RM
16089 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16090 Declare them here.
16091 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16092 * csu/libc-tls.c: Nor here.
16093 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16094
356b3480
RM
16095 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16096 (__libc_message): Never call vsyslog.
16097
b0f1246a
AM
160982013-03-28 Alan Modra <amodra@gmail.com>
16099
16100 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16101 Define as empty.
16102 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16103 Likewise.
16104
fbbe2b9a
AZ
161052013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16106
16107 [BZ #15214]
16108 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16109 underflow.
16110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16111
1728ab37
SP
161122013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16113
7a86be6e
SP
16114 [BZ #15304]
16115 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16116 Don't add gid passed as argument.
16117
1728ab37
SP
16118 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16119
3a7182a1
JM
161202013-03-27 Joseph Myers <joseph@codesourcery.com>
16121
16122 [BZ #15307]
16123 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16124 imaginary part between 1.0 and 1.5 and real part less than 0.5
16125 specially.
16126 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16127 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16128 * math/libm-test.inc (cacos_test): Add more tests.
16129 (casin_test): Likewise.
16130 (casinh_test): Likewise.
16131 * sysdeps/i386/fpu/libm-test-ulps: Update.
16132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16133
6f2e90e7
SP
161342013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16135
5739f705
SP
16136 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16137 constants.
16138 (norm): Likewise.
16139 (denorm): Likewise.
16140 (__dbl_mp): Likewise.
16141 (add_magnitudes): Likewise.
16142 (sub_magnitudes): Likewise.
16143 (__add): Likewise.
16144 (__sub): Likewise.
16145 (__mul): Likewise.
16146 (__sqr): Likewise.
16147 (__inv): Likewise.
16148 (__dvd): Likewise.
16149
e375e83d
SP
16150 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16151 commented code.
16152 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16153 (__dubcos): Likewise.
16154 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16155 (__ieee754_acos): Likewise.
16156 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16157 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16158 (__exp1): Likewise.
16159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16161 (log1): Likewise.
16162 (my_log2): Likewise.
16163 (checkint): Likewise.
16164 * sysdeps/ieee754/dbl-64/e_remainder.c
16165 (__ieee754_remainder): Likewise.
16166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16168 (bsloww): Likewise.
16169 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16170
6f2e90e7
SP
16171 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16173 MANTISSA_STORE_T to store computations on mantissa. Use
16174 macros for rounding and division.
16175 (denorm): Likewise.
16176 (__dbl_mp): Likewise.
16177 (add_magnitudes): Likewise.
16178 (sub_magnitudes): Likewise.
16179 (__mul): Likewise.
16180 (__sqr): Likewise.
16181 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16182 powers of two in terms of TWOPOW macro.
16183 (mp_no): Make type of mantissa as MANTISSA_T.
16184 [!RADIXI]: Define RADIXI.
16185 [!TWO52]: Define TWO52.
16186 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16187
fce14d4e
AZ
161882013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16189
16190 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16191 llroundl symbol when building for PPC32.
16192
9ad027fb
MW
161932013-03-24 Mark H Weaver <mhw@netris.org>
16194
16195 * manual/arith.texi (Normalization Functions): Fix prototypes for
16196 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16197
e42a38dd
AZ
161982013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16199
16200 [BZ #13889]
16201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16202 high value to check if expl overflow.
16203 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16204 to check for underflow and overflow.
16205 * math/libm-test.inc: Add exp test.
16206
2e0fb521
DL
162072013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16208
16209 [BZ #11120]
16210 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16211 with NOT_IN_libc.
16212
b5784d95
AZ
162132013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16214
16215 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16216 symbol.
16217
5aa4a1a1
TS
162182013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16219
bdef0be7
TS
16220 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16221 wrap blocks consisting of several statements.
16222
5aa4a1a1
TS
16223 * sysdeps/generic/math-tests.h: New file.
16224 * sysdeps/i386/fpu/math-tests.h: Likewise.
16225 * math/test-snan.c: Include it.
16226 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16227
98c48fe5
JM
162282013-03-21 Joseph Myers <joseph@codesourcery.com>
16229
16230 [BZ #15285]
16231 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16232 (__ieee754_j0l): Do not improve calculations using cos of twice
16233 input for inputs above LDBL_MAX / 2.0L.
16234 (__ieee754_y0l): Likewise.
16235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16236 (__ieee754_j1l): Do not improve calculations using cos of twice
16237 input for inputs above LDBL_MAX / 2.0L.
16238 (__ieee754_y1l): Likewise.
16239 * math/libm-test.inc (j0_test): Add another test.
16240 (j1_test): Likewise.
16241 (y0_test): Likewise.
16242 (y1_test): Likewise.
16243 * sysdeps/i386/fpu/libm-test-ulps: Update.
16244
3775a8bc
SP
162452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16246
16247 * Rules ($(objpfx)bench-%.c): Include code from a C source
16248 file.
16249
0a1b2ae6
JM
162502013-03-21 Joseph Myers <joseph@codesourcery.com>
16251
16252 [BZ #15287]
16253 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16254 imaginary part 1.0 and real part less than 0.5 specially.
16255 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16256 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16257 * math/libm-test.inc (cacos_test): Add more tests.
16258 (casin_test): Likewise.
16259 (casinh_test): Likewise.
16260 * sysdeps/i386/fpu/libm-test-ulps: Update.
16261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16262
b33d4ce4
SP
162632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16264
16265 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16266 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16267
bef0b507
JM
162682013-03-20 Joseph Myers <joseph@codesourcery.com>
16269
16270 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16271 * config.make.in (config-cflags-sse4): Remove variable.
16272 (config-cflags-avx): Likewise.
16273 (config-cflags-sse2avx): Likewise.
16274 (config-cflags-novzeroupper): Likewise.
16275 (config-asflags-i686): Likewise.
16276 (have-mfma4): Likewise.
16277 (have-as-vis3): Likewise.
16278 (MIG): Likewise.
16279 * configure.in (MIG): Do not AC_SUBST.
16280 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16281 (libc_cv_cc_sse4): Do not AC_SUBST.
16282 (libc_cv_cc_avx): Likewise.
16283 (libc_cv_cc_sse2avx): Likewise.
16284 (libc_cv_cc_novzeroupper): Likewise.
16285 (libc_cv_cc_fma4): Likewise.
16286 (libc_cv_as_i686): Likewise.
16287 (libc_cv_sparc_as_vis3): Likewise.
16288 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16289 LIBC_CONFIG_VAR.
16290 (config-asflags-i686): Likewise.
16291 (config-cflags-avx): Likewise.
16292 (config-cflags-sse2avx): Likewise.
16293 (have-mfma4): Likewise.
16294 (config-cflags-novzeroupper): Likewise.
16295 * sysdeps/mach/configure.in (MIG): Likewise.
16296 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16297 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16298 LIBC_CONFIG_VAR.
16299 (config-cflags-avx): Likewise.
16300 (config-cflags-sse2avx): Likewise.
16301 (have-mfma4): Likewise.
16302 (config-cflags-novzeroupper): Likewise.
16303 * configure: Regenerated.
16304 * sysdeps/i386/configure: Likewise.
16305 * sysdeps/mach/configure: Likewise.
16306 * sysdeps/sparc/configure: Likewise.
16307 * sysdeps/x86_64/configure: Likewise.
16308
912cc4b3
RM
163092013-03-20 Roland McGrath <roland@hack.frob.com>
16310
16311 [BZ #14812]
16312 * locale/programs/localedef.c (options): Put N_ translation marker
16313 on argument names, not just descriptions.
16314
04eed2b0
MS
163152013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16316
16317 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16318
a065ceff
OB
163192013-03-20 Ondřej Bílka <neleai@seznam.cz>
16320
9bb2a810 16321 [BZ #14176]
a065ceff
OB
16322 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16323
a600e5ce
RM
163242013-03-19 Roland McGrath <roland@hack.frob.com>
16325
16326 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16327 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16328 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16329 [!BEFORE_ABORT] (before_abort): New function.
16330 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16331 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16332 (writev_for_fatal): New function.
16333 (WRITEV_FOR_FATAL): New macro; call that.
16334 (backtrace_and_maps): New function.
16335 (BEFORE_ABORT): New macro; call that.
16336 (struct str_list): Type removed.
16337 (__libc_message, __libc_fatal): Functions removed.
16338 Include <sysdeps/posix/libc_fatal.c> instead.
16339
6b18bea6
JM
163402013-03-19 Joseph Myers <joseph@codesourcery.com>
16341
16342 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16343 constants.
16344 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16345 double constants.
16346
aaa8cb4b
AS
163472013-03-19 Andreas Schwab <schwab@suse.de>
16348
44673770
AS
16349 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16350 * sysdeps/gnu/configure: Regenerate.
16351
aaa8cb4b
AS
16352 * configure.in: Substitute libc_cv_rtlddir.
16353 * configure: Regenerate.
16354 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16355 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16356 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16357 * elf/Makefile (install-others, CFLAGS-interp.c)
16358 (ldso_install, common-ldd-rewrite): Likewise.
16359 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16360 $(inst_slibdir)/$(rtld-installed-name).
16361 * scripts/rellns-sh: Add -p option.
16362 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16363 for source.
16364
d3cfc668
SP
163652013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16366
16367 * manual/nptl.texi: Renamed to ...
16368 * manual/threads.texi: ... this.
16369 * manual/Makefile (chapters): Update.
16370
0e2b9cdd
RM
163712013-03-18 Roland McGrath <roland@hack.frob.com>
16372
16373 [BZ #14812]
16374 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16375 on argument names, not just descriptions.
0e2b9cdd
RM
16376 * malloc/memusagestat.c (options): Likewise.
16377 * nss/getent.c (options): Likewise.
63270c24
RM
16378
163792013-03-18 Benno Schulenberg <bensberg@justemail.net>
16380
16381 [BZ #14812]
16382 * iconv/iconv_prog.c (options): Put N_ translation marker
16383 on argument names, not just descriptions.
16384 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16385
b2e1393c
OB
163862013-03-18 Ondrej Bilka <neleai@seznam.cz>
16387
16388 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16389 implementation which is faster on all x86_64 architectures.
16390 Tested on AMD, Intel Nehalem, SNB, IVB.
16391 * sysdeps/x86_64/strnlen.S: Likewise.
16392
16393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16394 Remove all multiarch strlen and strnlen versions.
16395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16396 Remove strlen and strnlen related parts.
16397
16398 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16399 Inline strlen part.
16400 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16401
16402 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16403 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16404 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16405 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16406 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16407 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16408
ec4ff04d
CD
164092013-03-17 Carlos O'Donell <carlos@redhat.com>
16410
16411 * manual/memory.texi (Malloc Tunable Parameters):
16412 Sort parameters alphabetically. Add comments for missing entries.
16413
cd18e90a
DM
164142013-03-17 David S. Miller <davem@davemloft.net>
16415
16416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16417
2a185d32
JM
164182013-03-16 Joseph Myers <joseph@codesourcery.com>
16419
d2f9799e
JM
16420 [BZ #15283]
16421 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16422 for arguments at most half maximum finite value.
16423 * math/libm-test.inc (j0_test): Add more tests.
16424 (j1_test): Likewise.
16425 (y0_test): Likewise.
16426 (y1_test): Likewise.
16427 * sysdeps/i386/fpu/libm-test-ulps: Update.
16428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16429
2a185d32
JM
16430 [BZ #14155]
16431 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16432 1 / x and functions P and Q for arguments above 0x1p256L.
16433 (__ieee754_y0l): Likewise.
16434 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16435 (__ieee754_y1l): Likewise.
16436 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16437 (j1_test): Likewise.
16438 (y0_test): Likewise.
16439 (y1_test): Likewise.
16440
6cbec759
TS
164412013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16442
16443 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16444 variable.
16445
bc16e260
RM
164462013-03-15 Roland McGrath <roland@hack.frob.com>
16447
aefc9b8c
RM
16448 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16449 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16450 zero since it's initialized to EXEC_PAGESIZE.
16451
bc16e260
RM
16452 * sysdeps/unix/sysv/linux/ldsodefs.h
16453 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16454 * sysdeps/generic/ldsodefs.h: ... here.
16455
a57da955
TS
164562013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16457
af00a34d
TS
16458 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16459
495ded2c
TS
16460 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16461 math/test-snan.c.
16462 * math/test-snan.c: Renamed from
16463 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16464 * math/Makefile (tests): Add test-snan.
16465 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16466 test-powerpc-snan.
16467
777b0332
TS
16468 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16469 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16470 functions.
16471 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16472 __builtin_nan family of functions.
16473 * math/libm-test.inc (initialize): Initialize qnan_value with
16474 __builtin_nan family of functions.
16475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16476 Remove variables.
16477 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16478 Remove functions.
16479 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16480 storage class. Initialize qNaN_var and sNaN_var with
16481 __builtin_nan and __builtin_nans families of functions,
16482 respectively.
16483
64d063b8
TS
16484 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16485 (sqrt_test): Remove duplicate test with qNaN input.
16486 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16487 (round_test, signbit_test, significand_test): Note missing +/-Inf
16488 as well as qNaN tests.
16489
67e971f1
TS
16490 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16491 qNaN_var. Fix a few strings, too.
16492 * math/libm-test.inc (nan_value): Rename to qnan_value.
16493 * math/gen-libm-test.pl (%beautify): Adjust to that.
16494 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16495 * math/test-misc.c (main): Likewise.
16496 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16497 to __qnan_bytes, and __qnan_union, respectively.
16498 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16499 Likewise.
16500 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16501 and lqnanval, respectively.
16502 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16503 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16504 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16505 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16506
64487e12
TS
16507 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16508 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16509 doubles.
16510
e015e27b
TS
16511 * math/test-misc.c (main): Fix copy'n'pastos.
16512 * misc/tst-efgcvt.c (special): Likewise.
16513
a57da955
TS
16514 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16515 Remove declarations.
16516
1e380345
SP
165172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16518
16519 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16520 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16521 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16522 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16523
ef26eece
AZ
165242013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16525
16526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16527 macro to return vdso values correctly in IFUNC implementations.
16528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16529 Optimization by using IFUNC.
16530
8cfdb7e0
SP
165312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16532 Richard Henderson <rth@redhat.com>
16533 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16534
16535 * Makefile.in (bench): New target.
16536 * NEWS: Mention the benchmark framework.
16537 * Rules (bench): Likewise.
16538 (binaries-bench): Generate binaries for functions to
16539 benchmark.
16540 * benchtests/Makefile: New makefile for benchmark tests.
16541 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16542 programs.
16543 * benchtests/exp-inputs: New input file for EXP function.
16544 * benchtests/pow-inputs: New input file for POW function.
16545 * scripts/bench.pl: New script to generate source files for
16546 benchmark programs.
16547
bcda9880
SP
165482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
d22ca8cd
SP
16550 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16551 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16552 computations on mantissa. Use macros for rounding and
16553 division.
16554 (denorm): Likewise.
16555 (__dbl_mp): Likewise.
16556 (add_magnitudes): Likewise.
16557 (sub_magnitudes): Likewise.
16558 (__mul): Likewise.
16559 (__sqr): Likewise.
16560 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16561 powers of two in terms of TWOPOW macro.
16562 (mp_no): Make type of mantissa as MANTISSA_T.
16563 [!RADIXI]: Define RADIXI.
16564 [!TWO52]: Define TWO52.
16565 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16566
bcda9880
SP
16567 * manual/nptl.texi (cindex): Modify threads to pthreads.
16568
06d5adfb
JM
165692013-03-15 Joseph Myers <joseph@codesourcery.com>
16570
16571 * sysdeps/x86_64/preconfigure: Regenerated.
16572
41c7328e
JM
165732013-03-14 Joseph Myers <joseph@codesourcery.com>
16574
16575 [BZ #14155]
16576 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16577 0x1p28 and above.
16578 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16579 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16580 0x1p28 and above.
16581 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16582 * math/libm-test.inc (j0_test): Do not allow one spurious
16583 underflow exception.
16584 (y1_test): Likewise.
16585
e25cfa60
SP
165862013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16587
0409959c
SP
16588 * manual/Makefile (chapters): Add nptl.
16589 * manual/debug.texi (Debugging Support): Add link to Threads
16590 chapter.
16591 * manual/nptl.texi: New file.
16592
e25cfa60
SP
16593 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16594
58a1335e
PB
165952013-03-14 Petr Baudis <pasky@ucw.cz>
16596
16597 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16598 for non-NULL pointer before the memory validity test. Pointed
16599 out by Holger Brunck <holger.brunck@keymile.com>.
16600
9dc7c64f
AS
166012013-03-13 Andreas Schwab <schwab@suse.de>
16602
16603 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16604 instead of .os.
16605
54206aa6
JM
166062013-03-13 Joseph Myers <joseph@codesourcery.com>
16607
16608 * timezone/zic.c: Update from tzcode 2013b.
16609
e98cdb38
CD
166102013-03-12 Carlos O'Donell <carlos@redhat.com>
16611
16612 * manual/install.texi (Configuring and compiling):
16613 Mention i686 and i586.
16614 * INSTALL: Regenerate.
16615
9967e003
RM
166162013-03-12 Roland McGrath <roland@hack.frob.com>
16617
16618 * sysdeps/init_array/elf-init.c: New file.
16619 * csu/elf-init.c
16620 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16621 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16622
16623 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16624 __gmon_start__ as global, but as static with a .preinit_array pointer.
16625 * sysdeps/init_array/gmon-start.c: New file. Use that.
16626 * sysdeps/init_array/crti.S: New file, empty except for comments.
16627 * sysdeps/init_array/crtn.S: Likewise.
16628
e6b5a293 166292013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16630
16631 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16632 definining bcopy.
80f844c9
OB
16633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16634 Remove Prefer_SSE_for_memop.
16635 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16636 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16637 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16639 memset-x86-64.
80f844c9 16640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16641 Remove bzero, memset ifunc support.
80f844c9
OB
16642 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16643 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16644 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16645 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16646
fb6b0fcb
AS
166472013-03-11 Andreas Schwab <schwab@suse.de>
16648
16649 [BZ #15234]
16650 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16651 by SHLIB_COMPAT.
16652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16653 (GLIBC_2.16): Remove pthread_atfork.
16654
3e6bd4b1
PP
166552013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16656
16657 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16658 (ptestcases.h): Likewise.
16659
222d7f00
RM
166602013-03-08 Roland McGrath <roland@hack.frob.com>
16661
16662 * Makeconfig ($(common-objpfx)config.status): Depend on
16663 sysdeps/*/preconfigure{,.in} too.
16664
1ba4f030
JM
166652013-03-08 Joseph Myers <joseph@codesourcery.com>
16666
a222d91a
JM
16667 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16668 (__free_hook): Use void * instead of __malloc_ptr_t.
16669 (__malloc_hook): Likewise.
16670 (__realloc_hook): Likewise.
16671 (__memalign_hook): Likewise.
16672 (__after_morecore_hook): Likewise.
16673 * malloc/arena.c (save_malloc_hook): Likewise.
16674 (save_free_hook): Likewise.
16675 * malloc/hooks.c (malloc_hook_ini): Likewise.
16676 (realloc_hook_ini): Likewise.
16677 (memalign_hook_ini): Likewise.
16678 * malloc/malloc.c (malloc_hook_ini): Likewise.
16679 (realloc_hook_ini): Likewise.
16680 (memalign_hook_ini): Likewise.
16681 (__free_hook): Likewise.
16682 (__malloc_hook): Likewise.
16683 (__realloc_hook): Likewise.
16684 (__memalign_hook): Likewise.
16685 (__libc_malloc): Likewise.
16686 (__libc_free): Likewise.
16687 (__libc_realloc): Likewise.
16688 (__libc_memalign): Likewise.
16689 (__libc_valloc): Likewise.
16690 (__libc_pvalloc): Likewise.
16691 (__libc_calloc): Likewise.
16692 (__posix_memalign): Likewise.
16693 * malloc/morecore.c (__sbrk): Likewise.
16694 (__default_morecore): Likewise.
16695
5cc45e10
JM
16696 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16697
dd54b864
JM
16698 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16699 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16700 __malloc_ptrdiff_t.
16701
1ba4f030
JM
16702 * malloc/malloc.h (__malloc_size_t): Remove macro.
16703 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16704 __malloc_size_t.
16705 (old_memalign_hook): Likewise.
16706 (old_realloc_hook): Likewise.
16707 (struct hdr): Likewise.
16708 (flood): Likewise.
16709 (mallochook): Likewise.
16710 (memalignhook): Likewise.
16711 (reallochook): Likewise.
16712 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16713 (tr_old_realloc_hook): Likewise.
16714 (tr_old_memalign_hook): Likewise.
16715 (tr_mallochook): Likewise.
16716 (tr_reallochook): Likewise.
16717 (tr_memalignhook): Likewise.
16718
edf66e57
AZ
167192013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16720
16721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16722 default_ldbl_pack and using as default implementation.
16723 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16724 implementation.
16725 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16726 redundant definition.
16727 (ldbl_insert_mantissa): Likewise.
16728 (ldbl_canonicalize): Likewise.
16729 (ldbl_nearbyint): Likewise.
16730 (ldbl_pack): Rename to ldbl_pack_ppc.
16731 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16732 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16733 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16734
6d9145d8
SP
167352013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16736
16737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16738 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16740 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16743 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16744 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16745
4dd4e157
AJ
167462013-03-07 Andreas Jaeger <aj@suse.de>
16747
16748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16749 bits/mman-linux.h.
16750
adbb8027
SP
167512013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16752
ce544b5b
SP
16753 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16754 Include mpa.h and declare __MPEXP.
16755 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16756 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16757 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16758 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16759 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16760 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16762
4cc149fd
SP
16763 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16764 (__slowpow): Use long double EXPL and LOGL functions to
16765 compute POW.
16766 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16767 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16768 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16769 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16770 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16772
e6ebd4a7
SP
16773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16774 intermediate variable to calculate exponent.
16775 (__sqr): Likewise.
16776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16777 Likewise.
16778 (__sqr): Likewise.
16779
82a9811d
SP
16780 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16781 [!NO__SQR]: Define __sqr.
16782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16783 and NO__SQR. Remove all code except __mul and __sqr. Include
16784 sysdeps/ieee754/dbl-64/mpa.c.
16785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16786
adbb8027
SP
16787 [BZ #12723]
16788 * posix/Makefile (tests): Add tst-pathconf.
16789 * posix/tst-pathconf.c: New test case.
16790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16791 _PC_PIPE_BUF.
16792 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16793
39120df9
PF
167942013-03-06 Patsy Franklin <pfrankli@redhat.com>
16795
16796 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16797
67525cb8
AJ
167982013-03-06 Andreas Jaeger <aj@suse.de>
16799
664a9ce4
AJ
16800 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16801 definition via __MAP_ANONYMOUS.
16802
8e39047d
AJ
16803 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16804 it's not part of Linux headers.
16805
67525cb8
AJ
16806 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16807 (MAP_HUGE_MASK): Define.
16808
16809 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16810 Define.
16811 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16813 Define.
16814 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16815 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16816 Define.
16817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16819 Define.
16820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16821
16822 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16823 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16824 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16825 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16826 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16827 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16828
16829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16830 Handle f2fs.
16831
16832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16833 Handle f2fs and efivarfs.
16834
16835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16836 f2fs.
16837
16838 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16839 (EFIVARFS_MAGIC): Add.
16840 (F2FS_LINK_MAX): Add.
16841
e1b42695
PP
168422013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16843
16844 * stdio-common/vfprintf.c: Replace __builtin_expect with
16845 __glibc_unlikely.
16846
2d67d91a
JM
168472013-03-06 Joseph Myers <joseph@codesourcery.com>
16848
16849 [BZ #13550]
16850 * sysdeps/generic/bp-sym.h: Remove file.
16851 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16852 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16853 <bp-sym.h> and <bp-asm.h>.
16854 (__longjmp): Don't use BP_SYM.
16855 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16856 and <bp-asm.h>.
16857 (memcpy): Don't use BP_SYM.
16858 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16859 <bp-sym.h> and <bp-asm.h>.
16860 (memcpy): Don't use BP_SYM.
16861 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16862 <bp-asm.h>.
16863 (memcpy): Don't use BP_SYM.
16864 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16865 <bp-asm.h>.
16866 (memset): Don't use BP_SYM.
16867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16869 (__bzero): Don't use BP_SYM.
16870 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16871 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16872 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16873 <bp-sym.h> and <bp-asm.h>.
16874 (memcmp): Don't use BP_SYM. Remove comment about bounded
16875 pointers.
16876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16877 <bp-sym.h> and <bp-asm.h>.
16878 (memcpy): Don't use BP_SYM.
16879 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16880 <bp-sym.h> and <bp-asm.h>.
16881 (memset): Don't use BP_SYM.
16882 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16883 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16884 (__bzero): Don't use BP_SYM.
16885 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16886 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16887 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16888 <bp-sym.h> and <bp-asm.h>.
16889 (strncmp): Don't use BP_SYM. Remove comment about bounded
16890 pointers.
16891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16892 <bp-sym.h> and <bp-asm.h>.
16893 (memcpy): Don't use BP_SYM.
16894 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16895 <bp-sym.h> and <bp-asm.h>.
16896 (memset): Don't use BP_SYM.
16897 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16898 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16899 (__bzero): Don't use BP_SYM.
16900 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16901 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16903 <bp-sym.h> and <bp-asm.h>.
16904 (__memchr): Don't use BP_SYM.
16905 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16906 <bp-sym.h> and <bp-asm.h>.
16907 (memcmp): Don't use BP_SYM. Remove comment about bounded
16908 pointers.
16909 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16910 <bp-sym.h> and <bp-asm.h>.
16911 (memcpy): Don't use BP_SYM.
16912 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16913 <bp-sym.h> and <bp-asm.h>.
16914 (__mempcpy): Don't use BP_SYM.
16915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16916 <bp-sym.h> and <bp-asm.h>.
16917 (__memrchr): Don't use BP_SYM.
16918 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16919 <bp-sym.h> and <bp-asm.h>.
16920 (memset): Don't use BP_SYM.
16921 (__bzero): Likewise.
16922 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16923 <bp-sym.h> and <bp-asm.h>.
16924 (__rawmemchr): Don't use BP_SYM.
16925 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16926 <bp-sym.h> and <bp-asm.h>.
16927 (__STRCMP): Don't use BP_SYM.
16928 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16929 <bp-sym.h> and <bp-asm.h>.
16930 (strchr): Don't use BP_SYM.
16931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16932 <bp-sym.h> and <bp-asm.h>.
16933 (__strchrnul): Don't use BP_SYM.
16934 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16935 <bp-sym.h> and <bp-asm.h>.
16936 (strlen): Don't use BP_SYM.
16937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16938 <bp-sym.h> and <bp-asm.h>.
16939 (strncmp): Don't use BP_SYM. Remove comment about bounded
16940 pointers.
16941 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16942 <bp-sym.h> and <bp-asm.h>.
16943 (__strnlen): Don't use BP_SYM.
16944 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16945 <bp-sym.h> and <bp-asm.h>.
16946 (__GI__setjmp): Don't use BP_SYM.
16947 (_setjmp): Likewise.
16948 (__sigsetjmp): Likewise.
16949 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16950 (L(start_addresses)): Don't use BP_SYM.
16951 (_start): Likewise.
16952 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16953 <bp-asm.h>.
16954 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16955 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16956 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16957 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16958 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16959 <bp-asm.h>.
16960 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16961 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16962 about bounded pointers.
16963 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16964 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16965 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16966 <bp-asm.h>.
16967 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16968 about bounded pointers. Remove GKM FIXME comments.
16969 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16971 <bp-asm.h>.
16972 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16973 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16974 Remove GKM FIXME comments.
16975 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16976 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16977 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16978 <bp-asm.h>.
16979 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16980 about bounded pointers. Remove GKM FIXME comment.
16981 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16982 and <bp-asm.h>.
16983 (strncmp): Don't use BP_SYM. Remove comment about bounded
16984 pointers.
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16986 <bp-sym.h> and <bp-asm.h>.
16987 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16989 <bp-sym.h> and <bp-asm.h>.
16990 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16991 comment.
16992
cdcf361f
PP
169932013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16994
16995 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16996 call free(NULL).
16997
3c4a2b15
DM
169982013-03-05 David S. Miller <davem@davemloft.net>
16999
17000 * po/es.po: Update from translation team.
17001
cdcf361f 170022013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17003
17004 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17005 <bits/mman-linux.h>.
17006 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17007 is fine.
17008 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17009 <bits/mman-linux.h> to end of file.
17010 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17011 is fine.
17012 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17013 <bits/mman-linux.h> to end of file.
17014 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17015 is fine.
17016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17017 <bits/mman-linux.h> to end of file.
17018
17019 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17020 (MCL_CURRENT, MCL_FUTURE): Define here.
17021
5f67c04f
AK
170222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17023
8a4473cc 17024 [BZ #15232]
5f67c04f
AK
17025 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17026 attribute_hidden.
17027 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17028
c3e94a95
AK
170292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17030
17031 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17032 fourth parameter needed for rt_sigprocmask syscall.
17033 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17034 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17035 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17036 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17037 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17038 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17039
cfb6382a
JM
170402013-03-04 Joseph Myers <joseph@codesourcery.com>
17041
17042 [BZ #13550]
17043 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17044 comment about bounded pointers.
17045 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17046 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17047
539d8e01
AJ
170482013-03-04 Andreas Jaeger <aj@suse.de>
17049
17050 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17051 common definitions.
17052
17053 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17054 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17055 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17059
2e167a70 170602013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17061
17062 [BZ #15055]
17063 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17064 __ieee754_sqrl instead of __sqrl.
17065
68508633
JM
170662013-03-01 Joseph Myers <joseph@codesourcery.com>
17067
17068 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17069 * sysdeps/powerpc/fpu_control.h: ... here.
17070 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17071 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17072 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17073 * sysdeps/powerpc/bits/mathinline.h: ... here.
17074
7775448e
RM
170752013-03-01 Roland McGrath <roland@hack.frob.com>
17076
17077 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17078 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17079 to just [NEED_DL_SYSINFO_DSO].
17080 * elf/dl-support.c: Likewise.
17081 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17082 * elf/rtld.c (dl_main): Likewise.
17083 * elf/setup-vdso.h (setup_vdso): Likewise.
17084 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17085 * sysdeps/unix/sysv/linux/dl-sysdep.c
17086 (_dl_discover_osversion): Likewise.
17087
4e9b5995
CD
170882013-03-01 Carlos O'Donell <carlos@redhat.com>
17089
17090 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17091 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17092
e23872c8
SP
170932013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17094
e5c74c63
SP
17095 * NEWS: Mention libm performance improvements and non-x86 PI
17096 futex support.
17097
e23872c8
SP
17098 * csu/libc-start.c (__pthread_initialize_minimal): Change
17099 function arguments.
17100 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17101
b5510883
JM
171022013-02-28 Joseph Myers <joseph@codesourcery.com>
17103
17104 [BZ #13550]
17105 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17106 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17109 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17110 and <bp-asm.h>.
17111 (memcpy): Don't use BP_SYM.
17112 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17113 <bp-asm.h>.
17114 (__mpn_add_n): Don't use BP_SYM.
17115 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17116 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17117 and <bp-asm.h>.
17118 (__mpn_addmul_1): Don't use BP_SYM.
17119 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17120 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17121 <bp-sym.h>.
17122 (_setjmp): Don't use BP_SYM.
17123 (__novmx_setjmp): Likewise.
17124 (__GI__setjmp): Likewise.
17125 (__vmx_setjmp): Likewise.
17126 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17127 <bp-sym.h>.
17128 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17129 (__bzero): Don't use BP_SYM.
17130 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17131 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17132 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17133 <bp-sym.h> and <bp-asm.h>.
17134 (memcpy): Don't use BP_SYM.
17135 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17136 <bp-sym.h> and <bp-asm.h>.
17137 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17138 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17139 <bp-sym.h> and <bp-asm.h>.
17140 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17141 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17142 <bp-asm.h>.
17143 (__mpn_lshift): Don't use BP_SYM.
17144 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17145 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17146 <bp-asm.h>.
17147 (memset): Don't use BP_SYM.
17148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17150 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17151 <bp-asm.h>.
17152 (__mpn_mul_1): Don't use BP_SYM.
17153 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17155 <bp-sym.h> and <bp-asm.h>.
17156 (memcmp): Don't use BP_SYM.
17157 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17158 <bp-sym.h> and <bp-asm.h>.
17159 (memcpy): Don't use BP_SYM.
17160 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17161 <bp-sym.h> and <bp-asm.h>.
17162 (memset): Don't use BP_SYM.
17163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17164 <bp-sym.h> and <bp-asm.h>.
17165 (strncmp): Don't use BP_SYM.
17166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17167 <bp-sym.h> and <bp-asm.h>.
17168 (memcpy): Don't use BP_SYM.
17169 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17170 <bp-sym.h> and <bp-asm.h>.
17171 (memset): Don't use BP_SYM.
17172 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17173 <bp-sym.h> and <bp-asm.h>.
17174 (__memchr): Don't use BP_SYM.
17175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17176 <bp-sym.h> and <bp-asm.h>.
17177 (memcmp): Don't use BP_SYM.
17178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17179 <bp-sym.h> and <bp-asm.h>.
17180 (memcpy): Don't use BP_SYM.
17181 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17182 <bp-sym.h> and <bp-asm.h>.
17183 (__mempcpy): Don't use BP_SYM.
17184 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17185 <bp-sym.h> and <bp-asm.h>.
17186 (__memrchr): Don't use BP_SYM.
17187 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17188 <bp-sym.h> and <bp-asm.h>.
17189 (memset): Don't use BP_SYM.
17190 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17191 <bp-sym.h> and <bp-asm.h>.
17192 (__rawmemchr): Don't use BP_SYM.
17193 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17194 <bp-sym.h> and <bp-asm.h>.
17195 (__STRCMP): Don't use BP_SYM.
17196 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17197 <bp-sym.h> and <bp-asm.h>.
17198 (strchr): Don't use BP_SYM.
17199 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17200 <bp-sym.h> and <bp-asm.h>.
17201 (__strchrnul): Don't use BP_SYM.
17202 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17203 <bp-sym.h> and <bp-asm.h>.
17204 (strlen): Don't use BP_SYM.
17205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17206 <bp-sym.h> and <bp-asm.h>.
17207 (strncmp): Don't use BP_SYM.
17208 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17209 <bp-sym.h> and <bp-asm.h>.
17210 (__strnlen): Don't use BP_SYM.
17211 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17212 <bp-asm.h>.
17213 (__mpn_rshift): Don't use BP_SYM.
17214 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17215 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17216 <bp-sym.h> and <bp-asm.h>.
17217 (__sigsetjmp): Don't use BP_SYM.
17218 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17219 (L(start_addresses)): Don't use BP_SYM.
17220 (_start): Likewise.
17221 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17222 <bp-asm.h>.
17223 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17224 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17225 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17226 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17227 <bp-asm.h>.
17228 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17229 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17230 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17231 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17232 <bp-asm.h>.
17233 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17234 comments.
17235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17236 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17237 <bp-asm.h>.
17238 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17239 FIXME comments.
17240 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17241 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17242 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17243 <bp-asm.h>.
17244 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17245 comment.
17246 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17247 and <bp-asm.h>.
17248 (strncmp): Don't use BP_SYM,
17249 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17250 <bp-asm.h>.
17251 (__mpn_sub_n): Don't use BP_SYM.
17252 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17253 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17254 and <bp-asm.h>.
17255 (__mpn_submul_1): Don't use BP_SYM.
17256 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17258 <bp-sym.h> and <bp-asm.h>.
17259 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17261 <bp-sym.h> and <bp-asm.h>.
17262 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17263 comment.
17264
8d19fe64
SP
172652013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17266
17267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17268 Use ZK to minimize writes to Z.
17269 (sub_magnitudes): Simplify code a bit.
17270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17271 Use ZK to minimize writes to Z.
17272 (sub_magnitudes): Simplify code a bit.
17273
85bd816a
RM
172742013-02-27 Roland McGrath <roland@hack.frob.com>
17275
17276 * csu/gmon-start.c: Add special exception to license text.
17277
b5977bf2
RH
172782013-02-27 Richard Henderson <rth@redhat.com>
17279
17280 * scripts/config.guess: Update from config.git.
17281 * scripts/config.sub: Likewise.
17282
11d6e2f2
SP
172832013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17284
09c14ed2
SP
17285 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17286
a688864e
SP
17287 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17288
6295157a
SP
17289 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17290
b8de2202
SP
17291 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17292
11d6e2f2
SP
17293 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17294
7e80ddb8
RM
172952013-02-26 Roland McGrath <roland@hack.frob.com>
17296
17297 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17298 [$(build-shared = yes].
7e80ddb8 17299
7da6d9ed
SP
173002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17301
45f05884
SP
17302 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17303 (__mul): Reduce iterations for calculating mantissa.
17304
2236d359
SP
17305 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17306 MPTWO.
17307 (__mpranred): Likewise.
17308
7da6d9ed
SP
17309 [BZ #15160]
17310 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17311 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17312
b7688c42
PE
173132013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17314
17315 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17316 Define __attribute__.
17317
53a5c423
SP
173182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17319
17320 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17321 unused.
17322 * posix/regex_internal.h (__attribute): Remove.
17323 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17324 (re_string_context_at): Likewise.
17325 (bitset_not): Use __attribute__ and mark function as possibly
17326 unused.
17327 (bitset_merge): Likewise.
17328 (bitset_mask): Likewise.
17329 (re_string_char_size_at): Likewise.
17330 (re_string_wchar_at): Likewise.
17331 (re_string_elem_size_at): Likewise.
17332
60f5a8b5
SP
173332013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17334
2a983a2e
SP
17335 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17336 code.
17337 (cc32): Likewise.
17338
e69804d1
SP
17339 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17340 (__acr): Likewise.
17341 (__cpy): Likewise.
17342 (norm): Likewise.
17343 (denorm): Likewise.
17344 (__dbl_mp): Likewise.
17345 (add_magnitudes): Likewise.
17346 (sub_magnitudes): Likewise.
17347 (__mul): Likewise.
17348 (__inv): Likewise.
17349
2f22a1e8
SP
17350 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17351 style.
17352
8930ddc7
SP
17353 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17354 style.
17355
dc60cb11
SP
17356 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17357 code.
17358
60f5a8b5
SP
17359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17360 up changes with default code.
17361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17362 Likewise.
17363
b4d1fd33
AM
173642013-02-24 Allan McRae <allan@archlinux.org>
17365
faf6f8bc
AM
17366 * manual/socket.texi (The Internet Namespace): Order menu items
17367 to match that in the file.
17368
b4d1fd33
AM
17369 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17370 node listing of the info page menu.
17371
2366713d
JM
173722013-02-21 Joseph Myers <joseph@codesourcery.com>
17373
17374 [BZ #13550]
17375 * sysdeps/i386/bp-asm.h: Remove file.
17376 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17377 (PARMS): Do not use macros from bp-asm.h.
17378 (S1): Likewise.
17379 (S2): Likewise.
17380 (SIZE): Likewise.
17381 (__mpn_add_n): Do not use BP_SYM
17382 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17383 "bp-asm.h".
17384 (PARMS): Do not use macros from bp-asm.h.
17385 (S1): Likewise.
17386 (SIZE): Likewise.
17387 (__mpn_addmul_1): Do not use BP_SYM
17388 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17389 "bp-asm.h".
17390 (PARMS): Do not use macros from bp-asm.h.
17391 (SIGMSK): Likewise.
17392 (_setjmp): Likewise. Do not use BP_SYM.
17393 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17394 "bp-asm.h".
17395 (PARMS): Do not use macros from bp-asm.h.
17396 (SIGMSK): Likewise.
17397 (setjmp): Likewise. Do not use BP_SYM.
17398 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17399 "bp-asm.h".
17400 (PARMS): Do not use macros from bp-asm.h.
17401 (__frexp): Do not use BP_SYM.
17402 (frexp): Likewise.
17403 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17404 "bp-asm.h".
17405 (PARMS): Do not use macros from bp-asm.h.
17406 (__frexpf): Do not use BP_SYM.
17407 (frexpf): Likewise.
17408 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17409 "bp-asm.h".
17410 (PARMS): Do not use macros from bp-asm.h.
17411 (__frexpl): Do not use BP_SYM.
17412 (frexpl): Likewise.
17413 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17414 "bp-asm.h".
17415 (PARMS): Do not use macros from bp-asm.h.
17416 (__remquo): Do not use BP_SYM.
17417 (remquo): Likewise.
17418 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17419 "bp-asm.h".
17420 (PARMS): Do not use macros from bp-asm.h.
17421 (__remquof): Do not use BP_SYM.
17422 (remquof): Likewise.
17423 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17424 "bp-asm.h".
17425 (PARMS): Do not use macros from bp-asm.h.
17426 (__remquol): Do not use BP_SYM.
17427 (remquol): Likewise.
17428 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17429 "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (DEST): Likewise.
17432 (SRC): Likewise.
17433 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17434 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17435 "bp-asm.h".
17436 (PARMS): Do not use macros from bp-asm.h.
17437 (strlen): Do not use BP_SYM.
17438 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17439 "bp-asm.h".
17440 (PARMS): Do not use macros from bp-asm.h.
17441 (S1): Likewise.
17442 (S2): Likewise.
17443 (SIZE): Likewise.
17444 (__mpn_add_n): Do not use BP_SYM.
17445 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17446 "bp-asm.h".
17447 (PARMS): Do not use macros from bp-asm.h.
17448 (S1): Likewise.
17449 (SIZE): Likewise.
17450 (__mpn_addmul_1): Do not use BP_SYM.
17451 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17452 weak_alias.
17453 (bzero): Likewise.
17454 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17455 "bp-asm.h".
17456 (PARMS): Do not use macros from bp-asm.h.
17457 (S): Likewise.
17458 (SIZE): Likewise.
17459 (__mpn_lshift): Do not use BP_SYM.
17460 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17461 "bp-asm.h".
17462 (PARMS): Do not use macros from bp-asm.h.
17463 (DEST): Likewise.
17464 (SRC): Likewise.
17465 (LEN): Likewise.
17466 (memcpy): Likewise. Do not use BP_SYM.
17467 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17468 libc_hidden_def and weak_alias.
17469 (mempcpy): Do not use BP_SYM in weak_alias.
17470 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17471 "bp-asm.h".
17472 (PARMS): Do not use macros from bp-asm.h.
17473 (DEST): Likewise.
17474 (LEN): Likewise.
17475 [!BZERO_P] (CHR): Likewise.
17476 (memset): Likewise. Do not use BP_SYM.
17477 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (S1): Likewise.
17481 (SIZE): Likewise.
17482 (__mpn_mul_1): Do not use BP_SYM.
17483 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17484 "bp-asm.h".
17485 (PARMS): Do not use macros from bp-asm.h.
17486 (S): Likewise.
17487 (SIZE): Likewise.
17488 (__mpn_rshift): Do not use BP_SYM.
17489 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17490 "bp-asm.h".
17491 (PARMS): Do not use macros from bp-asm.h.
17492 (STR): Likewise.
17493 (CHR): Likewise.
17494 (strchr): Likewise. Do not use BP_SYM.
17495 (index): Do not use BP_SYM in weak_alias.
17496 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17497 "bp-asm.h".
17498 (PARMS): Do not use macros from bp-asm.h.
17499 (DEST): Likewise.
17500 (SRC): Likewise.
17501 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17502 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17503 "bp-asm.h".
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (strlen): Do not use BP_SYM.
17506 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17507 "bp-asm.h".
17508 (PARMS): Do not use macros from bp-asm.h.
17509 (S1): Likewise.
17510 (S2): Likewise.
17511 (SIZE): Likewise.
17512 (__mpn_sub_n): Do not use BP_SYM.
17513 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17514 "bp-asm.h".
17515 (PARMS): Do not use macros from bp-asm.h.
17516 (S1): Likewise.
17517 (SIZE): Likewise.
17518 (__mpn_submul_1): Do not use BP_SYM.
17519 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17520 "bp-asm.h".
17521 (PARMS): Do not use macros from bp-asm.h.
17522 (S1): Likewise.
17523 (S2): Likewise.
17524 (SIZE): Likewise.
17525 (__mpn_add_n): Do not use BP_SYM.
17526 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17527 weak_alias.
17528 (bzero): Likewise.
17529 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17530 "bp-asm.h".
17531 (PARMS): Do not use macros from bp-asm.h.
17532 (BLK2): Likewise.
17533 (LEN): Likewise.
17534 (memcmp): Do not use BP_SYM.
17535 (bcmp): Do not use BP_SYM in weak_alias.
17536 * sysdeps/i386/i686/memcpy.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 (LEN): Likewise.
17542 (memcpy): Likewise. Do not use BP_SYM.
17543 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17544 "bp-asm.h".
17545 (PARMS): Do not use macros from bp-asm.h.
17546 (DEST): Likewise.
17547 (SRC): Likewise.
17548 (LEN): Likewise.
17549 (memmove): Likewise. Do not use BP_SYM.
17550 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17551 "bp-asm.h".
17552 (PARMS): Do not use macros from bp-asm.h.
17553 (DEST): Likewise.
17554 (SRC): Likewise.
17555 (LEN): Likewise.
17556 (__mempcpy): Likewise. Do not use BP_SYM.
17557 (mempcpy): Do not use BP_SYM in weak_alias.
17558 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17559 "bp-asm.h".
17560 (PARMS): Do not use macros from bp-asm.h.
17561 (DEST): Likewise.
17562 (LEN): Likewise.
17563 [!BZERO_P] (CHR): Likewise.
17564 (memset): Likewise. Do not use BP_SYM.
17565 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17566 "bp-asm.h".
17567 (PARMS): Do not use macros from bp-asm.h.
17568 (STR2): Likewise.
17569 (strcmp): Do not use BP_SYM.
17570 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17571 "bp-asm.h".
17572 (PARMS): Do not use macros from bp-asm.h.
17573 (STR): Likewise.
17574 (DELIM): Likewise.
17575 [USE_AS_STRTOK_R] (SAVE): Likewise.
17576 (FUNCTION): Likewise. Do not use BP_SYM.
17577 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17578 aliases.
17579 (strtok_r): Likewise.
17580 (__GI___strtok_r): Likewise.
17581 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17582 (PARMS): Do not use macros from bp-asm.h.
17583 (S): Likewise.
17584 (SIZE): Likewise.
17585 (__mpn_lshift): Do not use BP_SYM.
17586 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17587 (PARMS): Do not use macros from bp-asm.h.
17588 (STR): Likewise.
17589 (CHR): Likewise.
17590 (__memchr): Do not use BP_SYM.
17591 (memchr): Do not use BP_SYM in weak_alias.
17592 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17593 (PARMS): Do not use macros from bp-asm.h.
17594 (BLK2): Likewise.
17595 (LEN): Likewise.
17596 (memcmp): Do not use BP_SYM.
17597 (bcmp): Do not use BP_SYM in weak_alias.
17598 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17599 (PARMS): Do not use macros from bp-asm.h.
17600 (S1): Likewise.
17601 (SIZE): Likewise.
17602 (__mpn_mul_1): Do not use BP_SYM.
17603 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17604 "bp-asm.h".
17605 (PARMS): Do not use macros from bp-asm.h.
17606 (STR): Likewise.
17607 (CHR): Likewise.
17608 (__rawmemchr): Do not use BP_SYM.
17609 (rawmemchr): Do not use BP_SYM in weak_alias.
17610 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17611 (PARMS): Do not use macros from bp-asm.h.
17612 (S): Likewise.
17613 (SIZE): Likewise.
17614 (__mpn_rshift): Do not use BP_SYM.
17615 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17616 (PARMS): Do not use macros from bp-asm.h.
17617 (SIGMSK): Likewise.
17618 (__sigsetjmp): Likewise. Do not use BP_SYM.
17619 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17620 (_start): Do not use BP_SYM.
17621 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17622 (PARMS): Do not use macros from bp-asm.h.
17623 (DEST): Likewise.
17624 (SRC): Likewise.
17625 (__stpcpy): Likewise. Do not use BP_SYM.
17626 (stpcpy): Do not use BP_SYM in weak_alias.
17627 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17628 "bp-asm.h".
17629 (PARMS): Do not use macros from bp-asm.h.
17630 (DEST): Likewise.
17631 (SRC): Likewise.
17632 (LEN): Likewise.
17633 (__stpncpy): Likewise. Do not use BP_SYM.
17634 (stpncpy): Do not use BP_SYM in weak_alias.
17635 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17636 (PARMS): Do not use macros from bp-asm.h.
17637 (STR): Likewise.
17638 (CHR): Likewise.
17639 (strchr): Likewise. Do not use BP_SYM.
17640 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17641 "bp-asm.h".
17642 (PARMS): Do not use macros from bp-asm.h.
17643 (STR): Likewise.
17644 (CHR): Likewise.
17645 (__strchrnul): Likewise. Do not use BP_SYM.
17646 (strchrnul): Do not use BP_SYM in weak_alias.
17647 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17648 "bp-asm.h".
17649 (PARMS): Do not use macros from bp-asm.h.
17650 (STOP): Likewise.
17651 (strcspn): Do not use BP_SYM.
17652 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17653 "bp-asm.h".
17654 (PARMS): Do not use macros from bp-asm.h.
17655 (STR): Likewise.
17656 (STOP): Likewise.
17657 (strpbrk): Likewise. Do not use BP_SYM.
17658 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17659 "bp-asm.h".
17660 (PARMS): Do not use macros from bp-asm.h.
17661 (STR): Likewise.
17662 (CHR): Likewise.
17663 (strrchr): Likewise. Do not use BP_SYM.
17664 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17665 (PARMS): Do not use macros from bp-asm.h.
17666 (SKIP): Likewise.
17667 (strspn): Do not use BP_SYM.
17668 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17669 (PARMS): Do not use macros from bp-asm.h.
17670 (STR): Likewise.
17671 (DELIM): Likewise.
17672 (SAVE): Likewise.
17673 (FUNCTION): Likewise. Do not use BP_SYM.
17674 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17675 aliases.
17676 (strtok_r): Likewise.
17677 (__GI___strtok_r): Likewise.
17678 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17679 (PARMS): Do not use macros from bp-asm.h.
17680 (S1): Likewise.
17681 (S2): Likewise.
17682 (SIZE): Likewise.
17683 (__mpn_sub_n): Do not use BP_SYM.
17684 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17685 "bp-asm.h".
17686 (PARMS): Do not use macros from bp-asm.h.
17687 (S1): Likewise.
17688 (SIZE): Likewise.
17689 (__mpn_submul_1): Do not use BP_SYM.
17690 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17691 <bp-sym.h>.
17692 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17693 and <bp-asm.h>.
17694 (PARMS): Do not use macros from bp-asm.h.
17695 (FLAGS): Likewise.
17696 (PTID): Likewise.
17697 (TLS): Likewise.
17698 (CTID): Likewise.
17699 (__clone): Do not use BP_SYM.
17700 (clone): Do not use BP_SYM in weak_alias.
17701 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17702 and <bp-asm.h>.
17703 (PARMS): Do not use macros from bp-asm.h.
17704 (LEN): Likewise.
17705 (__mmap64): Do not use BP_SYM.
17706 (mmap64): Do not use BP_SYM in weak_alias.
17707 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17708 <bp-sym.h> and <bp-asm.h>.
17709 (PARMS): Do not use macros from bp-asm.h.
17710 (__posix_fadvise64_l64): Do not use BP_SYM.
17711 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17712 (PARMS): Do not use macros from bp-asm.h.
17713 (NSOPS): Likewise.
17714 (semtimedop): Do not use BP_SYM.
17715 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17716 and <bp-asm.h>.
17717
582a3cff
AM
177182013-02-21 Allan McRae <allan@archlinux.org>
17719
17720 * manual/message.texi (Charset conversion in gettext):
17721 Move @end statement to beginning of line.
17722
bab8a695
SP
177232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17724
80945231
SP
17725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17726 static.
17727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17728 Likewise.
17729
bab8a695
SP
17730 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17731 (denorm): Likewise.
17732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17734
e21d7aa7
AK
177352013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17736
17737 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17738 tail-call to the resolved function if pltexit isn't needed.
17739
4c7a4263
SP
177402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17741
17742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17743 or Y being zero as being unlikely.
17744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17745 Likewise.
17746
41f49342
CD
177472013-02-20 Carlos O'Donell <carlos@redhat.com>
17748
17749 * manual/nss.texi (System Databases and Name Service Switch):
17750 Remove frobnicate @pxref.
17751
50022a93
TS
177522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17753
17754 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17755 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17756
08cbd996
PM
177572013-02-20 Petr Machata <pmachata@redhat.com>
17758
17759 * elf/elf.h (R_ARM_TARGET1): New macro.
17760 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17761 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17762 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17763 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17764 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17765 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17766 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17767 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17768 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17769 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17770 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17771 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17772 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17773 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17774 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17775 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17776 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17777 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17778 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17779 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17780 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17781 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17782 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17783 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17784 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17785 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17786 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17787 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17788 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17789 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17790 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17791 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17792 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17793 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17794 (R_ARM_THM_GOT_BREL12): Likewise.
17795 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17796 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17797 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17798 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17799 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17800 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17801 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17802 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17803 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17804
c7b275d6
TS
178052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17806
17807 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17808 __attribute_used__ to __attribute__ ((unused)).
17809
20cd7fb3
SP
178102013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17811
17812 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17813 powerpc mpa.c.
17814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17815 comment formatting.
17816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17817
92945b52
JM
178182013-02-19 Joseph Myers <joseph@codesourcery.com>
17819
17820 [BZ #13550]
17821 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17822 Remove macro.
17823 (ENTER): Remove both macro definitions.
17824 (LEAVE): Likewise.
17825 (CHECK_BOUNDS_LOW): Likewise.
17826 (CHECK_BOUNDS_HIGH): Likewise.
17827 (CHECK_BOUNDS_BOTH): Likewise.
17828 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17829 (RETURN_BOUNDED_POINTER): Likewise.
17830 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17831 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17832 (POP_ERRNO_LOCATION_RETURN): Likewise.
17833 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17834 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17835 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17836 macros.
17837 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17838 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17839 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17840 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17841 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17842 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17843 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17844 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17845 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17846 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17847 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17848 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17849 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17850 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17851 removed macros.
17852 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17853 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17854 macros.
17855 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17856 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17857 * sysdeps/i386/i586/memset.S (memset): Likewise.
17858 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17859 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17860 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17861 macros.
17862 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17863 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17864 Change uses of L(2) to L(out).
17865 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17866 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17867 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17868 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17869 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17870 removed macros.
17871 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17872 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17873 macros.
17874 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17875 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17876 (RETURN): Do not use macro LEAVE.
17877 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17878 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17879 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17880 * sysdeps/i386/i686/memset.S (memset): Likewise.
17881 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17882 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17883 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17884 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17885 Likewise.
17886 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17887 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17888 L(1_2) and L(1_3) into L(1).
17889 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17890 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17891 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17892 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17893 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17894 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17895 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17896 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17897 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17898 macros.
17899 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17900 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17901 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17902 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17903 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17904 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17905 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17906 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17907 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17908 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17909 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17910 * sysdeps/i386/strspn.S (strspn): Likewise.
17911 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17912 conditional code.
17913 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17914 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17915 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17916 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17917 L(1_3) into L(1_1).
17918 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17919 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17920 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17921 macros.
17922 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17923
2389741a
JJ
179242013-02-19 Jakub Jelinek <jakub@redhat.com>
17925
17926 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17927 macro.
17928
2016b3cd
SP
179292013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17930
e4f22324
SP
17931 * math/atest-exp.c (exp_mpn): Remove ROUND.
17932 * math/atest-exp2.c (exp_mpn): Likewise.
17933 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17934
2016b3cd
SP
17935 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17936 * stdlib/tst-tls-atexit-lib.c: Likewise.
17937 * stdlib/tst-tls-atexit.c: Likewise.
17938
4be9b544
MF
179392013-02-18 Mike Frysinger <vapier@gentoo.org>
17940
17941 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17942 and __attribute_alloc_size__.
17943
2f62b9ee
MF
179442013-02-18 Mike Frysinger <vapier@gentoo.org>
17945
17946 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17947 __attribute_alloc_size__.
17948 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17949 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17950
6ff444c4
MF
179512013-02-18 Mike Frysinger <vapier@gentoo.org>
17952
17953 * include/programs/xmalloc.h: New file.
17954 * catgets/gencat.c: Include it.
17955 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17956 * elf/pldd.c: Likewise.
17957 * iconv/iconv_charmap.c: Likewise.
17958 * iconv/iconvconfig.c: Likewise.
17959 * iconv/strtab.c: Likewise.
17960 * locale/programs/locale.c: Likewise.
17961 * locale/programs/localedef.h: Likewise.
17962 * locale/programs/simple-hash.c: Likewise.
17963 * nscd/nscd.h: Likewise.
17964 * nss/makedb.c: Likewise.
17965 * sysdeps/generic/ldconfig.h: Likewise.
17966
be179c8a
SP
179672013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17968
ba384f6e
SP
17969 * Versions.def: Add GLIBC_2.18.
17970 * include/link.h (struct link_map): New member l_tls_dtor_count.
17971 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17972 (__call_tls_dtors): Likewise.
17973 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17974 __cxa_thread_atexit_impl.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17976 Likewise.
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17978 Likewise.
17979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17980 Likewise.
17981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17982 Likewise.
17983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17985 Likewise.
17986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17987 Likewise.
17988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17990 Likewise.
17991 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17992 (tests): Add test case tst-tls-atexit.
17993 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17994 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17995 (GLIBC_PRIVATE): Add __call_tls_dtors.
17996 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17997 for libstdc++.
17998 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17999 * stdlib/tst-tls-atexit.c: New test case.
18000 * stdlib/tst-tls-atexit-lib.c: New test case.
18001
ffaa74cf 18002 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18003
be179c8a
SP
18004 * elf/Versions (ld): Add _dl_find_dso_for_object.
18005 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18006 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18007 (dl_open_worker): Use _dl_find_dso_for_object.
18008 * elf/dl-sym.c (do_sym): Likewise.
18009 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18010
f78b5caa
AK
180112013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18012
18013 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18014 Syntactic changes only.
18015 (_dl_runtime_profile): Do a tail-call to the resolved function.
18016
29691210
JM
180172013-02-17 Joseph Myers <joseph@codesourcery.com>
18018
18019 [BZ #13550]
18020 * sysdeps/x86_64/bp-asm.h: Remove file.
18021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18022 <bp-sym.h> and <bp-asm.h>.
18023 (__clone): Do not use BP_SYM.
18024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18025 <bp-sym.h> and <bp-asm.h>.
18026 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18027 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18028 "bp-asm.h".
18029 (_setjmp): Do not use BP_SYM.
18030 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18031 "bp-asm.h".
18032 (setjmp): Do not use BP_SYM.
18033 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18034 libc_hidden_def.
18035 (mempcpy): Do not use BP_SYM in weak_alias.
18036 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18037 "bp-asm.h".
18038 (strchr): Do not use BP_SYM.
18039 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18040 "bp-asm.h".
18041 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18042 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18043 (_start): Do not use BP_SYM.
18044 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18045 "bp-asm.h".
18046 (strcat): Do not use BP_SYM.
18047 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18048 "bp-asm.h".
18049 (STRCMP): Do not use BP_SYM.
18050 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18051 "bp-asm.h".
18052 (STRCPY): Do not use BP_SYM.
18053 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18054 "bp-asm.h".
18055 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18056 "bp-asm.h".
18057 (FUNCTION): Do not use BP_SYM.
18058 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18059 weak_alias.
18060 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18061
f238fd19
AJ
180622013-02-17 Andreas Jaeger <aj@suse.de>
18063
18064 * time/Versions: Sort entries.
18065 * string/Versions: Likewise.
18066 * resolv/Versions: Likewise.
18067 * posix/Versions: Likewise.
18068 * iconv/Versions: Likewise.
18069 * elf/Versions: Likewise.
18070 * wcsmbs/Versions: Likewise.
18071
bd07f23c 180722013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18073
22af19f9
SP
18074 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18075 loop termination condition.
18076
4709fe76
SP
18077 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18078 variable to calculate EZ.
18079 (__sqr): Likewise.
2d0e0f29
SP
18080
18081 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18082 the lower precision input.
18083
daaa7713
JM
180842013-02-15 Joseph Myers <joseph@codesourcery.com>
18085
18086 [BZ #13550]
18087 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18088 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18089 (run-via-rtld-prefix): Do not handle %-bp tests.
18090 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18091 (all-object-suffixes): Remove .ob.
18092 (bppfx): Remove variable.
18093 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18094 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18095 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18096 [$(build-bounded) = yes] (libtype.ob): Likewise.
18097 * Makerules (elide-routines.ob): Remove variable.
18098 (do-tests-clean): Do not handle *-bp.out.
18099 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18100 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18101 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18102 (tests): Do not include $(tests-bp.out).
18103 (xtests): Do not include $(xtests-bp.out).
18104 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18105 [$(build-bounded) = yes] ($(addprefix
18106 $(objpfx),$(binaries-bounded))): Remove rule.
18107 ($(objpfx)%-bp.out): Remove rule.
18108 * config.make.in (build-bounded): Remove variable.
18109 * crypt/Makefile [$(build-bounded) = yes]
18110 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18111 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18112 append to variable.
18113 [$(build-bounded) = yes] (install-lib): Likewise.
18114 [$(build-bounded) = yes] (generated): Likewise.
18115 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18116 Remove rule.
18117 * intl/Makefile [$(build-bounded) = yes]
18118 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18119 * math/Makefile [$(build-bounded) = yes]
18120 ($(tests:%=$(objpfx)%-bp): Likewise.
18121 * misc/Makefile [$(build-bounded) = yes]
18122 ($(objpfx)tst-tsearch-bp): Likewise.
18123 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18124 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18125 Remove dependency.
18126 * string/Makefile (o-objects.ob): Remove variable.
18127 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18128 (CFLAGS-.ob): Remove variable.
18129 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18130 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18131 both definitions of variable.
18132 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18133 (ASFLAGS-.ob): Remove variable.
18134
e97ed6dd
JM
181352013-02-14 Joseph Myers <joseph@codesourcery.com>
18136
2bdd4ca6
JM
18137 [BZ #13550]
18138 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18139 Remove __BOUNDED_POINTERS__ from condition.
18140 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18141 * string/bits/string2.h [!__NO_STRING_INLINES &&
18142 !__BOUNDED_POINTERS__]: Likewise.
18143 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18144 Likewise.
18145 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18146 Remove conditional code.
18147 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18148 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18149 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18150 condition.
18151
e97ed6dd
JM
18152 [BZ #13550]
18153 * csu/libc-start.c: Do not include <bp-sym.h>.
18154 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18155 * elf/dl-open.c: Do not include <bp-sym.h>.
18156 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18157 * math/fegetenv.c: Do not include <bp-sym.h>.
18158 (fegetenv): Do not use BP_SYM in versioned symbols.
18159 * nptl/sysdeps/pthread/bits/libc-lockP.h
18160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18161 <bp-sym.h>.
18162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18163 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18165 (__pthread_mutex_destroy): Likewise.
18166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18167 (__pthread_mutex_lock): Likewise.
18168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18169 (__pthread_mutex_trylock): Likewise.
18170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18171 (__pthread_mutex_unlock): Likewise.
18172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18173 (__pthread_mutexattr_init): Likewise.
18174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18175 (__pthread_mutexattr_destroy): Likewise.
18176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18177 (__pthread_mutexattr_settype): Likewise.
18178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18179 (__pthread_rwlock_init): Likewise.
18180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18181 (__pthread_rwlock_destroy): Likewise.
18182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18183 (__pthread_rwlock_rdlock): Likewise.
18184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18185 (__pthread_rwlock_tryrdlock): Likewise.
18186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18187 (__pthread_rwlock_wrlock): Likewise.
18188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18189 (__pthread_rwlock_trywrlock): Likewise.
18190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18191 (__pthread_rwlock_unlock): Likewise.
18192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18193 (__pthread_key_create): Likewise.
18194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18195 (__pthread_setspecific): Likewise.
18196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18197 (__pthread_getspecific): Likewise.
18198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18199 Likewise.
18200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18201 (_pthread_cleanup_push_defer): Likewise.
18202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18203 (_pthread_cleanup_pop_restore): Likewise.
18204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18205 (pthread_setcancelstate): Likewise.
18206 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18207 <bp-sym.h>.
18208 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18209 (memchr): Do not use BP_SYM in weak_alias.
18210 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18211 (fegetenv): Do not use BP_SYM in versioned symbols.
18212 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18213 (fesetenv): Do not use BP_SYM in versioned symbols.
18214 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18215 (feupdateenv): Do not use BP_SYM in versioned symbols.
18216 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18217 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18218 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18219 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18220 (open64): Do not use BP_SYM in weak_alias.
18221 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18222 (fegetenv): Do not use BP_SYM in versioned symbols.
18223 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18224 (fesetenv): Do not use BP_SYM in versioned symbols.
18225 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18226 (feupdateenv): Do not use BP_SYM in versioned symbols.
18227 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18228 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18229 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18230 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18231 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18232 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18234 <bp-sym.h>.
18235 (__libc_start_main): Do not use BP_SYM.
18236
d6752ccd
SP
182372013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18238
cb57ce60
SP
18239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18240 redundant return line.
18241 (norm): Likewise.
18242 (denorm): Likewise.
18243 (dbl_mp): Likewise.
18244 (sub_magnitudes): Likewise.
18245 (__add): Likewise.
18246 (__sub): Likewise.
18247 (__mul): Likewise.
18248 (__inv): Likewise.
18249 (__dvd): Likewise.
18250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18251 (norm): Likewise.
18252 (denorm): Likewise.
18253 (dbl_mp): Likewise.
18254 (sub_magnitudes): Likewise.
18255 (__add): Likewise.
18256 (__sub): Likewise.
18257 (__mul): Likewise.
18258 (__inv): Likewise.
18259 (__dvd): Likewise.
18260
f414520d
SP
18261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18262 instead of __mul.
18263 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18264 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18265 (cc32): Likewise.
18266
d6752ccd
SP
18267 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18268 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18270 of __mul for squares.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18272 function
18273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18274 Likewise.
18275 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18276 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18277
70d9946a
JM
182782013-02-13 Joseph Myers <joseph@codesourcery.com>
18279
18280 [BZ #13550]
18281 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18282 code.
18283 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18284 prototype or function definition. Rename ubp_* variables and
18285 parameters. Remove argv definitions conditional on
18286 [__BOUNDED_POINTERS__].
18287 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18288 * elf/dl-runtime.c (_dl_fixup): Likewise.
18289 * include/set-hooks.h (RUN_HOOK): Likewise.
18290 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18291 definition.
18292 * string/strcpy.c (strcpy): Do not use __unbounded.
18293 * sysdeps/generic/frame.h (struct layout): Likewise.
18294 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18295 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18296 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18297 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18298 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18299 (__backtrace): Likewise.
18300 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18301 use __ptrvalue.
18302 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18303 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18304 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18305 Likewise.
18306 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18307 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18309 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18310 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18311 Do not use __unbounded.
18312 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18313 Rename __unboundedrlimits parameter to rlimits in prototype.
18314 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18315 Do not use __unbounded.
18316 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18317 not use __ptrvalue.
18318 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18319 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18320 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18321 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18322 __ptrvalue or __unbounded.
18323 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18324 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18325 use __unbounded.
18326 (__new_msgctl): Do not use __ptrvalue.
18327 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18328 __unbounded.
18329 (__libc_msgrcv): Do not use __ptrvalue.
18330 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18331 startup_info): Do not use __unbounded.
18332 (__libc_start_main): Likewise. Rename ubp_* variables and
18333 parameters. Remove argv definitions conditional on
18334 [__BOUNDED_POINTERS__].
18335 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18336 __ptrvalue.
18337 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18338 use __unbounded.
18339 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18340 or __ptrvalue.
18341 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18342 use __unbounded.
18343 (__new_shmctl): Do not use __ptrvalue.
18344 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18345 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18349 (__libc_sigaction): Likewise.
18350 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18351 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18352 Likewise.
18353 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18354
cc7834d6
OB
183552013-02-13 Ondřej Bílka <neleai@seznam.cz>
18356
ffb1ec7b 18357 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18358
18359 * string/mempcpy.c: Implement by calling memcpy.
18360
bdf02814
SP
183612013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18362
c2af38aa
SP
18363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18364
4e92d59e
SP
18365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18366 evaluation.
18367
909279a5
SP
18368 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18369 values in the mantissa.
18370
bdf02814
SP
18371 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18372 minimize writes to Z.
18373 (sub_magnitudes): Simplify code a bit.
18374
cd525923
RM
183752013-02-12 Roland McGrath <roland@hack.frob.com>
18376
18377 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18378 from the message. The linker prefixes all warnings with that already.
18379
7e2f0d2d
AS
183802013-02-12 Andreas Schwab <schwab@suse.de>
18381
a445af0b
AS
18382 [BZ #15078]
18383 * posix/regexec.c (extend_buffers): Add parameter min_len.
18384 (check_matching): Pass minimum needed length.
18385 (clean_state_log_if_needed): Likewise.
18386 (get_subexp): Likewise.
18387 * posix/Makefile (tests): Add bug-regex34.
18388 (bug-regex34-ENV): Define.
18389 * posix/bug-regex34.c: New file.
18390
7e2f0d2d
AS
18391 [BZ #11561]
18392 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18393 elements compare against the byte sequence of it, not its name.
18394 * posix/Makefile (tests): Add bug-regex35.
18395 (bug-regex35-ENV): Define.
18396 * posix/bug-regex35.c: New file.
18397
a175b684
TV
183982013-02-11 Tom de Vries <tom@codesourcery.com>
18399
18400 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18401 comment.
18402 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18403 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18404 (CHECK_EOL): Add undef.
18405
310998fe 184062013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18407
18408 * bits/stdlib-bsearch.h: New file.
18409 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18410 * stdlib/stdlib.h: Likewise.
41eda41d 18411
8ded91fb
RM
184122013-02-11 Roland McGrath <roland@hack.frob.com>
18413
18414 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18415 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18416 declaration.
18417 * manual/search.texi (Array Search Function): Add missing const in
18418 lfind prototype.
18419 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18420 declaration to use rlim_t.
18421 (Basic Scheduling Functions): Remove erroneous const from
18422 sched_getparam prototype. Remove erroneous * from
18423 sched_get_priority_max and sched_get_priority_min prototypes.
18424 (Resource Usage): Fix summary @comment on vtimes to refer to
18425 sys/vtimes.h rather than vtimes.h.
18426 Add missing *s in vtimes prototype.
18427 (Limits on Resources): Fix ulimit prototype to return long int.
18428 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18429 prototypes to use long int rather than double.
18430 (BSD Random): Fix initstate and setstate to use char *, not void *.
18431 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18432 prototype to make second argument 'struct aiocb64 *const[]'.
18433 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18434 (Status of AIO Operations): Remove erroneous const in aio_return and
18435 aio_return64 prototypes.
18436 (Synchronizing I/O): Fix sync prototype to return void.
18437 * manual/startup.texi (Suboptions): Remove an erroneous const in
18438 getsubopt prototype.
18439 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18440 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18441 use size_t rather than int.
18442 (Scanning All Users): Likewise for getpwent_r.
18443 (Setting Groups): Add missing const to setgroups prototype.
18444 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18445 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18446 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18447 'const void *' rather than 'const char *'.
18448 (Host Address Functions): Likewise for inet_ntop.
18449 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18450 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18451 ssize_t for return value.
18452 (Sending Data): Likewise for send, sendto, sendmsg.
18453 (Socket Option Functions): Add a missing const in setsockopt prototype.
18454 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18455 use wchar_t for the argument.
18456 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18457 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18458 take no arguments.
18459 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18460 double/float/long double for second argument.
18461 Fix return types of significand, significandf, significandl.
18462 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18463 argument in fchmod prototype.
18464 (File Owner): Use uid_t and gid_t in fchown prototype.
18465 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18466 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18467 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18468 use 'const struct dirent **' as argument types to CMP function pointer
18469 argument.
18470 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18471 (File Times): Fix summary magic @comment for struct utimbuf and utime
18472 to refer to utime.h, not time.h.
18473 * manual/string.texi (Argz Functions): Add missing const in
18474 argz_extract and argz_next prototypes.
18475 (Finding Tokens in a String): Likewise for basename.
18476 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18477 (Copying and Concatenation): Fix typo in wmemmove prototype.
18478 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18479 (Signal Stack): Remove erroneous const in sigstack prototype.
18480 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18481 prototype.
18482 (Simple Calendar Time): Likewise for stime.
18483 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18484 prototype.
18485 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18486 say sys/sysctl.h instead.
18487 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18488 and vsyslog prototypes.
18489
fe77fe6d
TV
184902013-02-11 Tom de Vries <tom@codesourcery.com>
18491
18492 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18493 Remove.
18494
3a09b620
RM
184952013-02-11 Roland McGrath <roland@hack.frob.com>
18496
18497 * misc/sys/mman.h: Fix typo in mremap comment.
18498
550a0b89
RM
184992013-02-08 Roland McGrath <roland@hack.frob.com>
18500
18501 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18502 the '\0' terminator.
18503
a2da1673
JM
185042013-02-08 Joseph Myers <joseph@codesourcery.com>
18505
18506 [BZ #13550]
18507 * debug/segfault.c: Don't include <bp-checks.h>.
18508 * sysdeps/generic/bp-checks.h: Remove file.
18509 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18510 (__GETDENTS): Don't use CHECK_N.
18511 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18512 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18513 (__getgroups): Don't use CHECK_N.
18514 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18515 (setgroups): Don't use CHECK_N.
18516 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18517 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18518 (__libc_msgrcv): Don't use CHECK_N.
18519 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18520 (__libc_msgsnd): Don't use CHECK_N.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18522 <bp-checks.h>.
18523 (__libc_pread): Don't use CHECK_N.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18525 include <bp-checks.h>.
18526 (__libc_pread64): Don't use CHECK_N.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18528 include <bp-checks.h>.
18529 (__libc_pwrite): Don't use CHECK_N.
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18531 include <bp-checks.h>.
18532 (__libc_pwrite64): Don't use CHECK_N.
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18534 <bp-checks.h>.
18535 (__libc_pread): Don't use CHECK_N.
18536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18537 include <bp-checks.h>.
18538 (__libc_pread64): Don't use CHECK_N.
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18540 include <bp-checks.h>.
18541 (__libc_pwrite): Don't use CHECK_N.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18543 include <bp-checks.h>.
18544 (__libc_pwrite64): Don't use CHECK_N.
18545 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18546 (do_pread): Don't use CHECK_N.
18547 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18548 (do_pread64): Don't use CHECK_N.
18549 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18550 (do_pwrite): Don't use CHECK_N.
18551 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18552 (do_pwrite64): Don't use CHECK_N.
18553 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18554 (__libc_readv): Don't use CHECK_N.
18555 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18556 (semop): Don't use CHECK_N.
18557 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18558 <bp-checks.h>.
18559 (semtimedop): Don't use CHECK_N.
18560 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18561 (__libc_pread): Don't use CHECK_N.
18562 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18563 <bp-checks.h>.
18564 (__libc_pread64): Don't use CHECK_N.
18565 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18566 <bp-checks.h>.
18567 (__libc_pwrite): Don't use CHECK_N.
18568 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18569 <bp-checks.h>.
18570 (__libc_pwrite64): Don't use CHECK_N.
18571 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18572 <bp-checks.h>.
18573 (__libc_msgrcv): Don't use CHECK_N.
18574 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18575 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18576 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18577 (__libc_writev): Don't use CHECK_N.
18578
b84660a8
RM
185792013-02-08 Roland McGrath <roland@hack.frob.com>
18580
7f3e75f8
RM
18581 * string/strcpy.c: Removed unused variable.
18582
b84660a8
RM
18583 * Makeconfig (+sysdep-includes): Define with := rather than =.
18584 Use an existing include/ subdir of each sysdeps dir before it.
18585
471514d3
CD
185862013-02-08 Carlos O'Donell <carlos@redhat.com>
18587
18588 * nscd/connection.c (register_traced_file): Comment function.
18589 [HAVE_INOTIFY] (union __inev): Define.
18590 [HAVE_INOTIFY] (inotify_check_files): New function.
18591 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18592 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18593 clear_db_cache.
18594 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18595
b2d3c3be
CD
185962013-02-08 Carlos O'Donell <carlos@redhat.com>
18597
18598 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18599 loaded if not already and that a failure is permanent.
18600
b39949d2
CD
186012013-02-08 Carlos O'Donell <carlos@redhat.com>
18602
ddacd1db 18603 [BZ #15006]
b39949d2
CD
18604 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18605 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18606
b2c9eff4
JM
186072013-02-08 Joseph Myers <joseph@codesourcery.com>
18608
f3aae3f3
JM
18609 [BZ #13550]
18610 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18611 (CHECK_1_NULL_OK): Likewise.
18612 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18613 (__fxstat): Do not use CHECK_1.
18614 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18615 <bp-checks.h>.
18616 (___fxstat64): Do not use CHECK_1.
18617 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18618 <bp-checks.h>.
18619 (__fxstatat): Do not use CHECK_1.
18620 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18621 <bp-checks.h>.
18622 (__fxstatat64): Do not use CHECK_1.
18623 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18624 <bp-checks.h>.
18625 (__fxstat): Do not use CHECK_1.
18626 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18627 <bp-checks.h>.
18628 (__fxstatat): Do not use CHECK_1.
18629 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18630 <bp-checks.h>.
18631 (__getresgid): Do not use CHECK_1.
18632 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18633 <bp-checks.h>.
18634 (__getresuid): Do not use CHECK_1.
18635 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18636 <bp-checks.h>.
18637 (__lxstat): Do not use CHECK_1.
18638 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18639 <bp-checks.h>.
18640 (__old_msgctl): Do not use CHECK_1.
18641 (__new_msgctl): Likewise.
18642 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18643 <bp-checks.h>.
18644 (__new_setrlimit): Do not use CHECK_1.
18645 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18646 <bp-checks.h>.
18647 (__old_shmctl): Do not use CHECK_1.
18648 (__new_shmctl): Likewise.
18649 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18650 <bp-checks.h>.
18651 (__xstat): Do not use CHECK_1.
18652 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18653 (__lxstat): Do not use CHECK_1.
18654 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18655 <bp-checks.h>.
18656 (___lxstat64): Do not use CHECK_1.
18657 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18658 (__old_msgctl): Do not use CHECK_1.
18659 (__new_msgctl): Likewise.
18660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18661 <bp-checks.h>.
18662 (__gettimeofday): Do not use CHECK_1.
18663 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18664 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18665 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18666 <bp-checks.h>.
18667 (__gettimeofday): Do not use CHECK_1.
18668 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18669 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18670 (__new_shmctl): Do not use CHECK_1.
18671 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18672 <bp-checks.h>.
18673 (do_sigtimedwait): Do not use CHECK_1.
18674 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18675 <bp-checks.h>.
18676 (do_sigwaitinfo): Do not use CHECK_1.
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18678 <bp-checks.h>.
18679 (msgctl): Do not use CHECK_1.
18680 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18681 <bp-checks.h>.
18682 (shmctl): Do not use CHECK_1.
18683 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18684 (ustat): Do not use CHECK_1.
18685 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18686 <bp-checks.h>.
18687 (__fxstat): Do not use CHECK_1.
18688 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18689 <bp-checks.h>.
18690 (__fxstatat): Do not use CHECK_1.
18691 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18692 <bp-checks.h>.
18693 (__lxstat): Do not use CHECK_1.
18694 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18695 <bp-checks.h>.
18696 (__xstat): Do not use CHECK_1.
18697 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18698 (__xstat): Do not use CHECK_1.
18699 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18700 (___xstat64): Do not use CHECK_1.
18701
b2c9eff4
JM
18702 [BZ #13550]
18703 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18704 definitions.
18705 (CHECK_BOUNDS_HIGH): Likewise.
18706 * string/strcpy.c: Do not include <bp-checks.h>.
18707 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18708
f1d70dad
RM
187092013-02-07 Roland McGrath <roland@hack.frob.com>
18710
18711 * nscd/nscd-client.h (__nscd_drop_map_ref):
18712 Add __attribute__ ((unused)).
18713 * nis/nss-nisplus.h (niserr2nss): Likewise.
18714
18715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18716 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18717
18718 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18719 Remove inline keyword.
18720 * include/rounding-mode.h (round_away): Likewise.
18721 * libio/wfileops.c (adjust_wide_data): Likewise.
18722 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18723 (__m128i_strloadu_tolower): Likewise.
18724 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18725 (__m128i_strloadu_tolower): Likewise.
18726 * time/mktime.c (ydhms_diff): Likewise.
18727 * locale/elem-hash.h (elem_hash): Likewise.
18728 * locale/setlocale.c (setdata): Likewise.
18729 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18730 (re_string_wchar_at): Likewise.
18731 (bitset_not, bitset_merge, bitset_mask): Likewise.
18732 [!(__GNUC__ > 3)] (inline): Remove macro.
18733 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18734 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18735 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18736 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18737 * string/memcmp.c (memcmp_bytes): Likewise.
18738 * locale/programs/locarchive.c (compute_hashval): Likewise.
18739 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18740 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18741 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18742 * nss/getent.c (print_rpc, print_protocols): Likewise.
18743 (print_passwd, print_group, print_aliases): Likewise.
18744 * nis/nss-nisplus.h (niserr2nss): Likewise.
18745 * nscd/connections.c (restart_p): Likewise.
18746 Change return type to bool.
18747
eab55bfb
RM
187482013-02-05 Roland McGrath <roland@hack.frob.com>
18749
7bd642f5
RM
18750 * Makeconfig (all-Depend-files): Add existing
18751 $(sorted-subdirs:=/Depend) files.
18752 (all-subdirs): Remove nss.
18753 * sysdeps/unix/inet/Subdirs: Add it here instead.
18754 * hesiod/Depend: New file.
18755
573c29b2
RM
18756 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18757 instead of calling alloca.
18758
b2e25af0
RM
18759 * io/lseek.c (__lseek): Rename to __libc_lseek.
18760 Define __lseek as an alias.
18761
eab55bfb
RM
18762 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18763
9a0d1941
CD
187642013-02-04 Carlos O'Donell <carlos@redhat.com>
18765
18766 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18767 else clause and remove check for non-standard endianness.
18768
b83bbec4
DM
187692013-02-04 David S. Miller <davem@davemloft.net>
18770
18771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18772
6277fdab
JM
187732013-02-04 Joseph Myers <joseph@codesourcery.com>
18774
18775 [BZ #13550]
18776 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18777 (__ubp_memchr): Remove prototype.
18778 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18779 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18780 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18781 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18782 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18783 Remove alias.
18784 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18785 (__ubp_memchr): Likewise.
18786 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18787 (__ubp_memchr): Likewise.
18788 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18789 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18790 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18791 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18792 CHECK_STRING.
18793 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18794 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18795 (__getcwd): Do not use CHECK_STRING.
18796 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18797 <bp-checks.h>.
18798 (__real_chown): Do not use CHECK_STRING.
18799 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18800 <bp-checks.h>.
18801 (fchownat): Do not use CHECK_STRING.
18802 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18803 CHECK_STRING.
18804 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18805 <bp-checks.h>.
18806 (__lchown): Do not use CHECK_STRING.
18807 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18808 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18809 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18810 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18812 include <bp-checks.h>.
18813 (truncate64): Do not use CHECK_STRING.
18814 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18815 <bp-checks.h>.
18816 (__real_chown): Do not use CHECK_STRING.
18817 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18818 <bp-checks.h>.
18819 (__lchown): Do not use CHECK_STRING.
18820 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18821 <bp-checks.h>.
18822 (__chown): Do not use CHECK_STRING.
18823 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18824 <bp-checks.h>.
18825 (truncate64): Do not use CHECK_STRING.
18826 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18827 Likewise.
18828 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18829 (__xmknod): Do not use CHECK_STRING.
18830 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18831 <bp-checks.h>.
18832 (__xmknodat): Do not use CHECK_STRING.
18833 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18834 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18835
903ae060
AS
188362013-02-04 Andreas Schwab <schwab@suse.de>
18837
18838 [BZ #14142]
18839 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18840 * include/netdb.h: Likewise for h_errno.
18841 * elf/tst-stackguard1.c: Include <tls.h>.
18842
542f9466
JK
188432013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18844
18845 * elf/link.h (struct link_map): Extend the l_addr comment.
18846 * include/link.h (struct link_map): Likewise.
18847
e782a927
JM
188482013-02-01 Joseph Myers <joseph@codesourcery.com>
18849
18850 [BZ #13550]
18851 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18852 (BOUNDED_1): Remove macro.
18853 * debug/backtrace.c: Don't include <bp-checks.h>.
18854 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18855 (__backtrace): Likewise.
18856 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18857 <bp-checks.h>.
18858 (__backtrace): Don't use BOUNDED_1.
18859 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18860 <bp-checks.h>.
18861 (__backtrace): Don't use BOUNDED_1.
18862 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18863 (__backtrace): Don't use BOUNDED_1.
18864 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18865 (shmat): Don't use BOUNDED_N.
18866
8cf28c5e
JM
188672013-01-31 Joseph Myers <joseph@codesourcery.com>
18868
3a7ac8a0
JM
18869 [BZ #13550]
18870 * sysdeps/generic/bp-start.h: Remove file.
18871 * csu/libc-start.c: Don't include <bp-start.h>.
18872 (LIBC_START_MAIN): Set up __environ directly instead of using
18873 INIT_ARGV_and_ENVIRON.
18874 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18875 <bp-start.h>.
18876
f3499f95
JM
18877 [BZ #13550]
18878 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18879 definitions.
18880 (CHECK_FCNTL): Likewise.
18881 (CHECK_N_PAGES): Likewise.
18882
32a45bea
JM
18883 [BZ #13550]
18884 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18885 definitions.
18886 (CHECK_SIGSET_NULL_OK): Likewise.
18887 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18888 <bp-checks.h>.
18889 (sigpending): Don't use CHECK_SIGSET.
18890 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18891 <bp-checks.h>.
18892 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18893 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18894 <bp-checks.h>.
18895 (do_sigsuspend): Don't use CHECK_SIGSET.
18896 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18897 use CHECK_SIGSET.
18898 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18899 (do_sigwait): Don't use CHECK_SIGSET.
18900 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18901 use CHECK_SIGSET.
18902 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18903 include <bp-checks.h>.
18904 (sigpending): Don't use CHECK_SIGSET.
18905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18906 include <bp-checks.h>.
18907 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18908 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18909 <bp-checks.h>.
18910 (sigpending): Don't use CHECK_SIGSET.
18911 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18912 <bp-checks.h>.
18913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18914
2e8a5c8c
JM
18915 [BZ #13550]
18916 * sysdeps/generic/bp-semctl.h: Remove file.
18917 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18918 <bp-checks.h> and <bp-semctl.h>.
18919 (__old_semctl): Don't use CHECK_SEMCTL.
18920 (__new_semctl): Likewise.
18921 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18922 and <bp-semctl.h>.
18923 (__old_semctl): Don't use CHECK_SEMCTL.
18924 (__new_semctl): Likewise.
18925 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18926 <bp-checks.h> and <bp-semctl.h>.
18927 (__old_semctl): Don't use CHECK_SEMCTL.
18928 (__new_semctl): Likewise.
18929 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18930 <bp-checks.h> and <bp-semctl.h>.
18931 (semctl): Don't use CHECK_SEMCTL.
18932
c2d54929
JM
18933 [BZ #13550]
18934 * Makerules (elide-bp-thunks): Remove variable.
18935 (elide-routines.oS): Don't use $(elide-bp-thunks).
18936 (elide-routines.os): Likewise.
18937 (elide-routines.o): Likewise.
18938 (elide-routines.op): Likewise.
18939 (elide-routines.og): Likewise.
18940 (objects): Don't use $(bp-thunks).
18941 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18942 include.
18943 (common-generated): Do not add s-proto-bp.d.
18944 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18945 (int): Likewise.
18946 (typ): Likewise.
18947 Do not generate makefile rules for bounded-pointer thunks.
18948 * sysdeps/generic/bp-thunks.h: Remove file.
18949 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18950 * sysdeps/unix/s-proto-bp.S: Likewise.
18951
8cf28c5e
JM
18952 [BZ #15062]
18953 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18954 parts of result separately when argument is not close to line from
18955 -i to i and one part of argument is small.
18956 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18957 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18958 * math/libm-test.inc (cacos_test): Add more tests.
18959 (casin_test): Likewise.
18960 (casinh_test): Likewise.
18961 * sysdeps/i386/fpu/libm-test-ulps: Update.
18962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18963
c4e33b8d
DM
189642013-01-31 David S. Miller <davem@davemloft.net>
18965
18966 * po/de.po: Update from translation team.
18967
3b60b421
MK
189682013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18969
18970 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18971
bb931195
TS
189722013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18973
b5a5da23
TS
18974 * configure.in (_AC_PROG_CC_C89): New definition.
18975 * configure: Regenerate.
18976
bb931195
TS
18977 * configure.in (AC_PROG_CPP): New definition.
18978 * configure: Regenerate.
18979
8c53a12c
JM
189802013-01-23 Joseph Myers <joseph@codesourcery.com>
18981
18982 * debug/tst-backtrace.h: New file.
18983 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18984 (ret): Remove variable.
18985 (x): Likewise.
18986 (FAIL): Remove macro.
18987 (NO_INLINE): Likewise.
18988 (fn1): Use match function instead of strstr.
18989 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18990 (ret): Remove variable.
18991 (x): Likewise.
18992 (FAIL): Remove macro.
18993 (NO_INLINE): Likewise.
18994 (fn): Use match function instead of strstr.
18995 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18996 (ret): Remove variable.
18997 (x): Likewise.
18998 (FAIL): Remove macro.
18999 (NO_INLINE): Likewise.
19000 (handle_signal): Use match function instead of strstr.
19001 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19002 (ret): Remove variable.
19003 (x): Likewise.
19004 (FAIL): Remove macro.
19005 (NO_INLINE): Likewise.
19006 (handle_signal): Use match function instead of strstr.
19007
4858fa2a
RM
190082013-01-23 Roland McGrath <roland@hack.frob.com>
19009
19010 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19011
bae8e7f5
DM
190122013-01-23 David S. Miller <davem@davemloft.net>
19013
19014 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19015 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19016 argument of CAS if possible.
19017 * sysdeps/sparc/sparc64/bits/atomic.h
19018 (__arch_compare_and_exchange_val_32_acq): Likewise.
19019 (__arch_compare_and_exchange_val_64_acq): Likewise.
19020
9cbbc4ae
PT
190212013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19022
19023 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19024 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19025 Include <limits.h>.
67b3f58c 19026 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19027
5655a0b5
AC
190282013-01-23 Adam Conrad <adconrad@0c3.net>
19029
19030 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19031 (LDFLAGS-tst-array5): Likewise.
19032
052aff95
JM
190332013-01-23 Joseph Myers <joseph@codesourcery.com>
19034
19035 [BZ #15036]
19036 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19037 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19038 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19039 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19040
7c1e01aa
DM
190412013-01-21 David S. Miller <davem@davemloft.net>
19042
19043 * sysdeps/sparc/backtrace.c: New file.
19044 * sysdeps/sparc/sparc32/backtrace.h: New file.
19045 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19046 * sysdeps/sparc/sparc64/backtrace.h: New file.
19047 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19048 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19049 -funwind-tables.
19050
ab087e0a
AS
190512013-01-21 Andreas Schwab <schwab@suse.de>
19052
19053 [BZ #15020]
19054 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19055 closed its stdout.
19056
ed689c2f
AS
190572013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19058
19059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19060 "mpa2.h".
19061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19062
31d470ac
JM
190632013-01-18 Joseph Myers <joseph@codesourcery.com>
19064 Mark Mitchell <mark@codesourcery.com>
19065 Tom de Vries <tom@codesourcery.com>
19066 Paul Pluzhnikov <ppluzhnikov@google.com>
19067
19068 * debug/tst-backtrace2.c: New file.
19069 * debug/tst-backtrace3.c: Likewise.
19070 * debug/tst-backtrace4.c: Likewise.
19071 * debug/tst-backtrace5.c: Likewise.
19072 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19073 (CFLAGS-tst-backtrace3.c): Likewise.
19074 (CFLAGS-tst-backtrace4.c): Likewise.
19075 (CFLAGS-tst-backtrace5.c): Likewise.
19076 (LDFLAGS-tst-backtrace2): Likewise.
19077 (LDFLAGS-tst-backtrace3): Likewise.
19078 (LDFLAGS-tst-backtrace4): Likewise.
19079 (LDFLAGS-tst-backtrace5): Likewise.
19080 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19081 tst-backtrace4 and tst-backtrace5.
19082
90567f30 190832013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19084 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19085
19086 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19087 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19088 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19089 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19091 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19092 "+r" and remove output regs list as redundant. Add explicit inline
19093 asm to specify register of return val to work around compiler codegen
19094 bug. Remove (int) cast on return value. Add return type parameter to
19095 use in macro so that this macro does not truncate return value for
19096 64-bit values.
19097 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19098 pass to INTERNAL_VSYSCALL_NCS.
19099 (INLINE_VSYSCALL): Add 'long int' as return type to
19100 INTERNAL_VSYSCALL_NCS macro invocation.
19101 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19102 INTERNAL_VSYSCALL_NCS macro invocation.
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19104
d3b9ea61
SP
191052013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19106
0b57daeb
SP
19107 [BZ #14496]
19108 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19109 Fix application of SIMD FP exception mask.
19110
caa99d06
SP
19111 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19112 mp_no from a power of two.
19113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19114 __mpexp_twomm1. Use __pow_mp.
19115
d3b9ea61
SP
19116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19117 multiplication.
19118
1dbaee3c
DM
191192013-01-17 David S. Miller <davem@davemloft.net>
19120
19121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19122
728d7b43
JM
191232013-01-17 Joseph Myers <joseph@codesourcery.com>
19124
19125 [BZ #15023]
19126 * include/complex.h: Condition contents on [!_COMPLEX_H].
19127 (__kernel_casinhf): New prototype.
19128 (__kernel_casinh): Likewise.
19129 (__kernel_casinhl): Likewise.
19130 * math/Makefile (libm_calls): Add k_casinh.
19131 * math/k_casinh.c: New file.
19132 * math/k_casinhf.c: Likewise.
19133 * math/k_casinhl.c: Likewise.
19134 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19135 finite nonzero arguments.
19136 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19137 finite nonzero arguments.
19138 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19139 finite nonzero arguments.
19140 * math/s_casinh.c: Do not include <float.h>.
19141 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19142 * math/s_casinhf.c: Do not include <float.h>.
19143 (__casinhf): Move code for finite nonzero arguments to
19144 k_casinhf.c.
19145 * math/s_casinhl.c: Do not include <float.h>.
19146 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19147 redefine.
19148 (__casinhl): Move code for finite nonzero arguments to
19149 k_casinhl.c.
19150 * math/libm-test.inc (cacos_test): Add more tests.
19151 * sysdeps/i386/fpu/libm-test-ulps: Update.
19152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19153
2a26ef3a
PT
191542013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19155
19156 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19157 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19158 [!HAVE_MREMAP]: Remove [defined linux] case.
19159 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19160
a897655d
SP
191612013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19162
19163 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19164
881ebe89 191652013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19166
19167 * elf/elf.h (R_386_SIZE32): New relocation.
19168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19169 R_386_SIZE32.
19170 (elf_machine_rela): Likewise.
19171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19172 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19173
59981e9b
JM
191742013-01-17 Joseph Myers <joseph@codesourcery.com>
19175
19176 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19177 (FP_FAST_FMA): Do not define.
19178 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19179 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19180 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19181 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19182 !_SOFT_FLOAT]: Likewise.
19183 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19184 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19185 value.
19186 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19187 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19188 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19189 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19190 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19191 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19192 file.
19193
cfa8054f
AS
191942013-01-16 Andreas Schwab <schwab@suse.de>
19195
19196 [BZ #14327]
19197 * include/stdlib.h (__mktemp): Add declaration.
19198 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19199 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19200
dd930cc5
SP
192012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19202
881ebe89
SP
19203 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19204 definitions.
19205 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19206 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19207 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19208 definitions here.
19209 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19210 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19211 definitions.
19212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19213 and ONE.
19214 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19215 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19216 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19217 definitions.
19218 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19219 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19220 definitions.
19221 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19222
dd930cc5
SP
19223 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19224
c19a9f89
DM
192252013-01-15 David S. Miller <davem@davemloft.net>
19226
1aa61767
DM
19227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19228 trunc{,f} to libm-sysdep_routes.
19229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19231 file.
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19234 file.
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19236 file.
19237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19239 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19240 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19241 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19242 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19243 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19244 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19245
c42d5e98
DM
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19247 nearbyint{,f} to libm-sysdep_routes.
19248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19250 New file.
19251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19252 file.
19253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19254 New file.
19255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19256 file.
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19259 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19260 file.
19261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19262 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19263 file.
19264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19265 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19266 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19267
c19a9f89
DM
19268 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19269 libc_feholdexcept and libc_fesetenv.
19270
357679d2
MF
192712013-01-15 Mike Frysinger <vapier@gentoo.org>
19272
19273 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19274
65a82e3d
DM
192752013-01-14 David S. Miller <davem@davemloft.net>
19276
8b954ab9
DM
19277 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19278 (SPARC_ASM_VIS2_IFUNC): Likewise.
19279 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19281 use of 'siam' instruction.
19282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19283 Likewise.
19284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19285 Likewise.
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19287 Likewise.
19288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19293 file.
19294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19295 file.
19296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19297 file.
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19299 file.
19300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19305 new VIS2 routines.
19306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19309 Likewise.
19310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19315 routines to libm-sysdep_routines.
19316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19317
65a82e3d
DM
19318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19319 fdim/fdimf to libm-sysdep_routines.
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19321 file.
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19324 file.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19328 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19329 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19330 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19331 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19332
e34ab705
SP
193332013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
2a91b573
SP
19335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19336 to optimize copies.
19337
1066a534
SP
19338 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19341
e34ab705
SP
19342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19343 local variable MPTWO.
19344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19345 Likewise.
19346
aba5e596
MF
193472013-01-13 Mike Frysinger <vapier@gentoo.org>
19348
19349 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19350 GLOB_NOESCAPE.
19351
e557e9e5
MF
193522013-01-13 Mike Frysinger <vapier@gentoo.org>
19353
19354 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19355
0428cec9
MF
193562013-01-13 Mike Frysinger <vapier@gentoo.org>
19357
19358 * manual/pattern.texi (glob_t): Document gl_flags.
19359 (glob64_t): Likewise.
19360
8794a964
DM
193612013-01-11 David S. Miller <davem@davemloft.net>
19362
66438c3f
RM
19363 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19364 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19365 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19366 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19367 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19368 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19369 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19370 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19371 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19372 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19373 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19374 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19375 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19376
4ae4244d
DM
19377 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19378 sparc V9 rather than using V8 code.
19379 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19380 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19381
8794a964
DM
19382 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19383 Move to...
19384 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19385 Here.
19386
6270516e
RM
193872013-01-11 Roland McGrath <roland@hack.frob.com>
19388
19389 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19390 not in the main loop.
19391 * configure: Regenerated.
19392
6a57d931
JM
193932013-01-11 Joseph Myers <joseph@codesourcery.com>
19394
19395 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19396 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19397 to just #else.
19398 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19399 [!__GLIBC_HAVE_LONG_LONG] case.
19400 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19401 condition to just #else.
19402 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19403 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19404 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19405 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19406 unconditional.
19407 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19408 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19409 #elif condition to just #else.
19410 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19411 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19412 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19413 #elif condition to just #else.
19414
0e8529e9
SE
194152013-01-11 Steve Ellcey <sellcey@mips.com>
19416
19417 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19418 (EF_MIPS_ARCH_64): Fix value.
19419 (EF_MIPS_ARCH_32R2): New.
19420 (EF_MIPS_ARCH_64R2): New.
19421
740b3dbe
L
194222013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19423
19424 * Makeconfig (+link-pie-before-libc): New.
19425 (+link-pie-after-libc): Likewise.
19426 (+link-pie-tests): Likewise.
19427 (+link-pie): Rewritten.
19428 (link-before-libc): Remove $(config-LDFLAGS).
19429 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19430 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19431 (config-LDFLAGS): Renamed to ...
19432 (rtld-LDFLAGS): This.
19433 (rtld-tests-LDFLAGS): New macro.
19434 (link-libc-rpath-link): Likewise.
19435 (link-libc-tests-rpath-link): Likewise.
19436 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19437 (link-libc): Prepand $(link-libc-rpath-link).
19438 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19439 (test-program-prefix): New macro.
19440 (test-via-rtld-prefix): Likewise.
19441 (test-program-cmd): Likewise.
19442 (host-test-program-cmd): Likewise.
19443 * Makefile ($(common-objpfx)testrun.sh): Replace
19444 $(run-program-prefix) with $(test-program-prefix).
19445 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19446 $(rtld-LDFLAGS).
19447 ($(common-objpfx)shlib.lds): Likewise.
19448 (build-module-helper): Likewise.
19449 ($(common-objpfx)format.lds): Likewise.
19450 * Rules (binaries-pie-tests): New.
19451 (binaries-pie-notests): Likewise.
19452 (binaries-pie): Rewritten.
19453 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19454 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19455 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19456 (make-test-out): Replace $(host-built-program-cmd) with
19457 $(host-test-program-cmd).
19458 * config.make.in (build-hardcoded-path-in-tests): New variable.
19459 * configure.in (--enable-hardcoded-path-in-tests): New configure
19460 option.
19461 (hardcoded_path_in_tests): New AC_SUBST.
19462 * configure: Regenerated.
19463 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19464 $(built-program-cmd) with $(test-program-cmd).
19465 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19466 (test_program_cmd): This.
19467 * elf/Makefile ($(objpfx)order.out): Run test with
19468 $(test-program-prefix).
19469 ($(objpfx)order2.out): Likewise.
19470 ($(objpfx)tst-initorder.out): Likewise.
19471 ($(objpfx)tst-initorder2.out): Likewise.
19472 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19473 $(test-program-cmd).
19474 ($(objpfx)tst-array1-static.out): Likewise.
19475 ($(objpfx)tst-array2.out): Likewise.
19476 ($(objpfx)tst-array3.out): Likewise.
19477 ($(objpfx)tst-array4.out): Likewise.
19478 ($(objpfx)tst-array5.out): Likewise.
19479 ($(objpfx)tst-array5-static.out): Likewise.
19480 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19481 $(test-program-cmd).
19482 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19483 $(run-program-prefix) with $(test-program-prefix).
19484 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19485 (test_program_prefix): This.
19486 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19487 $(run-program-prefix) with $(test-program-prefix).
19488 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19489 (test_program_prefix): This.
19490 * iconvdata/tst-tables.sh: Likewise.
19491 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19492 $(run-program-prefix) with $(test-program-prefix).
19493 ($(objpfx)tst-translit.out): Likewise.
19494 ($(objpfx)tst-gettext2.out): Likewise.
19495 ($(objpfx)tst-gettext4.out): Likewise.
19496 ($(objpfx)tst-gettext6.out): Likewise.
19497 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19498 (test_program_prefix): This.
19499 * intl/tst-gettext2.sh: Likewise.
19500 * intl/tst-gettext4.sh Likewise.
19501 * intl/tst-gettext6.sh: Likewise.
19502 * intl/tst-translit.sh: Likewise.
19503 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19504 with $(test-program-cmd).
19505 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19506 $(run-program-prefix) with $(test-program-prefix).
19507 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19508 (test_program_prefix): This.
19509 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19510 $(run-program-prefix) with $(test-program-prefix).
19511 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19512 (test_program_prefix): This.
19513 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19514 * posix/Makefile ($(objpfx)globtest.out): Replace
19515 $(run-via-rtld-prefix) and $(test-wrapper) with
19516 $(test-program-prefix) and $(test-via-rtld-prefix).
19517 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19518 $(test-program-prefix).
19519 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19520 $(host-test-program-cmd).
19521 (tst-spawn-ARGS): Likewise.
19522 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19523 $(test-program-prefix).
19524 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19525 (test_via_rtld_prefix): This.
19526 (test_wrapper): Renamed to ...
19527 (test_program_prefix): This.
19528 (run_program_prefix): Replaced by test_program_prefix.
19529 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19530 (test_program_prefix): This.
19531 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19532 with $(host-test-program-cmd).
19533 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19534 $(run-program-prefix) with $(test-program-prefix).
19535 ($(objpfx)tst-printf.out): Likewise.
19536 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19537 $(test-program-cmd).
19538 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19539 (test_program_prefix): This.
19540 * stdio-common/tst-unbputc.sh: Likewise.
19541 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19542 $(run-program-prefix) with $(test-program-prefix).
19543 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19544 (test_program_prefix): This.
19545 * string/Makefile ($(objpfx)tst-svc.out): Replace
19546 $(built-program-cmd) with $(test-program-cmd).
19547
c6fe55cf
AJ
195482013-01-11 Andreas Jaeger <aj@suse.de>
19549
19550 [BZ #15003]
19551 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19552 value. Sync with Linux 3.7.
19553
9e6919c8
DM
195542013-01-10 David S. Miller <davem@davemloft.net>
19555
19556 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19557 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19558 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19559
1c9f1a02
RM
195602013-01-10 Roland McGrath <roland@hack.frob.com>
19561
19562 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19563 never set.
19564 * configure: Regenerated.
19565
b9de2dde
DM
195662013-01-10 David S. Miller <davem@davemloft.net>
19567
19568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19569 sparc V9 rather than using V8 code.
19570 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19571 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19572
e7f68ef4
RM
195732013-01-10 Roland McGrath <roland@hack.frob.com>
19574
19575 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19576 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19577 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19578 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19579 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19580 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19581 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19582 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19583 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19584 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19585 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19586 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19587 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19588 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19589 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19590 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19591 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19592 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19593 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19594 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19595 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19596 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19597 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19598 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19599 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19600 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19601 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19602
5a47cc9c
DM
196032013-01-10 David S. Miller <davem@davemloft.net>
19604
19605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19606
4cf8f209
L
196072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19608
19609 * posix/Makefile (tests-static): New variable.
19610 (tests): Add $(tests-static).
19611 (tst-exec-static-ARGS): New variable.
19612 (tst-spawn-static-ARGS): Likewise.
19613 * posix/tst-exec-static.c: New file.
19614 * posix/tst-spawn-static.c: Likewise.
19615 * posix/tst-exec.c: Support run directly.
19616 * posix/tst-spawn.c: Likewise.
19617
fed0faa1
JM
196182013-01-10 Joseph Myers <joseph@codesourcery.com>
19619
828beb13
JM
19620 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19621 long.
19622 * math/bits/mathcalls.h (llrint): Likewise.
19623 (llround): Likewise.
19624 * stdlib/stdlib.h (struct drand48_data): Likewise.
19625 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19626 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19627 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19628 Likewise.
19629 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19630 Likewise.
19631 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19632 (elf_greg_t): Likewise.
19633 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19634 (__jmp_buf): Likewise.
19635 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19636 definitions.
19637 (llrint): Likewise, for all definitions.
19638 (llrintl): Likewise.
19639
fed0faa1
JM
19640 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19641 Remove [__GNUC__] condition.
19642 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19643 condition to just [__USE_ISOC99].
19644 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19645
1a20cb20
L
196462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19647
19648 [BZ #14200]
19649 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19650 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19651 defined.
19652 (_POSIX_V6_ILP32_OFF32): Likewise.
19653 (_XBS5_ILP32_OFF32): Likewise.
19654 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19655 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19656
751b85f7
SP
196572013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19658
7490eb81
SP
19659 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19660
751b85f7
SP
19661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19662 doubles __mpexp_twomm1. Adjust usage.
19663 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19664 Remove.
19665
988197f0
AS
196662013-01-10 Andreas Schwab <schwab@suse.de>
19667
19668 [BZ #14964]
19669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19670 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19671
e83d7298
DM
196722013-01-09 David S. Miller <davem@davemloft.net>
19673
034ed64b 19674 [BZ #15003]
57f41c40
AS
19675 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19676 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19677 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19678 (TCP_FASTOPEN): Define.
e83d7298
DM
19679 (tcp_repair_opt): New structure.
19680 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19681 enum values.
57f41c40
AS
19682 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19683 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19684 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19685 (tcp_cookie_transactions): New structure.
19686
d5e0b9bd
AB
196872013-01-09 Anton Blanchard <anton@samba.org>
19688
19689 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19690 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19691 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19692 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19693
0c07e3ea
JM
196942013-01-09 Joseph Myers <joseph@codesourcery.com>
19695
19696 * include/features.h (__USE_ANSI): Remove.
19697
232f7002
RM
196982013-01-09 Roland McGrath <roland@hack.frob.com>
19699
ad98e30c
RM
19700 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19701
232f7002
RM
19702 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19703
950c99ca
SP
197042013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19705
b5792741
SP
19706 * sysdeps/s390/fpu/libm-test-ulps: Update.
19707
47cf2278
SP
19708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19709
950c99ca
SP
19710 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19711 (__acr): Likewise.
19712 (__cpy): Likewise.
19713 (norm): Likewise.
19714 (denorm): Likewise.
19715 (__mp_dbl): Likewise.
19716 (__dbl_mp): Likewise.
19717 (add_magnitudes): Likewise.
19718 (sub_magnitudes): Likewise.
19719 (__add): Likewise.
19720 (__sub): Likewise.
19721 (__mul): Likewise.
19722 (__inv): Likewise.
19723 (__dvd): Likewise.
19724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19725 (__acr): Likewise.
19726 (__cpy): Likewise.
19727 (norm): Likewise.
19728 (denorm): Likewise.
19729 (__mp_dbl): Likewise.
19730 (__dbl_mp): Likewise.
19731 (add_magnitudes): Likewise.
19732 (sub_magnitudes): Likewise.
19733 (__add): Likewise.
19734 (__sub): Likewise.
19735 (__mul): Likewise.
19736 (__inv): Likewise.
19737 (__dvd): Likewise.
19738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19739 (__acr): Likewise.
19740 (__cpy): Likewise.
19741 (norm): Likewise.
19742 (denorm): Likewise.
19743 (__mp_dbl): Likewise.
19744 (__dbl_mp): Likewise.
19745 (add_magnitudes): Likewise.
19746 (sub_magnitudes): Likewise.
19747 (__add): Likewise.
19748 (__sub): Likewise.
19749 (__mul): Likewise.
19750 (__inv): Likewise.
19751 (__dvd): Likewise.
19752
eede9df9
JM
197532013-01-08 Joseph Myers <joseph@codesourcery.com>
19754
19755 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19756 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19757 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19758 2 && __USE_EXTERN_INLINES]: Likewise.
19759
c40ea3d9
AJ
197602013-01-08 Andreas Jaeger <aj@suse.de>
19761
19762 [BZ# 14985]
19763 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19764 Remove.
19765 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19766 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19767
2ccdea26
AB
197682013-01-07 Anton Blanchard <anton@samba.org>
19769
19770 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19771 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19772 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19773 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19774 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19775 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19776 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19777 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19779 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19780 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19781 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19782 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19783 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19785 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19786 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19788 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19789 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19791 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19793 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19794 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19795 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19796 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19797 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19799 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19800 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19802 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19803 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19805 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19806 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19809 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19812 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19813
a9708fed
JM
198142013-01-07 Joseph Myers <joseph@codesourcery.com>
19815
375607b9
JM
19816 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19817 (__MALLOC_PMT): Likewise.
19818 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19819 [__GNUC__], only on [_LIBC].
19820 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19821 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19822 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19823 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19824 forward declaration.
19825 (realloc_hook_ini): Likewise.
19826 (memalign_hook_ini): Likewise.
19827 (__libc_memalign): Do not use __MALLOC_PMT in variable
19828 declaration.
19829 (__libc_valloc): Likewise.
19830 (__libc_pvalloc): Likewise.
19831 (__libc_calloc): Likewise.
19832 (__posix_memalign): Likewise.
19833
a9708fed
JM
19834 [BZ #14996]
19835 * math/s_casinh.c: Include <float.h>.
19836 (__casinh): Do not do computation with squaring and square root
19837 for large arguments.
19838 * math/s_casinhf.c: Include <float.h>.
19839 (__casinhf): Do not do computation with squaring and square root
19840 for large arguments.
19841 * math/s_casinhl.c: Include <float.h>.
19842 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19843 (__casinhl): Do not do computation with squaring and square root
19844 for large arguments.
19845 * math/libm-test.inc (casin_test): Add more tests.
19846 (casinh_test): Likewise.
19847 * sysdeps/i386/fpu/libm-test-ulps: Update.
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19849
afec409a
L
198502013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19851
19852 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19853 (__x86_64_raw_data_cache_size): Likewise.
19854 (__x86_64_data_cache_size_half): Likewise.
19855 (__x86_64_raw_data_cache_size_half): Likewise.
19856 (__x86_64_shared_cache_size): Likewise.
19857 (__x86_64_raw_shared_cache_size): Likewise.
19858 (__x86_64_shared_cache_size_half): Likewise.
19859 (__x86_64_raw_shared_cache_size_half): Likewise.
19860 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19861 to ...
19862 (__x86_data_cache_size): This.
19863 (__x86_64_raw_data_cache_size): Renamed to ...
19864 (__x86_raw_data_cache_size): This.
19865 (__x86_64_data_cache_size_half): Renamed to ...
19866 (__x86_data_cache_size_half): This.
19867 (__x86_64_raw_data_cache_size_half): Renamed to ...
19868 (__x86_raw_data_cache_size_half): This.
19869 (__x86_64_shared_cache_size): Renamed to ...
19870 (__x86_shared_cache_size): This.
19871 (__x86_64_raw_shared_cache_size): Renamed to ...
19872 (__x86_raw_shared_cache_size): This.
19873 (__x86_64_shared_cache_size_half): Renamed to ...
19874 (__x86_shared_cache_size_half): This.
19875 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19876 (__x86_raw_shared_cache_size_half): This.
19877 * sysdeps/x86_64/memcpy.S: Updated.
19878 * sysdeps/x86_64/memset.S: Likewise.
19879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19882
0b3986d0
DM
198832013-01-04 David S. Miller <davem@davemloft.net>
19884
19885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19886
e47686e9
AS
198872013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19888
d643bac1
AS
19889 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19890 1 to avoid redefinition warning.
19891 (__USE_GNU): Don't define.
19892 (init_signaling_nan): Protoize.
19893
e47686e9
AS
19894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19895
b18decba
SP
198962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19897
fffb407f
SP
19898 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19900 (__cpymn): Likewise.
19901 (norm): Remove commented code.
19902 (denorm): Likewise.
19903 (__mp_dbl): Likewise.
19904 (__inv): Likewise.
19905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19906 (__cpymn): Likewise.
19907 (norm): Remove commented code.
19908 (denorm): Likewise.
19909 (__mp_dbl): Likewise.
19910 (__inv): Likewise.
19911
b18decba
SP
19912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19913 mp_no value for 1.0 and 2.0.
19914 (norm): Use RADIXI instead of radixi.d.
19915 (denorm): Likewise.
19916 (__mul): Use 0.0 instead of zero.d.
19917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19918 mp_no value for 1.0 and 2.0.
19919 (norm): Use RADIXI instead of radixi.d.
19920 (denorm): Likewise.
19921 (__mul): Use 0.0 instead of zero.d.
19922
cdc1c96f
JM
199232013-01-04 Joseph Myers <joseph@codesourcery.com>
19924
19925 [BZ #14994]
19926 * math/s_casinh.c (__casinh): Reduce finite argument to first
19927 quadrant then set signs of results at the end.
19928 * math/s_casinhf.c (__casinhf): Likewise.
19929 * math/s_casinhl.c (__casinhl): Likewise.
19930 * math/libm-test.inc (casin_test): Add more tests.
19931 (casinh_test): Likewise.
19932 * sysdeps/i386/fpu/libm-test-ulps: Update.
19933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19934
302913e1
SP
199352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19936
6420d207
SP
19937 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19938
a9e48ab4
SP
19939 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19940
b7837264
SP
19941 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19942 declarations.
19943 (denorm): Likewise.
19944 (__mp_dbl): Likewise.
19945 (__inv): Likewise.
19946
f8af25d2
SP
19947 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19948 and adjust the header comment.
19949
302913e1
SP
19950 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19951 variable name from declaration.
19952
5d7dd1ca
L
199532013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19954
19955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19956 Initialize COMMON_CPUID_INDEX_7 element.
19957 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19958 (CPUID_RTM): Likewise.
19959 (HAS_RTM): Likewise.
19960 (COMMON_CPUID_INDEX_7): New enum.
19961
2f5f40f4
AS
199622013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19963
19964 [BZ #14981]
19965 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19966 size is zero, record memory as freed.
19967
4056f4a0
AJ
199682013-01-03 Andreas Jaeger <aj@suse.de>
19969
19970 * po/ia.po: Add new Interlingua translation.
19971
ab15736f 199722012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19973
19974 * locale/programs/localedef.c: Fix description of '--posix' flag.
19975
568035b7
JM
199762013-01-02 Joseph Myers <joseph@codesourcery.com>
19977
e6898b8d
JM
19978 * NEWS: Update dates in second copyright notice.
19979 * README: Update copyright dates in example.
19980 * manual/libc.texinfo: Update copyright dates.
19981 * scripts/test-installation.pl: Update copyright date in --version
19982 output.
19983
0e2f9562
JM
19984 * hurd/ctty-input.c: Fix copyright notice formatting.
19985 * hurd/ctty-output.c: Likewise.
19986 * hurd/dtable.c: Likewise.
19987 * hurd/hurd-raise.c: Likewise.
19988 * hurd/hurdprio.c: Likewise.
19989 * hurd/msgportdemux.c: Likewise.
19990 * misc/sys/file.h: Likewise.
19991 * misc/sys/ioctl.h: Likewise.
19992 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19993 * sysdeps/mach/hurd/chdir.c: Likewise.
19994 * sysdeps/mach/hurd/fchdir.c: Likewise.
19995 * sysdeps/mach/hurd/rename.c: Likewise.
19996 * sysdeps/mach/hurd/rmdir.c: Likewise.
19997 * sysdeps/mach/hurd/seekdir.c: Likewise.
19998 * sysdeps/mach/hurd/setsid.c: Likewise.
19999 * sysdeps/posix/wait3.c: Likewise.
20000
568035b7
JM
20001 * All files with FSF copyright notices: Update copyright dates
20002 using scripts/update-copyrights.
20003 * intl/plural.c: Regenerated.
20004 * locale/programs/charmap-kw.h: Likewise.
20005 * locale/programs/locfile-kw.h: Likewise.
20006
da08f647
SP
200072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20008
0f5477af
SP
20009 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20010 four values.
20011
44e0d4c2
SP
20012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20013 calculation loop and add branch prediction.
20014
4d55b4e5
SP
20015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20016 check access beyond bounds of m1np.
20017
da08f647
SP
20018 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20019 MPTWO.
20020 (__inv): Remove local variable MPTWO to use the global
20021 constant.
20022 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20024 variable MPTWO.
20025 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20026 MP3HALFS static const.
20027
8e051029
DM
200282013-01-01 David S. Miller <davem@davemloft.net>
20029
20030 * po/ca.po: Update from translation team.
20031
f4cf5f2d
JM
200322013-01-01 Joseph Myers <joseph@codesourcery.com>
20033
20034 * scripts/update-copyrights: New file.
20035 * Makeconfig: Reformat copyright notice.
20036 * ctype/ctype.h: Likewise.
20037 * debug/swprintf_chk.c: Likewise.
20038 * elf/dl-cache.c: Likewise.
20039 * elf/dl-debug.c: Likewise.
20040 * elf/dl-object.c: Likewise.
20041 * grp/initgroups.c: Likewise.
20042 * hurd/Makefile: Likewise.
20043 * hurd/hurd/signal.h: Likewise.
20044 * hurd/hurdfault.c: Likewise.
20045 * hurd/hurdioctl.c: Likewise.
20046 * hurd/hurdlookup.c: Likewise.
20047 * hurd/intr-msg.c: Likewise.
20048 * iconv/gconv_open.c: Likewise.
20049 * libio/swprintf.c: Likewise.
20050 * locale/lc-ctype.c: Likewise.
20051 * locale/nl_langinfo.c: Likewise.
20052 * mach/Machrules: Likewise.
20053 * mach/Makefile: Likewise.
20054 * malloc/obstack.h: Likewise.
20055 * manual/Makefile: Likewise.
20056 * manual/tsort.awk: Likewise.
20057 * misc/bits/stab.def: Likewise.
20058 * nis/nis_print_group_entry.c: Likewise.
20059 * nis/nis_table.c: Likewise.
20060 * nis/nss_compat/compat-pwd.c: Likewise.
20061 * nis/nss_compat/compat-spwd.c: Likewise.
20062 * po/Makefile: Likewise.
20063 * posix/fnmatch.c: Likewise.
20064 * posix/regex.h: Likewise.
20065 * resolv/Makefile: Likewise.
20066 * resolv/nss_dns/dns-network.c: Likewise.
20067 * resolv/res_hconf.c: Likewise.
20068 * scripts/gen-sorted.awk: Likewise.
20069 * soft-fp/soft-fp.h: Likewise.
20070 * stdio-common/printf.h: Likewise.
20071 * stdlib/monetary.h: Likewise.
20072 * stdlib/random.c: Likewise.
20073 * stdlib/random_r.c: Likewise.
20074 * sysdeps/generic/Makefile: Likewise.
20075 * sysdeps/gnu/Makefile: Likewise.
20076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20088 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20099 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20100 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20101 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20103 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20104 * sysdeps/mach/hurd/errnos.awk: Likewise.
20105 * sysdeps/mach/hurd/fork.c: Likewise.
20106 * sysdeps/mach/hurd/getcwd.c: Likewise.
20107 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20108 * sysdeps/mach/hurd/mmap.c: Likewise.
20109 * sysdeps/mach/hurd/utimes.c: Likewise.
20110 * sysdeps/mach/hurd/xmknod.c: Likewise.
20111 * sysdeps/posix/profil.c: Likewise.
20112 * sysdeps/posix/readdir_r.c: Likewise.
20113 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20114 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20115 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20116 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20118 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20119 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20120 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20122 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20123 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20124 * sysdeps/pthread/lio_listio.c: Likewise.
20125 * sysdeps/sparc/dl-procinfo.h: Likewise.
20126 * sysdeps/unix/i386/sysdep.S: Likewise.
20127 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20128 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20129 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20130 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20132 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20133 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20134 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20135 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20136 * sysdeps/wordsize-32/divdi3.c: Likewise.
20137 * time/sys/time.h: Likewise.
20138 * wcsmbs/Makefile: Likewise.
20139
0549fbba
DM
201402013-01-01 David S. Miller <davem@davemloft.net>
20141
a141f1a7
DM
20142 * po/fr.po: Update from translation team.
20143
0549fbba
DM
20144 * catgets/gencat.c: Update copyright year.
20145 * csu/version.c: Likewise.
20146 * debug/catchsegv.sh: Likewise.
20147 * debug/pcprofiledump.c: Likewise.
20148 * debug/xtrace.sh: Likewise.
20149 * elf/ldconfig.c: Likewise.
20150 * elf/ldd.bash.in: Likewise.
20151 * elf/pldd.c: Likewise.
20152 * elf/sotruss.ksh: Likewise.
20153 * elf/sprof.c: Likewise.
20154 * iconv/iconv_prog.c: Likewise.
20155 * iconv/iconvconfig.c: Likewise.
20156 * locale/programs/locale.c: Likewise.
20157 * locale/programs/localedef.c: Likewise.
20158 * login/programs/pt_chown.c: Likewise.
20159 * malloc/memusage.sh: Likewise.
20160 * malloc/memusagestat.c: Likewise.
20161 * malloc/mtrace.pl: Likewise.
20162 * nscd/nscd.c: Likewise.
20163 * nss/getent.c: Likewise.
20164 * nss/makedb.c: Likewise.
20165 * posix/getconf.c: Likewise.
20166
18ea052c
SP
201672012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20168
20169 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20170 numbers.
20171
9c89fca6
MF
201722012-12-30 Mike Frysinger <vapier@gentoo.org>
20173
20174 * math/bits/mathcalls.h (modf): Use __nonnull.
20175
085ec079
SP
201762012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20177
20178 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20179 (split): Use macro CN instead of the bare value.
20180 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20181 could be used.
20182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20183 instead of the bare value.
20184 (power1): Likewise.
20185
6d9f97e1
SP
201862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20187
d63f73be
SP
20188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20189 __ATAN_TWOM.
20190 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20191
6d9f97e1
SP
20192 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20193 their values.
20194 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20195 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20196 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20197 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20198
4c4febf5
AJ
201992012-12-28 Andreas Jaeger <aj@suse.de>
20200
af5843ef
AJ
20201 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20202 values are from Linux 3.7.
20203
4c4febf5
AJ
20204 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20205 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20206
99136f82
SP
202072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20208
2f216c3c 20209 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20210 TRUE case.
20211
99136f82
SP
20212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20213 (norm): Likewise.
20214 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20215 variables with preprocessor constants.
20216 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20217 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20219
7fffbdff
BH
202202012-12-27 Bruno Haible <bruno@clisp.org>
20221
20222 [BZ #14317]
20223 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20224 only if needed.
20225
b76eb5f0
SP
202262012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20227
31a7fe5c
SP
20228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20229 and use variable directly.
20230 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20231
b76eb5f0
SP
20232 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20233 MPONE.
20234 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20235 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20236 variable MPONE.
20237 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20239 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20240 include directive. Remove local variable MPONE.
20241 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20242 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20243 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20244
2c8bfe7d
DM
202452012-12-25 David S. Miller <davem@davemloft.net>
20246
20247 * version.h (RELEASE): Set to "development".
20248 (VERSION): Set to "2.17.90".
20249 * NEWS: Add 2.18 section.
20250
147d03b0
DM
202512012-12-21 David S. Miller <davem@davemloft.net>
20252
20253 * po/hr.po: Update from translation team.
20254
a8ebb2b9
AK
202552012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20256
20257 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20258
95b4f1b6
SE
202592012-12-19 Steve Ellcey <sellcey@mips.com>
20260
b2d94007 20261 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20262
cedb2a90
MS
202632012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20264
20265 * manual/contrib.texi (Contributors): Spelling correction.
20266
bbf527d6
DM
202672012-12-15 David S. Miller <davem@davemloft.net>
20268
20269 * po/ru.po: Update from translation team.
20270
bc38c906
DM
202712012-12-13 David S. Miller <davem@davemloft.net>
20272
85429b1a
DM
20273 * NEWS: Mention IFUNC testsuite enhancements.
20274
d283e353
DM
20275 * po/pl.po: Update from translation team.
20276 * po/bg.po: Likewise.
20277
bc38c906
DM
20278 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20279 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20280
a181b0d7
DM
202812012-12-11 David S. Miller <davem@davemloft.net>
20282
4641d57e
DM
20283 * po/sv.po: Update from translation team.
20284
f7bc6495
DM
20285 * po/vi.po: Update from translation team.
20286
6fc9048f
DM
20287 * po/cs.po: Update from translation team.
20288
a181b0d7
DM
20289 * po/de.po: Update from translation team.
20290 * po/eo.po: Likewise.
20291 * po/nl.po: Likewise.
20292
f70bfe80
SP
202932012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20294
3c8b4190
SP
20295 [BZ #14246]
20296 * manual/argp.texi (Argp Helper Functions): Move node to follow
20297 Argp Parsing State.
20298
f70bfe80
SP
20299 [BZ #14872]
20300 * manual/conf.texi (Limits on File System Capacity): Mention if
20301 terminating null is included in the max size.
20302
188f0adf
AJ
203032012-12-10 Andreas Jaeger <aj@suse.de>
20304
20305 * po/cs.po: Update from translation team.
20306
56e7d3ad
SP
203072012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20308
20309 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20310 void pointer and cast to uintptr_t.
20311 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20312 path.
20313 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20314 * sysdeps/s390/s390-64/memset.S: Likewise.
20315
76f2d2ea 203162012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20317
20318 [BZ #14833]
20319 * menual/message.texi (Message Translation): Fix typos.
20320 (Helper programs for gettext): Likewise.
20321
67cbf9a2
AS
203222012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20323
20324 [BZ #14898]
20325 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20326 Change to -1.
20327
682d0e9a
DM
203282012-12-07 David S. Miller <davem@davemloft.net>
20329
20330 * po/libc.pot: Update.
20331
573cd484
RH
203322012-12-07 Richard Henderson <rth@redhat.com>
20333
7e9da188 20334 [BZ #10114]
573cd484
RH
20335 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20336 normal/normal case to before the switch.
20337 (_FP_DIV): Likewise.
20338
e933a943
MF
203392012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20340 Mike Frysinger <vapier@gentoo.org>
20341
20342 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20343 check for __NR_fadvise64_64.
20344
82123268
CM
203452012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20346
20347 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20348 0, not just to plain "0" as a statement.
20349 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20350 with cw.
20351
d9814526
JM
203522012-12-06 Joseph Myers <joseph@codesourcery.com>
20353
20354 * NEWS: Use sourceware.org in Bugzilla URL.
20355
7728c574
SP
203562012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20357
f16946dd
SP
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20359 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20360
5704bbcb
SP
20361 * stdio-common/tst-put-error.c (do_test): Add newline to the
20362 padded test to ensure flush.
20363
17aa0516
JL
203642012-12-05 Jeff Law <law@redhat.com>
20365
20366 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20367
363313b5
JM
203682012-12-05 Joseph Myers <joseph@codesourcery.com>
20369
effbd42a
JM
20370 * README: Don't refer to ports add-on as distributed separately.
20371 Mention AArch64 in list of systems supported in the ports add-on.
20372
87600365
JM
20373 * LICENSES: Add more non-FSF copyright and license notices.
20374
a0d7066a
JM
20375 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20376 ((unused)).
20377
66ca5a5b
JM
20378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20379
363313b5
JM
20380 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20381 10000 as width of padded output.
20382
b37984ad
JM
203832012-12-04 Joseph Myers <joseph@codesourcery.com>
20384
9003570a
JM
20385 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20386
b37984ad
JM
20387 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20388 variable LX with __attribute__ ((unused)).
20389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20390 Likewise.
20391 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20393 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20394 with __attribute__ ((unused)).
20395
c8df52ec
DM
203962012-12-04 David S. Miller <davem@abraco.davemloft.net>
20397
20398 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20399
b3b099af
JM
204002012-12-04 Joseph Myers <joseph@codesourcery.com>
20401
c33aa6e3
JM
20402 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20403 (CFLAGS-nldbl-acos.c): New variable.
20404 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20433 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20434 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20435 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20436 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20437 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20438 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20439 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20440 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20441 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20442 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20443 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20444 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20445 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20446 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20447 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20448 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20449 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20450 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20451 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20452 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20453 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20454 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20455 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20456 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20457 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20458 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20459 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20460 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20461 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20462 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20463 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20464 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20465 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20466 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20467 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20468 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20469 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20470 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20471 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20472 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20473 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20474 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20475 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20476 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20477 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20478 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20479 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20480 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20481 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20482 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20483 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20484 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20485 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20486 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20487 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20488 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20501
20f0018d
JM
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20503 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20504
b3b099af
JM
20505 [BZ #14914]
20506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20507 whole low double instead of just low 47 bits when splitting values
20508 into two parts.
20509
029264d1
AM
205102012-12-03 Allan McRae <allan@archlinux.org>
20511
20512 * manual/stdio.texi (Predefined Printf Handlers): Remove
20513 @hsep and @vsep usage.
20514
c9d6789e
MF
205152012-12-03 Mike Frysinger <vapier@gentoo.org>
20516
20517 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20518 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20519
4b7634a5
JL
205202012-12-03 Jeff Law <law@redhat.com>
20521
20522 * time/sys/time.h (settimeofday): Do not mark TV argument
20523 as __nonnull.
20524
eb6cbd24
MF
205252012-12-01 Mike Frysinger <vapier@gentoo.org>
20526
20527 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20528 when currently writing and seek to current position when not.
20529 * libio/Makefile (tests): Remove bug-fclose1.
20530 * libio/bug-fclose1.c: Delete.
20531
f638872a
JM
205322012-12-01 Joseph Myers <joseph@codesourcery.com>
20533
20534 * manual/arith.texi (feenableexcept): Fix typo.
20535 (fedisableexcept): Likewise.
20536
48085d14
RM
205372012-11-30 Roland McGrath <roland@hack.frob.com>
20538
20539 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20540 second, differently-typed declaration, rather than a cast.
20541
1a538b9f
SP
205422012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20543
20544 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20545 * include/rpc/svc.h: ... here.
20546
d07f2ff1 205472012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20548
20549 [BZ #13013]
20550 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20551 depending n and resplen2 to catch cases where answer
20552 equals answerp2.
20553
c93ec1f0
CD
205542012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20555
20556 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20557 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20558
37db69de
MF
205592012-11-29 Mike Frysinger <vapier@gentoo.org>
20560
20561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20562
e10c4e4f
RM
205632012-11-29 Roland McGrath <roland@hack.frob.com>
20564
20565 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20566
2af1b328
JL
205672012-11-28 Jeff Law <law@redhat.com>
20568
20569 [BZ #13761]
20570 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20571 dataset_temporary. Track alloca usage into alloca_used.
20572 If dataset is large allocate and release it via malloc/free.
20573
111db5b1
FW
205742012-06-04 Florian Weimer <fweimer@redhat.com>
20575
f06cc227 20576 [BZ #14197]
111db5b1
FW
20577 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20578
dd694abd
DM
205792012-11-28 David S. Miller <davem@davemloft.net>
20580
20581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20582
9984dd01
JM
205832012-11-28 Joseph Myers <joseph@codesourcery.com>
20584
20585 [BZ #14803]
20586 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20587 of pi/2 rounded to nearest to 64 bits.
20588 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20589 nearest to 64 bits.
20590 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20591 bits.
20592
14bc93a9
JL
205932012-11-28 Jeff Law <law@redhat.com>
20594 Martin Osvald <mosvald@redhat.com>
20595
20596 [BZ #14889]
20597 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20598 * sunrpc/svc.c: Include time.h.
20599 (__svc_accept_failed): New function.
20600 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20601 any reason other than EINTR, call __svc_accept_failed.
20602 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20603 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20604
e3c6aa3a
AS
206052012-11-28 Andreas Schwab <schwab@suse.de>
20606
20607 * scripts/abilist.awk: Also handle indirect functions in .opd
20608 section.
20609
1bead169
JM
206102012-11-28 Joseph Myers <joseph@codesourcery.com>
20611
20612 [BZ #13881]
20613 * sysdeps/x86/fpu/powl_helper.c: New file.
20614 * sysdeps/x86/fpu/Makefile: Likewise.
20615 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20616 (p3): New object.
20617 (__ieee754_powl): Use __powl_helper for finite arguments except
20618 integer exponents below 8.
20619 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20620 (p3): New object.
20621 (__ieee754_powl): Use __powl_helper for finite arguments except
20622 integer exponents below 8.
20623 * math/libm-test.inc (pow_test): Add more tests and enable some
20624 previously disabled tests.
20625 * sysdeps/i386/fpu/libm-test-ulps: Update.
20626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20627
0817d63d
SP
206282012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20629 Carlos O'Donell <carlos_odonell@mentor.com>
20630
20631 * nss/makedb.c (is_prime): Assert that input is odd and greater
20632 than 4. Note that fact in a comment too.
20633 (next_prime): Add 4 to input.
20634
de2fd463
SP
206352012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20636
20637 [BZ #11741]
20638 * libio/Makefile (tests): Add test case tst-fwrite-error.
20639 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20640 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20641 * libio/tst-fwrite-error.c: New test case.
20642
c515fb51
L
206432012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20644
20645 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20646 before casting to void *.
20647 * include/libc-internal.h (__pointer_type): New macro.
20648 (__integer_if_pointer_type_sub): Likewise.
20649 (__integer_if_pointer_type): Likewise.
20650 (cast_to_integer): Likewise.
20651 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20652 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20653 before casting to atomic64_t.
20654 (atomic_exchange_acq): Likewise.
20655 (__arch_exchange_and_add_body): Likewise.
20656 (__arch_add_body): Likewise.
20657 (atomic_add_negative): Likewise.
20658 (atomic_add_zero): Likewise.
20659
4cf77aa9
JM
206602012-11-26 Joseph Myers <joseph@codesourcery.com>
20661
20662 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20663 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20664 (add_fdes): Likewise.
20665 (linear_search_fdes): Likewise.
20666 (binary_search_unencoded_fdes): Likewise.
20667
d260b3b4
AS
206682012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20669
20670 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20671
67060746
AC
206722012-11-24 Adam Conrad <adconrad@0c3.net>
20673
20674 * configure.in: Autodetect C++ header directories.
20675 * configure: Regenerated.
20676
800938a1
MF
206772012-11-23 Mike Frysinger <vapier@gentoo.org>
20678
20679 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20680
4e6e34e6
AS
206812012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20682
20683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20684
7c7feb47
JM
206852012-11-22 Joseph Myers <joseph@codesourcery.com>
20686
7184dcdf
JM
20687 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20688 LDBL_MANT_DIG == 106]: Disable some tests.
20689 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20690 Likewise.
20691 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20692 Likewise.
20693
0a42601f
JM
20694 [BZ #14871]
20695 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20696 input for small inputs. Return +/- pi/2 for large inputs.
20697 * math/libm-test.inc (atan_test): Add more tests.
20698
79c9b9fe
JM
20699 * sysdeps/generic/unwind-dw2-fde-glibc.c
20700 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20701 __attribute__ ((unused)).
20702
c60d3bf2
JM
20703 [BZ #14645]
20704 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20705 x * y if x and y are nonzero and z is zero.
20706
ef1e0867
JM
20707 [BZ #14811]
20708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20709 nonzero exponents with absolute value below 0x1p-117 to +/-
20710 0x1p-117.
20711
1468ded3
JM
20712 [BZ #14869]
20713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20714 up arguments below 2**-450, not just those below 2**-500.
20715 * math/libm-test.inc (hypot_test): Add another test.
20716
8e27e3cc
JM
20717 [BZ #14868]
20718 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20719 Return a+b for ratio over 2**120, not 2**60.
20720 * math/libm-test.inc (hypot_test): Add another test.
20721
c9c0279b
JM
20722 * math/libm-test.inc (clog_test): Use
20723 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20724 (clog10_test): Likewise.
20725
7c7feb47
JM
20726 [BZ #6778]
20727 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20728
fff1530e
AS
207292012-11-22 Andreas Schwab <schwab@suse.de>
20730
20731 * sysdeps/i386/fpu/libm-test-ulps: Update.
20732
94558d30
PT
207332012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20734
20735 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20736 printf output with newline.
20737
7e1be741
L
207382012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20739
6bfea974
L
20740 [BZ #14865]
20741 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20742 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20743 -z nodlopen, -z initfirst and -z execstack support.
20744 * configure: Regenerated.
20745
7e1be741
L
20746 * elf/elf.h (DF_1_NODIRECT): New macro.
20747 (DF_1_IGNMULDEF): Likewise.
20748 (DF_1_NOKSYMS): Likewise.
20749 (DF_1_NOHDR): Likewise.
20750 (DF_1_EDITED): Likewise.
20751 (DF_1_NORELOC): Likewise.
20752 (DF_1_SYMINTPOSE): Likewise.
20753 (DF_1_GLOBAUDIT): Likewise.
20754 (DF_1_SINGLETON): Likewise.
20755 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20756 DT_1_SUPPORTED_MASK bits.
20757 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20758
105ce2ce
CD
207592012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20760
20761 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20762
123be9de
TS
207632012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20764
d072f3f7
TS
20765 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20766 macro.
20767
123be9de
TS
20768 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20769 (sendmmsg): Move declarations...
20770 * socket/sys/socket.h: ... here.
20771 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20772 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20773 include it from...
20774 * socket/recvmmsg.c: ... this new file.
20775 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20776 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20777 definition of __sendmmsg hidden.
20778 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20779 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20780 Move ENOSYS stub into and include it from...
20781 * socket/sendmmsg.c: ... this new file.
20782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20783 (sysdep_routines): Move recvmmsg and sendmmsg...
20784 * socket/Makefile (routines): ... here.
20785 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20786 (GLIBC_PRIVATE): Add __sendmmsg.
20787 * include/sys/socket.h (__sendmmsg): Add declarations.
20788 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20789 sendmmsg.
20790
cf9a5d18
JM
207912012-11-20 Joseph Myers <joseph@codesourcery.com>
20792
20793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20794 variable I1 with __attribute__ ((unused)).
20795 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20796
ecd4caf9
JM
207972012-11-19 Joseph Myers <joseph@codesourcery.com>
20798
be14d48f
JM
20799 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20800 DUMMY variables with __attribute__ ((unused)).
20801
ecd4caf9
JM
20802 * bits/byteswap.h: Include <bits/types.h>.
20803 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20804
986cab95
PT
208052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20806
20807 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20808 string_t. Do not manually set errno.
20809 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20810 length with __strnlen. Make sure to both set errno and return it on
20811 failure.
20812
6d33cc9d
DM
208132012-11-19 David S. Miller <davem@davemloft.net>
20814
20815 With help from Joseph Myers.
20816 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20817 very large arguments properly.
20818 * math/libm-test.inc (atan_test): New tests.
20819 (atan2_test): New tests.
20820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20822
ee663277
JM
208232012-11-19 Joseph Myers <joseph@codesourcery.com>
20824
877f2d8e
JM
20825 [BZ #14856]
20826 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20827 Define to 3.
20828
116fc08a
JM
20829 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20830 [POSIX] (EADDRNOTAVAIL): Likewise.
20831 [POSIX] (EAFNOSUPPORT): Likewise.
20832 [POSIX] (EALREADY): Likewise.
20833 [POSIX] (ECONNABORTED): Likewise.
20834 [POSIX] (ECONNREFUSED): Likewise.
20835 [POSIX] (ECONNRESET): Likewise.
20836 [POSIX] (EDESTADDRREQ): Likewise.
20837 [POSIX] (EDQUOT): Likewise.
20838 [POSIX] (EHOSTUNREACH): Likewise.
20839 [POSIX] (EIDRM): Likewise.
20840 [POSIX] (EISCONN): Likewise.
20841 [POSIX] (ELOOP): Likewise.
20842 [POSIX] (EMULTIHOP): Likewise.
20843 [POSIX] (ENETDOWN): Likewise.
20844 [POSIX] (ENETUNREACH): Likewise.
20845 [POSIX] (ENOBUFS): Likewise.
20846 [POSIX] (ENODATA): Likewise.
20847 [POSIX] (ENOLINK): Likewise.
20848 [POSIX] (ENOMSG): Likewise.
20849 [POSIX] (ENOPROTOOPT): Likewise.
20850 [POSIX] (ENOSR): Likewise.
20851 [POSIX] (ENOSTR): Likewise.
20852 [POSIX] (ENOTCONN): Likewise.
20853 [POSIX] (ENOTSOCK): Likewise.
20854 [POSIX] (EOPNOTSUPP): Likewise.
20855 [POSIX] (EOVERFLOW): Likewise.
20856 [POSIX] (EPROTO): Likewise.
20857 [POSIX] (EPROTONOSUPPORT): Likewise.
20858 [POSIX] (EPROTOTYPE): Likewise.
20859 [POSIX] (ESTALE): Likewise.
20860 [POSIX] (ETIME): Likewise.
20861 [POSIX] (ETXTBSY): Likewise.
20862 [POSIX] (EWOULDBLOCK): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20864 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20865 [POSIX] (SEEK_CUR): Likewise.
20866 [POSIX] (SEEK_END): Likewise.
20867 [POSIX || UNIX98] (mode_t): Do not require.
20868 [POSIX] (off_t): Likewise.
20869 [POSIX] (pid_t): Likewise.
20870 [POSIX] (sys/stat.h): Do not allow header.
20871 [POSIX] (unistd.h): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20873 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20875 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20876 require.
20877 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20878 sigevent): Specify elements.
20879 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20880 entry.
20881 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20882 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20883
a483863f
JM
20884 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20885 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20886 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20887 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20888 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20889 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20890 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20891 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20892 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20893 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20894 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20895 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20896 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20897 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20898 Likewise.
20899 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20900 Likewise.
20901 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20902 Likewise.
20903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20904 Likewise.
20905 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20906 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20907 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20908 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20909 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20910 Specify lower bound on value.
20911 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20912 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20913 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20914 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20915 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20916 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20917 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20918 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20919 value.
20920 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20921 as optional.
20922 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20923 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20924 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20925 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20926 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20927 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20928 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20929 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20930 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20931 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20932 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20933 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20934 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20935 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20936 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20937 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20938 entry.
20939 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20940 optional.
20941 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20942 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20943 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20944 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20945 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20946 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20947 Likewise.
20948 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20950 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20952 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20953 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20954 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20955 as optional.
20956 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20957 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20959 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20960 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20961 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20962 specify as optional.
20963 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20965 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20966 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20967 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20968 [XPG3] (NL_LANGMAX): Likewise.
20969 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20970 [POSIX || XPG3] (NL_NMAX): Likewise.
20971 [POSIX || XPG3] (NL_SETMAX): Likewise.
20972 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20973 [XPG3] (NZERO): Likewise.
20974 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20975 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20976 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20977 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20978 (REG_ERANGE): Expect.
20979 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20980 optional-constant.
20981 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20982 Use (void) in prototype.
20983 [POSIX] (*_t): Allow.
20984 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20985 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20986 (WRDE_BADVAL): Expect.
20987
5ba924e3
JM
20988 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20989 expect.
20990 [XPG3 || XPG4] (O_RSYNC): Likewise.
20991 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20992 Likewise.
20993 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20994 [XPG3 || XPG4] (sigqueue): Likewise.
20995 [XPG3 || XPG4] (sigtimedwait): Likewise.
20996 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20997 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20998 [XPG3 || XPG4] (vsnprintf): Likewise.
20999 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21000 Likewise.
21001 [XPG3 || XPG4] (blksize_t): Likewise.
21002 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21003 Likewise.
21004 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21005 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21006 [XPG3 || XPG4] (struct itimerspec): Likewise.
21007 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21008 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21009 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21010 [XPG3 || XPG4] (clockid_t): Likewise.
21011 [XPG3 || XPG4] (timer_t): Likewise.
21012 [XPG3 || XPG4] (clock_getres): Likewise.
21013 [XPG3 || XPG4] (clock_gettime): Likewise.
21014 [XPG3 || XPG4] (clock_settime): Likewise.
21015 [XPG3 || XPG4] (nanosleep): Likewise.
21016 [XPG3 || XPG4] (timer_create): Likewise.
21017 [XPG3 || XPG4] (timer_delete): Likewise.
21018 [XPG3 || XPG4] (timer_gettime): Likewise.
21019 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21020 [XPG3 || XPG4] (timer_settime): Likewise.
21021 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21022 [XPG3 || XPG4] (getlogin_r): Likewise.
21023 [XPG3 || XPG4] (pread): Likewise.
21024 [XPG3 || XPG4] (pthread_atfork): Likewise.
21025 [XPG3 || XPG4] (pwrite): Likewise.
21026
ee663277
JM
21027 [BZ #14835]
21028 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21029 <bits/siginfo.h>.
21030
942caa16
PT
210312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21032
e19af380
PT
21033 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21034 finalizing MALLSTREAM.
21035
942caa16
PT
21036 * sysdeps/mach/hurd/syncfs.c: New file.
21037
cfde9b46
SP
210382012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21039
21040 [BZ #14719]
21041 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21042 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21044 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21045 (_nss_dns_gethostbyname4_r): Likewise.
21046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21047 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21048
f6da27e5
PH
210492012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21050
21051 [BZ #13763]
21052 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21053
6665d4a2
SM
210542012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21055
1f51ee92
SM
21056 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21057 * elf/cache.c (print_entry): Print ",AArch64" for
21058 FLAG_AARCH64_LIB64
21059
6665d4a2
SM
21060 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21061 * elf/cache.c (print_entry): Print ",hard-float" for
21062 FLAG_ARM_LIBHF.
21063
05b227bd
DM
210642012-11-18 David S. Miller <davem@davemloft.net>
21065
21066 With help from Joseph Myers.
21067 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21068 cutoff to 2**-13.
21069 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21070 cutoff to 2**-25.
21071 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21072 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21073 small.
21074 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21075 * math/libm-test.inc (y0_test): New tests.
21076 (y1_test): New tests.
21077 * sysdeps/i386/fpu/libm-test-ulps: Update.
21078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21080
786b0b67
AS
210812012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21082
21083 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21084 64-bit targets.
21085 * configure: Regenerated.
21086
8e18b86d
DM
210872012-11-17 David S. Miller <davem@davemloft.net>
21088
21089 [BZ #14811]
21090 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21091 nonzero exponents with absolute value below 0x1p-128 to +/-
21092 0x1p-128.
21093
531f1ae0
JM
210942012-11-17 Joseph Myers <joseph@codesourcery.com>
21095
12df29e2
JM
21096 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21097
150dc1a0
JM
21098 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21099
531f1ae0
JM
21100 * posix/getconf-speclist.c: New file.
21101 * posix/posix-envs.def: Likewise.
21102 * posix/confstr.c (START_ENV_GROUP): New macro.
21103 (END_ENV_GROUP): Likewise.
21104 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21105 (KNOWN_PRESENT_ENV_STRING): Likewise.
21106 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21107 (UNKNOWN_ENVIRONMENT): Likewise.
21108 (confstr): Include posix-envs.def instead of handling
21109 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21110 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21111 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21112 (END_ENV_GROUP): Likewise.
21113 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21114 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21115 (UNKNOWN_ENVIRONMENT): Likewise.
21116 (__sysconf): Include posix-envs.def instead of handling associated
21117 cases directly here.
21118 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21119 preprocessing getconf-speclist.c rather than running getconf or
21120 generating empty file.
21121
a93f9cbc
PT
211222012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21123
21124 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21125
d64d9f87
AL
211262012-11-16 Andrej Lajovic <natrij@gmail.com>
21127
21128 [BZ #14672]
21129 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21130
447885eb
DM
211312012-11-16 David S. Miller <davem@davemloft.net>
21132
21133 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21134 smaller than LDBL_EPSILON/2.0L, just return xm1.
21135
bcbf9830
L
211362012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21137
21138 * elf/tst-array1.c (init): Set constructor priority to 1000.
21139 (fini): Set destructor priority to 1000.
21140 * elf/tst-array2dep.c: Likewise.
21141
2b766585
SP
211422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21143
21144 [BZ #11741]
21145 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21146 (_IO_new_file_xsputn): Also return EOF if none of the input
21147 data was written when overflow failed.
21148 * libio/iopadn.c (_IO_padn): Likewise.
21149 * libio/iowpadn.c (_IO_wpadn): Likewise.
21150 * stdio-common/tst-put-error.c: Add copyright notice.
21151 (do_test): Add case for printing padded string.
21152 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21153 _IO_padn returned error.
21154 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21155 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21156 return EOF.
21157
b1848fde
SP
211582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21159
21160 * libio/libioP.h: Add comment note that the references to C++
21161 bits are now obsolete.
21162
2fd89785
MS
211632012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21164
21165 * math/libm-test.inc (check_complex): Use asprintf.
21166
e3ea5409
JM
211672012-11-14 Joseph Myers <joseph@codesourcery.com>
21168
21169 * debug/pcprofiledump.c (print_version): Update copyright year.
21170 * malloc/memusagestat.c (print_version): Likewise.
21171
2e64d265
L
211722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21173
21174 [BZ #14831]
21175 * elf/Makefile (tests): Add tst-audit8.
21176 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21177 ($(objpfx)tst-audit8.out): New target.
21178 (tst-audit8-ENV): New variable.
21179 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21180 audit if l_reloc_result is NULL.
21181 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21182 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21183 * elf/tst-audit8.c: New file.
21184
c485e4d2
MS
211852012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21186
21187 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21188 * misc/Makefile (CFLAGS-select.c): Define.
21189 * posix/Makefile (CFLAGS-pause.c): Define.
21190
3a0d900a
DM
211912012-11-13 David S. Miller <davem@davemloft.net>
21192
21193 * crypt/Makefile: Move test targets after toplevel Rules
21194 inclusion. Grab any necessary sysdep routines when linking.
21195 * crypt/md5.c (md5_process_block): Remove define, we will always
21196 name it __md5_process_block.
21197 (md5_finish_ctx): Update md5_process_block call.
21198 (md5_stream): Likewise.
21199 (md5_process_bytes): Likewise.
21200 (md5_process_block): Rename to __md5_process_block and move to ...
21201 * crypt/md5-block.c: ... here.
21202 * crypt/sha256.c (sha256_process_block): Move to ...
21203 * crypt/sha256-block.c: ... here.
21204 * crypt/sha512.c (sha512_process_block): Move to ...
21205 * crypt/sha512-block.c: ... here.
21206 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21207 path.
21208 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21209 * sysdeps/sparc/sparc64/multiarch/Makefile
21210 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21211 crypt subdir.
21212 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21213 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21214 multiarch changes.
21215 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21216 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21217 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21218 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21219 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21220 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21221 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21222 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21223 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21224 file.
21225 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21226 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21227 file.
21228 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21229
8ca89318
JM
212302012-11-13 Joseph Myers <joseph@codesourcery.com>
21231
e27d476a
JM
21232 * timezone/tzselect.ksh: Update from tzcode git revision
21233 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21234 * timezone/zdump.c: Likewise.
21235 * timezone/zic.c: Likewise.
21236 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21237 in TZVERSION setting, not $(PKGVERSION).
21238 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21239 REPORT_BUGS_TO settings.
21240
8ca89318
JM
21241 [BZ #14838]
21242 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21243 macro.
21244
47594329
MS
212452012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21246
21247 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21248 detection to immediately after _FP_ROUND().
21249 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21250 bits are 0.
21251
640ac3f1
DM
212522012-11-11 David S. Miller <davem@davemloft.net>
21253
21254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21255 inttypes.h
21256 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21257 __close rather than their public counterparts.
21258
3d2577bb
JM
212592012-11-10 Joseph Myers <joseph@codesourcery.com>
21260
21261 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21262 file.
21263 [UNIX98] (sem_timedwait): Do not expect.
21264 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21265 [XPG4 || UNIX98] (sockatmark): Do not expect.
21266 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21267 (clock_getcpuclockid): Do not expect.
21268 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21269 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21270 Do not expect.
21271 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21272 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21273 [UNIX98] (vwscanf): Likewise.
21274 [UNIX98] (vswscanf): Likewise.
21275
fb1ae1ee
JM
212762012-11-09 Joseph Myers <joseph@codesourcery.com>
21277
9ec6f8bd
JM
21278 * timezone/version.h: Remove file.
21279 * timezone/README: Do not refer to version.h.
21280 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21281 $(objpfx)version.h.
21282 ($(objpfx)zdump.o): Likewise.
c3f81911 21283 ($(objpfx)version.h): New target.
9ec6f8bd 21284
0aa8f8a1
JM
21285 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21286 2012i.
21287 * timezone/README: Don't mention modification to tzselect.ksh.
21288 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21289 work on unmodified tzselect.ksh. Substitute version numbers in
21290 tzselect.ksh.
21291
4e87147f
JM
21292 * Makefile (format-me): Remove.
21293 (INSTALL): Adjust indentation. Use commands directly instead of
21294 using $(format-me).
21295
8b748aed
JM
21296 * aclocal.m4 (ACX_PKGVERSION): New macro.
21297 (ACX_BUGURL): Likewise.
21298 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21299 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21300 (REPORT_BUGS_TO): Likewise.
21301 * configure: Regenerated.
21302 * config.h.in (PKGVERSION): New macro.
21303 (REPORT_BUGS_TO): Likewise.
21304 * config.make.in (PKGVERSION): New variable.
21305 (PKGVERSION_TEXI): Likewise.
21306 (REPORT_BUGS_TO): Likewise.
21307 (REPORT_BUGS_TEXI): Likewise.
21308 * Makefile (format-me): Use -I$(common-objpfx)manual.
21309 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21310 ($(common-objpfx)manual/%): New target.
21311 (manual/%): Remove target.
21312 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21313 (print_version): Use PKGVERSION.
21314 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21315 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21316 and REPORT_BUGS_TO.
21317 ($(objpfx)xtrace): Likewise.
21318 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21319 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21320 (print_version): Use PKGVERSION.
21321 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21322 (do_version): Use PKGVERSION.
21323 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21324 REPORT_BUGS_TO.
21325 (common-ldd-rewrite): Likewise.
21326 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21327 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21328 (print_version): Use PKGVERSION.
21329 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21330 * elf/pldd.c (argp_program_bug_address): Remove variable.
21331 (more_help): New function.
21332 (argp): Use more_help.
21333 (print_version): Use PKGVERSION.
21334 * elf/sln.c (main): Use PKGVERSION.
21335 (usage): Use REPORT_BUGS_TO.
21336 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21337 (top level): Use PKGVERSION.
21338 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21339 (print_version): Use PKGVERSION.
21340 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21341 (print_version): Use PKGVERSION.
21342 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21343 (print_version): Use PKGVERSION.
21344 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21345 (print_version): Use PKGVERSION.
21346 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21347 (print_version): Use PKGVERSION.
21348 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21349 (print_version): Use PKGVERSION.
21350 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21351 and BUGURL.
21352 ($(objpfx)memusage): Likewise.
21353 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21354 (do_version): Use PKGVERSION.
21355 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21356 (print_version): Use PKGVERSION.
21357 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21358 ($PKGVERSION): New variable.
21359 ($REPORT_BUGS_TO): Likewise.
21360 (usage): Use $REPORT_BUGS_TO.
21361 (top level): Use $PKGVERSION.
21362 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21363 ($(objpfx)pkgvers.texi): New rule.
21364 ($(objpfx)stamp-pkgvers): Likewise.
21365 * manual/install.texi: Include pkgvers.texi.
21366 (--with-pkgversion): Document new configure option.
21367 (--with-bugurl): Likewise.
21368 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21369 than necessarily for this particular distribution. Use
21370 REPORT_BUGS_TO for where to report bugs.
21371 * INSTALL: Regenerated.
21372 * manual/libc.texinfo: Include pkgvers.texi.
21373 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21374 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21375 (print_version): Use PKGVERSION.
21376 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21377 (print_version): Use PKGVERSION.
21378 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21379 (print_version): Use PKGVERSION.
21380 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21381 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21382 macro.
21383 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21384 (print_version): Use PKGVERSION.
21385 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21386 (print_version): Use PKGVERSION.
21387 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21388 and PKGVERSION.
21389
92e4b6a9
JM
21390 * timezone/checktab.awk: Update from tzcode 2012i.
21391 * timezone/ialloc.c: Likewise.
21392 * timezone/private.h: Likewise.
21393 * timezone/scheck.c: Likewise.
21394 * timezone/tzfile.h: Likewise.
21395 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21396 (TZVERSION): Hardcode tzcode version number.
21397 * timezone/zdump.c: Update from tzcode 2012i.
21398 * timezone/zic.c: Likewise.
21399 * timezone/version.h: New file.
21400 * timezone/README: Describe version.h. Update upstream location.
21401
9bde902c
JM
21402 [BZ #14824]
21403 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21404 (mktemp): Enable declaration.
21405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21409 Likewise.
21410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21411 Likewise.
21412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21413 Likewise.
21414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21415 Likewise.
21416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21417 Likewise.
21418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21419 Likewise.
21420
fb1ae1ee
JM
21421 [BZ #14821]
21422 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21423 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21424 for copies of such integer values.
21425 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21426 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21427
2c1adbcb
AJ
214282012-11-09 Andreas Jaeger <aj@suse.de>
21429
21430 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21431 definitions and declarations that are provided by
21432 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21433
d0f8457e
AK
214342012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21435
3a235abb 21436 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21437 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21438 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21439 definition.
21440
57241e26
MS
214412012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21442
21443 * elf/elf.h: Update comment before AArch64 relocations.
21444
60e8270d
DM
214452012-11-07 David S. Miller <davem@davemloft.net>
21446
21447 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21448 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21449 (__start_context): Declare.
21450 (__makecontext_ret): Delete.
21451 (__makecontext): Hook up __start_context instead of
21452 __makecontext_ret.
21453 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21454 (sysdep_routines): Add __start_context when in stdlib.
21455
0fbb0fbc
JM
214562012-11-07 Joseph Myers <joseph@codesourcery.com>
21457
21458 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21459 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21460 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21461 hardcoded "nm".
21462 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21463 (READELF): New variable. Use it instead of hardcoded "readelf".
21464
eb48db7e
L
214652012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21466
21467 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21468 * sysdeps/x86/Makefile: Here.
21469 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21470 * sysdeps/x86/tst-xmmymm.sh: This.
21471
05bcf62a
JM
214722012-11-07 Joseph Myers <joseph@codesourcery.com>
21473
c4b6cf53
JM
21474 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21475 expectations.
21476 [UNIX98] (pthread_barrier_t): Do not expect.
21477 [UNIX98] (pthread_barrierattr_t): Likewise.
21478 [UNIX98] (pthread_spinlock_t): Likewise.
21479 [UNIX98] (pthread_barrier_destroy): Likewise.
21480 [UNIX98] (pthread_barrier_init): Likewise.
21481 [UNIX98] (pthread_barrier_wait): Likewise.
21482 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21483 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21484 [UNIX98] (pthread_barrierattr_init): Likewise.
21485 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21486 [UNIX98] (pthread_getcpuclockid): Likewise.
21487 [UNIX98] (pthread_mutex_timedlock): Likewise.
21488 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21489 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21490 [UNIX98] (pthread_sigmask): Likewise.
21491 [UNIX98] (pthread_spin_destroy): Likewise.
21492 [UNIX98] (pthread_spin_init): Likewise.
21493 [UNIX98] (pthread_spin_lock): Likewise.
21494 [UNIX98] (pthread_spin_trylock): Likewise.
21495 [UNIX98] (pthread_spin_unlock): Likewise.
21496 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21497 Do not expect.
21498 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21500 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21501 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21502 [XPG3 || XPG4] (pthread_key_t): Likewise.
21503 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21504 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21505 [XPG3 || XPG4] (pthread_once_t): Likewise.
21506 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21507 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21509 [XPG3 || XPG4] (pthread_t): Likewise.
21510
cbe6e120
JM
21511 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21512 not expect.
21513 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21514
1b126443
JM
21515 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21516 Change function return type to int.
21517
b961a573
JM
21518 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21519 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21520 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21521 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21522 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21523 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21524 [!POSIX] (posix_madvise): Likewise.
21525 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21526 && !UNIX98].
21527 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21528 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21529 (mode_t): Likewise.
21530 (posix_mem_offset): Likewise.
21531 (posix_typed_mem_get_info): Likewise.
21532 (posix_typed_mem_open): Likewise.
21533
9e188909
JM
21534 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21535 Change condition to [XOPEN2K8].
21536
05bcf62a
JM
21537 * conform/conformtest.pl: Preprocess allow-header data with -x c
21538 instead of from stdin.
21539 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21540 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21541 [C99-based standards] (cerfc): Likewise.
21542 [C99-based standards] (cexp2): Likewise.
21543 [C99-based standards] (cexpm1): Likewise.
21544 [C99-based standards] (clog10): Likewise.
21545 [C99-based standards] (clog1p): Likewise.
21546 [C99-based standards] (clog2): Likewise.
21547 [C99-based standards] (clgamma): Likewise.
21548 [C99-based standards] (ctgamma): Likewise.
21549 [C99-based standards] (cerff): Likewise.
21550 [C99-based standards] (cerfcf): Likewise.
21551 [C99-based standards] (cexp2f): Likewise.
21552 [C99-based standards] (cexpm1f): Likewise.
21553 [C99-based standards] (clog10f): Likewise.
21554 [C99-based standards] (clog1pf): Likewise.
21555 [C99-based standards] (clog2f): Likewise.
21556 [C99-based standards] (clgammaf): Likewise.
21557 [C99-based standards] (ctgammaf): Likewise.
21558 [C99-based standards] (cerfl): Likewise.
21559 [C99-based standards] (cerfcl): Likewise.
21560 [C99-based standards] (cexp2l): Likewise.
21561 [C99-based standards] (cexpm1l): Likewise.
21562 [C99-based standards] (clog10l): Likewise.
21563 [C99-based standards] (clog1pl): Likewise.
21564 [C99-based standards] (clog2l): Likewise.
21565 [C99-based standards] (clgammal): Likewise.
21566 [C99-based standards] (ctgammal): Likewise.
21567 * conform/data/inttypes.h-data [C99-based standards]: Include
21568 stdint.h-data. Remove all expectations for stdint.h contents.
21569 [C99-based standards] (PRI*): Do not allow.
21570 [C99-based standards] (SCN*): Likewise.
21571 [C99-based standards] (*_t): Likewise.
21572 [C99-based-standards] (PRId8): Expect macro.
21573 [C99-based-standards] (PRIi8): Likewise.
21574 [C99-based-standards] (PRIo8): Likewise.
21575 [C99-based-standards] (PRIu8): Likewise.
21576 [C99-based-standards] (PRIx8): Likewise.
21577 [C99-based-standards] (PRIX8): Likewise.
21578 [C99-based-standards] (SCNd8): Likewise.
21579 [C99-based-standards] (SCNi8): Likewise.
21580 [C99-based-standards] (SCNo8): Likewise.
21581 [C99-based-standards] (SCNu8): Likewise.
21582 [C99-based-standards] (SCNx8): Likewise.
21583 [C99-based-standards] (PRIdLEAST8): Likewise.
21584 [C99-based-standards] (PRIiLEAST8): Likewise.
21585 [C99-based-standards] (PRIoLEAST8): Likewise.
21586 [C99-based-standards] (PRIuLEAST8): Likewise.
21587 [C99-based-standards] (PRIxLEAST8): Likewise.
21588 [C99-based-standards] (PRIXLEAST8): Likewise.
21589 [C99-based-standards] (SCNdLEAST8): Likewise.
21590 [C99-based-standards] (SCNiLEAST8): Likewise.
21591 [C99-based-standards] (SCNoLEAST8): Likewise.
21592 [C99-based-standards] (SCNuLEAST8): Likewise.
21593 [C99-based-standards] (SCNxLEAST8): Likewise.
21594 [C99-based-standards] (PRIdFAST8): Likewise.
21595 [C99-based-standards] (PRIiFAST8): Likewise.
21596 [C99-based-standards] (PRIoFAST8): Likewise.
21597 [C99-based-standards] (PRIuFAST8): Likewise.
21598 [C99-based-standards] (PRIxFAST8): Likewise.
21599 [C99-based-standards] (PRIXFAST8): Likewise.
21600 [C99-based-standards] (SCNdFAST8): Likewise.
21601 [C99-based-standards] (SCNiFAST8): Likewise.
21602 [C99-based-standards] (SCNoFAST8): Likewise.
21603 [C99-based-standards] (SCNuFAST8): Likewise.
21604 [C99-based-standards] (SCNxFAST8): Likewise.
21605 [C99-based-standards] (PRId16): Likewise.
21606 [C99-based-standards] (PRIi16): Likewise.
21607 [C99-based-standards] (PRIo16): Likewise.
21608 [C99-based-standards] (PRIu16): Likewise.
21609 [C99-based-standards] (PRIx16): Likewise.
21610 [C99-based-standards] (PRIX16): Likewise.
21611 [C99-based-standards] (SCNd16): Likewise.
21612 [C99-based-standards] (SCNi16): Likewise.
21613 [C99-based-standards] (SCNo16): Likewise.
21614 [C99-based-standards] (SCNu16): Likewise.
21615 [C99-based-standards] (SCNx16): Likewise.
21616 [C99-based-standards] (PRIdLEAST16): Likewise.
21617 [C99-based-standards] (PRIiLEAST16): Likewise.
21618 [C99-based-standards] (PRIoLEAST16): Likewise.
21619 [C99-based-standards] (PRIuLEAST16): Likewise.
21620 [C99-based-standards] (PRIxLEAST16): Likewise.
21621 [C99-based-standards] (PRIXLEAST16): Likewise.
21622 [C99-based-standards] (SCNdLEAST16): Likewise.
21623 [C99-based-standards] (SCNiLEAST16): Likewise.
21624 [C99-based-standards] (SCNoLEAST16): Likewise.
21625 [C99-based-standards] (SCNuLEAST16): Likewise.
21626 [C99-based-standards] (SCNxLEAST16): Likewise.
21627 [C99-based-standards] (PRIdFAST16): Likewise.
21628 [C99-based-standards] (PRIiFAST16): Likewise.
21629 [C99-based-standards] (PRIoFAST16): Likewise.
21630 [C99-based-standards] (PRIuFAST16): Likewise.
21631 [C99-based-standards] (PRIxFAST16): Likewise.
21632 [C99-based-standards] (PRIXFAST16): Likewise.
21633 [C99-based-standards] (SCNdFAST16): Likewise.
21634 [C99-based-standards] (SCNiFAST16): Likewise.
21635 [C99-based-standards] (SCNoFAST16): Likewise.
21636 [C99-based-standards] (SCNuFAST16): Likewise.
21637 [C99-based-standards] (SCNxFAST16): Likewise.
21638 [C99-based-standards] (PRId32): Likewise.
21639 [C99-based-standards] (PRIi32): Likewise.
21640 [C99-based-standards] (PRIo32): Likewise.
21641 [C99-based-standards] (PRIu32): Likewise.
21642 [C99-based-standards] (PRIx32): Likewise.
21643 [C99-based-standards] (PRIX32): Likewise.
21644 [C99-based-standards] (SCNd32): Likewise.
21645 [C99-based-standards] (SCNi32): Likewise.
21646 [C99-based-standards] (SCNo32): Likewise.
21647 [C99-based-standards] (SCNu32): Likewise.
21648 [C99-based-standards] (SCNx32): Likewise.
21649 [C99-based-standards] (PRIdLEAST32): Likewise.
21650 [C99-based-standards] (PRIiLEAST32): Likewise.
21651 [C99-based-standards] (PRIoLEAST32): Likewise.
21652 [C99-based-standards] (PRIuLEAST32): Likewise.
21653 [C99-based-standards] (PRIxLEAST32): Likewise.
21654 [C99-based-standards] (PRIXLEAST32): Likewise.
21655 [C99-based-standards] (SCNdLEAST32): Likewise.
21656 [C99-based-standards] (SCNiLEAST32): Likewise.
21657 [C99-based-standards] (SCNoLEAST32): Likewise.
21658 [C99-based-standards] (SCNuLEAST32): Likewise.
21659 [C99-based-standards] (SCNxLEAST32): Likewise.
21660 [C99-based-standards] (PRIdFAST32): Likewise.
21661 [C99-based-standards] (PRIiFAST32): Likewise.
21662 [C99-based-standards] (PRIoFAST32): Likewise.
21663 [C99-based-standards] (PRIuFAST32): Likewise.
21664 [C99-based-standards] (PRIxFAST32): Likewise.
21665 [C99-based-standards] (PRIXFAST32): Likewise.
21666 [C99-based-standards] (SCNdFAST32): Likewise.
21667 [C99-based-standards] (SCNiFAST32): Likewise.
21668 [C99-based-standards] (SCNoFAST32): Likewise.
21669 [C99-based-standards] (SCNuFAST32): Likewise.
21670 [C99-based-standards] (SCNxFAST32): Likewise.
21671 [C99-based-standards] (PRId64): Likewise.
21672 [C99-based-standards] (PRIi64): Likewise.
21673 [C99-based-standards] (PRIo64): Likewise.
21674 [C99-based-standards] (PRIu64): Likewise.
21675 [C99-based-standards] (PRIx64): Likewise.
21676 [C99-based-standards] (PRIX64): Likewise.
21677 [C99-based-standards] (SCNd64): Likewise.
21678 [C99-based-standards] (SCNi64): Likewise.
21679 [C99-based-standards] (SCNo64): Likewise.
21680 [C99-based-standards] (SCNu64): Likewise.
21681 [C99-based-standards] (SCNx64): Likewise.
21682 [C99-based-standards] (PRIdLEAST64): Likewise.
21683 [C99-based-standards] (PRIiLEAST64): Likewise.
21684 [C99-based-standards] (PRIoLEAST64): Likewise.
21685 [C99-based-standards] (PRIuLEAST64): Likewise.
21686 [C99-based-standards] (PRIxLEAST64): Likewise.
21687 [C99-based-standards] (PRIXLEAST64): Likewise.
21688 [C99-based-standards] (SCNdLEAST64): Likewise.
21689 [C99-based-standards] (SCNiLEAST64): Likewise.
21690 [C99-based-standards] (SCNoLEAST64): Likewise.
21691 [C99-based-standards] (SCNuLEAST64): Likewise.
21692 [C99-based-standards] (SCNxLEAST64): Likewise.
21693 [C99-based-standards] (PRIdFAST64): Likewise.
21694 [C99-based-standards] (PRIiFAST64): Likewise.
21695 [C99-based-standards] (PRIoFAST64): Likewise.
21696 [C99-based-standards] (PRIuFAST64): Likewise.
21697 [C99-based-standards] (PRIxFAST64): Likewise.
21698 [C99-based-standards] (PRIXFAST64): Likewise.
21699 [C99-based-standards] (SCNdFAST64): Likewise.
21700 [C99-based-standards] (SCNiFAST64): Likewise.
21701 [C99-based-standards] (SCNoFAST64): Likewise.
21702 [C99-based-standards] (SCNuFAST64): Likewise.
21703 [C99-based-standards] (SCNxFAST64): Likewise.
21704 [C99-based-standards] (PRIdMAX): Likewise.
21705 [C99-based-standards] (PRIiMAX): Likewise.
21706 [C99-based-standards] (PRIoMAX): Likewise.
21707 [C99-based-standards] (PRIuMAX): Likewise.
21708 [C99-based-standards] (PRIxMAX): Likewise.
21709 [C99-based-standards] (PRIXMAX): Likewise.
21710 [C99-based-standards] (SCNdMAX): Likewise.
21711 [C99-based-standards] (SCNiMAX): Likewise.
21712 [C99-based-standards] (SCNoMAX): Likewise.
21713 [C99-based-standards] (SCNuMAX): Likewise.
21714 [C99-based-standards] (SCNxMAX): Likewise.
21715 [C99-based-standards] (PRIdPTR): Likewise.
21716 [C99-based-standards] (PRIiPTR): Likewise.
21717 [C99-based-standards] (PRIoPTR): Likewise.
21718 [C99-based-standards] (PRIuPTR): Likewise.
21719 [C99-based-standards] (PRIxPTR): Likewise.
21720 [C99-based-standards] (PRIXPTR): Likewise.
21721 [C99-based-standards] (SCNdPTR): Likewise.
21722 [C99-based-standards] (SCNiPTR): Likewise.
21723 [C99-based-standards] (SCNoPTR): Likewise.
21724 [C99-based-standards] (SCNuPTR): Likewise.
21725 [C99-based-standards] (SCNxPTR): Likewise.
21726 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21727 allow.
21728 * conform/data/stdint.h-data: Update comments to clarify
21729 requirements.
21730 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21731 type.
21732 [C99-based standards] (INT8_MAX): Likewise.
21733 [C99-based standards] (INT16_MIN): Likewise.
21734 [C99-based standards] (INT16_MAX): Likewise.
21735 [C99-based standards] (INT32_MIN): Likewise.
21736 [C99-based standards] (INT32_MAX): Likewise.
21737 [C99-based standards] (INT64_MIN): Likewise.
21738 [C99-based standards] (INT64_MAX): Likewise.
21739 [C99-based standards] (UINT8_MAX): Likewise.
21740 [C99-based standards] (UINT16_MAX): Likewise.
21741 [C99-based standards] (UINT32_MAX): Likewise.
21742 [C99-based standards] (UINT64_MAX): Likewise.
21743 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21744 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21745 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21746 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21747 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21748 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21749 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21750 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21751 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21752 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21753 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21754 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21755 [C99-based standards] (INT_FAST8_MIN): Likewise.
21756 [C99-based standards] (INT_FAST8_MAX): Likewise.
21757 [C99-based standards] (INT_FAST16_MIN): Likewise.
21758 [C99-based standards] (INT_FAST16_MAX): Likewise.
21759 [C99-based standards] (INT_FAST32_MIN): Likewise.
21760 [C99-based standards] (INT_FAST32_MAX): Likewise.
21761 [C99-based standards] (INT_FAST64_MIN): Likewise.
21762 [C99-based standards] (INT_FAST64_MAX): Likewise.
21763 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21764 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21765 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21766 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21767 [C99-based standards] (INTPTR_MIN): Likewise.
21768 [C99-based standards] (INTPTR_MAX): Likewise.
21769 [C99-based standards] (UINTPTR_MAX): Likewise.
21770 [C99-based standards] (INTMAX_MIN): Likewise.
21771 [C99-based standards] (INTMAX_MAX): Likewise.
21772 [C99-based standards] (UINTMAX_MAX): Likewise.
21773 [C99-based standards] (PTRDIFF_MIN): Likewise.
21774 [C99-based standards] (PTRDIFF_MAX): Likewise.
21775 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21776 [C99-based standards] (SIZE_MAX): Likewise.
21777 [C99-based standards] (WCHAR_MAX): Likewise.
21778 [C99-based standards] (WINT_MAX): Likewise.
21779 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21780 constraint on value.
21781 [C99-based standards] (WCHAR_MIN): Likewise.
21782 [C99-based standards] (WINT_MIN): Likewise.
21783 [C99-based standards] (*_t): Allow.
21784 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21785 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21786 Include math.h-data and complex.h-data. Remove all expectations
21787 of math.h and complex.h contents.
21788 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21789 at end of line.
21790 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21791 (struct tm): Expect tag.
21792 [C99-based-standards] (wcstof): Expect function.
21793 [C99-based-standards] (wcstold): Likewise.
21794 [C99-based-standards] (wcstoll): Likewise.
21795 [C99-based-standards] (wcstoull): Likewise.
21796 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21797 macro-int-constant. Specify type.
21798 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21799 constraint on value.
21800 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21801 Specify type.
21802 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21803 Specify value.
21804 [ISO C standards]: Do not allow headers.
21805 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21806 wcs[abcdefghijklmnopqrstuvwxyz]*.
21807 [ISO C standards] (*_t): Do not allow.
21808 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21809 Expect function.
21810 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21811 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21812 Specify type.
21813 [ISO C standards]: Do not allow headers.
21814 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21815 is[abcdefghijklmnopqrstuvwxyz]*.
21816 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21817 to[abcdefghijklmnopqrstuvwxyz]*.
21818 [ISO C standards] (*_t): Do not allow.
21819 * conform/data/stdalign.h-data: New file.
21820 * conform/data/stdbool.h-data: Likewise.
21821 * conform/data/stdnoreturn.h-data: Likewise.
21822
7514feb8
RM
218232012-11-07 Roland McGrath <roland@hack.frob.com>
21824
21825 [BZ #14815]
21826 * manual/filesys.texi (Directory Entries): Typo fix.
21827 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21828
19b2ecfc
MS
218292012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21830
21831 * elf/elf.h (EM_AARCH64): New macro.
21832 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21833 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21834 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21835 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21836 (R_AARCH64_TLSDESC): Likewise.
21837 (NT_ARM_TLS): Likewise.
21838 (NT_ARM_HW_BREAK): Likewise.
21839 (NT_ARM_HW_WATCH): Likewise.
21840
60e235ee
JM
218412012-11-07 Joseph Myers <joseph@codesourcery.com>
21842
21843 [BZ #14811]
21844 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21845 (__ieee754_powl): Saturate nonzero exponents with absolute value
21846 below 0x1p-79 to +/- 0x1p-79.
21847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21848 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21849 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21850 nonzero exponents with absolute value below 0x1p-32 to +/-
21851 0x1p-32.
21852 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21853 (__ieee754_powl): Saturate nonzero exponents with absolute value
21854 below 0x1p-79 to +/- 0x1p-79.
21855 * math/libm-test.inc (pow_test): Add more tests.
21856
0ab234b7
AK
218572012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21858
21859 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21860 _dl_s390_cap_flags with kernel. Increase string length.
21861 (_dl_s390_platforms): Add z196 and zEC12.
21862
45832f74
JM
218632012-11-07 Joseph Myers <joseph@codesourcery.com>
21864
21865 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21866 Change XOPEN21K to XOPEN2K.
21867
19218757
MK
218682012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21869
21870 * string/memmove.c: Use memcpy when possible.
21871
c5f45721
AJ
218722012-11-06 Andreas Jaeger <aj@suse.de>
21873
21874 * po/eo.po: Update from translation team.
21875
82477c28
JM
218762012-11-06 Joseph Myers <joseph@codesourcery.com>
21877
21878 [BZ #14793]
21879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21880 exponent and small x and y exponents, scale x or y up. Increase
21881 by 2 the exponent used in scaling up.
21882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21884 * math/libm-test.inc (fma_test): Add more tests.
21885 (fma_test_towardzero): Likewise.
21886 (fma_test_downward): Likewise.
21887 (fma_test_upward): Likewise.
21888
99252c8c
JM
218892012-11-05 Joseph Myers <joseph@codesourcery.com>
21890
acfa885f
JM
21891 [BZ #14805]
21892 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21893 fenv_t *.
21894
99252c8c
JM
21895 [BZ #14801]
21896 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21897 namespace for names of struct fields.
21898 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21899 fenv_t fields.
21900 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21901 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21902
d6d98dea
ST
219032012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21904
21905 [BZ #3665]
21906 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21907
e10bb107
TS
219082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21909
21910 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21911 PTR_DEMANGLE.
21912
21913 [BZ #5246]
21914 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21915 PTR_DEMANGLE.
21916
a0c2940d
JM
219172012-11-04 Joseph Myers <joseph@codesourcery.com>
21918
21919 [BZ #14797]
21920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21921 definitely overflow as x * y not x * y + z.
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
b830319d
TS
219292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21930
21931 [BZ #157]
21932
21933 * include/stub-tag.h: Remove file.
21934 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21935 '#include' of it.
21936 * manual/maint.texi (Porting): Don't reference it.
21937 * Makerules ($(objpfx)stubs): Likewise.
21938 * dirent/closedir.c: Don't include <stub-tag.h>.
21939 * dirent/dirfd.c: Likewise.
21940 * dirent/fdopendir.c: Likewise.
21941 * dirent/getdents.c: Likewise.
21942 * dirent/getdents64.c: Likewise.
21943 * dirent/opendir.c: Likewise.
21944 * dirent/readdir.c: Likewise.
21945 * dirent/readdir64.c: Likewise.
21946 * dirent/readdir64_r.c: Likewise.
21947 * dirent/readdir_r.c: Likewise.
21948 * dirent/rewinddir.c: Likewise.
21949 * dirent/seekdir.c: Likewise.
21950 * dirent/telldir.c: Likewise.
21951 * gmon/profil.c: Likewise.
21952 * grp/setgroups.c: Likewise.
21953 * inet/if_index.c: Likewise.
21954 * io/access.c: Likewise.
21955 * io/chdir.c: Likewise.
21956 * io/chmod.c: Likewise.
21957 * io/chown.c: Likewise.
21958 * io/close.c: Likewise.
21959 * io/dup.c: Likewise.
21960 * io/dup2.c: Likewise.
21961 * io/dup3.c: Likewise.
21962 * io/euidaccess.c: Likewise.
21963 * io/faccessat.c: Likewise.
21964 * io/fchdir.c: Likewise.
21965 * io/fchmod.c: Likewise.
21966 * io/fchmodat.c: Likewise.
21967 * io/fchown.c: Likewise.
21968 * io/fchownat.c: Likewise.
21969 * io/fcntl.c: Likewise.
21970 * io/flock.c: Likewise.
21971 * io/fstatfs.c: Likewise.
21972 * io/fstatfs64.c: Likewise.
21973 * io/fstatvfs.c: Likewise.
21974 * io/fstatvfs64.c: Likewise.
21975 * io/futimens.c: Likewise.
21976 * io/fxstat.c: Likewise.
21977 * io/fxstat64.c: Likewise.
21978 * io/fxstatat.c: Likewise.
21979 * io/fxstatat64.c: Likewise.
21980 * io/getcwd.c: Likewise.
21981 * io/isatty.c: Likewise.
21982 * io/lchmod.c: Likewise.
21983 * io/lchown.c: Likewise.
21984 * io/link.c: Likewise.
21985 * io/linkat.c: Likewise.
21986 * io/lseek.c: Likewise.
21987 * io/lseek64.c: Likewise.
21988 * io/lxstat64.c: Likewise.
21989 * io/mkdir.c: Likewise.
21990 * io/mkdirat.c: Likewise.
21991 * io/mkfifo.c: Likewise.
21992 * io/mkfifoat.c: Likewise.
21993 * io/open.c: Likewise.
21994 * io/open64.c: Likewise.
21995 * io/openat.c: Likewise.
21996 * io/openat64.c: Likewise.
21997 * io/pipe.c: Likewise.
21998 * io/pipe2.c: Likewise.
21999 * io/poll.c: Likewise.
22000 * io/posix_fadvise.c: Likewise.
22001 * io/posix_fadvise64.c: Likewise.
22002 * io/posix_fallocate.c: Likewise.
22003 * io/posix_fallocate64.c: Likewise.
22004 * io/read.c: Likewise.
22005 * io/readlink.c: Likewise.
22006 * io/readlinkat.c: Likewise.
22007 * io/rmdir.c: Likewise.
22008 * io/sendfile.c: Likewise.
22009 * io/sendfile64.c: Likewise.
22010 * io/statfs.c: Likewise.
22011 * io/statfs64.c: Likewise.
22012 * io/statvfs.c: Likewise.
22013 * io/statvfs64.c: Likewise.
22014 * io/symlink.c: Likewise.
22015 * io/symlinkat.c: Likewise.
22016 * io/ttyname.c: Likewise.
22017 * io/ttyname_r.c: Likewise.
22018 * io/umask.c: Likewise.
22019 * io/unlink.c: Likewise.
22020 * io/unlinkat.c: Likewise.
22021 * io/utime.c: Likewise.
22022 * io/utimensat.c: Likewise.
22023 * io/write.c: Likewise.
22024 * io/xmknod.c: Likewise.
22025 * io/xmknodat.c: Likewise.
22026 * io/xstat.c: Likewise.
22027 * io/xstat64.c: Likewise.
22028 * login/getpt.c: Likewise.
22029 * login/grantpt.c: Likewise.
22030 * login/unlockpt.c: Likewise.
22031 * math/e_acoshl.c: Likewise.
22032 * math/e_acosl.c: Likewise.
22033 * math/e_asinl.c: Likewise.
22034 * math/e_atan2l.c: Likewise.
22035 * math/e_atanhl.c: Likewise.
22036 * math/e_coshl.c: Likewise.
22037 * math/e_expl.c: Likewise.
22038 * math/e_fmodl.c: Likewise.
22039 * math/e_gammal_r.c: Likewise.
22040 * math/e_hypotl.c: Likewise.
22041 * math/e_j0l.c: Likewise.
22042 * math/e_j1l.c: Likewise.
22043 * math/e_jnl.c: Likewise.
22044 * math/e_lgammal_r.c: Likewise.
22045 * math/e_log10l.c: Likewise.
22046 * math/e_log2l.c: Likewise.
22047 * math/e_logl.c: Likewise.
22048 * math/e_powl.c: Likewise.
22049 * math/e_rem_pio2l.c: Likewise.
22050 * math/e_sinhl.c: Likewise.
22051 * math/e_sqrtl.c: Likewise.
22052 * math/fclrexcpt.c: Likewise.
22053 * math/fedisblxcpt.c: Likewise.
22054 * math/feenablxcpt.c: Likewise.
22055 * math/fegetenv.c: Likewise.
22056 * math/fegetexcept.c: Likewise.
22057 * math/fegetround.c: Likewise.
22058 * math/feholdexcpt.c: Likewise.
22059 * math/fesetenv.c: Likewise.
22060 * math/fesetround.c: Likewise.
22061 * math/feupdateenv.c: Likewise.
22062 * math/fgetexcptflg.c: Likewise.
22063 * math/fraiseexcpt.c: Likewise.
22064 * math/fsetexcptflg.c: Likewise.
22065 * math/ftestexcept.c: Likewise.
22066 * math/k_cosl.c: Likewise.
22067 * math/k_rem_pio2l.c: Likewise.
22068 * math/k_sinl.c: Likewise.
22069 * math/k_tanl.c: Likewise.
22070 * math/s_asinhl.c: Likewise.
22071 * math/s_atanl.c: Likewise.
22072 * math/s_cbrtl.c: Likewise.
22073 * math/s_erfl.c: Likewise.
22074 * math/s_expm1l.c: Likewise.
22075 * math/s_log1pl.c: Likewise.
22076 * math/s_tanhl.c: Likewise.
22077 * misc/acct.c: Likewise.
22078 * misc/brk.c: Likewise.
22079 * misc/chflags.c: Likewise.
22080 * misc/chroot.c: Likewise.
22081 * misc/fchflags.c: Likewise.
22082 * misc/fgetxattr.c: Likewise.
22083 * misc/flistxattr.c: Likewise.
22084 * misc/fremovexattr.c: Likewise.
22085 * misc/fsetxattr.c: Likewise.
22086 * misc/fsync.c: Likewise.
22087 * misc/ftruncate.c: Likewise.
22088 * misc/futimes.c: Likewise.
22089 * misc/futimesat.c: Likewise.
22090 * misc/getdomain.c: Likewise.
22091 * misc/getdtsz.c: Likewise.
22092 * misc/gethostid.c: Likewise.
22093 * misc/gethostname.c: Likewise.
22094 * misc/getloadavg.c: Likewise.
22095 * misc/getpagesize.c: Likewise.
22096 * misc/getsysstats.c: Likewise.
22097 * misc/getxattr.c: Likewise.
22098 * misc/gtty.c: Likewise.
22099 * misc/ioctl.c: Likewise.
22100 * misc/lgetxattr.c: Likewise.
22101 * misc/listxattr.c: Likewise.
22102 * misc/llistxattr.c: Likewise.
22103 * misc/lremovexattr.c: Likewise.
22104 * misc/lsetxattr.c: Likewise.
22105 * misc/lutimes.c: Likewise.
22106 * misc/madvise.c: Likewise.
22107 * misc/mincore.c: Likewise.
22108 * misc/mlock.c: Likewise.
22109 * misc/mlockall.c: Likewise.
22110 * misc/mmap.c: Likewise.
22111 * misc/mprotect.c: Likewise.
22112 * misc/msync.c: Likewise.
22113 * misc/munlock.c: Likewise.
22114 * misc/munlockall.c: Likewise.
22115 * misc/munmap.c: Likewise.
22116 * misc/preadv.c: Likewise.
22117 * misc/preadv64.c: Likewise.
22118 * misc/ptrace.c: Likewise.
22119 * misc/pwritev.c: Likewise.
22120 * misc/pwritev64.c: Likewise.
22121 * misc/readv.c: Likewise.
22122 * misc/reboot.c: Likewise.
22123 * misc/remap_file_pages.c: Likewise.
22124 * misc/removexattr.c: Likewise.
22125 * misc/revoke.c: Likewise.
22126 * misc/select.c: Likewise.
22127 * misc/setdomain.c: Likewise.
22128 * misc/setegid.c: Likewise.
22129 * misc/seteuid.c: Likewise.
22130 * misc/sethostid.c: Likewise.
22131 * misc/sethostname.c: Likewise.
22132 * misc/setregid.c: Likewise.
22133 * misc/setreuid.c: Likewise.
22134 * misc/setxattr.c: Likewise.
22135 * misc/sstk.c: Likewise.
22136 * misc/stty.c: Likewise.
22137 * misc/swapoff.c: Likewise.
22138 * misc/swapon.c: Likewise.
22139 * misc/sync.c: Likewise.
22140 * misc/syncfs.c: Likewise.
22141 * misc/syscall.c: Likewise.
22142 * misc/truncate.c: Likewise.
22143 * misc/ualarm.c: Likewise.
22144 * misc/usleep.c: Likewise.
22145 * misc/ustat.c: Likewise.
22146 * misc/utimes.c: Likewise.
22147 * misc/vhangup.c: Likewise.
22148 * misc/writev.c: Likewise.
22149 * posix/_exit.c: Likewise.
22150 * posix/alarm.c: Likewise.
22151 * posix/execve.c: Likewise.
22152 * posix/fexecve.c: Likewise.
22153 * posix/fork.c: Likewise.
22154 * posix/fpathconf.c: Likewise.
22155 * posix/getaddrinfo.c: Likewise.
22156 * posix/getegid.c: Likewise.
22157 * posix/geteuid.c: Likewise.
22158 * posix/getgid.c: Likewise.
22159 * posix/getgroups.c: Likewise.
22160 * posix/getlogin.c: Likewise.
22161 * posix/getlogin_r.c: Likewise.
22162 * posix/getpgid.c: Likewise.
22163 * posix/getpid.c: Likewise.
22164 * posix/getppid.c: Likewise.
22165 * posix/getresgid.c: Likewise.
22166 * posix/getresuid.c: Likewise.
22167 * posix/getsid.c: Likewise.
22168 * posix/getuid.c: Likewise.
22169 * posix/glob64.c: Likewise.
22170 * posix/nanosleep.c: Likewise.
22171 * posix/pathconf.c: Likewise.
22172 * posix/pause.c: Likewise.
22173 * posix/posix_madvise.c: Likewise.
22174 * posix/pread.c: Likewise.
22175 * posix/pread64.c: Likewise.
22176 * posix/pwrite.c: Likewise.
22177 * posix/pwrite64.c: Likewise.
22178 * posix/sched_getaffinity.c: Likewise.
22179 * posix/sched_getp.c: Likewise.
22180 * posix/sched_gets.c: Likewise.
22181 * posix/sched_primax.c: Likewise.
22182 * posix/sched_primin.c: Likewise.
22183 * posix/sched_rr_gi.c: Likewise.
22184 * posix/sched_setaffinity.c: Likewise.
22185 * posix/sched_setp.c: Likewise.
22186 * posix/sched_sets.c: Likewise.
22187 * posix/sched_yield.c: Likewise.
22188 * posix/setgid.c: Likewise.
22189 * posix/setlogin.c: Likewise.
22190 * posix/setpgid.c: Likewise.
22191 * posix/setresgid.c: Likewise.
22192 * posix/setresuid.c: Likewise.
22193 * posix/setsid.c: Likewise.
22194 * posix/setuid.c: Likewise.
22195 * posix/sleep.c: Likewise.
22196 * posix/spawni.c: Likewise.
22197 * posix/sysconf.c: Likewise.
22198 * posix/times.c: Likewise.
22199 * posix/wait.c: Likewise.
22200 * posix/wait3.c: Likewise.
22201 * posix/wait4.c: Likewise.
22202 * posix/waitpid.c: Likewise.
22203 * resolv/gai_sigqueue.c: Likewise.
22204 * resource/getpriority.c: Likewise.
22205 * resource/getrlimit.c: Likewise.
22206 * resource/getrusage.c: Likewise.
22207 * resource/nice.c: Likewise.
22208 * resource/setpriority.c: Likewise.
22209 * resource/setrlimit.c: Likewise.
22210 * resource/ulimit.c: Likewise.
22211 * rt/aio_cancel.c: Likewise.
22212 * rt/aio_fsync.c: Likewise.
22213 * rt/aio_read.c: Likewise.
22214 * rt/aio_sigqueue.c: Likewise.
22215 * rt/aio_suspend.c: Likewise.
22216 * rt/aio_write.c: Likewise.
22217 * rt/clock_getres.c: Likewise.
22218 * rt/clock_gettime.c: Likewise.
22219 * rt/clock_nanosleep.c: Likewise.
22220 * rt/clock_settime.c: Likewise.
22221 * rt/lio_listio.c: Likewise.
22222 * rt/mq_close.c: Likewise.
22223 * rt/mq_getattr.c: Likewise.
22224 * rt/mq_notify.c: Likewise.
22225 * rt/mq_open.c: Likewise.
22226 * rt/mq_receive.c: Likewise.
22227 * rt/mq_send.c: Likewise.
22228 * rt/mq_setattr.c: Likewise.
22229 * rt/mq_timedreceive.c: Likewise.
22230 * rt/mq_timedsend.c: Likewise.
22231 * rt/mq_unlink.c: Likewise.
22232 * rt/shm_open.c: Likewise.
22233 * rt/shm_unlink.c: Likewise.
22234 * rt/timer_create.c: Likewise.
22235 * rt/timer_delete.c: Likewise.
22236 * rt/timer_getoverr.c: Likewise.
22237 * rt/timer_gettime.c: Likewise.
22238 * rt/timer_settime.c: Likewise.
22239 * setjmp/__longjmp.c: Likewise.
22240 * setjmp/setjmp.c: Likewise.
22241 * signal/kill.c: Likewise.
22242 * signal/killpg.c: Likewise.
22243 * signal/raise.c: Likewise.
22244 * signal/sigaction.c: Likewise.
22245 * signal/sigaltstack.c: Likewise.
22246 * signal/sigblock.c: Likewise.
22247 * signal/sigignore.c: Likewise.
22248 * signal/sigintr.c: Likewise.
22249 * signal/signal.c: Likewise.
22250 * signal/sigpause.c: Likewise.
22251 * signal/sigpending.c: Likewise.
22252 * signal/sigqueue.c: Likewise.
22253 * signal/sigreturn.c: Likewise.
22254 * signal/sigset.c: Likewise.
22255 * signal/sigsetmask.c: Likewise.
22256 * signal/sigstack.c: Likewise.
22257 * signal/sigsuspend.c: Likewise.
22258 * signal/sigtimedwait.c: Likewise.
22259 * signal/sigvec.c: Likewise.
22260 * signal/sigwait.c: Likewise.
22261 * signal/sigwaitinfo.c: Likewise.
22262 * signal/sysv_signal.c: Likewise.
22263 * socket/accept.c: Likewise.
22264 * socket/accept4.c: Likewise.
22265 * socket/bind.c: Likewise.
22266 * socket/connect.c: Likewise.
22267 * socket/getpeername.c: Likewise.
22268 * socket/getsockname.c: Likewise.
22269 * socket/getsockopt.c: Likewise.
22270 * socket/isfdtype.c: Likewise.
22271 * socket/listen.c: Likewise.
22272 * socket/recv.c: Likewise.
22273 * socket/recvfrom.c: Likewise.
22274 * socket/recvmsg.c: Likewise.
22275 * socket/send.c: Likewise.
22276 * socket/sendmsg.c: Likewise.
22277 * socket/sendto.c: Likewise.
22278 * socket/setsockopt.c: Likewise.
22279 * socket/shutdown.c: Likewise.
22280 * socket/sockatmark.c: Likewise.
22281 * socket/socket.c: Likewise.
22282 * socket/socketpair.c: Likewise.
22283 * stdio-common/ctermid.c: Likewise.
22284 * stdio-common/cuserid.c: Likewise.
22285 * stdio-common/remove.c: Likewise.
22286 * stdio-common/rename.c: Likewise.
22287 * stdio-common/renameat.c: Likewise.
22288 * stdio-common/tempname.c: Likewise.
22289 * stdlib/getcontext.c: Likewise.
22290 * stdlib/makecontext.c: Likewise.
22291 * stdlib/setcontext.c: Likewise.
22292 * stdlib/swapcontext.c: Likewise.
22293 * stdlib/system.c: Likewise.
22294 * streams/fattach.c: Likewise.
22295 * streams/fdetach.c: Likewise.
22296 * streams/getmsg.c: Likewise.
22297 * streams/getpmsg.c: Likewise.
22298 * streams/putmsg.c: Likewise.
22299 * streams/putpmsg.c: Likewise.
22300 * sysdeps/unix/bsd/getpt.c: Likewise.
22301 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22302 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22303 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22305 Likewise.
22306 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22307 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22308 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22309 * sysvipc/msgctl.c: Likewise.
22310 * sysvipc/msgget.c: Likewise.
22311 * sysvipc/msgrcv.c: Likewise.
22312 * sysvipc/msgsnd.c: Likewise.
22313 * sysvipc/semctl.c: Likewise.
22314 * sysvipc/semget.c: Likewise.
22315 * sysvipc/semop.c: Likewise.
22316 * sysvipc/semtimedop.c: Likewise.
22317 * sysvipc/shmat.c: Likewise.
22318 * sysvipc/shmctl.c: Likewise.
22319 * sysvipc/shmdt.c: Likewise.
22320 * sysvipc/shmget.c: Likewise.
22321 * termios/tcdrain.c: Likewise.
22322 * termios/tcflow.c: Likewise.
22323 * termios/tcflush.c: Likewise.
22324 * termios/tcgetattr.c: Likewise.
22325 * termios/tcgetpgrp.c: Likewise.
22326 * termios/tcsendbrk.c: Likewise.
22327 * termios/tcsetattr.c: Likewise.
22328 * termios/tcsetpgrp.c: Likewise.
22329 * time/adjtime.c: Likewise.
22330 * time/clock.c: Likewise.
22331 * time/getitimer.c: Likewise.
22332 * time/gettimeofday.c: Likewise.
22333 * time/setitimer.c: Likewise.
22334 * time/settimeofday.c: Likewise.
22335 * time/stime.c: Likewise.
22336 * time/time.c: Likewise.
22337
223382012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22339
a20492cf
PT
22340 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22341 /usr/old/bin.
22342
72e182e3
PT
22343 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22344 instead of spaces.
22345 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22346
fbeafede
JM
223472012-11-03 Joseph Myers <joseph@codesourcery.com>
22348
5b5b04d6
JM
22349 [BZ #14796]
22350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22351 FE_TONEAREST before applying Dekker multiplication and Knuth
22352 addition. Clear inexact exceptions and check for exact zero
22353 results afterwards.
22354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22356 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22357 * math/libm-test.inc (fma_test): Add more tests.
22358 (fma_test_towardzero): Likewise.
22359 (fma_test_downward): Likewise.
22360 (fma_test_upward): Likewise.
22361 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22362 function.
22363 (libc_fesetround): New macro.
22364 (libc_fesetroundf): Likewise.
22365 (libc_fesetroundl): Likewise.
22366 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22367 function.
22368 (libc_fesetround_387): Likewise.
22369 (libc_fesetroundf): New macro.
22370 (libc_fesetround): Likewise.
22371 (libc_fesetroundl): Likewise.
22372 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22373 function.
22374 (libc_fesetroundf): New macro.
22375 (libc_fesetround): Likewise.
22376 (libc_fesetroundl): Likewise.
22377 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22378 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22379 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22380 libm_hidden_ver.
22381 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22382 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22383 libm_hidden_def.
22384 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22385 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22386 libm_hidden_ver.
22387 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22388 libm_hidden_def.
22389
fbeafede
JM
22390 [BZ #3439]
22391 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22392 integer constant usable in #if and use that to give value to enum
22393 constant.
22394 (FE_DIVBYZERO): Likewise.
22395 (FE_UNDERFLOW): Likewise.
22396 (FE_OVERFLOW): Likewise.
22397 (FE_INVALID): Likewise.
22398 (FE_INVALID_SNAN): Likewise.
22399 (FE_INVALID_ISI): Likewise.
22400 (FE_INVALID_IDI): Likewise.
22401 (FE_INVALID_ZDZ): Likewise.
22402 (FE_INVALID_IMZ): Likewise.
22403 (FE_INVALID_COMPARE): Likewise.
22404 (FE_INVALID_SOFTWARE): Likewise.
22405 (FE_INVALID_SQRT): Likewise.
22406 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22407 (FE_TONEAREST): Likewise.
22408 (FE_TOWARDZERO): Likewise.
22409 (FE_UPWARD): Likewise.
22410 (FE_DOWNWARD): Likewise.
22411 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22412 (FE_DIVBYZERO): Likewise.
22413 (FE_OVERFLOW): Likewise.
22414 (FE_UNDERFLOW): Likewise.
22415 (FE_INEXACT): Likewise.
22416 (FE_TONEAREST): Likewise.
22417 (FE_DOWNWARD): Likewise.
22418 (FE_UPWARD): Likewise.
22419 (FE_TOWARDZERO): Likewise.
22420 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22421 (FE_UNDERFLOW): Likewise.
22422 (FE_OVERFLOW): Likewise.
22423 (FE_DIVBYZERO): Likewise.
22424 (FE_INVALID): Likewise.
22425 (FE_TONEAREST): Likewise.
22426 (FE_TOWARDZERO): Likewise.
22427 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22428 (FE_OVERFLOW): Likewise.
22429 (FE_UNDERFLOW): Likewise.
22430 (FE_DIVBYZERO): Likewise.
22431 (FE_INEXACT): Likewise.
22432 (FE_TONEAREST): Likewise.
22433 (FE_TOWARDZERO): Likewise.
22434 (FE_UPWARD): Likewise.
22435 (FE_DOWNWARD): Likewise.
22436 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22437 (FE_DIVBYZERO): Likewise.
22438 (FE_OVERFLOW): Likewise.
22439 (FE_UNDERFLOW): Likewise.
22440 (FE_INEXACT): Likewise.
22441 (FE_TONEAREST): Likewise.
22442 (FE_DOWNWARD): Likewise.
22443 (FE_UPWARD): Likewise.
22444 (FE_TOWARDZERO): Likewise.
22445
105ca950
CM
224462012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22447
22448 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22449
a542b389
AS
224502012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22451
22452 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22453 commands. Quote $PWD.
22454 (blacklist_exports): Don't use remove_newlines. Replace "declare
22455 -x" by "export".
22456 (remove_newlines): Remove.
22457
f62c8abc
L
224582012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22459
22460 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22461 * stdlib/stdlib.h (atof): Moved to ...
22462 * include/bits/stdlib-float.h: Here. New file.
22463 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22464 * stdlib/bits/stdlib-float.h: New file.
22465 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22466 -mno-sse -mno-mmx.
22467 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22468 <xmmintrin.h>.
22469
0155d5b2
JM
224702012-11-02 Joseph Myers <joseph@codesourcery.com>
22471
a68d0680
JM
22472 * conform/conformtest.pl (@headers): Add fenv.h.
22473 * conform/data/fenv.h-data: New file.
22474 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22475 include of <math/fenv.h>.
22476
caf7f573
JM
22477 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22478 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22479 && !UNIX98]. Enables tests for XOPEN2K8.
22480 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22481 POSIX2008]: Likewise.
22482
6c073ad6
JM
22483 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22484 (struct rusage): Do not expect type or its members.
22485
0155d5b2
JM
22486 [BZ #3439]
22487 * math/math.h (FP_NAN): Define macro to integer constant usable in
22488 #if and use that to give value to enum constant.
22489 (FP_INFINITE): Likewise.
22490 (FP_ZERO): Likewise.
22491 (FP_SUBNORMAL): Likewise.
22492 (FP_NORMAL): Likewise.
22493
b5dcacb4
AS
224942012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22495
22496 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22497 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22498 arguments.
22499
f7934be8
RM
225002012-11-02 Roland McGrath <roland@hack.frob.com>
22501
22502 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22503 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22504 autoconf-time if not.
22505 * configure.in: Remove AC_PREREQ.
22506
d7d08bde
TMQMF
225072012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22508
22509 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22510 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22511 of the internal implementation.
22512
dcdae19a
JM
225132012-11-02 Joseph Myers <joseph@codesourcery.com>
22514
22515 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22516 except include of <misc/sys/syslog.h>.
22517
d6cffd3e
AS
225182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22519
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22521 function returns with a NULL context exit with zero.
22522
b3563932
TMQMF
225232012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22524
22525 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22526
b288a93d
L
225272012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22528
22529 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22530 (run_program_cmd): This.
22531 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22532 (tst_langinfo): New variable. Use it.
22533
a2421a68
SAS
225342012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22535
22536 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22537 floating point opcodes.
22538
6f796e1b
TS
225392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22540
7402596b
TS
22541 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22542 variable.
22543
d0d4f868
TS
22544 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22545
6f796e1b
TS
22546 * sysdeps/mach/hurd/powerpc: Remove directory.
22547 * sysdeps/mach/powerpc: Likewise.
22548
4da224a2
AS
225492012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22550
22551 * scripts/check-local-headers.sh: Ignore c++ headers.
22552
341dd673
TS
225532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22554
22555 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22556 __libc_cleanup_region_start argument.
22557
473611b2
JM
225582012-11-01 Joseph Myers <joseph@codesourcery.com>
22559
22560 [BZ #14784]
22561 [BZ #14785]
22562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22563 x * y using scaling, not as x * y + z.
22564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22566 * math/libm-test.inc (fma_test): Add more tests.
22567 (fma_test_towardzero): Likewise.
22568 (fma_test_downward): Likewise.
22569 (fma_test_upward): Likewise.
22570
4078da3d
TS
225712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22572
22573 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22574
903252aa
JM
225752012-10-31 Joseph Myers <joseph@codesourcery.com>
22576
22577 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22578 New variable.
22579
cbc818d0
TS
225802012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22581
22582 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22583
5a03cb1e
AS
225842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22585
22586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22587 Fix sort order.
22588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22589 Likewise.
22590
90aff2ff
TMQMF
225912012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22592
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22594 Fix the order of the list for glibc 2.17.
22595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22596 Likewise.
22597
1818fcb7
AS
225982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22599
22600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22601
ef82f4da
JM
226022012-10-31 Joseph Myers <joseph@codesourcery.com>
22603
16a0e2ec
JM
22604 [BZ #14610]
22605 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22606 for low part of x being zero before using __atanl (y).
22607 * math/libm-test.inc (atan2_test): Add another test.
22608
0eb69512
JM
22609 * manual/install.texi (Configuring and compiling): Document
22610 general use of test-wrapper and test-wrapper-env.
22611 * INSTALL: Regenerated.
22612
ef82f4da
JM
22613 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22614 (__fma): Do not extract and scale down low bits on after-rounding
22615 systems when result rounded to normal precision would have normal
22616 exponent.
22617 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22618 (__fmal): Do not extract and scale down low bits on after-rounding
22619 systems when result rounded to normal precision would have normal
22620 exponent.
22621 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22622 (__fmal): Do not extract and scale down low bits on after-rounding
22623 systems when result rounded to normal precision would have normal
22624 exponent.
22625 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22626 macro.
22627 (fma_test): Add more tests.
22628 (fma_test_towardzero): Likewise.
22629 (fma_test_downward): Likewise.
22630 (fma_test_upward): Likewise.
22631
954ef0d9
L
226322012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22633
22634 * sysdeps/i386/tininess.h: Renamed to ...
22635 * sysdeps/x86/tininess.h: This.
22636 * sysdeps/x86_64/tininess.h: Removed.
22637
df61ffb2
JM
226382012-10-30 Joseph Myers <joseph@codesourcery.com>
22639
22640 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22641 input. Use $(build-program-cmd).
22642 ($(objpfx)tst-array1-static.out): Likewise.
22643 ($(objpfx)tst-array2.out): Likewise.
22644 ($(objpfx)tst-array3.out): Likewise.
22645 ($(objpfx)tst-array4.out): Likewise.
22646 ($(objpfx)tst-array5.out): Likewise.
22647 ($(objpfx)tst-array5-static.out): Likewise.
22648
01767843
CM
226492012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22650
47cc1490
CM
22651 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22652 if defined.
22653
01767843
CM
22654 * nss/nsswitch.h (nss_interface_function): Provide new
22655 macro for use with NSS functions.
22656 * grp/initgroups.c: Use new macro.
22657 * nss/getXXbyYY.c: Likewise.
22658 * nss/getXXbyYY_r.c: Likewise.
22659 * nss/getXXent.c: Likewise.
22660 * nss/getXXent_r.c: Likewise.
22661 * sysdeps/posix/getaddrinfo.c: Likewise.
22662
8321aa97
AJ
226632012-10-30 Andreas Jaeger <aj@suse.de>
22664
22665 * po/ru.po: Update Russion translation from translation project.
22666
2a27fd6d
JM
226672012-10-30 Joseph Myers <joseph@codesourcery.com>
22668
8627a232
JM
22669 [BZ #14152]
22670 [BZ #14783]
22671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22672 result and shift together with sticky bit instead of replicating
22673 round-to-nearest rounding.
22674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22676 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22677 missing underflow exceptions.
22678 (fma_test_towardzero): Add more tests.
22679 (fma_test_downward): Likewise.
22680 (fma_test_upward): Likewise.
22681
2a27fd6d
JM
22682 [BZ #14047]
22683 * sysdeps/generic/tininess.h: New file.
22684 * sysdeps/i386/tininess.h: Likewise.
22685 * sysdeps/sh/tininess.h: Likewise.
22686 * sysdeps/x86_64/tininess.h: Likewise.
22687 * stdlib/tst-strtod-underflow.c: Likewise.
22688 * stdlib/tst-tininess.c: Likewise.
22689 * stdlib/strtod_l.c: Include <tininess.h>.
22690 (round_and_return): Do not set errno for exact underflow cases.
22691 Force an underflow exception when setting errno for underflow.
22692 Determine underflow based on rounding to normal precision if
22693 TININESS_AFTER_ROUNDING.
22694 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22695 ERANGE for exact underflow cases.
22696 * stdlib/Makefile (tests): Add tst-tininess and
22697 tst-strtod-underflow.
22698 ($(objpfx)tst-tininess): Use $(link-libm).
22699 ($(objpfx)tst-strtod-underflow): Likewise.
22700
e7170363
AJ
227012012-10-30 Andreas Jaeger <aj@suse.de>
22702
e5088dc6
AJ
22703 [BZ#14767]
22704 * elf/Makefile (tests): Remove conditional for have-initfini-array
22705 since this is now always required and the variable does not exist
22706 anymore.
22707 (tests-static): Likewise.
22708 (modules-names): Likewise.
22709
e7170363 22710 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22711
22712 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22713 merged with constructor/destructor.
22714 (init_array): Likewise.
22715 * elf/tst-array2dep.c (fini_array): Likewise.
22716 (init_array): Likewise.
22717
60457d8a
MF
227182012-10-29 Mike Frysinger <vapier@gentoo.org>
22719
22720 * manual/message.texi: Delete @cartouche tags.
22721
8bece752
PT
227222012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22723
94ce799f
PT
22724 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22725 EOPNOTSUPP.
22726 * sysdeps/mach/hurd/fsync.c: Likewise.
22727
8bece752
PT
22728 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22729 [_POSIX_REALTIME_SIGNALS]: Change condition to
22730 [_POSIX_REALTIME_SIGNALS > 0].
22731
86ebe6b1
AJ
227322012-10-27 Andreas Jaeger <aj@suse.de>
22733
22734 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22735 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22737 [__WORDSIZE != 64]: Likewise.
22738
54399c08
L
227392012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22740
22741 * iconvdata/tst-table.sh: Remove ${SHELL}.
22742 * iconvdata/tst-tables.sh: Likewise.
22743
e2211bed
DM
227442012-10-25 David S. Miller <davem@davemloft.net>
22745
22746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22747 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22748 of strtoull.
22749
f303f97c
DM
22750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22751 ifunc-impl-list.c
22752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22753 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22754 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22755 file.
22756
1e9d84cd
RM
227572012-10-25 Roland McGrath <roland@hack.frob.com>
22758
22759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22760 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22761 __getdirentries.
22762
df381762
JM
227632012-10-25 Joseph Myers <joseph@codesourcery.com>
22764 Jim Blandy <jimb@codesourcery.com>
22765
22766 * scripts/cross-test-ssh.sh: New file.
22767 * manual/install.texi (Configuring and compiling): Document use of
22768 cross-test-ssh.sh.
22769 * INSTALL: Regenerated.
22770
bff64913
PT
227712012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22772
22773 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22774 EOPNOTSUPP.
22775
25fe8932
JM
227762012-10-25 Joseph Myers <joseph@codesourcery.com>
22777
22778 * Makeconfig (run-program-prefix): Fix comment.
22779
cc1290d0
JM
227802012-10-24 Joseph Myers <joseph@codesourcery.com>
22781 Jim Blandy <jimb@codesourcery.com>
22782
22783 * Makeconfig (test-wrapper): New variable,
22784 (test-wrapper-env): Likewise.
22785 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22786 (run-built-tests): Define to yes.
22787 (run-program-prefix): Use $(test-wrapper).
22788 (built-program-cmd): Likewise.
22789 * Rules (make-test-out): Use $(test-wrapper-env) and
22790 $(host-built-program-cmd).
22791 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22792 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22793 tst-pathopt.sh.
22794 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22795 $(test-wrapper-env) to tst-rtld-load-self.sh.
22796 ($(objpfx)order2.out): Use $(test-wrapper).
22797 ($(objpfx)tst-initorder.out): Likewise.
22798 ($(objpfx)tst-initorder2.out): Likewise.
22799 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22800 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22801 (test_wrapper_env): New variable. Use it to run ld.so.
22802 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22803 Use it to run ld.so.
22804 (test_wrapper_env): Likewise.
22805 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22806 $(test-wrapper) to run-iconv-test.sh.
22807 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22808 (ICONV): Use $test_wrapper.
22809 * posix/Makefile ($(objpfx)globtest.out): Pass
22810 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22811 globtest.sh, not $(run-program-prefix).
22812 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22813 (test_wrapper): Likewise.
22814 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22815 set together with run_via_rtld_prefix.
22816 (run_program_prefix): Define in terms of test_wrapper and
22817 run_via_rtld_prefix.
22818
6e6249d0
RM
228192012-10-24 Roland McGrath <roland@hack.frob.com>
22820
22821 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22822 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22823 Targets removed.
22824
22825 [BZ #14743]
22826 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22827 Declare __clock_getres, __clock_gettime, __clock_settime,
22828 __clock_nanosleep, and __clock_getcpuclockid.
22829 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22830 Remove librt_hidden_def (clock_gettime).
22831 * sysdeps/unix/clock_gettime.c: Likewise.
22832 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22834 * rt/clock_getres.c: Define __clock_getres as an alias.
22835 * sysdeps/posix/clock_getres.c: Likewise.
22836 * rt/clock_settime.c: Define __clock_settime as an alias.
22837 * sysdeps/unix/clock_settime.c: Likewise.
22838 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22839 * sysdeps/unix/clock_nanosleep.c: Likewise.
22840 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22841 * rt/clock-compat.c: New file.
22842 * rt/Makefile (librt-routines): Add clock-compat and move
22843 $(clock-routines) to ...
22844 (routines): ... here, new variable.
22845 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22846 Don't add get_clockfreq here.
22847 * rt/Versions (libc: GLIBC_2.17): New version set.
22848 Add clock_* symbols here.
22849 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22850 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22851 (GLIBC_2.17): Add clock_* symbols.
22852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22856 Likewise.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22858 Likewise.
22859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22863 * NEWS: Mention the move.
22864
22865 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22866 Use __open, __read, __close rather than their public counterparts.
22867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22868 (__get_clockfreq_via_cpuinfo): Likewise.
22869 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22870 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22871
22872 * config.h.in (HAVE_IFUNC): New #undef.
22873 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22874 was successful.
22875 * configure: Regenerated.
22876
0cae3f4b
MF
228772012-10-24 Mike Frysinger <vapier@gentoo.org>
22878
22879 * configure.in: Move READELF check to start of file.
22880 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22881 libc_cv_asm_gnu_indirect_function in the process.
22882 * configure: Regenerated.
22883
8175a253
MF
228842012-10-24 Mike Frysinger <vapier@gentoo.org>
22885
22886 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22887 send the output to /dev/null.
22888 (libc_cv_cc_with_libunwind): Likewise.
22889 (libc_cv_as_noexecstack): Likewise.
22890 * configure: Regenerate.
22891
0708a7d1
JM
228922012-10-24 Joseph Myers <joseph@codesourcery.com>
22893
10b40d85
JM
22894 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22895
0708a7d1
JM
22896 * posix/globtest.sh (TMPDIR): Do not set.
22897 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22898 (testout): Likewise.
22899
9fddec1a
AJ
229002012-10-24 Andreas Jaeger <aj@suse.de>
22901
3a8db22f
AJ
22902 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22903 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22904 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22905 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22906 posix_fadvise64, posix_fallocate64.
22907
9fddec1a
AJ
22908 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22909 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22910 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22911 Likewise.
22912 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22913 Likewise.
22914 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22915
22916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22917 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22918 <bits/fcntl-linux.h>.
22919 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22920
22921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22922 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22923 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22924 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22925 [__WORDSIZE != 64]: Likewise.
22926
ebfd1bbd
JM
229272012-10-23 Joseph Myers <joseph@codesourcery.com>
22928
03ac099f
JM
22929 * Makeconfig (run-built-tests): New variable.
22930 * Rules [$(cross-compiling) = yes]: Change condition to
22931 [$(run-built-tests) = no].
22932 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22933 to [$(run-built-tests) = yes].
22934 * elf/Makefile [$(cross-compiling) = no]: Likewise
22935 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22936 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22937 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22938 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22939 * io/Makefile [$(cross-compiling) = no]: Likewise.
22940 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22941 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22942 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22943 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22944 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22945 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22946 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22947 * string/Makefile [$(cross-compiling) = no]: Likewise.
22948
ebfd1bbd
JM
22949 * posix/Makefile ($(objpfx)globtest.out): Pass
22950 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22951 $(rtld-installed-name).
22952 * posix/globtest.sh (elf_objpfx): Remove variable.
22953 (rtld_installed_name): Likewise.
22954 (library_path): Likewise.
22955 (run_program_prefix): New variable. Use for running globtest
22956 binary.
22957
166bca24
JB
229582012-10-23 Jim Blandy <jimb@codesourcery.com>
22959 Joseph Myers <joseph@codesourcery.com>
22960
22961 * Makeconfig (host-built-program-cmd): New variable.
22962 * elf/Makefile (tst-stackguard1-ARGS): Use
22963 $(host-built-program-cmd).
22964 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22965 (tst-spawn-ARGS): Likewise.
22966 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22967
88866099
JM
229682012-10-23 Joseph Myers <joseph@codesourcery.com>
22969 Jim Blandy <jimb@codesourcery.com>
22970
22971 * Makeconfig (run-via-rtld-prefix): New variable.
22972 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22973 (built-program-cmd): Likewise.
22974
b4b4c296
AJ
229752012-10-22 Andreas Jaeger <aj@suse.de>
22976
22977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22978 __O_RSYNC if it exists, otherwise to O_SYNC.
22979
6fb54a22
JB
229802012-10-22 Jim Blandy <jimb@codesourcery.com>
22981 Joseph Myers <joseph@codesourcery.com>
22982
22983 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22984 /dev/null.
22985 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22986 from /dev/null
22987 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22988 /dev/null.
22989
481b90b9
AJ
229902012-10-22 Andreas Jaeger <aj@suse.de>
22991
2a0e2669
AJ
22992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22993 Define always.
22994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22995
76e38f9a
AJ
22996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22997 bits/fcntl-linux.h.
22998
7cd37b43
AJ
22999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23000 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23001
481b90b9
AJ
23002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23003 to __O_LARGEFILE.
23004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23005 to __O_LARGEFILE.
23006
aba75984
JB
230072012-10-21 Jim Blandy <jimb@codesourcery.com>
23008 Joseph Myers <joseph@codesourcery.com>
23009
23010 * config.make.in (NM): New variable.
23011
88d4247f
AJ
230122012-10-21 Andreas Jaeger <aj@suse.de>
23013
23014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23015 definitions and declarations that are provided by
23016 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23017
f2eed205
L
230182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23019
23020 [BZ #14683]
23021 * elf/Makefile (tests-static): Add tst-leaks1-static.
23022 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23023 ($(objpfx)tst-leaks1-static): New rule.
23024 ($(objpfx)tst-leaks1-static-mem): Likewise.
23025 (tst-leaks1-static-ENV): New macro.
23026 * elf/dl-open.c (dl_open_worker): Check the main application
23027 only if SHARED is defined.
23028 * elf/tst-leaks1-static.c: New file.
23029
335e6931
AJ
230302012-10-20 Andreas Jaeger <aj@suse.de>
23031
23032 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23033 generic values for Linux.
23034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23035 and declarations that are provided by <bits/fcntl-linux.h> and
23036 include <bits/fcntl-linux.h>.
23037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23039
ac5c94d3
RM
230402012-10-20 Roland McGrath <roland@hack.frob.com>
23041
23042 * io/fcntl.h: Move include of <bits/types.h> to the top and
23043 include it unconditionally.
23044
de54b33a
L
230452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23046
228cfb01
L
23047 * wcsmbs/Makefile (tests-ifunc): New variable.
23048 (tests): Add $(tests-ifunc).
23049 * wcsmbs/test-wcschr-ifunc.c: New file.
23050 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23051 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23052 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23053 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23054 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23055
69f07e5f
L
23056 * string/Makefile (tests-ifunc): New variable.
23057 (tests): Add $(tests-ifunc).
23058 * string/test-memccpy.c (TEST_NAME): New macro.
23059 * string/test-memchr.c (TEST_NAME): Likewise.
23060 * string/test-memcmp.c (TEST_NAME): Likewise.
23061 * string/test-memcpy.c (TEST_NAME): Likewise.
23062 * string/test-memmem.c (TEST_NAME): Likewise.
23063 * string/test-memmove.c (TEST_NAME): Likewise.
23064 * string/test-memset.c (TEST_NAME): Likewise.
23065 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23066 * string/test-stpcpy.c (TEST_NAME): Likewise.
23067 * string/test-stpncpy.c (TEST_NAME): Likewise.
23068 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23069 * string/test-strcasestr.c (TEST_NAME): Likewise.
23070 * string/test-strcat.c (TEST_NAME): Likewise.
23071 * string/test-strchr.c (TEST_NAME): Likewise.
23072 * string/test-strcmp.c(TEST_NAME): Likewise.
23073 * string/test-strcpy.c (TEST_NAME): Likewise.
23074 * string/test-strcspn.c (TEST_NAME): Likewise.
23075 * string/test-strlen.c (TEST_NAME): Likewise.
23076 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23077 * string/test-strncmp.c (TEST_NAME): Likewise.
23078 * string/test-strncpy.c (TEST_NAME): Likewise.
23079 * string/test-strnlen.c (TEST_NAME): Likewise.
23080 * string/test-strpbrk.c (TEST_NAME): Likewise.
23081 * string/test-strrchr.c (TEST_NAME): Likewise.
23082 * string/test-strspn.c (TEST_NAME): Likewise.
23083 * string/test-strstr.c (TEST_NAME): Likewise.
23084 * string/test-bcopy-ifunc.c: New file.
23085 * string/test-bzero-ifunc.c: Likewise.
23086 * string/test-memccpy-ifunc.c: Likewise.
23087 * string/test-memchr-ifunc.c: Likewise.
23088 * string/test-memcmp-ifunc.c: Likewise.
23089 * string/test-memcpy-ifunc.c: Likewise.
23090 * string/test-memmem-ifunc.c: Likewise.
23091 * string/test-memmove-ifunc.c: Likewise.
23092 * string/test-mempcpy-ifunc.c: Likewise.
23093 * string/test-memset-ifunc.c: Likewise.
23094 * string/test-rawmemchr-ifunc.c: Likewise.
23095 * string/test-stpcpy-ifunc.c: Likewise.
23096 * string/test-stpncpy-ifunc.c: Likewise.
23097 * string/test-strcasecmp-ifunc.c: Likewise.
23098 * string/test-strcasestr-ifunc.c: Likewise.
23099 * string/test-strcat-ifunc.c: Likewise.
23100 * string/test-strchr-ifunc.c: Likewise.
23101 * string/test-strchrnul-ifunc.c: Likewise.
23102 * string/test-strcmp-ifunc.c: Likewise.
23103 * string/test-strcpy-ifunc.c: Likewise.
23104 * string/test-strcspn-ifunc.c: Likewise.
23105 * string/test-strlen-ifunc.c: Likewise.
23106 * string/test-strncasecmp-ifunc.c: Likewise.
23107 * string/test-strncat-ifunc.c: Likewise.
23108 * string/test-strncmp-ifunc.c: Likewise.
23109 * string/test-strncpy-ifunc.c: Likewise.
23110 * string/test-strnlen-ifunc.c: Likewise.
23111 * string/test-strpbrk-ifunc.c: Likewise.
23112 * string/test-strrchr-ifunc.c: Likewise.
23113 * string/test-strspn-ifunc.c: Likewise.
23114 * string/test-strstr-ifunc.c: Likewise.
23115
de54b33a
L
23116 * debug/Makefile (tests-ifunc): New variable.
23117 (tests): Add $(tests-ifunc).
23118 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23119 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23120 * debug/test-stpcpy_chk-ifunc.c: New file.
23121 * debug/test-strcpy_chk-ifunc.c: Likewise.
23122
88481c16
SP
231232012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23124
23125 [BZ #13601]
23126 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23127 header is not read in.
23128
135948bd
JM
231292012-10-19 Joseph Myers <joseph@codesourcery.com>
23130
89f1c388
JM
23131 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23132 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23133 directly. Pass built executable to script as
23134 $(built-program-cmd).
23135 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23136 $testprogram without using LD_LIBRARY_PATH and $ldso.
23137
e40a0d21
JM
23138 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23139 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23140 $(rtld-installed-name).
23141 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23142 (rtld_installed_name): Likewise.
23143 (library_path): Likewise.
23144 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23145 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23146 $(run-program-prefix) to tst-tables.sh.
23147 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23148 it to run tst-table-from and tst-table-to.
23149 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23150 Pass it to tst-table.sh.
23151 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23152 $(run-program-prefix) to tst-gettext.sh.
23153 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23154 tst-translit.sh.
23155 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23156 tst-gettext2.sh.
23157 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23158 to run tst-gettext.
23159 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23160 to run tst-gettext2.
23161 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23162 to run tst-translit.
23163 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23164 $(run-program-prefix) to tst-mtrace.sh.
23165 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23166 to run tst-mtrace.
23167 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23168 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23169 $(rtld-installed-name).
23170 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23171 (rtld_installed_name): Likewise.
23172 (run_program_prefix): New variable. Use it to run wordexp-test.
23173
728e272a
JM
23174 * Makeconfig (ARCH): Remove all definitions.
23175 (machine): Likewise.
23176 [ARCH]: Remove conditional code.
23177 [!objdir]: Give error.
23178 [!objdir] (objpfx): Remove.
23179 [!objdir] (common-objpfx): Likewise.
23180 [!objdir] (common-objdir): Likewise.
23181 * configure.in (config_makefile): Remove. Hardcode Makefile in
23182 AC_CONFIG_FILES call.
23183 * configure: Regenerated.
23184
d528cdcf
JM
23185 [BZ #13888]
23186 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23187 or TMPDIR.
23188 (testout): Likewise.
23189
135948bd
JM
23190 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23191 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23192 $(rtld-installed-name).
23193 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23194 (rtld_installed_name): Likwise.
23195 (runit): Remove function.
23196 (run_getconf): New variable, Use it for running getconf binary.
23197
38c78296
L
231982012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23199
23200 [BZ #14716]
23201 * string/test-memmem.c (check_result): New function.
23202 (do_one_test): Use it.
23203 (check1): New function.
23204 (test_main): Use it.
23205
d077f65f
MT
232062012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23207
23208 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23209
ced52c71
JM
232102012-10-18 Joseph Myers <joseph@codesourcery.com>
23211
23212 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23213 (_G_LSEEK64): Likewise.
23214 (_G_MMAP64): Likewise.
23215 (_G_FSTAT64): Likewise.
23216 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23217 (_G_LSEEK64): Likewise.
23218 (_G_MMAP64): Likewise.
23219 (_G_FSTAT64): Likewise.
23220 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23221 unconditional. Call __mmap64 directly.
23222 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23223 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23224 __lseek64 directly.
23225 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23226 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23227 __mmap64 directly.
23228 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23229 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23230 __lseek64 directly.
23231 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23232 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23233 __lseek64 directly.
23234 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23235 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23236 __lseek64 directly.
23237 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23238 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23239 __fxstat64 directly.
23240 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23241 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23242 unconditional.
23243 (freopen64) [!_G_OPEN64]: Remove conditional code.
23244 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23245 unconditional.
23246 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23247 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23248 unconditional.
23249 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23250 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23251 unconditional.
23252 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23253 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23254 unconditional.
23255 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23256 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23257 unconditional.
23258 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23259 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23260 unconditional.
23261 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23262 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23263 unconditional.
23264 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23265
b741de23
SP
232662012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23267
23268 [BZ #12140]
23269 * manual/memory.texi (Malloc Tunable Parameters): Add note
23270 about free list pointers overwriting some perturb bytes.
23271 Wording suggested by Roland McGrath.
23272
f9b9d9c9
JM
232732012-10-17 Joseph Myers <joseph@codesourcery.com>
23274
23275 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23276 (lgamma_test): Likewise.
23277 (tgamma_test): Likewise.
23278
172a631a
FW
232792012-10-16 Florian Weimer <fweimer@redhat.com>
23280
23281 [BZ #14700]
23282 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23283 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23284
e9f37252
MK
232852012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23286
23287 * NEWS: Mention BZ #14716.
23288 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23289 when removing AVAILABLE1_USES_J macro.
23290
d394eb74
L
232912012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23292
23293 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23294 (__bswap_64): __uint64_t for unsigned 64-bit int.
23295
ca38dc17
AS
232962012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23297
23298 * include/string.h (memmem): Declare libc hidden alias.
23299 * string/memmem.c (memmem): Define libc hidden alias.
23300 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23301 __read, __close instead of open, read, close.
23302
9a387d1f
L
233032012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23304
ac49ecaf
L
23305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23306 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23307 global and hidden.
23308 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23309 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23310 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23311 Likewise.
23312 (__rawmemchr_sse2): Likewise.
23313 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23314 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23315 (__strchr_sse2): Likewise.
23316 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23317 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23318 (__strcasecmp_sse2): Likewise.
23319 (__strncasecmp_sse2): Likewise.
23320 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23321 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23322 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23323 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23324 (__strrchr_sse2): Likewise.
23325 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23326 ifunc-impl-list.c.
23327 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23328 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23329 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23330 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23331 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23332 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23333 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23334 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23335 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23336 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23337 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23338 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23339 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23340 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23341 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23342 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23343 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23344 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23345 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23346 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23347 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23348 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23349 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23350 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23351 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23353 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23354 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23355 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23356 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23357
b090e8ea
L
23358 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23359 global and hidden.
23360 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23361 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23362 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23363 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23364 Likewise.
23365 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23366 Likewise.
23367 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23368 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23369 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23370 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23371 ifunc-impl-list.c.
23372 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23373 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23374 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23375 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23376 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23377 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23378 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23379 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23380 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23381 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23385 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23386 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23387 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23388 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23389 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23390 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23391 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23392 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23393 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23394 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23395 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23397 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23398 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23399 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23400 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23401 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23402 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23403 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23404 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23405 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23406 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23407 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23408 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23409 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23410 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23411 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23412 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23413
11dd4af6
L
23414 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23415 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23416 * include/ifunc-impl-list.h: New file.
23417 * misc/ifunc-impl-list.c: Likewise.
23418 * misc/Makefile (routines): Add ifunc-impl-list.
23419 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23420 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23421 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23422 TEST_NAME]: New variables.
11dd4af6
L
23423 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23424 are defined.
23425 (test_init): Call __libc_ifunc_impl_list to initialize
23426 func_list if TEST_IFUNC and TEST_NAME are defined.
23427
9a387d1f
L
23428 * string/Makefile (strop-tests): Add bcopy and bzero.
23429 * string/test-bcopy.c: New file.
23430 * string/test-bzero.c: Likewise.
23431 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23432 defined.
23433 * string/test-memset.c: Support bzero test if TEST_BZERO is
23434 defined.
23435 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23436 __libc_memmove.
23437 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23438 __libc_memset.
23439 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23440 of memset.
23441
472371b9
JM
234422012-10-10 Joseph Myers <joseph@codesourcery.com>
23443
1e4a9536
JM
23444 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23445 * configure: Regenerated.
23446
d173d12e
JM
23447 * Makeconfig (+link-static-before-libc): Don't include
23448 $(link-static-libc).
23449
472371b9
JM
23450 * libio/libio.h (_IO_pos_t): Remove.
23451
89a3ad0b
AO
234522012-10-10 Alexandre Oliva <aoliva@redhat.com>
23453
23454 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23455 McGrath.
23456
e7451425
AO
234572012-10-10 Alexandre Oliva <aoliva@redhat.com>
23458
23459 * crypt/crypt-entry.c: Include fips-private.h.
23460 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23461 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23462 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23463 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23464
4ba74a35
AO
234652012-10-10 Alexandre Oliva <aoliva@redhat.com>
23466
23467 * crypt/crypt-private.h: Include stdbool.h.
23468 (_ufc_setup_salt_r): Return bool.
23469 * crypt/crypt-entry.c: Include errno.h.
23470 (__crypt_r): Return NULL with EINVAL for bad salt.
23471 * crypt/crypt_util.c (bad_for_salt): New.
23472 (_ufc_setup_salt_r): Check that salt is long enough and within
23473 the specified alphabet.
23474 * crypt/badsalttest.c: New file.
23475 * crypt/Makefile (tests): Add it.
23476 ($(objpfx)badsalttest): New.
23477
f96f1242
MK
234782012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23479
23480 * NEWS: Add entry for BZ #14602.
23481
0e8e0c1c
JM
234822012-10-09 Joseph Myers <joseph@codesourcery.com>
23483
23484 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23485 type-generic.
23486 * math/libm-test.inc: Update comment listing what functions and
23487 macros are tested.
23488 (isgreater_test): New function.
23489 (isgreaterequal_test): Likewise.
23490 (isless_test): Likewise.
23491 (islessequal_test): Likewise.
23492 (islessgreater_test): Likewise.
23493 (isunordered_test): Likewise.
23494 (main): Call the new functions.
23495
273edc5e
RM
234962012-10-09 Roland McGrath <roland@hack.frob.com>
23497
b8493de0
RM
23498 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23499 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23500 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23501 * sysdeps/i386/configure: Regenerated.
23502 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23503 * sysdeps/mach/configure: Regenerated.
23504 * sysdeps/mach/hurd/configure: Regenerated.
23505 * sysdeps/powerpc/configure: Regenerated.
23506 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23507 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23508 * sysdeps/s390/s390-32/configure: Regenerated.
23509 * sysdeps/s390/s390-64/configure: Regenerated.
23510 * sysdeps/sh/configure: Regenerated.
23511 * sysdeps/sparc/configure: Regenerated.
23512 * sysdeps/unix/sysv/linux/configure: Regenerated.
23513 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23514 * sysdeps/x86_64/configure: Regenerated.
23515
273edc5e
RM
23516 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23517 defined. Don't check if MAP is NULL.
23518
c8450f70
JM
235192012-10-09 Joseph Myers <joseph@codesourcery.com>
23520
23521 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23522 (_G_stat64): Likewise.
23523 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23524 (_G_stat64): Likewise.
23525 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23526 instead of struct _G_stat64.
23527 * libio/fileops.c (mmap_remap_check): Likewise.
23528 (decide_maybe_mmap): Likewise.
23529 (_IO_new_file_seekoff): Likewise.
23530 (_IO_file_stat): Likewise.
23531 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23532 _G_off64_t.
23533 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23534 instead of struct _G_stat64.
23535 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23536
57e605ba
MK
235372012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23538
23539 [BZ #14602]
23540 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23541 Replace with ...
23542 (CHECK_EOL): New macro.
23543 (two_way_short_needle): Check beginning of haystack for EOL. Use
23544 CHECK_EOL.
23545 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23546 Replace with CHECK_EOL.
23547 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23548 Replace with CHECK_EOL.
23549
ef1bb361
JM
235502012-10-08 Joseph Myers <joseph@codesourcery.com>
23551
23552 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23553 type-generic.
23554 * math/libm-test.inc: Update comment listing what functions and
23555 macros are tested.
23556 (finite_test): New function.
23557 (isinf_test): Likewise.
23558 (isnan_test): Likewise.
23559 (fpclassify_test): Test subnormal input.
23560 (isfinite_test): Likewise.
23561 (isnormal_test): Likewise.
23562 (main): Call the new functions.
23563
55f11534
JN
235642012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23565
23566 [BZ #14660]
23567 * Makerules (%.dynsym): Force C locale when running
23568 $(OBJDUMP) --dynamic-syms.
23569
1ab29350
AS
235702012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23571
23572 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23573 <stdint.h>.
23574
f1ecb7ef
DM
235752012-10-06 David S. Miller <davem@davemloft.net>
23576
23577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23578 upper 32-bits of the length value in %o2 since we use branch-on-register
23579 tests which consider the entire 64-bit register.
23580
5d41d91a
L
235812012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23582
23583 * string/test-strstr.c (check2): Add a test for page boundary.
23584
3baddb72
DM
235852012-10-05 David S. Miller <davem@davemloft.net>
23586
23587 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23588 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23589 file.
23590 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23591 sysdep_routines.
23592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23593 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23594 and bzero when HWCAP_SPARC_CRYPTO is present.
23595
9cee5585
L
235962012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23597
d7e0dab9
L
23598 [BZ #14602]
23599 * string/test-strstr.c (check2): New function.
23600 (test_main): Call check2.
23601
03759f47
L
23602 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23603 and bug-strchr1.
23604 * string/bug-strcasestr1.c (do_test): Moved to ...
23605 * string/test-strcasestr.c (check1): Here. New function.
23606 (do_one_test): Break out result checking code into ...
23607 (check_result): This. New function.
23608 (do_one_test): Call check_result.
23609 (test_main): Call check1.
23610 * string/bug-strchr1.c (do_test): Moved to ...
23611 * string/test-strchr.c (check1): Here. New function.
23612 (do_one_test): Break out result checking code into ...
23613 (check_result): This. New function.
23614 (do_one_test): Call check_result.
23615 (test_main): Call check1.
23616 * string/bug-strstr1.c (main): Moved to ...
046f153e 23617 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23618 (do_one_test): Break out result checking code into ...
23619 (check_result): This. New function.
23620 (do_one_test): Call check_result.
23621 (test_main): Call check1.
23622 * string/bug-strcasestr1.c: Removed.
23623 * string/bug-strchr1.c: Likewise.
23624 * string/bug-strstr1.c: Likewise.
23625
53cea63e
L
23626 * elf/Makefile (dl-routines): Add hwcaps.
23627 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23628 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23629 (_dl_important_hwcaps): Moved to ...
23630 * elf/dl-hwcaps.c: Here. New file.
23631 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23632
9cee5585 23633 [BZ #14557]
bb859b06
L
23634 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23635 if IS_IN_rtld isn't defined.
23636
9cee5585
L
23637 * elf/dl-support.c (_dl_sysinfo_map): New.
23638 Include "get-dynamic-info.h" and "setup-vdso.h".
23639 (_dl_non_dynamic_init): Call setup_vdso.
23640 * elf/dynamic-link.h: Don't include <assert.h>.
23641 (elf_get_dynamic_info): Moved to ...
23642 * elf/get-dynamic-info.h: Here. New file.
23643 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23644 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23645 * elf/setup-vdso.h: Here. New file.
23646 * elf/rtld.c: Include "setup-vdso.h".
23647 (dl_main): Call setup_vdso.
23648
23c31b76
JM
236492012-10-05 Joseph Myers <joseph@codesourcery.com>
23650
28234b07
JM
23651 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23652 creal in comment listing functions tested. List finite, isinf,
23653 isnan, isless, islessequal, isgreater, isgreaterequal,
23654 islessgreater, isunordered, lgamma_r and pow10 as functions and
23655 macros not tested. Mention which functions not tested are aliases
23656 for other functions. Fix typo. Note that signs of NaNs are not
23657 tested.
23658
23c31b76
JM
23659 * scripts/config.guess: Update from config.git.
23660 * scripts/config.sub: Likewise.
23661
9043e228
RM
236622012-10-04 Roland McGrath <roland@hack.frob.com>
23663
23664 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23665 * misc/madvise.c (madvise): Renamed to __madvise.
23666 Make madvise a weak alias.
23667 * include/sys/mman.h: Declare __madvise.
23668 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23669 * sysdeps/unix/syscalls.list
23670 (madvise): Make __madvise the strong name, and madvise a weak alias.
23671 * sysdeps/unix/sysv/linux/syscalls.list
23672 (madvise, mmap): Remove redundant entries.
23673 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23674 * malloc/malloc.c (mtrim): Likewise.
23675 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23676
f57f8055
RM
236772012-10-03 Roland McGrath <roland@hack.frob.com>
23678
23679 * sysdeps/mach/hurd/dl-cache.c: File removed.
23680 * config.h.in (USE_LDCONFIG): New #undef.
23681 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23682 * configure: Regenerated.
23683 * elf/Makefile (dl-routines): Add dl-cache only under
23684 [$(use-ldconfig) = yes].
23685 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23686 cache on [USE_LDCONFIG].
23687 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23688 [USE_LDCONFIG].
23689 * elf/rtld.c (dl_main): Likewise.
23690
5bb0c10a
PT
236912012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23692
23693 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23694 _SC_LEVEL4_CACHE_LINESIZE.
23695
010188c6
RM
236962012-10-03 Roland McGrath <roland@hack.frob.com>
23697
23698 * sysdeps/unix/bsd/confstr.h: File removed.
23699
b6c5ec07
AO
237002012-10-02 Alexandre Oliva <aoliva@redhat.com>
23701
23702 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23703 sys/sdt-config.h.
23704
408223d4
RM
237052012-10-02 Roland McGrath <roland@hack.frob.com>
23706
23707 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23708 Make 'mapoff' field ElfW(Off) rather than off_t.
23709
bb9510dc
DL
237102012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23711
fc997c6e
DL
23712 * nscd/Makefile: Remove nscd-cflags and all its users.
23713 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23714 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23715
bb9510dc
DL
23716 [BZ #10631]
23717 * malloc.c (malloc_printerr): Clarify error message.
23718
05699367
L
237192012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23720
23721 [BZ #14648]
23722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23723 Set bit_FMA_Usable if FMA is supported.
23724 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23725 macro.
23726 (bit_FMA4_Usable): Updated.
23727 (index_FMA_Usable): New macro.
23728 (CPUID_FMA): Likewise
23729 (HAS_FMA): Defined with bit_FMA_Usable.
23730
51367701
RM
237312012-10-01 Roland McGrath <roland@hack.frob.com>
23732
23733 * bits/types.h (__swblk_t): Type removed.
23734 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23735 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23737 (__SWBLK_T_TYPE): Likewise.
23738 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23739 (__SWBLK_T_TYPE): Likewise.
23740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23741 (__SWBLK_T_TYPE): Likewise.
23742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23743 (__SWBLK_T_TYPE): Likewise.
23744
4d57bf63 237452012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23746 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23747
23748 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23749 (xdr_mapname): Use YPMAXMAP as maxsize.
23750 (xdr_peername): Use YPMAXPEER as maxsize.
23751 (xdr_keydat): Use YPAXRECORD as maxsize.
23752 (xdr_valdat): Use YPMAXRECORD as maxsize.
23753
93c65d43
RM
237542012-10-01 Roland McGrath <roland@hack.frob.com>
23755
497a03d6
RM
23756 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23757
93c65d43
RM
23758 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23759 * csu/init-first.c: ... here.
23760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23761 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23762 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23763 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23764 * sysdeps/i386/init-first.c: File removed.
23765 * sysdeps/sh/init-first.c: File removed.
23766
bec749fd
JM
237672012-10-01 Joseph Myers <joseph@codesourcery.com>
23768
23769 [BZ #14645]
23770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23771 if x * y might underflow to zero and z is zero.
23772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23774 * math/libm-test.inc (min_subnorm_value): New variable.
23775 (fma_test): Add more tests.
23776 (fma_test_towardzero): Likewise.
23777 (fma_test_downward): Likewise
23778 (fma_test_upward): Likewise.
23779 (initialize): Set min_subnorm_value.
23780
8ec5b013
JM
237812012-09-29 Joseph Myers <joseph@codesourcery.com>
23782
23783 [BZ #14638]
23784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23785 0 + 0.
23786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23787 mode for addition resulting in exact zero.
23788 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23790 exact 0 + 0.
23791 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23793 * math/libm-test.inc (fma_test): Add more tests.
23794 (fma_test_towardzero): New function.
23795 (fma_test_downward): Likewise.
23796 (fma_test_upward): Likewise.
23797 (main): Call the new functions.
23798
b1fa802e
DM
237992012-09-28 David S. Miller <davem@davemloft.net>
23800
23801 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23802
d3b9fd9e
RM
238032012-09-28 Roland McGrath <roland@hack.frob.com>
23804
ea4d37b3
RM
23805 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23806 instead of SIGALRM.
23807
ac51c949
RM
23808 * sysdeps/gnu/_G_config.h: Moved to ...
23809 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23810 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23811 * sysdeps/generic/_G_config.h: ... here.
23812
28c195f7
RM
23813 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23814
848917f9
RM
23815 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23816
6bacf05b
RM
23817 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23818 Conditionalize target on [libnss_test1.so-version].
23819
91363dbb
RM
23820 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23821
cc87f7d8
RM
23822 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23823 (elfobjdir): Move out of conditionals.
23824
b1c608fe
RM
23825 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23826 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23827 (__nss_lookup_function): Conditionalize label remove_from_tree on
23828 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23829
1d9a6d96
DM
238302012-09-28 David S. Miller <davem@davemloft.net>
23831
23832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23833 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23834 file.
23835 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23836 sysdep_routines.
23837 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23839 when HWCAP_SPARC_CRYPTO is present.
23840
72581615
PT
238412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23842
23843 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23844
715a900c
JL
238452012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23846
23847 [BZ #6530]
23848 * stdio-common/vfprintf.c (process_string_arg): Revert
23849 2000-07-22 change.
23850
238512011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23852
23853 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23854 for testcase.
23855 * stdio-common/tst-sprintf.c: Include <locale.h>
23856 (main): Test sprintf's handling of incomplete multibyte
23857 characters.
23858
9bac1d86
L
238592012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23860
23861 * elf/dl-runtime.c (VERSYMIDX): Removed.
23862 * elf/dl-version.c (VERSYMIDX): Likewise.
23863 * elf/do-rel.h (VERSYMIDX): Likewise.
23864 (VALIDX): Likewise.
23865 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23866 * elf/rtld.c (VALIDX): Likewise.
23867 (ADDRIDX): Likewise.
9bac1d86
L
23868 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23869 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23870 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23871 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23872 (VALIDX): Likewise.
23873 (ADDRIDX): Likewise.
9bac1d86 23874
b31606c0
PT
238752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23876
23877 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23878
11541177
JL
238792012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23880
23881 [BZ #11438]
23882 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23883 to global scope.
23884 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23885 addresses are in the same scope as 192.0.2/24.
23886 * posix/gai.conf: Document new scope table defaults.
23887
adb26fae
SP
238882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23889
23890 [BZ #5298]
23891 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23892 for ftell. Compute offsets from write pointers instead.
23893 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23894
4573c6b0
SP
238952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23896
23897 [BZ #14543]
23898 * libio/Makefile (tests): New test case tst-fseek.
23899 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23900 combination works in wide mode.
23901 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23902 state when the external buffer state changes.
23903
aa9bbfe6
DM
239042012-09-27 David S. Miller <davem@davemloft.net>
23905
23906 [BZ #14376]
23907 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23908 pass reloc->r_addend in as the 'high' argument to
23909 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23910
784421e7
DM
23911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23912
c39bc8b8
PT
239132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23914
23915 * rt/tst-aio2.c: Include <pthread.h>.
23916 * rt/tst-aio3.c: Likewise.
23917
1ccc2399
SE
239182012-09-27 Steve Ellcey <sellcey@mips.com>
23919
23920 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23921
31ed4153
L
239222012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23923
25f5f885
L
23924 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23925 contents on [SHARED].
31ed4153 23926
b7bfe116
MP
239272012-09-26 Marek Polacek <polacek@redhat.com>
23928
23929 [BZ #14530]
23930 [BZ #13741]
23931 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23932 for C++ and GCC <4.3 as well as for non GCC compilers.
23933
43c4edba
MT
239342012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23935
23936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23937
6a1bf82f
RM
239382012-09-25 Roland McGrath <roland@hack.frob.com>
23939
23940 * Makefile.in (all, install): Declare with .PHONY.
23941 Reported by Michael Hope <michael.hope@linaro.org>.
23942
8ad11b9a
TMQMF
239432012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23944
23945 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23946 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23947 system header.
23948 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23949 Likewise.
23950 (sydep_routines): Add the new and the internal functions.
23951 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23952 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23954 (GLIBC_2.17): Add the new function.
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23956 (GLIBC_2.17): Likewise.
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23958 (GLIBC_2.17): Likewise.
23959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23960 (GLIBC_2.17): Likewise.
23961 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23962
7e2fca8d
AM
239632012-09-25 Alan Modra <amodra@gmail.com>
23964
23965 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23966 Add release barrier before setting once_control to say
23967 initialisation is done. Add hints on lwarx. Use macro in
23968 place of isync.
23969 (clear_once_control): Add release barrier.
23970
b87c4b24
JM
239712012-09-25 Joseph Myers <joseph@codesourcery.com>
23972
d032e0d2
JM
23973 [BZ #13629]
23974 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23975 specially.
23976 * math/s_clog10.c (__clog10): Likewise.
23977 * math/s_clog10f.c (__clog10f): Likewise.
23978 * math/s_clog10l.c (__clog10l): Likewise.
23979 * math/s_clogf.c (__clogf): Likewise.
23980 * math/s_clogl.c (__clogl): Likewise.
23981 * math/Makefile (libm-calls): Add x2y2m1.
23982 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23983 (__x2y2m1): Likewise.
23984 (__x2y2m1l): Likewise.
23985 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23986 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23991 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23992 * sysdeps/i386/fpu/libm-test-ulps: Update.
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23994
b87c4b24
JM
23995 [BZ #14621]
23996 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23997 int as type of variable DEPTH.
23998 (glob): Use size_t instead of int as type of variables NEWCOUNT
23999 and OLD_PATHC.
24000
6d3bf199
LD
240012012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24002
22bf5c17
LD
24003 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24004 Add s_sincosf-sse2.
24005 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24006 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24007 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24008 macros for using routine as __sincosf_ia32.
24009 Use macro for function declaration and weak_alias.
24010 * sysdeps/i386/fpu/libm-test-ulps: Update.
24011
24012 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24014
24015 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24016 subnormal argument.
24017 * math/s_cexpf.c (__cexpf): Likewise.
24018 * math/s_csinf.c (__csinf): Likewise.
24019 * math/s_csinhf.c (__csinhf): Likewise.
24020 * math/s_ctanf.c (__ctanf): Likewise.
24021 * math/s_ctanhf.c (__ctanhf): Likewise.
24022 * math/s_ccosh.c (__ccoshf): Likewise.
24023 * math/s_cexp.c (__cexpl): Likewise.
24024 * math/s_csin.c (__csin): Likewise.
24025 * math/s_csinh.c (__csinh): Likewise.
24026 * math/s_ctan.c (__ctan): Likewise.
24027 * math/s_ctanh.c (ctanh): Likewise.
24028 * math/s_ccoshl.c (__ccoshl): Likewise.
24029 * math/s_cexpl.c (__cexpl): Likewise.
24030 * math/s_csinl.c (__csinl): Likewise.
24031 * math/s_csinhl.c (__csinhl): Likewise.
24032 * math/s_ctanl.c (__ctanl): Likewise.
24033 * math/s_ctanhl.c (__ctanhl): Likewise.
24034
203e5603
JM
240352012-09-25 Joseph Myers <joseph@codesourcery.com>
24036
24037 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24038 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24039 (_IO_off_t): Define to __off_t, not _G_off_t.
24040 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24041 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24042 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24043 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24044 type of __dummy and __dummy2 fields.
24045 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24046 (_G_ssize_t): Likewise.
24047 (_G_off_t): Likewise.
24048 (_G_pid_t): Likewise.
24049 (_G_uid_t): Likewise.
24050 (_G_wchar_t): Likewise.
24051 (_G_wint_t): Likewise.
24052 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24053 (_G_ssize_t): Likewise.
24054 (_G_off_t): Likewise.
24055 (_G_pid_t): Likewise.
24056 (_G_uid_t): Likewise.
24057 (_G_wchar_t): Likewise.
24058 (_G_wint_t): Likewise.
24059 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24060 (_G_ssize_t): Likewise.
24061 (_G_off_t): Likewise.
24062 (_G_pid_t): Likewise.
24063 (_G_uid_t): Likewise.
24064 (_G_wchar_t): Likewise.
24065 (_G_wint_t): Likewise.
24066
9fab36eb
SP
240672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24068
24069 * malloc/arena.c: Include malloc-sysdep.h.
24070 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24071 is sufficient to shrink the heap or an unmap is needed.
24072 * sysdeps/generic/malloc-sysdep.h: New file. Define
24073 new function check_may_shrink_heap.
24074 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24075 new function check_may_shrink_heap.
24076
2b4f00d1
SP
240772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24078
24079 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24080 comments.
24081
9a9028b1
DL
240822012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24083
57c69bef
DL
24084 * catgets/test-gencat.sh: Add "set -e".
24085 * elf/tst-pathopt.sh: Likewise.
24086 * grp/tst_fgetgrent.sh: Likewise.
24087 * iconvdata/run-iconv-test.sh: Likewise.
24088 * intl/tst-gettext.sh: Likewise.
24089 * intl/tst-gettext2.sh: Likewise.
24090 * intl/tst-gettext4.sh: Likewise.
24091 * intl/tst-gettext6.sh: Likewise.
24092 * intl/tst-translit.sh: Likewise.
24093 * io/ftwtest-sh: Likewise.
24094 * libio/test-freopen.sh: Likewise.
24095 * malloc/tst-mtrace.sh: Likewise.
24096 * posix/globtest.sh: Likewise.
24097 * posix/tst-getconf.sh: Likewise.
24098 * posix/wordexp-tst.sh: Likewise.
24099 * stdio-common/tst-printf.sh: Likewise.
24100 * stdio-common/tst-unbputc.sh: Likewise.
24101 * stdlib/tst-fmtmsg.sh: Likewise.
24102 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24103 * catgets/Makefile: Do not specify -e option when running
24104 testsuite shell scripts.
24105 * elf/Makefile: Likewise.
24106 * grp/Makefile: Likewise.
24107 * iconvdata/Makefile: Likewise.
24108 * intl/Makefile: Likewise.
24109 * io/Makefile: Likewise.
24110 * libio/Makefile: Likewise.
24111 * malloc/Makefile: Likewise.
24112 * posix/Makefile: Likewise.
24113 * stdio-common/Makefile: Likewise.
24114 * stdlib/Makefile: Likewise.
24115 * sysdeps/x86_64/Makefile: Likewise.
24116
9a9028b1
DL
24117 * io/ftwtest-sh: Add copyright header.
24118 * posix/globtest.sh: Likewise.
24119 * posix/tst-getconf.sh: Likewise.
24120 * posix/wordexp-tst.sh: Likewise.
24121 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24122
ced6f16e
L
241232012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24124
94b32c39
L
24125 [BZ #13679]
24126 * Makeconfig (+link): Defined as $(+link-static) if
24127 $(build-shared) isn't yes.
24128 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24129 isn't yes.
24130 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24131
189e935b
L
24132 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24133
ced6f16e
L
24134 [BZ #14562]
24135 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24136 new chunk size with MALLOC_ALIGN_MASK.
24137
a9f8e53a
JM
241382012-09-24 Joseph Myers <joseph@codesourcery.com>
24139
24140 [BZ #5044]
24141 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24142 <rounding-mode.h>.
24143 (__printf_fphex): Determine rounding using get_rounding_mode and
24144 round_away.
24145 * stdio-common/tst-printf-round.c (struct hex_test): New
24146 structure.
24147 (hex_tests): New variable.
24148 (test_hex_in_one_mode): New function.
24149 (do_test): Also run tests for hex float output.
24150
43153109
JM
241512012-09-21 Joseph Myers <joseph@codesourcery.com>
24152
24153 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24154 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24155 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24156 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24157 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24158 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24159 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24160 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24161
8a26625d
JM
241622012-09-20 Joseph Myers <joseph@codesourcery.com>
24163
24164 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24165 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24166 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24167 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24168
f3fd569c
DL
241692012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24170
24171 [BZ #14579]
24172 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24173 mode only.
24174 * elf/tst-rtld-load-self.sh: New test.
24175 * elf/Makefile: Run it.
24176
63bbedd4
JM
241772012-09-18 Joseph Myers <joseph@codesourcery.com>
24178
24179 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24180 (tst-writev-ENV): Remove.
24181 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24182
626f8b6a
CM
241832012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24184
24185 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24186
b7aaa4d6
JM
241872012-09-17 Joseph Myers <joseph@codesourcery.com>
24188
24189 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24190 unconditional.
24191 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24192 Likewise.
24193 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24194 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24196 Likewise.
24197
65513990
L
241982012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24199
24200 [BZ #14587]
24201 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24202 * config.make.in (have-cpp-asm-debuginfo): Removed.
24203 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24204 * configure: Regenerated.
24205
784761be
JM
242062012-09-14 Joseph Myers <joseph@codesourcery.com>
24207
24208 [BZ #5044]
24209 * stdio-common/printf_fp.c: Include <stdbool.h> and
24210 <rounding-mode.h>.
24211 (___printf_fp): Determine rounding using get_rounding_mode and
24212 round_away.
24213 * stdio-common/tst-printf-round.c: New file.
24214 * stdio-common/Makefile (tests): Add tst-printf-round.
24215 (link-libm): New variable.
24216 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24217
9503345f
L
242182012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 [BZ #14576]
24221 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24222 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24223 Likewise.
24224 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24225 Likewise.
24226
ad35fc00
JM
242272012-09-13 Joseph Myers <joseph@codesourcery.com>
24228
24229 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24230 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24231 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24233
6c9b0f68
JM
242342012-09-12 Joseph Myers <joseph@codesourcery.com>
24235
24236 [BZ #14518]
24237 * include/rounding-mode.h: New file.
24238 * sysdeps/generic/get-rounding-mode.h: Likewise.
24239 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24240 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24241 (MAX_VALUE): New macro.
24242 (MIN_VALUE): Likewise.
24243 (overflow_value): New function.
24244 (underflow_value): Likewise.
24245 (round_and_return): Use overflow_value and underflow_value to
24246 determine return values in overflow and underflow cases. Use
24247 round_away to determine rounding depending on rounding mode.
24248 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24249 determine return values in overflow and underflow cases.
24250 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24251 (struct test_results): New structure.
24252 (struct test): Use struct test_results to store expected results
24253 for all rounding modes.
24254 (TEST): Include expected results for all rounding modes.
24255 (test_in_one_mode): New function.
24256 (do_test): Use test_in_one_mode to compute and check results.
24257 Check results for all rounding modes.
24258 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24259 $(link-libm).
24260
19fcedd5
AM
242612012-12-09 Allan McRae <allan@archlinux.org>
24262
1e9d84cd 24263 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24264
8bbfd2f1
JM
242652012-09-11 Joseph Myers <joseph@codesourcery.com>
24266
24267 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24268 (_G_int32_t): Likewise.
24269 (_G_uint16_t): Likewise.
24270 (_G_uint32_t): Likewise.
24271 (_G_HAVE_BOOL): Likewise.
24272 (_G_HAVE_ATEXIT): Likewise.
24273 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24274 (_G_HAVE_IO_FILE_OPEN): Likewise.
24275 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24276 (_G_int32_t): Likewise.
24277 (_G_uint16_t): Likewise.
24278 (_G_uint32_t): Likewise.
24279 (_G_HAVE_BOOL): Likewise.
24280 (_G_HAVE_ATEXIT): Likewise.
24281 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24282 (_G_HAVE_IO_FILE_OPEN): Likewise.
24283 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24284 (_G_int32_t): Likewise.
24285 (_G_uint16_t): Likewise.
24286 (_G_uint32_t): Likewise.
24287 (_G_HAVE_BOOL): Likewise.
24288 (_G_HAVE_ATEXIT): Likewise.
24289 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24290 (_G_HAVE_IO_FILE_OPEN): Likewise.
24291
b1dc5912
L
242922012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24293
24294 * csu/libc-tls.c: Update copyright years.
24295
0e886ef9
JM
242962012-09-10 Joseph Myers <joseph@codesourcery.com>
24297
28361c5e
JM
24298 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24299 [!_G_USING_THUNKS]: Remove conditional code.
24300 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24301 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24302
0e886ef9
JM
24303 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24304 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24305 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24306 (_G_VTABLE_LABEL_PREFIX): Likewise.
24307 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24308 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24309 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24310 (_G_VTABLE_LABEL_PREFIX): Likewise.
24311 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24312 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24313 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24314 (_G_VTABLE_LABEL_PREFIX): Likewise.
24315 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24316
bcba7aa2
L
243172012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24318
24319 * libio/Makefile: Include ../Makeconfig before tests.
24320 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24321 only if $(build-shared) is yes.
24322
06585ee8
L
24323 * iconv/gconv_db.c: Update copyright years.
24324
80ccd52c
LD
243252012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24326
24327 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24328 unwind info if defined PIC. Fix special cases description.
24329 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24330
24331 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24332 DP_HI_MASK entry.
24333 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24334
691bc9c1
L
243352012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24336
3d9b46b3
L
24337 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24338
de2139a9
L
24339 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24340 is NULL.
24341
5ca78dd0
L
24342 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24343 (LDLIBS-tst-chk4): This.
24344 (LDFLAGS-tst-chk5): Renamed to ...
24345 (LDLIBS-tst-chk5): This.
24346 (LDFLAGS-tst-chk6): Renamed to ...
24347 (LDLIBS-tst-chk6): This.
24348 (LDFLAGS-tst-lfschk4): Renamed to ...
24349 (LDLIBS-tst-lfschk4): This.
24350 (LDFLAGS-tst-lfschk5): Renamed to ...
24351 (LDLIBS-tst-lfschk5): This.
24352 (LDFLAGS-tst-lfschk6): Renamed to ...
24353 (LDLIBS-tst-lfschk6): This.
24354
691bc9c1
L
24355 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24356 on $(common-objpfx)soversions.mk.
24357
65cafb1c
JM
243582012-09-07 Joseph Myers <joseph@codesourcery.com>
24359
24360 [BZ #10014]
24361 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24362 example host name.
24363
c78ab094
SP
243642012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24365
24366 * malloc/arena.c (arena_get_retry): New function that gets
24367 another arena for the caller to try its request on.
24368 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24369 current arena cannot fulfill the request.
24370 (__libc_memalign): Likewise.
24371 (__libc_memalign): Likewise.
24372 (__libc_pvalloc): Likewise.
24373 (__libc_calloc): Likewise.
24374
01f49f59
JT
243752012-09-05 John Tobey <john.tobey@gmail.com>
24376
24377 [BZ #13542]
24378 * manual/arith.texi (Operations on Complex): Fix description
24379 of carg branch cut.
24380
4c23fed5
JM
243812012-09-06 Joseph Myers <joseph@codesourcery.com>
24382
1d3c8572
JM
24383 [BZ #10014]
24384 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24385 host name.
24386
4c23fed5
JM
24387 [BZ #10038]
24388 * manual/memory.texi (Memory): Make order of menu items match
24389 order of sections.
24390
04570aaa
L
243912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24392
24393 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24394 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24395 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24396
b80af2f4
L
243972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24398
24399 * csu/libc-tls.c (static_dtv): Renamed to ...
24400 (_dl_static_dtv): This. Make it global.
24401 (_dl_initial_dtv): Removed.
24402 (__libc_setup_tls): Updated.
24403 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24404 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24405 DL_INITIAL_DTV.
24406
2abe9f15
PM
244072012-09-06 Petr Machata <pmachata@redhat.com>
24408
24409 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24410 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24411 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24412 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24413
0948c3af
L
244142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24415
24416 [BZ #14545]
24417 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24418 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24419 freeing dtv[-1].
24420
a5055ad1
L
244212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24422
24423 [BZ #14544]
24424 * Makeconfig (link-static-before-libc): Replace $(+prector)
24425 with $(+prectorT).
24426 (link-static-after-libc): Replace $(+postctor) with
24427 $(+postctorT).
24428 (link-bounded): Replace $(+prector)/$(+postctor) with
24429 $(+prectorT)/$(+postctorT).
24430 (+prectorT): New macro.
24431 (+postctorT): Likewise.
24432
ed8c2ecd
JM
244332012-09-06 Joseph Myers <joseph@codesourcery.com>
24434
24435 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24436 (round_str): Handle values above the maximum for IBM long double
24437 as inexact.
24438 * stdlib/tst-strtod-round.c (tests): Regenerated.
24439
14c996c8
AK
244402012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24441
24442 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24443 assembler flag.
24444 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24445 zarch_nohighgprs around the zarch optimized routines.
24446 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24447 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24449 for zarch.
24450
430d6ce6
DM
244512012-09-05 David S. Miller <davem@davemloft.net>
24452
24453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24454
57f41c40
AS
24455 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24456 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24457 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24458 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24459 entries.
24460
24d4e01b
AO
244612012-09-05 Alexandre Oliva <aoliva@redhat.com>
24462
24463 * malloc/arena.c: Fold copyright years.
24464 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24465
61d58174
AO
244662012-09-05 Alexandre Oliva <aoliva@redhat.com>
24467
24468 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24469
20196a5e
AO
244702012-09-05 Alexandre Oliva <aoliva@redhat.com>
24471
24472 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24473
5c447383
AO
244742012-09-05 Alexandre Oliva <aoliva@redhat.com>
24475
24476 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24477 change internal state upon failure.
24478
fad64255
AO
244792012-09-05 Alexandre Oliva <aoliva@redhat.com>
24480
24481 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24482 * malloc/memusage.c (mmap): Likewise.
24483 (mmap64, mremap): Likewise. Adjust name in comment.
24484
1ffb8c90
SP
244852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24486
24487 * libio/fileops.c: Fix typos in comments.
24488 * libio/oldfileops.c: Likewise.
24489 * libio/wfileops.c: Likewise.
24490
6ef9cc37
SP
244912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24492
24493 [BZ #1349]
24494 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24495 (tst-malloc-usable-ENV): Set environment for test case.
24496 * malloc/hooks.c (malloc_check_get_size): New function to get
24497 requested size.
24498 * malloc/malloc.c (musable): Use malloc_check_get_size.
24499 * malloc/tst-malloc-usable.c: New test case.
24500
4d038ae3
AS
245012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24502
24503 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24504
c4e85184
AM
245052012-09-05 Allan McRae <allan@archlinux.org>
24506
b9dafc56 24507 [BZ #13966]
c4e85184
AM
24508 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24509 determine header location.
24510 * configure: Regenerated.
24511
e1343020
AS
245122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24513
24514 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24515 float format.
24516 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24517 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24518 format.
e1343020
AS
24519 (test): Regenerate.
24520
0a9f1987
DM
245212012-09-04 David S. Miller <davem@davemloft.net>
24522
24523 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24524 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24525 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24526
29237804
FW
245272012-09-04 Florian Weimer <fweimer@redhat.com>
24528
24529 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24530 failures.
24531
edb3cb88
FW
24532 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24533
60160d83
JM
245342012-09-04 Joseph Myers <joseph@codesourcery.com>
24535
24536 [BZ #9914]
24537 * libio/iogetdelim.c: Include <limits.h>.
24538 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24539 + len + 1 would overflow.
24540
bcd6c8dc
AJ
245412012-09-03 Andreas Jaeger <aj@suse.de>
24542
24543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24544 * sysdeps/i386/fpu/libm-test-ulps: Update.
24545
4ffffbd2
LD
245462012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24547
24548 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24549 Add s_sinf-sse2, s_conf-sse2.
24550
24551 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24552 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24553 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24554 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24555
24556 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24557 for using routine as __sinf_ia32.
24558 Use macro for function declaration and weak_alias.
24559 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24560 for using routine as __cosf_ia32.
24561 Use macro for function declaration and weak_alias.
24562
24563 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24564 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24565
24566 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24567 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24569
24570 * math/libm-test.inc (cos_test): Add more test cases.
24571 (sin_test): Likewise.
24572 (sincos_test): Likewise.
24573
511fa286
AK
245742012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24575
24576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24577 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24578 hidden.
24579 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24580
5f30cfec
L
245812012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24582
24583 [BZ #14538]
24584 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24585 first element of the GOT.
24586 (elf_machine_load_address): Return the difference between
24587 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24588
0786794f
AM
245892012-09-01 Allan McRae <allan@archlinux.org>
24590
5f30cfec
L
24591 [BZ #13412]
24592 * configure.in (AWK): Require gawk version 3.0 or later.
24593 * configure: Regenerated.
0786794f 24594
26889eac
JM
245952012-09-01 Joseph Myers <joseph@codesourcery.com>
24596
24597 * sysdeps/unix/sysv/linux/kernel-features.h
24598 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24599 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24600 [__NR_clock_getres]: Make code unconditional.
24601 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24602 (clock_getcpuclockid): Remove code left unreachable by removal of
24603 conditionals.
24604 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24605 code unconditional.
24606 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24607 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24608 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24609 Make code unconditional.
24610 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24611 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24612 * sysdeps/unix/sysv/linux/clock_settime.c
24613 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24614 conditional code.
24615 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24616 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24617
d22e28b0
L
246182012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24619
24620 [BZ #14476]
24621 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24622 scripts/test-installation.pl.
24623
24624 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24625 and $ld_so_version if it is set.
24626
050af9c4
SP
246272012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24628
24629 [BZ #14516]
24630 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24631 failure if reading from procfs failed.
24632 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24633
ad845c0b
JM
246342012-08-27 Joseph Myers <joseph@codesourcery.com>
24635
24636 * sysdeps/unix/sysv/linux/kernel-features.h
24637 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24638 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24639 Remove conditional code.
24640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24641 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24642 Remove conditional code.
24643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24644 * sysdeps/unix/sysv/linux/i386/fxstat.c
24645 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24647 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24648 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24650 * sysdeps/unix/sysv/linux/i386/lxstat.c
24651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24653 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24654 Remove conditional code.
24655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24656 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24657 Remove conditional code.
24658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24659 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24660 <kernel-features.h>.
24661 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24662 Remove.
24663 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24664 Remove conditional code.
24665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24666 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24667 Remove conditional.
24668
5dbf56af
MF
246692012-08-27 Mike Frysinger <vapier@gentoo.org>
24670
24671 [BZ #5400]
24672 * NEWS: Add fixed bug number.
24673
d6e70f43
JM
246742012-08-27 Joseph Myers <joseph@codesourcery.com>
24675
7efb4737
JM
24676 [BZ #14519]
24677 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24678 underflowing exponent in case of negative sign.
24679 * stdlib/tst-strtod-round-data: Add more tests.
24680 * stdlib/tst-strtod-round.c (tests): Regenerated.
24681
af92131a
JM
24682 [BZ #3479]
24683 * stdlib/strtod_l.c (NDIG): Remove.
24684 (HEXNDIG): Likewise.
24685 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24686 smallest representable value.
24687 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24688 lie within an exact representation of 1/2 ulp of the result.
24689 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24690 unconditionally.
24691 (TENS_P9_IDX): Define unconditionally.
24692 (TENS_P9_SIZE): Likewise.
24693 (TENS_P10_IDX): Likewise.
24694 (TENS_P10_SIZE): Likewise.
24695 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24696 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24697 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24698 entries for 10^2^13 and 10^2^14.
24699 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24700 (TENS_P13_IDX): Define.
24701 (TENS_P13_SIZE): Likewise.
24702 (TENS_P14_IDX): Likewise.
24703 (TENS_P14_SIZE): Likewise.
24704 (_fpioconst_pow10): Change array size to
24705 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24706 unconditional.
24707 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24708 1024]: Add entries for 10^2^13 and 10^2^14.
24709 [LAST_POW10 > _LAST_POW10]: Remove #error.
24710 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24711 (_fpioconst_pow10): Change array size to
24712 FPIOCONST_POW10_ARRAY_SIZE.
24713 * stdlib/gen-fpioconst.c: New file.
24714 * stdlib/gen-tst-strtod-round.c: Likewise.
24715 * stdlib/tst-strtod-round-data: Likewise.
24716 * stdlib/tst-strtod-round.c: Likewise.
24717 * stdlib/Makefile (tests): Add tst-strtod-round.
24718
d6e70f43
JM
24719 [BZ #14459]
24720 * stdlib/strtod_l.c: Include <stdint.h>.
24721 (NDEBUG): Do not define.
24722 (round_and_return): Change EXPONENT parameter to type intmax_t.
24723 Rearrange calculations to avoid internal overflow possibilities.
24724 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24725 Rearrange calculations to avoid internal overflow possibilities.
24726 Assert that number fits inside MPNSIZE limbs.
24727 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24728 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24729 calculations and add assertions to avoid internal overflow
24730 possibilities. Add casts to avoid signed/unsigned operations.
24731 * stdlib/tst-strtod-overflow.c: New file.
24732 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24733
1f529f7d
MP
247342012-08-25 Marek Polacek <polacek@redhat.com>
24735
24736 * time/time.h: Fix some typos in comments.
24737
59a629f1
RM
247382012-08-23 Roland McGrath <roland@hack.frob.com>
24739
24740 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24741 * posix/tst-rfc3484-2.c: Likewise.
24742 * posix/tst-rfc3484-3.c: Likewise.
24743
d3bafbc9
SM
247442012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24745
24746 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24747 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24748
4efcc022
JM
247492012-08-23 Joseph Myers <joseph@codesourcery.com>
24750
24751 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24752 #include of fxstatat64.c.
24753
3cc3ef96
RM
247542012-08-22 Roland McGrath <roland@hack.frob.com>
24755
f04e2132
RM
24756 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24757 * shadow/getspent_r.c: Likewise.
24758 * shadow/getspnam.c: Likewise.
24759 * shadow/getspnam_r.c: Likewise.
24760 * gshadow/getsgent.c: Likewise.
24761 * gshadow/getsgent_r.c: Likewise.
24762 * gshadow/getsgnam.c: Likewise.
24763 * gshadow/getsgnam_r.c: Likewise.
24764 * inet/getnetbyad.c: Likewise.
24765 * inet/getnetbyad_r.c: Likewise.
24766 * inet/getnetbynm.c: Likewise.
24767 * inet/getnetbynm_r.c: Likewise.
24768 * inet/getnetent.c: Likewise.
24769 * inet/getnetent_r.c: Likewise.
24770 * inet/getproto.c: Likewise.
24771 * inet/getproto_r.c: Likewise.
24772 * inet/getprtent.c: Likewise.
24773 * inet/getprtent_r.c: Likewise.
24774 * inet/getprtname.c: Likewise.
24775 * inet/getprtname_r.c: Likewise.
24776 * inet/getrpcbyname.c: Likewise.
24777 * inet/getrpcbyname_r.c: Likewise.
24778 * inet/getrpcbynumber.c: Likewise.
24779 * inet/getrpcbynumber_r.c: Likewise.
24780 * inet/getrpcent.c: Likewise.
24781 * inet/getrpcent_r.c: Likewise.
24782 * inet/getaliasent.c: Likewise.
24783 * inet/getaliasent_r.c: Likewise.
24784 * inet/getaliasname.c: Likewise.
24785 * inet/getaliasname_r.c: Likewise.
24786 * nscd/getgrgid_r.c: Likewise.
24787 * nscd/getgrnam_r.c: Likewise.
24788 * nscd/gethstbyad_r.c: Likewise.
24789 * nscd/gethstbynm3_r.c: Likewise.
24790 * nscd/getpwnam_r.c: Likewise.
24791 * nscd/getpwuid_r.c: Likewise.
24792 * nscd/getsrvbynm_r.c: Likewise.
24793 * nscd/getsrvbypt_r.c: Likewise.
24794 * nscd/gai.c: Likewise.
24795
c53d909c
RM
24796 * configure.in (build_nscd): New substituted variable, set
24797 by --disable-build-nscd and defaults to $use_nscd.
24798 * configure: Regenerated.
24799 * config.make.in (build-nscd): New substituted variable.
24800 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24801 Change conditional to require [$(build-nscd) = yes] as well.
24802 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24803
3cc3ef96
RM
24804 [BZ# 13696]
24805 * configure.in (use_nscd): New substituted variable, set by
24806 --disable-nscd. If enabled, define USE_NSCD.
24807 * configure: Regenerated.
24808 * config.h.in: Add USE_NSCD.
24809 * config.make.in (use-nscd): New substituted variable.
24810 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24811 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24812 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24813 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24814 (CFLAGS-getgrnam_r.c): Likewise.
24815 (CFLAGS-initgroups.c): Likewise.
24816 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24817 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24818 Variables removed.
24819 * inet/getnetgrent_r.c
24820 (nscd_setnetgrent): New function, broken out of ...
24821 (setnetgrent): ... here. Call it.
24822 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24823 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24824 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24825 * nscd/Makefile (routines, aux): Move definitions after include of
24826 Makeconfig. Conditionalize on [$(use-nscd) != no].
24827 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24828 Conditionalize on [USE_NSCD].
24829 (is_nscd, nscd_init_cb): Likewise.
24830 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24831 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24832 * nss/nss_db/db-init.c: Likewise.
24833 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24834 [USE_NSCD].
24835 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24836 (make_request): Use it.
24837 (cache_valid_p): New function.
24838 (__check_pf): Use it.
24839 * NEWS: Add item for --disable-nscd.
24840
07e51550
DL
248412012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24842
24843 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24844 to support sed >= 4.2.1-20-ga9bf076.
24845 * configure: Regenerated.
24846
35a5b08b
RM
248472012-08-22 Roland McGrath <roland@hack.frob.com>
24848
24849 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24850 Conditionalize whole body on [IREL].
24851
8479f23a
JL
248522012-08-22 Jeff Law <law@redhat.com>
24853
24854 [BZ #14505]
24855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24856 if the family is PF_UNSPEC.
24857
48da0b21
MF
248582012-08-22 Mike Frysinger <vapier@gentoo.org>
24859
24860 * Makerules (lib-version): Rename from V.
24861 (install-lib-nosubdir): Change V to lib-version.
24862
15d0da8c
WS
248632012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24864
24865 [BZ #14252]
24866 * powerpc32/power6/wcschr.c: New file.
24867 * powerpc32/power6/wcscpy.c: New file.
24868 * powerpc32/power6/wcsrchr.c: New file.
24869 * powerpc64/power6/wcschr.c: New file.
24870 * powerpc64/power6/wcscpy.c: New file.
24871 * powerpc64/power6/wcsrchr.c: New file.
24872
bcca0895
MK
248732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24874
24875 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24876 (two_way_short_needle): Use it.
5a4aaa33
RM
24877 * string/strstr.c (AVAILABLE1_USES_J): Define.
24878 * string/strcasestr.c: Likewise.
99677e57
MK
24879
24880 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24881 array references.
24882 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24883
400726de
MK
24884 [BZ #11607]
24885 * NEWS: Add an entry.
24886 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24887 define their defaults.
24888 (two_way_short_needle): Detect end-of-string on-the-fly.
24889 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24890 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24891 * string/bug-strcasestr1.c: New test.
24892 * string/Makefile: Run it.
24893
20a71f2c
MK
248942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24895
24896 [BZ #11607]
24897 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24898 the first character.
24899
21ad0558
RM
249002012-08-21 Roland McGrath <roland@hack.frob.com>
24901
24902 * csu/elf-init.c (__libc_csu_irel): Function removed.
24903 * csu/libc-start.c (apply_irel): New function.
24904 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24905
0e1d9911
JM
249062012-08-21 Joseph Myers <joseph@codesourcery.com>
24907
24908 * sysdeps/unix/sysv/linux/kernel-features.h
24909 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24910 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24911 <kernel-features.h>.
24912 [__NR_fadvise64_64]: Make code unconditional.
24913 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24914 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24915 !__NR_fadvise64_64)]: Likewise.
24916 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24917 !__NR_fadvise64_64))]: Likewise.
24918 [__NR_fadvise64]: Make code unconditional.
24919 [!__NR_fadvise64]: Remove conditional code.
24920 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24921 <kernel-features.h>.
24922 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24923 unconditional.
24924 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24925 conditional code.
24926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24927 not include <kernel-features.h>.
24928 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24929 unconditional.
24930 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24931 conditional code.
24932 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24933 include <kernel-features.h>.
24934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24935 unconditional.
24936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24937 conditional code.
24938
14a50c9d
WS
249392012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24940
24941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24942 slight instruction rearrangements per scrollpipe analysis.
24943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24944
c0f4faf0
RM
249452012-08-20 Roland McGrath <roland@hack.frob.com>
24946
696da859
RM
24947 * manual/syslog.texi (syslog; vsyslog, closelog):
24948 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24949 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24950
c0f4faf0
RM
24951 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24952 DSOCAPS to match condition on defining it.
24953
348363b2
JM
249542012-08-20 Joseph Myers <joseph@codesourcery.com>
24955
a35cbf28
JM
24956 * sysdeps/unix/sysv/linux/kernel-features.h
24957 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24959 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24960 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24962 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24963 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24967
445f7ecd
JM
24968 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24969 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24970
348363b2
JM
24971 * sysdeps/unix/sysv/linux/kernel-features.h
24972 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24973 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24974 unconditional.
24975 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24976 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24977 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24978 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24979 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24980 Make code unconditional.
24981 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24982 (__mmap64) [!__NR_mmap2]: Likewise.
24983 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24984 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24985 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24986 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24987 [__NR_mmap2]: Make code unconditional.
24988 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24989 (__mmap64) [!__NR_mmap2]: Likewise.
24990
bc5bc0e5
AK
249912012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24992
24993 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24994
88d506de
AJ
249952012-08-18 Andreas Jaeger <aj@suse.de>
24996
24997 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24998
493387d2
MF
249992012-08-18 Mike Frysinger <vapier@gentoo.org>
25000
25001 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25002 * include/unistd.h (__have_sock_cloexec): Likewise.
25003 (__have_pipe2): Likewise.
25004 (__have_dup3): Likewise.
25005
a277af22
MF
250062012-08-18 Mike Frysinger <vapier@gentoo.org>
25007
25008 [BZ #9685]
25009 * include/unistd.h (__have_pipe2): Change define into an extern int.
25010 (__have_dup3): Likewise.
25011 * socket/have_sock_cloexec.c: Include fcntl.h.
25012 (__have_pipe2): New variable.
25013 (__have_dup3): Likewise.
25014
fdab8fd3
MF
250152012-08-17 Mike Frysinger <vapier@gentoo.org>
25016
25017 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25018
31035e80
MP
250192012-08-17 Marek Polacek <polacek@redhat.com>
25020
25021 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25022 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25023
3bd9e993
RM
250242012-08-17 Roland McGrath <roland@hack.frob.com>
25025
c91c505f
RM
25026 * configure.in: Add AC_SUBST for sysheaders.
25027 * configure: Regenerated.
25028 * config.make.in (sysheaders): New substituted variable.
25029
7c6f9d53
RM
25030 * sysdeps/unix/mkfifo.c: Moved ...
25031 * sysdeps/posix/mkfifo.c: ... here.
25032 * sysdeps/unix/mkfifoat.c: Moved ...
25033 * sysdeps/posix/mkfifoat.c: ... here.
25034
25035 * sysdeps/unix/utime.c: Moved ...
25036 * sysdeps/posix/utime.c: ... here.
25037
25038 * sysdeps/unix/time.c: Moved ...
25039 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25040 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25041 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25042
25043 * sysdeps/unix/nice.c: Moved ...
25044 * sysdeps/posix/nice.c: ... here.
25045
25046 * sysdeps/unix/alarm.c: Moved ...
25047 * sysdeps/posix/alarm.c: ... here.
25048
3bd9e993
RM
25049 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25050
d1f09384
JL
250512012-08-17 Jeff Law <law@redhat.com>
25052
25053 * intl/Makefile (codeset_mo): New variable.
25054 ($(codeset_mo)): New target.
25055 (tst-codeset.out): Depend on that. Remove explicit rule.
25056 (tst-gettext3.out, tst-gettext5.out): Likewise.
25057 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25058 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25059 * intl/tst-codeset.sh: Remove.
25060 * intl/tst-gettext3.sh: Likewise.
25061 * intl/tst-gettext5.sh: Likewise.
25062
2ae1ae5c
RM
250632012-08-17 Roland McGrath <roland@hack.frob.com>
25064
c31fdb83
RM
25065 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25066 * sysdeps/unix/syscalls.list: ... here.
25067
a0844057
RM
25068 * sysdeps/posix/getaddrinfo.c
25069 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25070 (gaiconf_init, gaiconf_reload): Use them.
25071 [!_STATBUF_ST_NSEC]
25072 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25073 Define using time_t rather than struct timespec.
25074
750c1f2a
RM
25075 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25076 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25077 Macros removed.
25078 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25079 [!NO_THREADS].
25080 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25081 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25082 Likewise.
25083
2ae1ae5c
RM
25084 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25085 __libc_cleanup_push argument.
25086
e66a42f5
RM
25087 * bits/param.h: New file.
25088 * misc/sys/param.h: New file.
25089 * include/sys/param.h: New file.
25090 * misc/Makefile (headers): Add bits/param.h.
25091 * sysdeps/generic/sys/param.h: File removed.
25092 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25093 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25094 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25095 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25096
b7c08a66
RM
25097 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25098 last change.
25099
b2e1c562
RM
25100 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25101 [_IO_MTSAFE_IO].
25102 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25103 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25104 New macros.
25105
c75ccd4c
RM
25106 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25107 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25108 rather than -D_IO_MTSAFE_IO conditionally.
25109 * stdio-common/Makefile (CPPFLAGS): Likewise.
25110 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25111 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25112 Use $(libio-mtsafe).
25113 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25114 of -D_IO_MTSAFE_IO.
25115 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25116 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25117 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25118 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25119 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25120 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25121 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25122 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25123 (CFLAGS-fread_u_chk.c): Likewise.
25124 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25125 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25126 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25127 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25128 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25129 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25130 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25131 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25132 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25133
25134 * libio/Makefile: Test [$(libc-reentrant) = yes]
25135 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25136
25137 * Makeconfig
25138 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25139 * sysdeps/pthread/configure: File removed.
25140 * sysdeps/pthread/Makeconfig: New file.
25141 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25142 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25143
d9195db8
GB
251442012-08-16 Gary Benson <gbenson@redhat.com>
25145
25146 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25147 unmapping the first object in a namespace.
25148
86466cd9
RM
251492012-08-16 Roland McGrath <roland@hack.frob.com>
25150
25151 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25152 (__internal_setnetgrent): ... this. Add internal_function to
25153 definition. Add libc_hidden_def.
25154 (setnetgrent): Update caller.
25155 (internal_endnetgrent): Renamed to ...
25156 (__internal_endnetgrent): ... this. Add internal_function to
25157 definition. Add libc_hidden_def.
25158 (endnetgrent): Update caller.
25159 (internal_getnetgrent_r): Renamed to ...
25160 (__internal_getnetgrent_r): ... this. Add internal_function to
25161 definition. Add libc_hidden_def.
25162 (__getnetgrent_r): Update caller.
25163 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25164
c3c8283c
JM
251652012-08-16 Joseph Myers <joseph@codesourcery.com>
25166
25167 * stdlib/longlong.h: Update from GCC.
25168
db1ee0a8
RM
251692012-08-16 Roland McGrath <roland@hack.frob.com>
25170
25171 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25172 on _QL, which is set by umul_ppmm but never used.
25173 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25174 variables, which are set by GMP macros but never used.
25175 * stdio-common/_itowa.c (_itowa): Likewise.
25176 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25177 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25178
30f69637
CD
251792012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25180
25181 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25182 struct La_sh_regs is not constant.
25183 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25184 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25185 and struct La_sparc64_regs are not constant.
25186
93a78ac4
JM
251872012-08-16 Joseph Myers <joseph@codesourcery.com>
25188
25189 * sysdeps/unix/sysv/linux/kernel-features.h
25190 (__ASSUME_POSIX_TIMERS): Remove.
25191 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25192 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25193 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25194 Make code unconditional.
25195 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25196 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25197 Make code unconditional.
25198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25199 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25200 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25202 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25203 Make code unconditional.
25204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25205 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25206 (__libc_missing_posix_timers): Remove.
25207
dd924cd7
RM
252082012-08-15 Roland McGrath <roland@hack.frob.com>
25209
4b4f2771
RM
25210 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25211 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25212
601c888b
RM
25213 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25214
176790a7
RM
25215 * elf/dl-sym.c: Include <stdlib.h>.
25216
329bc018
RM
25217 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25218 constants, which avoids warnings in 32-bit builds.
25219
e04e272d
RM
25220 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25221 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25222
952bf94a
RM
25223 * misc/lseek.c: File moved to ...
25224 * io/lseek.c: ... here.
25225
7c99b50a
RM
25226 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25227
dd924cd7
RM
25228 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25229 shifting LEN more than 31 bits at once.
25230
b3f479a8
LD
252312012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25232
25233 [BZ #14195]
8c4ae0d4
RM
25234 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25235 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25236 * string/test-strncasecmp.c (check1): Renamed to...
25237 (bz12205): ...this.
25238 (bz14195): Add new testcase for two empty input strings and N > 0.
25239 (test_main): Call new testcase, adapt for renamed function.
25240
9c55864e
AJ
252412012-08-15 Andreas Jaeger <aj@suse.de>
25242
25243 [BZ #14090]
25244 * crypt/md5test2.c: New test, based on test supplied by Serge
25245 Belyshev <belyshev@depni.sinp.msu.ru>.
25246 * crypt/Makefile (xtests): Add md5test-giant..
25247 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25248
02dcb6c5
PE
252492012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25250
25251 [BZ #14090]
25252 * crypt/md5.c (md5_process_block): Don't assume the buffer
25253 length is less than 2**32.
25254 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25255 length is less than 2**64.
25256
a3f95dcc
RM
252572012-08-15 Roland McGrath <roland@hack.frob.com>
25258
be75d758
RM
25259 * string/str-two-way.h: Include <sys/param.h>.
25260 (MAX): Macro removed.
25261
7312ca90
RM
25262 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25263 Move #define and #undef of memmove to just before and after
25264 including <string.h>.
25265
9a0a5486
RM
25266 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25267 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25268 and after including <string.h>. Move declarations of
25269 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25270 to before #include "string/memmove.c".
25271
67cc348d
RM
25272 * include/dirent.h: Declare __getdirentries.
25273
a3f95dcc
RM
25274 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25275 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25276
ca98e171
MF
252772012-08-14 Mike Frysinger <vapier@gentoo.org>
25278
25279 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25280 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25281 * sysdeps/i386/configure: Regenerated.
25282 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25283 STABS_CURRENT_FILE, and STABS_FUN.
25284 (END): Remove call to STABS_FUN_END.
25285 (STABS_CURRENT_FILE1): Delete.
25286 (STABS_CURRENT_FILE): Likewise.
25287 (STABS_FUN): Likewise.
25288 (STABS_FUN_END): Likewise.
25289 (STABS_FUN2): Likewise.
25290 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25291 * sysdeps/x86_64/configure: Regenerated.
25292
5908bf46
RM
252932012-08-14 Roland McGrath <roland@hack.frob.com>
25294
25295 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25296 * elf/dl-lookup.c: Likewise.
5908bf46 25297
f2c05b9e
JM
252982012-08-14 Joseph Myers <joseph@codesourcery.com>
25299
25300 * sysdeps/unix/sysv/linux/kernel-features.h
25301 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25302 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25303 unconditionally.
25304 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25305 unconditionally.
25306 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25307 condition on __ASSUME_CLONE_THREAD_FLAGS.
25308
e11f5155
AJ
253092012-08-14 Andreas Jaeger <aj@suse.de>
25310
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312
51a9ba86
MK
253132012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25314
2fdd4f78
AJ
25315 * include/atomic.h (atomic_exchange_and_add): Split into ...
25316 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25317 New atomic macros.
51a9ba86 25318
ba6cba9e
MT
253192012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25320
25321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25322
42443a47
JL
253232012-08-13 Jeff Law <law@redhat.com>
25324
25325 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25326 null byte in the output string.
25327
121dce05
JM
253282012-08-10 Joseph Myers <joseph@codesourcery.com>
25329
25330 * sysdeps/unix/sysv/linux/kernel-features.h
25331 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25332 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25333 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25334 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25335 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25336 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25337 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25338
bf51f568
JL
253392012-08-09 Jeff Law <law@redhat.com>
25340
25341 [BZ #13939]
25342 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25343 When avoid_arena is set, don't retry in the that arena. Pick the
25344 next one, whatever it might be.
25345 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25346 (arena_lock): Pass in new parameter to arena_get2.
25347 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25348 arena_get2.
25349 (__libc_malloc): Unify retrying after main arena failure with
25350 __libc_memalign version.
25351 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25352
f85fa270
L
253532012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25354
25355 [BZ #14166]
25356 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25357 to __redirect_strstr.
25358 (__strstr_sse42): Use typeof __redirect_strstr.
25359 (__strstr_ia32): Likewise.
25360 (__libc_strstr): New prototype.
25361 (strstr): Renamed to ...
25362 (__libc_strstr): This.
25363 (strstr): New strong alias of __libc_strstr.
25364 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25365 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25366 __redirect_time.
25367 Include <time.h>.
25368 (__libc_time): New prototype.
25369 (time_ifunc): Replace time with __libc_time.
25370 (time): New strong alias and hidden definition of __libc_time.
25371 (__GI_time): Remove strong alias.
25372 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25373 Include <stddef.h>.
25374 (memmove): Redefined to __redirect_memmove.
25375 (__memmove_sse2): Use typeof __redirect_memmove.
25376 (__memmove_ssse3): Likewise.
25377 (__memmove_ssse3_back): Likewise.
25378 (__libc_memmove): New prototype.
25379 (memmove): Renamed to ...
25380 (__libc_memmove): This.
25381 (memmove): New strong alias of __libc_memmove.
25382
33b4a91e
MS
253832012-08-08 Mark Salter <msalter@redhat.com>
25384
25385 * elf/elf.h
25386 (R_MN10300_TLS_GD): Define.
25387 (R_MN10300_TLS_LD): Likewise.
25388 (R_MN10300_TLS_LDO): Likewise.
25389 (R_MN10300_TLS_GOTIE): Likewise.
25390 (R_MN10300_TLS_IE): Likewise.
25391 (R_MN10300_TLS_LE): Likewise.
25392 (R_MN10300_TLS_DTPMOD): Likewise.
25393 (R_MN10300_TLS_DTPOFF): Likewise.
25394 (R_MN10300_TLS_TPOFF): Likewise.
25395 (R_MN10300_SYM_DIFF): Likewise.
25396 (R_MN10300_ALIGN): Likewise.
25397 (R_MN10300_NUM): Update.
25398
b36137f1
JM
253992012-08-08 Joseph Myers <joseph@codesourcery.com>
25400
25401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25402 Remove.
25403
cdd915fd
RM
254042012-08-08 Roland McGrath <roland@hack.frob.com>
25405
a2433aac
RM
25406 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25407
cdd915fd
RM
25408 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25409 sysdeps/unix -> sysdeps/posix move.
25410 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25411
bf9b740a
AM
254122012-08-07 Allan McRae <allan@archlinux.org>
25413
25414 [BZ #14303]
25415 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25416 (SUNOS_CPP): Likewise.
25417 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25418 not found.
25419 (open_input): Call CPP using execvp.
25420
93df14ee
JM
254212012-08-07 Joseph Myers <joseph@codesourcery.com>
25422
25423 * sysdeps/unix/sysv/linux/kernel-features.h
25424 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25425 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25426 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25427 (__ASSUME_WAITID_SYSCALL): Likewise.
25428 * sysdeps/unix/sysv/linux/dl-execstack.c
25429 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25430 code unconditional.
25431 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25432 conditional code.
25433 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25434 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25435 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25436 code.
25437 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25438 unconditional.
25439 [__ASSUME_WAITID_SYSCALL]: Likewise.
25440 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25441
d34689de
RM
254422012-08-07 Roland McGrath <roland@hack.frob.com>
25443
a281decc
RM
25444 * sysdeps/unix/closedir.c: Renamed to ...
25445 * sysdeps/posix/closedir.c: ... here.
25446 * sysdeps/unix/dirfd.c: Renamed to ...
25447 * sysdeps/posix/dirfd.c: ... here.
25448 * sysdeps/unix/dirstream.h: Renamed to ...
25449 * sysdeps/posix/dirstream.h: ... here.
25450 * sysdeps/unix/fdopendir.c: Renamed to ...
25451 * sysdeps/posix/fdopendir.c: ... here.
25452 * sysdeps/unix/opendir.c: Renamed to ...
25453 * sysdeps/posix/opendir.c: ... here.
25454 * sysdeps/unix/readdir.c: Renamed to ...
25455 * sysdeps/posix/readdir.c: ... here.
25456 * sysdeps/unix/readdir_r.c: Renamed to ...
25457 * sysdeps/posix/readdir_r.c: ... here.
25458 * sysdeps/unix/rewinddir.c: Renamed to ...
25459 * sysdeps/posix/rewinddir.c: ... here.
25460 * sysdeps/unix/seekdir.c: Renamed to ...
25461 * sysdeps/posix/seekdir.c: ... here.
25462 * sysdeps/unix/telldir.c: Renamed to ...
25463 * sysdeps/posix/telldir.c: ... here.
25464 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25465 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25466 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25467 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25468
22895b47
RM
25469 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25470 * bits/fcntl.h: ... here.
25471
707a53b6
RM
25472 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25473 not 0.
25474 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25475 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25476 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25477 (struct flock): Move l_start, l_len to the beginning.
25478 Use __pid_t for l_pid.
25479 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25480 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25481 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25482 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25483 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25484 [__USE_LARGEFILE64] (struct flock64): New type.
25485 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25486
f0bd3e25
RM
25487 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25488 * bits/dirent.h: ... here.
25489
d34689de
RM
25490 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25491 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25492
6dad2c06
JM
254932012-08-07 Joseph Myers <joseph@codesourcery.com>
25494
25495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25496 Change from 2.6.0 to 2.6.16.
25497 * sysdeps/unix/sysv/linux/configure: Regenerated.
25498 * sysdeps/unix/sysv/linux/kernel-features.h
25499 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25500 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25501 version.
25502 (__ASSUME_UTIMES): Likewise.
25503 (__ASSUME_CLONE_STOPPED): Remove.
25504 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25505 architectures, not kernel version.
25506 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25507 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25508 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25509 (__ASSUME_WAITID_SYSCALL): Likewise.
25510 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25511 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25512 * README: State 2.6.16 as minimum Linux kernel version. Do not
25513 refer to older versions.
25514
03af9520
RM
255152012-08-06 Roland McGrath <roland@hack.frob.com>
25516
8e49df1d
RM
25517 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25518 Define alphasort64 as an alias.
25519 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25520 Define versionsort64 as an alias.
25521 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25522 Define scandir64 as an alias.
25523 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25524 Define scandirat64 as an alias.
25525 * dirent/alphasort64.c (alphasort64):
25526 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25527 * dirent/versionsort64.c: Likewise.
25528 * dirent/scandir64.c: Likewise.
25529 * dirent/scandirat64.c: Likewise.
25530 * sysdeps/wordsize-64/alphasort.c: File removed.
25531 * sysdeps/wordsize-64/alphasort64.c: File removed.
25532 * sysdeps/wordsize-64/scandir.c: File removed.
25533 * sysdeps/wordsize-64/scandir64.c: File removed.
25534 * sysdeps/wordsize-64/scandirat.c: File removed.
25535 * sysdeps/wordsize-64/scandirat64.c: File removed.
25536 * sysdeps/wordsize-64/versionsort.c: File removed.
25537 * sysdeps/wordsize-64/versionsort64.c: File removed.
25538 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25539 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25540 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25541 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25542 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25543 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25544 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25545 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25546
25547 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25549 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25551 [defined __arch64__ || defined __sparcv9]
25552 (__INO_T_MATCHES_INO64_T): New macro.
25553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25554 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25555 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25556 * sysdeps/unix/sysv/linux/bits/dirent.h
25557 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25558 (_DIRENT_MATCHES_DIRENT64): New macro.
25559
03af9520
RM
25560 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25561 Define lockf64 as an alias.
25562 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25563 Define fseeko64 as an alias.
25564 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25565 Define ftello64 as an alias.
25566 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25567 Define _IO_fgetpos64 and fgetpos64 as aliases.
25568 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25569 Define _IO_fsetpos64 and fsetpos64 as aliases.
25570 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25571 Conditionalize body on this.
25572 * libio/fseeko64.c: Likewise.
25573 * libio/ftello64.c: Likewise.
25574 * libio/iofgetpos64.c: Likewise.
25575 * libio/iofsetpos64.c: Likewise.
25576 * sysdeps/wordsize-64/lockf.c: File removed.
25577 * sysdeps/wordsize-64/lockf64.c: File removed.
25578 * sysdeps/wordsize-64/fseeko.c: File removed.
25579 * sysdeps/wordsize-64/fseeko64.c: File removed.
25580 * sysdeps/wordsize-64/ftello.c: File removed.
25581 * sysdeps/wordsize-64/ftello64.c: File removed.
25582 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25583 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25584 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25585 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25588 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25590 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25596
25597 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25599 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25601 [defined __arch64__ || defined __sparcv9]
25602 (__OFF_T_MATCHES_OFF64_T): New macro.
25603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25604 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25606 (__OFF_T_MATCHES_OFF64_T): New macro.
25607
c5757acd
L
256082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25609
25610 * stdlib/secure-getenv.c (__secure_getenv): Replace
25611 GLIBC_2_16 with GLIBC_2_17.
25612
3a31811e
L
256132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25614
25615 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25617
faa2bccb
DM
256182012-08-03 David S. Miller <davem@davemloft.net>
25619
25620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25621
85fe1997
JM
256222012-08-03 Joseph Myers <joseph@codesourcery.com>
25623
25624 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25625 Remove.
25626 (__ASSUME_CORRECT_SI_PID): Likewise.
25627 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25628 (__ASSUME_TMPFS_NAME): Likewise.
25629 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25630 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25631 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25632 (HAVE_AUX_SECURE): Make definition unconditional.
25633 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25634 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25635
4f75b7a0
RM
256362012-08-03 Roland McGrath <roland@hack.frob.com>
25637
25638 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25639 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25640 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25641 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25642 __eloop_threshold instead of SYMLOOP_MAX.
25643
25644 * sysdeps/generic/eloop-threshold.h: New file.
25645 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25646 of MAXSYMLINKS.
25647 * elf/chroot_canon.c (chroot_canon): Likewise.
25648
7aab07e4
JM
256492012-08-03 Joseph Myers <joseph@codesourcery.com>
25650
25651 [BZ #13717]
25652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25653 Change to 2.6.0 everywhere.
25654 * sysdeps/unix/sysv/linux/configure: Regenerated.
25655 * sysdeps/unix/sysv/linux/kernel-features.h
25656 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25657 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25658 kernel versions.
25659 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25660 (__ASSUME_FUTEX_REQUEUE): Remove.
25661 (__ASSUME_STATFS64): Define unconditionally.
25662 (__ASSUME_AT_SECURE): Likewise.
25663 (__ASSUME_CORRECT_SI_PID): Likewise.
25664 (__ASSUME_TGKILL): Define without depending on kernel version for
25665 i386.
25666 (__ASSUME_UTIMES): Likewise.
25667 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25668 kernel version.
25669 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25670 (__ASSUME_TMPFS_NAME): Likewise.
25671 * README: Update reference to Linux kernel versions.
25672
b67e9372
MP
256732012-08-02 Marek Polacek <polacek@redhat.com>
25674
1f529f7d 25675 [BZ# 14150]
b67e9372
MP
25676 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25677 libc_cv_asm_type_prefix with %.
25678 * configure: Regenerated.
d2441631
RM
25679 * include/libc-symbols.h: Remove comment about
25680 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25681 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25682 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25683 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25684 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25685 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25686 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25687 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25688 * elf/tst-unique2mod1.c: Likewise.
25689 * elf/tst-unique1mod2.c: Likewise.
25690 * elf/tst-unique1mod1.c: Likewise.
25691 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25692 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25693 Replace ASM_TYPE_DIRECTIVE with .type.
25694 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25695 * sysdeps/i386/sysdep.h: Likewise.
25696 * sysdeps/x86_64/sysdep.h: Likewise.
25697 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25699 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25700 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25701 * sysdeps/powerpc/powerpc32/sysdep.h:
25702 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25703 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25704 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25705 * sysdeps/i386/fpu/e_powf.S: Likewise.
25706 * sysdeps/i386/fpu/e_expl.S: Likewise.
25707 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25709 * sysdeps/i386/fpu/e_pow.S: Likewise.
25710 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25712 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25713 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25714 * sysdeps/i386/fpu/e_log2.S: Likewise.
25715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25717 * sysdeps/i386/fpu/e_powl.S: Likewise.
25718 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25719 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25720 * sysdeps/i386/fpu/e_logl.S: Likewise.
25721 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25722 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25723 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25724 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25725 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25726 * sysdeps/i386/fpu/e_log.S: Likewise.
25727 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25728 * sysdeps/i386/fpu/e_logf.S: Likewise.
25729 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25731 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25732 * sysdeps/i386/fpu/e_log10.S: Likewise.
25733 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25734 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25735 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25736 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25737 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25738 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25739 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25740 * sysdeps/i386/i686/strtok.S: Likewise.
25741 * sysdeps/i386/i386-mcount.S: Likewise.
25742 * sysdeps/i386/strtok.S: Likewise.
25743 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25744 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25746 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25747 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25748 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25749 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25750 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25751 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25752 * sysdeps/x86_64/_mcount.S: Likewise.
25753 * sysdeps/x86_64/strtok.S: Likewise.
25754 * sysdeps/sh/_mcount.S: Likewise.
25755
2747bf9a
RM
257562012-08-01 Roland McGrath <roland@hack.frob.com>
25757
25758 * libio/iofopen.c: Include <fcntl.h>.
25759 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25760 (_IO_fopen64, fopen64): Define as aliases.
25761 * libio/iofopen64.c: Include <fcntl.h>.
25762 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25763 Conditionalize body on this.
25764 * sysdeps/wordsize-64/iofopen.c: File removed.
25765 * sysdeps/wordsize-64/iofopen64.c: File removed.
25766
3fb791b8
MP
257672012-08-01 Marek Polacek <polacek@redhat.com>
25768
25769 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25770 Use dlfcn directly instead of a variable.
25771 (binfmt-subdir): Do not define.
25772 (dlfcn): Likewise.
25773
a9f1039f
JM
257742012-08-01 Joseph Myers <joseph@codesourcery.com>
25775
23bddc06
JM
25776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25777 Remove all definitions.
25778 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25779 <kernel-features.h>.
25780 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25781 (miss_F_GETOWN_EX): Remove all definitions.
25782 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25783 macro definition.
25784 [!__ASSUME_FCNTL64]: Remove conditional code.
25785 [__ASSUME_FCNTL64]: Make code unconditional.
25786 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25787 <kernel-features.h>.
25788 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25789 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25790 (lockf64) [__NR_fcntl64]: Make code unconditional.
25791 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25792
a9f1039f
JM
25793 * sysdeps/unix/sysv/linux/kernel-features.h
25794 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25795 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25796 Make code unconditional.
25797 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25798 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25800 [__NR_vfork]: Make code unconditional.
25801 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25802 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25804 [__NR_vfork]: Make code unconditional.
25805 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25806 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25807
09c0ee5f
RM
258082012-08-01 Roland McGrath <roland@hack.frob.com>
25809
48aec5b9
RM
25810 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25811 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25812
cd97c966
RM
25813 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25814 Define mkstemp64 as an alias.
3f55550c
RM
25815 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25816 Define mkstemps64 as an alias.
cd97c966
RM
25817 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25818 Define mkostemp64 as an alias.
b8625cfc
RM
25819 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25820 Define mkostemps64 as an alias.
cd97c966
RM
25821 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25822 Conditionalize body on this.
25823 * misc/mkostemp64.c: Likewise.
b8625cfc 25824 * misc/mkostemps64.c: Likewise.
3f55550c 25825 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25826 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25827 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25828 * sysdeps/wordsize-64/mkostemp.c: File removed.
25829 * sysdeps/wordsize-64/mkstemp.c: File removed.
25830 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25831 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25833 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25834
09c0ee5f
RM
25835 [BZ #14138]
25836 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25837 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25838 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25839 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25840
25841 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25842 compat_symbol macros from <shlib-compat.h> rather than the underlying
25843 default_symbol_version and symbol_version macros, so that DEFAULT
25844 lines in shlib-versions are respected.
25845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25846
7e66ee51
FW
258472012-08-01 Florian Weimer <fweimer@redhat.com>
25848
25849 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25850 Declare with warn_unused_result.
25851 (setgid, setregid, setegid, setresgid): Likewise.
25852 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25853 Likewise.
25854 * WUR-REPORT: Remove set*id functions.
25855
d2a54255
PT
258562012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25857
25858 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25859
7ecdb005
RM
258602012-07-31 Roland McGrath <roland@hack.frob.com>
25861
b4180a5e 25862 [BZ #10191]
789bd351
RM
25863 * include/sys/socket.h (__libc_accept, __libc_accept4):
25864 Add attribute_hidden.
25865 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25866
40ce302d
RM
25867 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25868 use of PTR_MANGLE.
25869 * inet/getnetgrent_r.c (setup): Likewise.
25870
7ecdb005
RM
25871 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25872
e2eabb2c
DM
258732012-07-31 David S. Miller <davem@davemloft.net>
25874
25875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25876
d0419dbf
JM
258772012-07-31 Joseph Myers <joseph@codesourcery.com>
25878
25879 [BZ #13629]
25880 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25881 value between 1.0 and 2.0 and smaller part has absolute value less
25882 than 1.0.
25883 * math/s_clog10.c (__clog10): Likewise.
25884 * math/s_clog10f.c (__clog10f): Likewise.
25885 * math/s_clog10l.c (__clog10l): Likewise.
25886 * math/s_clogf.c (__clogf): Likewise.
25887 * math/s_clogl.c (__clogl): Likewise.
25888 * math/libm-test.inc (clog_test): Add more tests.
25889 (clog10_test): Likewise.
25890 * sysdeps/i386/fpu/libm-test-ulps: Update.
25891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25892
2bc13872
FW
258932012-07-31 Florian Weimer <fweimer@redhat.com>
25894
25895 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25896 Exit with zero in case no suitable GID is found, and write a
25897 message to standard error.
25898
bea9b193
RM
258992012-07-30 Roland McGrath <roland@hack.frob.com>
25900
25901 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25902 rather than to 1.
25903 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25904 (MAXPATHLEN): Removed.
25905 (NOGROUP, NODEV): New macros.
25906 (setbit, clrbit, isset, isclr): New macros.
25907 (howmany, roundup, powerof2): New macros.
25908 (DEV_BSIZE): New macro.
25909
25910 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25911 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25912
25913 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25914 definition on [!__NO_LONG_DOUBLE_MATH].
25915
25916 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25917 PTR_MANGLE and PTR_DEMANGLE.
25918
25919 * socket/accept4.c (accept4): Rename to __libc_accept4.
25920 Define accept4 as a weak alias.
25921
25922 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25923 on [_DIRENT_HAVE_D_TYPE].
25924 * io/ftw.c (ftw_dir): Likewise.
25925
25926 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25927
25928 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25929
25930 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25931 Use the BSD numbers rather than the arbitrary ones we had.
25932 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25933 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25934 (SIGXCPU, SIGXFSZ): New macros.
25935 (_NSIG): Now 32.
25936
25937 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25938 initializer on [_LIBC_REENTRANT].
25939
25940 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25941 definitions inside [_POSIX_MAPPED_FILES].
25942
25943 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25944
25945 * dirent/opendir.c: Include <fcntl.h>.
25946
25947 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25948 (__libc_getspecific): Likewise.
25949 (__libc_key_create): Likewise.
25950
25951 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25952 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25953 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25954 (tmpfile64): Define as alias.
25955 * sysdeps/wordsize-64/tmpfile.c: File removed.
25956 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25957 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25958 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25959
25960 * stdio-common/vfscanf.c: Include <stdbool.h>.
25961 * nss/makedb.c: Likewise.
25962 * stdio-common/_i18n_number.h: Likewise.
25963 * argp/argp-help.c: Likewise.
25964 * posix/wordexp.c: Likewise.
25965 * sysdeps/posix/spawni.c: Likewise.
25966 * nss/nss_files/files-initgroups.c: Likewise.
25967 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25968 * nss/nss_files/files-initgroups.c: Likewise.
25969 * nss/nss_db/db-netgrp.c: Likewise.
25970 * nss/nss_db/db-initgroups.c: Likewise.
25971 * io/fchmodat.c: Include <sys/stat.h>.
25972
25973 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25974 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25975
25976 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25977 [HAVE_MMAP].
25978
25979 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25980 Add multiple inclusion protection.
25981
e5abc686
DM
259822012-07-27 David S. Miller <davem@davemloft.net>
25983
25984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25985
815e6fa3
GB
259862012-07-27 Gary Benson <gbenson@redhat.com>
25987
25988 [BZ #14298]
25989 * elf/rtld.c: Include <stap-probe.h>.
25990 (dl_main): Added static probes "init_start" and "init_complete".
25991 * elf/dl-load.c: Include <stap-probe.h>.
25992 (lose): Take new parameter "nsid".
25993 Added static probe "map_failed".
25994 (_dl_map_object_from_fd): Pass namespace id to lose.
25995 Added static probe "map_start".
25996 (open_verify): Pass namespace id to lose.
25997 * elf/dl-open.c: Include <stap-probe.h>.
25998 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25999 and "reloc_complete".
26000 * elf/dl-close.c: Include <stap-probe.h>.
26001 (_dl_close_worker): Added static probes "unmap_start" and
26002 "unmap_complete".
26003 * elf/rtld-debugger-interface.txt: New file documenting the above.
26004
9f98c16c
RM
260052012-07-26 Roland McGrath <roland@hack.frob.com>
26006
26007 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26008 rather than a string variable.
26009 * sunrpc/rpc_main.c (h_output): Likewise.
26010 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26011
f3c22df3
PT
260122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26013
26014 * inet/check_native.c: New file.
26015
3129cfc6
JM
260162012-07-26 Joseph Myers <joseph@codesourcery.com>
26017
da865e95
JM
26018 [BZ #13629]
26019 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26020 if larger part has absolute value 1.0.
26021 * math/s_clog10.c (__clog10): Likewise.
26022 * math/s_clog10f.c (__clog10f): Likewise.
26023 * math/s_clog10l.c (__clog10l): Likewise.
26024 * math/s_clogf.c (__clogf): Likewise.
26025 * math/s_clogl.c (__clogl): Likewise.
26026 * math/libm-test.inc (clog_test): Add more tests.
26027 (clog10_test): Likewise.
26028 * sysdeps/i386/fpu/libm-test-ulps: Update.
26029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26030
3129cfc6
JM
26031 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26032 (pltexit): Likewise.
26033 (La_regs): Likewise.
26034 (La_retval): Likewise.
26035 (int_retval): Likewise.
26036 Update #error for removed macros to refer only to definitions in
26037 tst-audit.h.
26038 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26039 macro.
26040 (pltexit): Likewise.
26041 (La_regs): Likewise.
26042 (La_retval): Likewise.
26043 (int_retval): Likewise.
26044 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26045 macro.
26046 (pltexit): Likewise.
26047 (La_regs): Likewise.
26048 (La_retval): Likewise.
26049 (int_retval): Likewise.
26050 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26051 macro.
26052 (pltexit): Likewise.
26053 (La_regs): Likewise.
26054 (La_retval): Likewise.
26055 (int_retval): Likewise.
26056 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26057 macro.
26058 (pltexit): Likewise.
26059 (La_regs): Likewise.
26060 (La_retval): Likewise.
26061 (int_retval): Likewise.
26062 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26063 macro.
26064 (pltexit): Likewise.
26065 (La_regs): Likewise.
26066 (La_retval): Likewise.
26067 (int_retval): Likewise.
26068 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26069 macro.
26070 (pltexit): Likewise.
26071 (La_regs): Likewise.
26072 (La_retval): Likewise.
26073 (int_retval): Likewise.
26074 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26075 macro definitions in tst-audit.h.
26076 * sysdeps/i386/tst-audit.h: New file.
26077 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26078 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26079 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26080 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26081 * sysdeps/sh/tst-audit.h: Likewise.
26082 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26083 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26084 * sysdeps/x86_64/tst-audit.h: Likewise.
26085
bfc07087
AJ
260862012-07-26 Andreas Jaeger <aj@suse.de>
26087
b1b2aaf8
AJ
26088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26089 ptrace.
26090
26091 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26092 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26093 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26094 PTRACE_O_MASK.
26095 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26096 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26097 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26098
bfc07087
AJ
26099 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26100 value.
26101
26102 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26103 _sigsys.
26104 (si_call_addr, si_syscall, si_arch): Define new macro.
26105 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26106 _sigsys.
26107 (si_call_addr, si_syscall, si_arch): Define new marcro.
26108 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26109 _sigsys.
26110 (si_call_addr, si_syscall, si_arch): Define new macro.
26111 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26112 _sigsys.
26113 (si_call_addr, si_syscall, si_arch): Define new macro.
26114
89b4b02f
JM
261152012-07-25 Joseph Myers <joseph@codesourcery.com>
26116
26117 [BZ #13717]
26118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26119 Change to 2.4.21 where previously 2.4.1.
26120 * sysdeps/unix/sysv/linux/configure: Regenerated.
26121 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26122 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26123 Linux kernel version.
26124 (__ASSUME_STD_AUXV): Remove.
26125 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26126 kernel version.
26127 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26128 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26129 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26130 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26131 (__ASSUME_NETLINK_SUPPORT): Likewise.
26132 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26133 (__no_netlink_support): Remove conditional definition.
26134 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26135 Remove.
26136 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26137 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26138 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26139 (if_nameindex_ioctl): Remove.
26140 (if_nameindex_netlink): Do not handle __no_netlink_support.
26141 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26142 code.
26143 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26144 Remove conditional code.
26145 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26146 code.
26147 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26148 unconditional.
26149 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26150 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26151 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26152 Remove.
26153 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26154 [!__ASSUME_STD_AUXV]: Remove conditional code.
26155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26156 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26157 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26159 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26160 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26161 code.
26162 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26164 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26165 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26166 conditional code.
26167 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26169 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26170 code.
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26172 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26173 conditional code.
26174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26175 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26176 code unconditional.
26177 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26178 conditional code.
26179 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26180 unconditional.
26181 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26182 conditional code.
26183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26184 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26185 unconditional.
26186 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26187 conditional code.
26188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26189 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26190 code unconditional.
26191 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26192 conditional code.
26193 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26194 unconditional.
26195 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26196 conditional code.
26197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26198 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26199 code unconditional.
26200 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26201 conditional code.
26202 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26203 unconditional.
26204 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26205 conditional code.
26206
842a39cd
AS
262072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26208
26209 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26210 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26211 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26212 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26213 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26214 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26215 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26216 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26217 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26218 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26219 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26220 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26221 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26222 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26224 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26225 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26227 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26229 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26230 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26231 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26232
84b3fd84
FW
262332012-07-25 Florian Weimer <fweimer@redhat.com>
26234
26235 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26236 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26237 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26238 Introduce __libc_secure_getenv.
0c7936d5
FW
26239 * stdlib/Versions (2.17): Add secure_getenv
26240 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26241 * stdlib/secure-getenv.c: Rename __secure_getenv to
26242 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26243 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26244 * stdlib/tst-secure-getenv.c: New.
26245 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26246 * manual/startup.texi (Environment Access): Document
26247 secure_getenv.
84b3fd84
FW
26248 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26249 __libc_secure_getenv.
26250 * inet/ruserpass.c (ruserpass): Likewise.
26251 * malloc/mtrace.c (mtrace): Likewise.
26252 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26253 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26254 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26255 * sysdeps/posix/tempname.c: Likewise. Evaluate
26256 HAVE_SECURE_GETENV.
26257 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26258 __secure_getenv to __libc_secure_getenv.
84b3fd84 26259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26261 Likewise.
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26263 Likewise.
26264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26271
56e49b71
JM
262722012-07-25 Joseph Myers <joseph@codesourcery.com>
26273
26274 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26275 (struct La_i86_retval): Likewise.
26276 (struct La_x86_64_regs): Likewise.
26277 (struct La_x86_64_retval): Likewise.
26278 (struct La_x32_regs): Likewise.
26279 (struct La_x32_retval): Likewise.
26280 (struct La_ppc32_regs): Likewise.
26281 (struct La_ppc32_retval): Likewise.
26282 (struct La_ppc64_regs): Likewise.
26283 (struct La_ppc64_retval): Likewise.
26284 (struct La_sh_regs): Likewise.
26285 (struct La_sh_retval): Likewise.
26286 (struct La_s390_32_regs): Likewise.
26287 (struct La_s390_32_retval): Likewise.
26288 (struct La_s390_64_regs): Likewise.
26289 (struct La_s390_64_retval): Likewise.
26290 (struct La_sparc32_regs): Likewise.
26291 (struct La_sparc32_retval): Likewise.
26292 (struct La_sparc64_regs): Likewise.
26293 (struct La_sparc64_retval): Likewise.
26294 (struct audit_ifaces): Remove architecture-specific pltenter and
26295 pltexit members.
26296 * sysdeps/i386/ldsodefs.h: New file.
26297 * sysdeps/powerpc/ldsodefs.h: Likewise.
26298 * sysdeps/s390/ldsodefs.h: Likewise.
26299 * sysdeps/sh/ldsodefs.h: Likewise.
26300 * sysdeps/sparc/ldsodefs.h: Likewise.
26301 * sysdeps/x86_64/ldsodefs.h: Likewise.
26302
354691b7
MP
263032012-07-25 Marek Polacek <polacek@redhat.com>
26304
26305 [BZ #6808]
26306 * math/libm-test.inc (yn_test): Add another test.
26307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26308 to ERANGE when the result is +-Inf.
26309 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26310 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26311 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26312 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26313
bf9e2071
JM
263142012-07-24 Joseph Myers <joseph@codesourcery.com>
26315
26316 * conform/data/time.h-data (NULL): Use macro-constant. Require
26317 equal to 0.
26318 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26319 clock_t.
26320 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26321
57633811
TS
263222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26323
26324 * configure.in <sysdeps resolving>: Correct printing
26325 Implies_before.
26326 * configure: Regenerate.
26327
c23c33b0
TS
263282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26329
26330 * math/w_ilogb.c: Include <limits.h>.
26331 * math/w_ilogbl.c: Likewise.
26332
b5982523
JM
263332012-07-20 Joseph Myers <joseph@codesourcery.com>
26334
26335 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26336 va_copy. Document allowing for unavailable va_copy only as
26337 pre-C99 compatibility.
26338 * manual/string.texi (Copying and Concatenation): Use va_copy
26339 instead of __va_copy in concat example.
26340
ac4ea442
PT
263412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26342
26343 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26344 (__sendto): Use create_address_port. Initialize APORT and deallocate
26345 it if not null.
26346
f98eafbd
PT
26347 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26348 with O_NOLINK passed to __file_name_lookup.
26349
898c7aab
PT
26350 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26351 with O_NOLINK passed to __file_name_lookup.
26352
0ced335a
PT
26353 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26354 negative N or less than NGIDS.
26355
b3404dbd
PT
26356 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26357 type to string_t. Set ERANGE as errno and return it if NAME is not big
26358 enough. Use memcpy instead of strncpy.
26359
0f48659e
JM
263602012-07-20 Joseph Myers <joseph@codesourcery.com>
26361
26362 * elf/Makefile (check-data): Remove.
26363 (localplt.data): New vpath directive.
26364 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26365 instead of $(check-data).
26366 * scripts/data/localplt-generic.data: Move to ...
26367 * sysdeps/generic/localplt.data: ... here.
26368 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26369 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26370 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26372 ... here.
26373 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26375 ... here.
26376 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26378 ... here.
26379 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26381 ... here.
26382 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26384 ... here.
26385 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26387 ... here.
26388
d37cbdaa
AZ
263892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26390
26391 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26392 PPC32 and PPC64 files.
26393 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26394 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26395
46f85fc2
AK
263962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26397
26398 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26399 __makecontext_ret to ...
26400 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26401 ... here and call exit if uc_link is NULL. New file.
26402 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26403 __makecontext_ret.S.
26404 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26405 __makecontext_ret to ...
26406 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26407 ... here and call exit if uc_link is NULL. New file.
26408 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26409 __makecontext_ret.S.
26410
08f43f9b
AK
264112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26412
26413 * elf/elf.h (R_390_IRELATIVE): New definition.
26414 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26415 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26416 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26417 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26418 (elf_machine_lazy_rel): Likewise.
26419 * sysdeps/s390/dl-irel.h: New file.
26420 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26421 * sysdeps/s390/s390-64/memset.S: New asm code.
26422 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26423 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26424 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26425 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26426 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26427 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26428 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26429 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26430 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26431 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26432 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26433 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26434 * sysdeps/s390/s390-32/memset.S: New asm code.
26435 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26436
3b05db33
MP
264372012-07-17 Marek Polacek <polacek@redhat.com>
26438
26439 [BZ #14349]
26440 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26441 * sysdeps/s390/s390-64/configure.in: Likewise.
26442 * sysdeps/sparc/configure.in: Likewise.
26443 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26444 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26445 * sysdeps/i386/configure.in: Likewise.
26446 * sysdeps/x86_64/configure.in: Likewise.
26447 * sysdeps/sh/configure.in: Likewise.
26448 * sysdeps/s390/s390-32/configure: Regenerated.
26449 * sysdeps/s390/s390-64/configure: Likewise.
26450 * sysdeps/x86_64/configure: Likewise.
26451 * sysdeps/sh/configure: Likewise.
26452 * sysdeps/powerpc/powerpc64/configure: Likewise.
26453 * sysdeps/powerpc/powerpc32/configure: Likewise.
26454 * sysdeps/sparc/configure: Likwise.
26455 * sysdeps/i386/configure: Likewise.
26456
a66877c6
MP
26457 * elf/dl-open.c: Comment fixes.
26458
cfc82fd8
JM
264592012-07-17 Joseph Myers <joseph@codesourcery.com>
26460
bd29910a
JM
26461 * Makefile [CXX] (check-data): Remove.
26462 [CXX] (c++-types.data): New vpath directive.
26463 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26464 vpath. Do not allow for C++ type data being missing.
26465 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26466 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26467 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26468 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26469 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26470 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26471 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26473 ... here.
26474 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26476 ... here.
26477 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26479 ... here.
26480 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26482 ... here.
26483 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26485 ... here.
26486 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26488 ... here.
26489 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26491 ... here.
26492 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26494
cfc82fd8
JM
26495 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26496 definitions to architecture-specific files.
26497 (TLS_IE): Likewise.
26498 (TLS_LD): Likewise.
26499 (TLS_GD): Likewise.
26500 * sysdeps/i386/tls-macros.h: New file.
26501 * sysdeps/powerpc/tls-macros.h: Likewise.
26502 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26503 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26504 * sysdeps/sh/tls-macros.h: Likewise.
26505 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26506 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26507 * sysdeps/x86_64/tls-macros.h: Likewise.
26508
f7db3170
TS
265092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26510
07cbfc23
TS
26511 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26512 zero value for regular exit case.
26513
f7db3170
TS
26514 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26515 (__start_context): Preserve zero value for regular exit case.
26516
dc97c227
TS
265172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26518 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26519
26520 * manual/setjmp.texi (setcontext): Clarify normal process
26521 termination when uc_link is the null pointer.
26522 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26523 exit call.
26524
d0cd7d02
AS
265252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26526
26527 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26528 preprocessor. Test for each exception mask separately.
26529
dd318934
AJ
265302012-07-16 Andreas Jaeger <aj@suse.de>
26531
26532 * po/ru.po: Update from translation team.
26533
8048311a
JM
265342012-07-15 Joseph Myers <joseph@codesourcery.com>
26535
26536 * conform/data/string.h-data (NULL): Use macro-constant. Require
26537 equal to 0.
26538 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26539 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26540 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26541 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26543
b637d46e
AJ
265442012-07-13 Andreas Jaeger <aj@suse.de>
26545
26546 * po/fr.po: Update from translation team.
26547
541428fe
MP
265482012-07-12 Marek Polacek <polacek@redhat.com>
26549
26550 [BZ #14173]
26551 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26553 loop condition.
26554
ec332e94
JM
265552012-07-12 Joseph Myers <joseph@codesourcery.com>
26556
26557 [BZ #13717]
26558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26559 Change to 2.4.1 where previously 2.4.0.
26560 * sysdeps/unix/sysv/linux/configure: Regenerated.
26561 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26562 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26563 version.
26564 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26565 (__ASSUME_AT_CLKTCK): Remove.
26566 (__ASSUME_AT_PAGESIZE): Likewise.
26567 (__ASSUME_AT_XID): Likewise.
26568 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26569 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26570 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26571 unconditionally.
26572 (HAVE_AUX_PAGESIZE): Likewise.
26573 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26574 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26575 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26576
7b6e99be
JB
265772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26578
26579 [BZ #14307]
26580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26581 the temporary buffer used to invoke __gethostbyname2_r,
26582 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26583 host_data / struct gaih_addrtuple.
26584 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26585 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26586 header file nss/nsswitch.h.
26587 * nss/nsswitch.h (global scope): Add definition of implementation
26588 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26589 resolv/nss_dns/dns-host.c).
26590
608404eb
AJ
265912012-07-11 Andreas Jaeger <aj@suse.de>
26592
26593 * po/fr.po: Update from translation team.
26594
71220aca
AJ
26595 * po/sv.po: Update from translation team
26596 * po/fr.po: Another update from translation team.
26597
28cfe843
AZ
265982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26599
26600 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26601 for subnormals or multiply small sinh result by itself.
26602 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26604
6b90f981
DM
266052012-07-11 David S. Miller <davem@davemloft.net>
26606
26607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26608
c6825772
AS
266092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26610
26611 [BZ #14347]
26612 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26613 (INTERNAL_MARK): Shift it here.
26614
7b8e0d49
MP
266152012-07-10 Marek Polacek <polacek@redhat.com>
26616
26617 [BZ #14151]
26618 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26619 libc_cv_asm_global_directive with .globl.
26620 * configure: Regenerated.
26621 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26622 with .globl.
26623 * sysdeps/i386/configure: Regenerated.
26624 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26625 with .globl.
26626 * sysdeps/x86_64/configure: Regenerated.
26627 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26628 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26629 * elf/tst-unique2mod2.c: Likewise.
26630 * elf/tst-unique2mod1.c: Likewise.
26631 * elf/tst-unique1mod2.c: Likewise.
26632 * elf/tst-unique1mod1.c: Likewise.
26633 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26634 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26635 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26636 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26637 * sysdeps/mach/sysdep.h: Likewise.
26638 * sysdeps/i386/sysdep.h: Likewise.
26639 * sysdeps/i386/i386-mcount.S: Likewise.
26640 * sysdeps/x86_64/_mcount.S: Likewise.
26641 * sysdeps/x86_64/sysdep.h: Likewise.
26642 * sysdeps/sh/_mcount.S: Likewise.
26643 * sysdeps/sh/sysdep.h: Likewise.
26644 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26645 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26646 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26647 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26648 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26649 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26650 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26651 * locale/localeinfo.h: Likewise.
26652 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26653 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26654
6c55cda3
RM
266552012-07-09 Roland McGrath <roland@hack.frob.com>
26656
26657 [BZ #14336]
26658 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26659 system".
26660 * manual/message.texi (The Uniforum approach): Likewise.
26661 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26662 (glibc iconv Implementation): Likewise.
26663
638a572e
JM
266642012-07-09 Joseph Myers <joseph@codesourcery.com>
26665
26666 [BZ #14337]
26667 * math/s_clog.c (__clog): Avoid scaling a value down where that
26668 could result in underflow.
26669 * math/s_clog10.c (__clog10): Likewise.
26670 * math/s_clog10f.c (__clog10f): Likewise.
26671 * math/s_clog10l.c (__clog10l): Likewise.
26672 * math/s_clogf.c (__clogf): Likewise.
26673 * math/s_clogl.c (__clogl): Likewise.
26674 * math/libm-test.inc (clog_test): Add more tests.
26675 (clog10_test): Likewise.
26676 * sysdeps/i386/fpu/libm-test-ulps: Update.
26677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26678
261f4859
AS
266792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26680
0abaf3e4
AS
26681 [BZ #14283]
26682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26683 by 7 not 8 to examine high bit of fractional part.
26684
261f4859
AS
26685 [BZ #14042]
26686 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26687 for call to __mcount_internal.
26688 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26689 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26690 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26691
f17ac40d
JM
266922012-07-06 Joseph Myers <joseph@codesourcery.com>
26693
9ad63c23
JM
26694 [BZ #14154]
26695 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26696 approximation for values within 0x1p-13f of an odd multiple of
26697 pi/4.
26698 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26699 exception. Add more tests.
26700 * sysdeps/i386/fpu/libm-test-ulps: Update.
26701
f17ac40d
JM
26702 [BZ #6778]
26703 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26704 inputs and return -1 for them. Do not check for +Inf in case not
26705 reachable for +Inf.
26706 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26707 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26708 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26709 and return -1 for them. Do not check for +Inf in case not
26710 reachable for +Inf.
26711 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26712 define.
26713 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26714 and return -1 for them. Do not check for +Inf in case not
26715 reachable for +Inf.
26716 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26717 spurious underflow.
26718 * sysdeps/i386/fpu/libm-test-ulps: Update.
26719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26720
fb21f89b
MF
267212012-07-06 Mike Frysinger <vapier@gentoo.org>
26722
26723 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26724
cdfe2c5e
JM
267252012-07-05 Joseph Myers <joseph@codesourcery.com>
26726
26727 [BZ #14157]
26728 [BZ #14331]
26729 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26730 could result in spurious underflow. Scale down values above
26731 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26732 * math/s_csqrtf.c (__csqrtf): Likewise.
26733 * math/s_csqrtl.c (__csqrtl): Likewise.
26734 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26735 spurious underflow.
26736 * sysdeps/i386/fpu/libm-test-ulps: Update.
26737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26738
70d35b67
AS
267392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26740
704bc459
AS
26741 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26742 xopen-msg.sed.
26743 * catgets/xopen-msg.awk: New file.
26744 * catgets/xopen-msg.sed: Removed.
26745
70d35b67
AS
26746 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26747 po2text.sed.
26748 * intl/po2test.awk: New file.
26749 * intl/po2test.sed: Removed.
26750
ca61cf32
JM
267512012-07-04 Joseph Myers <joseph@codesourcery.com>
26752
26753 [BZ #14328]
26754 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26755 or multiply small sinh result by itself.
26756 * math/s_ctanf.c (__ctanf): Likewise.
26757 * math/s_ctanh.c (__ctanh): Likewise.
26758 * math/s_ctanhf.c (__ctanhf): Likewise.
26759 * math/s_ctanhl.c (__ctanhl): Likewise.
26760 * math/s_ctanl.c (__ctanl): Likewise.
26761 * math/libm-test.inc (ctan_test_tonearest): New function.
26762 (ctan_test_towardzero): Likewise.
26763 (ctan_test_downward): Likewise.
26764 (ctan_test_upward): Likewise.
26765 (ctanh_test_tonearest): Likewise.
26766 (ctanh_test_towardzero): Likewise.
26767 (ctanh_test_downward): Likewise.
26768 (ctanh_test_upward): Likewise.
26769 (main): Call these new functions.
26770 * sysdeps/i386/fpu/libm-test-ulps: Update.
26771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26772
ca48a46a
MF
267732012-07-03 Mike Frysinger <vapier@gentoo.org>
26774
26775 * .gitignore: Delete /ports entry.
26776
9d63d37d
AJ
267772012-07-03 Andreas Jaeger <aj@suse.de>
26778
26779 * po/bg.po: Update from translation team.
26780 * po/cs.po: Likewise.
26781 * po/de.po: Likewise.
26782 * po/hr.po: Likewise.
26783 * po/nl.pl: Likewise.
26784 * po/pl.po: Likewise.
26785 * po/vi.po: Likewise.
26786
370ca3d2
JM
267872012-07-03 Joseph Myers <joseph@codesourcery.com>
26788
95f5a9a8
JM
26789 * Makeconfig [!+link] (+link-before-libc): New variable.
26790 [!+link] (+link-after-libc): Likewise.
26791 [!+link] (+link-tests): Likewise.
26792 [!+link] (+link): Define in terms of $(+link-before-libc) and
26793 $(+link-after-libc).
26794 [!+link-static] (+link-static-before-libc): New variable.
26795 [!+link-static] (+link-static-after-libc): Likewise.
26796 [!+link-static] (+link-static-tests): Likewise.
26797 [!+link-static] (+link-static): Define in terms of
26798 $(+link-static-before-libc) and $(+link-static-after-libc).
26799 [build-shared] (link-libc-before-gnulib): New variable.
26800 [build-shared] (link-libc-tests): Likewise.
26801 [build-shared] (link-libc): Define in terms of
26802 $(link-libc-before-gnulib).
26803 [!build-shared] (link-libc-tests): New variable.
26804 (link-libc-static-tests): New variable.
26805 [!gnulib] (gnulib-arch): New variable.
26806 [!gnulib] (gnulib-tests): Likewise.
26807 [!gnulib] (static-gnulib-arch): Likewise.
26808 [!gnulib] (static-gnulib-tests): Likewise.
26809 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26810 Define with "=" instead of ":=".
26811 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26812 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26813 * Rules (binaries-all-notests): New variable.
26814 (binaries-all-tests): Likewise.
26815 (binaries-static-notests): Likewise.
26816 (binaries-static-tests): Likewise.
26817 (binaries-all): Define using $(binaries-all-notests) and
26818 $(binaries-all-tests).
26819 (binaries-static): Define using $(binaries-static-notests) and
26820 $(binaries-static-tests).
26821 (binaries-shared-tests): New variable.
26822 (binaries-shared-notests): Likewise.
26823 (binaries-shared): Remove variable.
26824 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26825 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26826 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26827 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26828 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26829 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26830 * elf/Makefile (sln-modules): New variable.
26831 (extra-objs): Add $(sln-modules:=.o).
26832 (ldconfig-modules): Add static-stubs.
26833 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26834 * elf/static-stubs.c: New file.
26835
7a845b2c
JM
26836 [BZ #14283]
26837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26838 by 7 not 8 to examine high bit of fractional part. Use volatile
26839 variables when splitting into final array of floats if
26840 __FLT_EVAL_METHOD__ != 0.
26841 * math/libm-test.inc (cos_test): Add another test.
26842 (sin_test): Likewise.
26843 * sysdeps/i386/fpu/libm-test-ulps: Update.
26844
e2283f38
JM
26845 [BZ #14273]
26846 * math/libm-test.inc (cosh_test): Add more tests.
26847
370ca3d2
JM
26848 * version.h (RELEASE): Set to "development".
26849 (VERSION): Set to "2.16.90".
26850
ee9247c3
CD
268512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26852
26853 * NEWS: Update copyright. Remove last-updated date.
26854 Mention math library bug fixes and timezone data changes.
26855 * README: Mention GNU/Hurd, x32, and HPPA support status.
26856
4648c381
TS
268572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26858
26859 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26860
aac78a43
AJ
268612012-06-27 Andreas Jaeger <aj@suse.de>
26862
26863 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26864
ed3dbfad
AJ
268652012-06-25 Andreas Jaeger <aj@suse.de>
26866
26867 * sysdeps/s390/fpu/libm-test-ulps: Update.
26868
4d0ee855
AS
268692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26870 Thomas Schwinge <thomas@codesourcery.com>
26871
26872 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26873 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26875 fanotify_mark.
26876
af1bce34
TS
268772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26878
a9fa33ba
TS
26879 * sysdeps/mach/start.c: Remove file.
26880 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26881 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26882 * sysdeps/sh/init-first.c: Likewise.
26883
58f902b8
TS
26884 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26885 registers for frame unwinding purposes, add CFI directives.
26886 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26887 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26888 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26889 Likewise.
26890
1518f58b
TS
26891 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26892 __fortify_fail returning.
26893 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26894
db9b5059
TS
26895 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26896 sysdeps/sh/____longjmp_chk.S.
26897 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26898 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26899 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26900 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26901
967705fe
TS
26902 * sysdeps/sh/abort-instr.h: New file.
26903 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26904 process in case exit returns.
26905
a9def8c4
TS
26906 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26907 initialize the GOT register before use.
26908
2a649725
TS
26909 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26910 calculation of ARGC > 4.
26911
af1bce34
TS
26912 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26913 meaningful names to some local labels.
26914
d230f50a
KK
269152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26916 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26917
26918 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26919 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26920 (__arch_compare_and_exchange_val_16_acq): Likewise.
26921 (__arch_compare_and_exchange_val_32_acq): Likewise.
26922 (atomic_exchange_and_add): Fix gUSA sequence.
26923 (atomic_add): Likewise.
26924 (atomic_add_negative): Likewise.
26925 (atomic_add_zero): Likewise.
26926 (atomic_bit_test_set): Likewise.
26927
0479b305
AS
269282012-06-22 Andreas Schwab <schwab@redhat.com>
26929
26930 [BZ #13579]
26931 * include/link.h (struct link_map): Add l_free_initfini.
26932 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26933 l_initfini.
26934 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26935 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26936 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26937 set.
26938
0e3933b9
CD
269392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26940
26941 * configure.in: Use AC_LANG_SOURCE.
26942 * configure: Regenerate.
26943
4248b1b1
RM
269442012-06-22 Roland McGrath <roland@hack.frob.com>
26945
26946 * configure.in (libc_cv_localstatedir): New substituted variable.
26947 * configure: Regenerated.
26948 * config.make.in (localstatedir): New variable, substituted from
26949 libc_cv_localstatedir.
26950 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26951 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26952 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26953 * sysdeps/gnu/configure: Regenerated.
26954
006dd861
JL
269552012-06-21 Jeff Law <law@redhat.com>
26956
26957 [BZ #14277]
26958 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26959 free. Simplify list management for _LIBC case.
26960
79662d42
JM
269612012-06-21 Joseph Myers <joseph@codesourcery.com>
26962
b7abb4bf
JM
26963 [BZ #14273]
26964 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26965 Clear sign bit of 64-bit integer value before comparing against
26966 overflow value.
26967
79662d42
JM
26968 * sysdeps/mach/configure: Regenerated.
26969
1f150908
L
269702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26971
26972 [BZ #14278]
26973 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26974
28363bbf
JL
269752012-06-21 Jeff Law <law@redhat.com>
26976
26977 [BZ #13882]
26978 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26979 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26980 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26981 * elf/dl-open.c (dl_open_worker): Likewise.
26982
09615db4
CD
269832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26984
26985 * scripts/list-sources.sh: Scan PORTS for translations.
26986 * po/libc.pot: Regenerated.
26987
2174c6dd
AJ
269882012-06-21 Andreas Jaeger <aj@suse.de>
26989
26990 [BZ #12194]
26991 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26992 warning.
26993 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26994 * bits/byteswap-16.h (__bswap_16): Likewise.
26995 * bits/byteswap.h (__bswap_constant_16): Likewise.
26996
3ee947b1
L
269972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26998
26999 [BZ #14117]
a2f34833
L
27000 * sysdeps/i386/fpu_control.h: Removed.
27001 * sysdeps/x86_64/fpu_control.h: Moved to ...
27002 * sysdeps/x86/fpu_control.h: Here.
27003
3ee947b1
L
27004 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27005 (_FPU_SETCW): Likewise.
27006
ed1825f8
L
270072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27008
25f1282a
L
27009 [BZ #14117]
27010 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27011 * sysdeps/x86/fpu/bits/mathinline.h: This.
27012 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27013
ed1825f8
L
27014 [BZ #14050]
27015 [BZ #14117]
27016 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27017 functions if __x86_64__ is defined.
27018
36d54b74
CLT
270192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27020
27021 * string/endian.h: Add !__ASSEMBLER__ condition for including
27022 conversion interfaces.
27023
10285c21
JM
270242012-06-15 Joseph Myers <joseph@codesourcery.com>
27025
27026 [BZ #14241]
27027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27028 of ABS(x) in calculating zero to negative powers other than odd
27029 integers.
27030 * math/libm-test.inc (pow_test): Add more tests.
27031
06c5abbd
AJ
270322012-06-15 Andreas Jaeger <aj@suse.de>
27033
27034 * manual/contrib.texi (Contributors): Update entry of Liubov
27035 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27036 Machado Filho.
27037
a3aeac40
CH
270382012-06-15 Cyril Hrubis <metan@ucw.cz>
27039
27040 * string/string.h: Add __wur to GNU version of strerror_r.
27041
49bdf4c1
L
270422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27043
27044 [BZ #14229]
27045 * string/Makefile (tests): Add tst-strtok_r.
27046 * string/tst-strtok_r.c: New file.
27047 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27048 RAX_LP/RDX_LP on SAVE_PTR.
27049
834f9b8d
RM
270502012-06-14 Roland McGrath <roland@hack.frob.com>
27051
27052 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27053
75fa1921
JM
270542012-06-14 Joseph Myers <joseph@codesourcery.com>
27055
27056 * libm_test.inc (csqrt_test): Allow more spurious underflow
27057 exceptions.
27058 (j0_test): Likewise.
27059 (j1_test): Likewise.
27060 (y0_test): Likewise.
27061 (y1_test): Likewise.
27062
771766df
CD
270632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27064
27065 * po/Makefile (libc.pot): Use UTF-8 charset.
27066
ceb9e56b
PP
270672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27068
27069 [BZ #14210]
27070 Suppress sign-conversion warning from FD_SET.
27071 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27072 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27073 not unsigned long int.
27074 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27075
ddb28975
L
270762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27077
27078 [BZ #14050]
27079 [BZ #14117]
27080 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27081 __extern_always_inline instead of __extern_inline.
27082 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27083 (__signbit): Likewise.
27084 (__signbitl): Support C++ namespace.
27085 (lrintf): New inline function.
27086 (lrint): Likewise.
27087 (llrintf): Likewise.
27088 (llrint): Likewise.
27089 (fmaxf): Likewise.
27090 (fmax): Likewise.
27091 (fminf): Likewise.
27092 (fmin): Likewise.
27093 (rint): Likewise.
27094 (rintf): Likewise.
27095 (ceil): Likewise.
27096 (ceilf): Likewise.
27097 (floor): Likewise.
27098 (floorf): Likewise.
27099 (nearbyint): Likewise.
27100 (nearbyintf): Likewise.
27101
d7b4fb26
TS
271022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27103
27104 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27105 non-default versions.
27106
eb55f5c2
RM
271072012-06-11 Roland McGrath <roland@hack.frob.com>
27108
27109 [BZ #14218]
27110 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27111
366af02c
TS
271122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27113
99ff6e5c
TS
27114 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27115 (FE_UPWARD, FE_DOWNWARD): Don't define.
27116 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27117 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27118
366af02c
TS
27119 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27120 reading it.
27121 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27123
793ea851
KK
271242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27125
27126 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27128 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27129 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27130
a728a38f
L
271312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27132
27133 [BZ #14117]
c08010c7
L
27134 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27135 * sysdeps/i386/fpu/Implies: New file.
27136 * sysdeps/x86_64/fpu/Implies: Likewise.
27137 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27138 * sysdeps/x86/fpu/bits/fenv.h: This.
27139
a728a38f
L
27140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27141 __SSE_MATH__.
27142
6e230d11
SP
271432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27144
27145 [BZ #14134]
27146 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27147 character 0xffff that matches the last element of the
27148 conversion table.
27149
1b671feb
AZ
271502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27151
27152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27153 fmodl commit.
27154
6043738b
AZ
271552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27156
27157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27158 values higher than 25.6283.
27159
34ae0b32
AZ
271602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27161
27162 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27163 subnormal exponent extraction and add some __builtin_expect.
27164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27165 Fix for subnormal mantissa calculation.
27166
1214ec8f
MF
271672012-06-04 Mike Frysinger <vapier@gentoo.org>
27168
27169 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27170 cpu2 is -1 and errno is not ENOSYS.
27171
f3d1f93c
L
271722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 [BZ #14117]
0e4a3cd7
L
27175 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27176 * sysdeps/x86/bits/string.h: This.
27177 * sysdeps/x86_64/bits/string.h: Removed.
27178
6704c645
L
27179 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27180 if not compiling for x86-64, but compiling for >= i486.
27181
48495318
L
27182 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27183 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27184
14adcbfc
L
27185 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27186 New macro from Linux kernel 3.4.0.
27187 (FP_XSTATE_MAGIC2): Likewise.
27188 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27189 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27190 (struct _fpx_sw_bytes): New struct.
27191 (struct _xsave_hdr): Likewise.
27192 (struct _ymmh_state): Likewise.
27193 (struct _xstate): Likewise.
27194
68e408ab
L
27195 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27196 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27197 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27198 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27199 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27200 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27201
f3d1f93c
L
27202 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27203 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27204 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27205 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27206 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27207 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27208
d9dc34cd
TMQMF
272092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27210
27211 [BZ #13743]
27212 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27213 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27214 (sysdep_headers): Include sys/platform/ppc.h.
27215 * sysdeps/powerpc/test-gettimebase.c: Test for
27216 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27217 * manual/Makefile (appendices): Include platform.texi.
27218 * manual/contrib.texi (Contributors): Update @node pointers.
27219 * manual/maint.texi (Maintenance): Likewise.
27220 (Platform): New node.
27221 * manual/platform.texi: New file. Document the new features.
27222
4af3879c
SP
272232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27224 Jakub Jelinek <jakub@redhat.com>
27225
27226 [BZ #14188]
27227 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27228 where __builtin_expect is unavailable.
27229
2fd6ff13
DM
272302012-06-03 David S. Miller <davem@davemloft.net>
27231
27232 * stdlib/longlong.h: Updated from GCC.
27233
173f7220
AS
272342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27235
27236 [BZ #14042]
27237 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27238 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27239 __mcount_internal.
27240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27241 (GLIBC_2.16): Likewise.
27242
f34a1c6f
L
272432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27244
27245 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27246
88a4576f
JM
272472012-06-01 Joseph Myers <joseph@codesourcery.com>
27248
ea32bcdd
JM
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27250 (default-abi): New variable.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27252 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27253 variable.
27254 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27255 Likewise.
27256 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27257 Likewise.
27258 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27259 Likewise.
27260
88a4576f
JM
27261 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27262 definition. Document in comment.
27263
402fe938
DM
272642012-06-01 David S. Miller <davem@davemloft.net>
27265
27266 * stdlib/longlong.h: Updated from GCC.
27267
3553723f
L
272682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27269
27270 [BZ #14117]
3bd872c4
L
27271 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27272 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27273 sys/debugreg.h sys/io.h here.
27274 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27275 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27276 sys/io.h.
27277 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27278 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27279 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27280 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27281 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27282 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27283
3553723f
L
27284 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27285 Define only if __x86_64__ is defined.
27286
4842e4fe
JM
272872012-06-01 Joseph Myers <joseph@codesourcery.com>
27288
c5bfe3d5
JM
27289 [BZ #14048]
27290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27291 Use int64_t for variable i.
27292 * math/libm-test.inc (fmod_test): Add more tests.
27293
4842e4fe
JM
27294 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27295 z computation is not scheduled after fetestexcept.
27296 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27297 Use math_force_eval instead of asm to ensure calculation scheduled
27298 before exception test.
27299 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27300 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27301
efb73488
AJ
273022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27303
27304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27305 computation is not scheduled after fetestexcept.
27306
29bcce7c
L
273072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27308
27309 [BZ #14117]
27310 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27311 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27312
73a68f94
AZ
273132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27314
27315 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27316 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27317
67b6df78
L
273182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27319
edf2933a 27320 [BZ #14117]
ebc64a18
L
27321 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27322 <bits/wordsize.h>.
27323 (__WCHAR_MIN): Support __WORDSIZE == 64.
27324 (__WCHAR_MAX): Likewise.
27325
edf2933a
L
27326 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27327 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27328
57c6cf40
L
27329 [BZ #14183]
27330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27331 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27332
67b6df78 27333 [BZ #14117]
8eb6281e
L
27334 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27336
aac639f4
L
27337 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27338 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27339
67b6df78
L
27340 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27341 Defined to 1 if __x86_64__ isn't defined.
27342 (_STAT_VER_LINUX_OLD): New.
27343 (st_atime): Remove duplicate.
27344 (st_mtime): Likewise.
27345 (st_ctime): Likewise.
27346
1c2cfe81
DM
273472012-05-31 David S. Miller <davem@davemloft.net>
27348
27349 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27350 entries.
27351
5be8418c
AS
273522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27353
e7725326
AS
27354 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27355 gen-libm-test.pl.
27356
5be8418c
AS
27357 [BZ #14132]
27358 * elf/dl-reloc.c: Include <_itoa.h>.
27359 (_dl_reloc_bad_type): Remove use of INTUSE.
27360 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27361 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27362 * stdio-common/psiginfo.c (psiginfo): Likewise.
27363 * stdio-common/psignal.c (psignal): Likewise.
27364 * string/strsignal.c (strsignal): Likewise.
27365 * include/signal.h (_sys_siglist): Declare hidden proto.
27366 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27367 INTVARDEF with libc_hidden_data_def.
27368 * stdio-common/itoa-udigits.c: Likewise.
27369 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27370 (_itoa_lower_digits_internal): Remove declaration.
27371 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27372 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27373 (_sys_sigabbrev_internal): Remove aliases.
27374 (_sys_siglist): Define hidden alias.
27375
507352f1
MT
273762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27377
27378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27379 bits/sysctl.h.
27380
42bbb1c3
L
273812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27382
27383 [BZ #14117]
6bd784b6
L
27384 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27385 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27386
8bca20f0
L
27387 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27388 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27389 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27390 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27392 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27393
f9e890a9
L
27394 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27395 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27396 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27397
471101a1
L
27398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27399 with __addr.
27400 (insw): Likewise.
27401 (insl): Likewise.
27402 (outsb): Likewise.
27403 (outsw): Likewise.
27404 (outsl): Likewise.
27405
6451c862
L
27406 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27408 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27409
a254b8c9
L
27410 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27411 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27412 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27413 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27414 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27415 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27416
b8dfdd92
L
27417 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27418 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27419
578cd270
L
27420 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27421 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27422
de662f5f
L
27423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27424 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27426
25653439
L
27427 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27428 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27429 to ...
27430 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27431
6bad24a0
L
27432 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27433 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27434 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27435
42bbb1c3
L
27436 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27437 for x86-64.
27438 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27439
2d10d547
JM
274402012-05-31 Joseph Myers <joseph@codesourcery.com>
27441
27442 * math/math.h (M_El): Use two more decimal places.
27443 (M_LOG2El): Likewise.
27444 (M_LOG10El): Likewise.
27445 (M_LN2l): Likewise.
27446 (M_LN10l): Likewise.
27447 (M_PIl): Likewise.
27448 (M_PI_2l): Likewise.
27449 (M_PI_4l): Likewise.
27450 (M_1_PIl): Likewise.
27451 (M_2_PIl): Likewise.
27452 (M_2_SQRTPIl): Likewise.
27453 (M_SQRT2l): Likewise.
27454 (M_SQRT1_2l): Likewise.
27455
f230c29b
DM
274562012-05-31 David S. Miller <davem@davemloft.net>
27457
27458 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27459 values between float registers.
27460 * sysdeps/sparc/sparc64/memset.S: Likewise.
27461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27462
fed806c3
MF
274632012-05-31 Mike Frysinger <vapier@gentoo.org>
27464
27465 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27466 -D_FORTIFY_SOURCE=1.
27467 (CPPFLAGS-tst-longjmp_chk.c): Define.
27468 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27469 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27470 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27471 CFLAGS-tst-wchar-h.c.
27472
30917259
MP
274732012-05-31 Marek Polacek <polacek@redhat.com>
27474
27475 [BZ #14132]
27476 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27477 __endmntent_internal): Remove declaration.
27478 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27479 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27480 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27481
1c58d5dc
DM
274822012-05-30 David S. Miller <davem@davemloft.net>
27483
27484 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27485 (___Q_simulate_exceptions): Use real FP ops rather than writing
27486 into the %fsr.
27487 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27488 Likewise.
27489
7dc00e0d
L
274902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27491
27492 [BZ #14117]
0bd53985
L
27493 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27494 * sysdeps/x86/bits/xtitypes.h: This.
27495
3a257e66
L
27496 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27497 * sysdeps/x86/bits/wordsize.h: This.
27498
62f62904
L
27499 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27500 * sysdeps/x86/bits/huge_vall.h: This.
27501
404fe9d9
L
27502 * sysdeps/i386/bits/select.h: Removed.
27503 * sysdeps/x86_64/bits/select.h: Renamed to ...
27504 * sysdeps/x86/bits/select.h: This.
27505
d48d0446
L
27506 * sysdeps/i386/bits/setjmp.h: Removed.
27507 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27508 * sysdeps/x86/bits/setjmp.h: This.
27509
7dc00e0d
L
27510 * sysdeps/i386/bits/mathdef.h: Removed.
27511 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27512 * sysdeps/x86/bits/mathdef.h: This.
27513
03277f8f
AS
275142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27515
27516 [BZ #14132]
27517 * include/sys/socket.h (__connect_internal)
27518 (__libc_sa_len_internal): Remove declaration.
27519 (__connect, __libc_sa_len): Declare hidden_proto.
27520 (SA_LEN): Remove use of INTUSE.
27521 * socket/connect.c: Add libc_hidden_def.
27522 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27523 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27524 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27525 alias.
27526 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27527 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27528 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27529 of adding _internal alias.
27530
13764867
L
275312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27532
27533 [BZ #14117]
6bd97696
L
27534 * sysdeps/i386/bits/link.h: Removed.
27535 * sysdeps/i386/bits/linkmap.h: Likewise.
27536 * sysdeps/x86_64/bits/link.h: Renamed to ...
27537 * sysdeps/x86/bits/link.h: This.
27538 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27539 * sysdeps/x86/bits/linkmap.h: This.
27540
f726f0bb
L
27541 * sysdeps/i386/bits/endian.h: Removed.
27542 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27543 * sysdeps/x86/bits/endian.h: This.
27544
13764867
L
27545 * sysdeps/i386/bits/byteswap.h: Removed.
27546 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27547 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27548 * sysdeps/x86/bits/byteswap.h: This.
27549 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27550 * sysdeps/x86/bits/byteswap-16.h: This.
27551 * sysdeps/i386/Implies: Add x86.
27552 * sysdeps/x86_64/Implies: Likewise.
27553
ae251b0b
DM
275542012-05-30 David S. Miller <davem@davemloft.net>
27555
27556 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27557 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27558 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27559 (FP_TRAPPING_EXCEPTIONS): Define.
27560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27561 (FP_TRAPPING_EXCEPTIONS): Define.
27562 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27563 subnormals only when inexact has been signalled or underflow
27564 exceptions are enabled.
27565 (_FP_PACK_CANONICAL): Likewise.
27566
d5c90867
L
275672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27568
27569 [BZ #14183]
27570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27571 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27572
63f1549e
RH
275732012-05-30 Richard Henderson <rth@twiddle.net>
27574
8d8f2279
RH
27575 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27576 with #ifndef NOT_IN_libc.
27577
63f1549e
RH
27578 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27579 marked to avoid plt entry.
27580
0ab0291b
L
275812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27582
27583 [BZ #14112]
27584 * Makeconfig (default-abi): New macro.
27585 (abi-includes): Likewise.
27586 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27587 $(abi-$(default-abi)-lib-soname) for soname if defined.
27588 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27589 abi-variants.
27590 * Makefile (installed-stubs): Likewise.
27591 * include/stubs-biarch.h: Removed.
27592 * scripts/lib-names.awk: Only handle one library at a time.
27593 * scripts/soversions.awk: Remove WORDSIZE support.
27594 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27595 entries.
27596 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27597 Removed.
27598 (syscall-list-default-condition): Likewise.
27599 (syscall-list-default-condition): Likewise.
27600 (syscall-list-includes): Likewise.
27601 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27602 syscall-list-* with abi-*. Handle undefined abi-variants.
27603 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27604 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27605 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27606 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27607 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27608 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27609 Removed.
27610 (syscall-list-32-options): Likewise.
27611 (syscall-list-32-condition): Likewise.
27612 (syscall-list-64-options): Likewise.
27613 (syscall-list-64-condition): Likewise.
27614 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27615 macro.
27616 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27617 Renamed to ...
27618 (abi-*): This.
27619 (abi-64-ld-soname): New macro.
27620 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27621 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27622 Renamed to ...
27623 (abi-*): This.
27624 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27625 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27626
4da0431d
JM
276272012-05-30 Joseph Myers <joseph@codesourcery.com>
27628
3a85279c
JM
27629 * sysdeps/unix/sysv/linux/kernel-features.h
27630 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27631 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27632 include <kernel-features.h>.
27633 [!__NR_ftruncate64]: Remove conditional code.
27634 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27635 [__NR_ftruncate64]: Make code unconditional.
27636 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27637 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27638 include <kernel-features.h>.
27639 [!__NR_ftruncate64]: Remove conditional code.
27640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27641 [__NR_ftruncate64]: Make code unconditional.
27642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27644 include <kernel-features.h>.
27645 [!__NR_ftruncate64]: Remove conditional code.
27646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27647 [__NR_ftruncate64]: Make code unconditional.
27648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27650 include <kernel-features.h>.
27651 [!__NR_ftruncate64]: Remove conditional code.
27652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27653 [__NR_ftruncate64]: Make code unconditional.
27654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27655
4da0431d
JM
27656 * configure.in (libc_cv_fpie): Weaken to a compile test using
27657 LIBC_TRY_CC_OPTION.
27658 * configure: Regenerated.
27659
11ef492c
AK
276602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27661
27662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27666 Refreshed.
27667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27673 Refreshed.
27674
d66ef399
DM
276752012-05-27 David S. Miller <davem@davemloft.net>
27676
27677 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27678 (___Q_zero): New.
27679 (__Q_simulate_exceptions): Return void. Change to simulate
27680 exceptions by writing into the %fsr.
27681 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27682 (__Qp_handle_exceptions): Likewise.
27683 (numbers): Delete.
27684 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27685 __Qp_handle_exceptions.
27686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27687 __Qp_handle_exceptions.
27688 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27689 as unused and give dummy FP_RND_NEAREST initializer.
27690 (FP_INHIBIT_RESULTS): Define.
27691 (___Q_simulate_exceptions): Update declaration.
27692 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27693 formatting.
27694 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27695 as unused and give dummy FP_RND_NEAREST initializer.
27696 (__Qp_handle_exceptions): Update declaration.
27697 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27698 formatting.
27699
04fb54b5
TS
277002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27701
27702 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27703 the temporary FPU control word.
27704 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27705 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27706 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27707 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27708 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27710 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27711 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27712 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27713 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27714 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27715
3f99608f
KK
277162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27717
27718 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27719 fields.
27720
65a4de4e
CLT
277212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27722
27723 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27724 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27725 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27726 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27727 Likewise.
27728 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27729 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27730 Likewise.
27731
15749d40
UD
277322012-05-27 Ulrich Drepper <drepper@gmail.com>
27733
27734 * po/h.po: Update from translation team.
27735
25dbcb27
AS
277362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27737
3d3f8e55
AS
27738 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27739
25dbcb27
AS
27740 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27741 handling of denormals.
27742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27743 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27744 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27745 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27749 Likewise.
27750
7ad47a80 277512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27752
27753 [BZ #14152]
27754 * math/libm-test.inc (fma_test): Don't always expect underflow
27755 exception.
27756
9c6ea9fa
SP
277572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27758
27759 [BZ #12416]
27760 * elf/tst-execstack.c: Include stackinfo.h.
27761 (do_test): Adjust test case to ensure that pthread_getattr_np
27762 behaviour remains the same after marking stack executable.
27763
a8239222
JM
277642012-05-25 Joseph Myers <joseph@codesourcery.com>
27765
27766 * sysdeps/unix/sysv/linux/kernel-features.h
27767 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27768 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27769 kernel-features.h.
27770 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27771 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27772 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27773 kernel-features.h.
27774 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27775 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27776
918b5606
L
277772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27778
27779 * configure.in: Define the default includes to being none.
27780 * configure: Regenerated.
27781
3a097cc7
RM
277822012-05-25 Roland McGrath <roland@hack.frob.com>
27783
8422c9a5
RM
27784 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27785 * sysdeps/x86_64/setjmp.S: Likewise.
27786 * sysdeps/i386/bsd-setjmp.S: Likewise.
27787 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27788 * sysdeps/i386/setjmp.S: Likewise.
27789 * sysdeps/i386/__longjmp.S: Likewise.
27790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27791 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27792
3a097cc7
RM
27793 * include/stap-probe.h: New file.
27794 * configure.in: Handle --enable-systemtap.
27795 * configure: Regenerated.
27796 * config.h.in (USE_STAP_PROBE): New #undef.
27797 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27798 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27799 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27800
21708942
JM
278012012-05-25 Joseph Myers <joseph@codesourcery.com>
27802
27803 [BZ #13717]
27804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27805 to 2.4.0 where earlier.
27806 * sysdeps/unix/sysv/linux/configure: Regenerated.
27807 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27808 <kernel-features.h>.
27809 [__ASSUME_32BITUIDS]: Make code unconditional.
27810 [!__ASSUME_32BITUIDS]: Remove conditional code.
27811 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27812 <kernel-features.h>.
27813 [__ASSUME_32BITUIDS]: Make code unconditional.
27814 [!__ASSUME_32BITUIDS]: Remove conditional code.
27815 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27816 [__ASSUME_32BITUIDS]: Make code unconditional.
27817 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27818 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27819 <kernel-features.h>.
27820 [__ASSUME_32BITUIDS]: Make code unconditional.
27821 [!__ASSUME_32BITUIDS]: Remove conditional code.
27822 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27823 <kernel-features.h>.
27824 [__ASSUME_32BITUIDS]: Make code unconditional.
27825 [!__ASSUME_32BITUIDS]: Remove conditional code.
27826 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27827 <kernel-features.h>.
27828 [__ASSUME_32BITUIDS]: Make code unconditional.
27829 [!__ASSUME_32BITUIDS]: Remove conditional code.
27830 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27831 <kernel-features.h>.
27832 [__ASSUME_32BITUIDS]: Make code unconditional.
27833 [!__ASSUME_32BITUIDS]: Remove conditional code.
27834 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27835 <kernel-features.h>.
27836 [__ASSUME_32BITUIDS]: Make code unconditional.
27837 [!__ASSUME_32BITUIDS]: Remove conditional code.
27838 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27839 <kernel-features.h>.
27840 [__ASSUME_32BITUIDS]: Make code unconditional.
27841 [!__ASSUME_32BITUIDS]: Remove conditional code.
27842 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27843 <kernel-features.h>.
27844 [__ASSUME_32BITUIDS]: Make code unconditional.
27845 [!__ASSUME_32BITUIDS]: Remove conditional code.
27846 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27847 <kernel-features.h>.
27848 [__ASSUME_32BITUIDS]: Make code unconditional.
27849 [!__ASSUME_32BITUIDS]: Remove conditional code.
27850 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27851 <kernel-features.h>.
27852 [__ASSUME_32BITUIDS]: Make code unconditional.
27853 [!__ASSUME_32BITUIDS]: Remove conditional code.
27854 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27855 <kernel-features.h>.
27856 [__ASSUME_32BITUIDS]: Make code unconditional.
27857 [!__ASSUME_32BITUIDS]: Remove conditional code.
27858 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27859 <kernel-features.h>.
27860 [__NR_setresgid] (__setresgid): Do not declare.
27861 [__ASSUME_32BITUIDS]: Make code unconditional.
27862 [!__ASSUME_32BITUIDS]: Remove conditional code.
27863 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27864 <kernel-features.h>.
27865 [__NR_setresuid] (__setresuid): Do not declare.
27866 [__ASSUME_32BITUIDS]: Make code unconditional.
27867 [!__ASSUME_32BITUIDS]: Remove conditional code.
27868 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27869 <kernel-features.h>.
27870 [__ASSUME_32BITUIDS]: Make code unconditional.
27871 [!__ASSUME_32BITUIDS]: Remove conditional code.
27872 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27873 <kernel-features.h>.
27874 [__ASSUME_32BITUIDS]: Make code unconditional.
27875 [!__ASSUME_32BITUIDS]: Remove conditional code.
27876 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27877 <kernel-features.h>.
27878 [__ASSUME_32BITUIDS]: Make code unconditional.
27879 [!__ASSUME_32BITUIDS]: Remove conditional code.
27880 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27881 <kernel-features.h>.
27882 [__ASSUME_32BITUIDS]: Make code unconditional.
27883 [!__ASSUME_32BITUIDS]: Remove conditional code.
27884 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27885 <kernel-features.h>.
27886 [__ASSUME_32BITUIDS]: Make code unconditional.
27887 [!__ASSUME_32BITUIDS]: Remove conditional code.
27888 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27889 <kernel-features.h>.
27890 [__ASSUME_32BITUIDS]: Make code unconditional.
27891 [!__ASSUME_32BITUIDS]: Remove conditional code.
27892 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27893 <kernel-features.h>.
27894 [__ASSUME_32BITUIDS]: Make code unconditional.
27895 [!__ASSUME_32BITUIDS]: Remove conditional code.
27896 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27897 <kernel-features.h>.
27898 [__ASSUME_32BITUIDS]: Make code unconditional.
27899 [!__ASSUME_32BITUIDS]: Remove conditional code.
27900 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27901 <kernel-features.h>.
27902 [__ASSUME_32BITUIDS]: Make code unconditional.
27903 [!__ASSUME_32BITUIDS]: Remove conditional code.
27904 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27905 <kernel-features.h>.
27906 [__ASSUME_32BITUIDS]: Make code unconditional.
27907 [!__ASSUME_32BITUIDS]: Remove conditional code.
27908 * sysdeps/unix/sysv/linux/kernel-features.h
27909 (__ASSUME_SETRESUID_SYSCALL): Remove.
27910 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27911 (__ASSUME_32BITUIDS): Likewise.
27912 (__ASSUME_LDT_WORKS): Likewise.
27913 (__ASSUME_O_DIRECTORY): Likewise.
27914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27915 architecture but not kernel version.
27916 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27917 (__ASSUME_MMAP2_SYSCALL): Likewise.
27918 (__ASSUME_STAT64_SYSCALL): Likewise.
27919 (__ASSUME_IPC64): Likewise.
27920 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27921 <kernel-features.h>.
27922 [__ASSUME_32BITUIDS]: Make code unconditional.
27923 [!__ASSUME_32BITUIDS]: Remove conditional code.
27924 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27925 <kernel-features.h>.
27926 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27927 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27928 132096]: Remove conditional code.
27929 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27931 <kernel-features.h>.
27932 [__ASSUME_32BITUIDS]: Make code unconditional.
27933 [!__ASSUME_32BITUIDS]: Remove conditional code.
27934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27935 <kernel-features.h>.
27936 [__ASSUME_32BITUIDS]: Make code unconditional.
27937 [!__ASSUME_32BITUIDS]: Remove conditional code.
27938 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27939 <kernel-features.h>.
27940 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27941 unconditional.
27942 (__setresgid): Do not declare.
27943 [__ASSUME_32BITUIDS]: Make code unconditional.
27944 [!__ASSUME_32BITUIDS]: Remove conditional code.
27945 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27946 <kernel-features.h>.
27947 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27948 unconditional.
27949 (__setresuid): Do not declare.
27950 [__ASSUME_32BITUIDS]: Make code unconditional.
27951 [!__ASSUME_32BITUIDS]: Remove conditional code.
27952 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27953 <kernel-features.h>.
27954 [__ASSUME_32BITUIDS]: Make code unconditional.
27955 [!__ASSUME_32BITUIDS]: Remove conditional code.
27956 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27957 <kernel-features.h>.
27958 [__ASSUME_32BITUIDS]: Make code unconditional.
27959 [!__ASSUME_32BITUIDS]: Remove conditional code.
27960
a386f1cc
RH
279612012-05-25 Richard Henderson <rth@twiddle.net>
27962
27963 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27964 dl_hwcap to ifunc resolver.
27965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27966 elf_ifunc_invoke.
27967 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27968 dl_hwcap to ifunc resolver.
27969 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27970
b6550497
JM
279712012-05-24 Joseph Myers <joseph@codesourcery.com>
27972
27973 [BZ #14153]
27974 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27975 for |x| <= 2**-26, not 2**-57.
27976 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27977 exception.
27978
b0bc23a1
JL
279792012-05-24 Jeff Law <law@redhat.com>
27980
27981 * stdio-common/Makefile (tests): Add bug25.
27982 * stdio-common/bug25.c: New test.
27983
347c92e9
L
279842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27985
27986 [BZ #13576]
27987 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27988 multiple of MALLOC_ALIGNMENT in size.
27989 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27990
6bcc8b3f
JM
279912012-05-24 Joseph Myers <joseph@codesourcery.com>
27992
27993 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27994 Require >= 256.
27995 (FILENAME_MAX): Use macro-int-constant.
27996 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27997 (_IOFBF): Use macro-int-constant.
27998 (_IOLBF): Likewise.
27999 (_IONBF): Likewise.
28000 (SEEK_CUR): Likewise.
28001 (SEEK_END): Likewise.
28002 (SEEK_SET): Likewise.
28003 (TMP_MAX): Likewise.
28004 (EOF): Use macro-int-constant. Require < 0.
28005 (NULL): Use macro-constant. Require == 0.
28006 (stdin): Require type to be FILE *.
28007 (stdout): Likewise.
28008 (stderr): Likewise.
28009 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28010 macro-int-constant.
28011 (EXIT_SUCCESS): Likewise.
28012 (NULL): Use macro-constant. Require == 0.
28013 (RAND_MAX): Use macro-int-constant.
28014 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28015 [C99-based standards] (strtof): Require function.
28016 [C99-based standards] (strtold): Likewise.
28017 [C99-based standards] (strtoll): Likewise.
28018 [C99-based standards] (strtoull): Likewise.
28019 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28020 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28021 [ISO || ISO99 || ISO11] (math.h): Likewise.
28022 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28023 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28025
d18ea0c5
AS
280262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28027
28028 [BZ #14132]
56d25bb8
AS
28029 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28030 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28031 * intl/dgettext.c (DCGETTEXT): Likewise.
28032 * intl/gettext.c (DCGETTEXT): Likewise.
28033 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28034 * posix/regex_internal.h (gettext): Likewise.
28035 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28036 Remove declaration.
28037 * include/argz.h (__argz_count_internal)
28038 (__argz_stringify_internal): Remove declaration.
28039 (__argz_count, __argz_stringify): Declare hidden proto.
28040 * intl/dcgettext.c: Remove use of INTDEF.
28041 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28042 * string/argz-stringify.c: Likewise.
28043 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28044 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28045 Declare hidden proto.
d18ea0c5
AS
28046 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28047 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28048 Declare hidden proto.
28049 * include/stdio.h (__asprintf_internal): Don't declare.
28050 (__asprintf): Don't define as macro. Declare hidden proto.
28051 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28052 (__fsetlocking): Declare hidden proto.
28053 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28054 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28055 hidden proto.
28056 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28057 (_IO_setlinebuf): Remove use of INTUSE.
28058 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28059 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28060 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28061 Remove declaration.
28062 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28063 (_IO_do_flush): Remove use of INTUSE.
28064 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28065 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28066 (_IO_adjust_column, _IO_least_wmarker)
28067 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28068 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28069 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28070 (_IO_default_doallocate, _IO_wdefault_doallocate)
28071 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28072 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28073 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28074 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28075 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28076 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28077 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28078 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28079 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28080 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28081 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28082 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28083 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28084 proto.
28085 (_IO_flush_all_internal, _IO_adjust_column_internal)
28086 (_IO_default_uflow_internal, _IO_default_finish_internal)
28087 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28088 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28089 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28090 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28091 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28092 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28093 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28094 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28095 (_IO_file_close_internal, _IO_file_close_it_internal)
28096 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28097 (_IO_file_init_internal, _IO_file_attach_internal)
28098 (_IO_file_fopen_internal, _IO_file_read_internal)
28099 (_IO_file_sync_internal, _IO_file_seek_internal)
28100 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28101 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28102 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28103 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28104 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28105 (_IO_list_all_internal, _IO_link_in_internal)
28106 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28107 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28108 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28109 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28110 (_IO_do_write_internal, _IO_padn_internal)
28111 (_IO_getline_info_internal, _IO_getline_internal)
28112 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28113 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28114 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28115 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28116 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28117 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28118 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28119 with libc_hidden_ver, remove use of INTUSE.
28120 * libio/genops.c: Likewise.
28121 * libio/freopen.c: Likewise.
28122 * libio/freopen64.c: Likewise.
28123 * libio/iofclose.c: Likewise.
28124 * libio/iofdopen.c: Likewise.
28125 * libio/iofflush.c: Likewise.
28126 * libio/iofflush_u.c: Likewise.
28127 * libio/iofgets.c: Likewise.
28128 * libio/iofgets_u.c: Likewise.
28129 * libio/iofopen.c: Likewise.
28130 * libio/iofopncook.c: Likewise.
28131 * libio/iofread.c: Likewise.
28132 * libio/iofread_u.c: Likewise.
28133 * libio/ioftell.c: Likewise.
28134 * libio/iofwrite.c: Likewise.
28135 * libio/iogetline.c: Likewise.
28136 * libio/iogets.c: Likewise.
28137 * libio/iogetwline.c: Likewise.
28138 * libio/iopadn.c: Likewise.
28139 * libio/iopopen.c: Likewise.
28140 * libio/ioseekoff.c: Likewise.
28141 * libio/ioseekpos.c: Likewise.
28142 * libio/iosetbuffer.c: Likewise.
28143 * libio/iosetvbuf.c: Likewise.
28144 * libio/ioungetc.c: Likewise.
28145 * libio/ioungetwc.c: Likewise.
28146 * libio/iovdprintf.c: Likewise.
28147 * libio/iovsprintf.c: Likewise.
28148 * libio/iovsscanf.c: Likewise.
28149 * libio/memstream.c: Likewise.
28150 * libio/obprintf.c: Likewise.
28151 * libio/oldfileops.c: Likewise.
28152 * libio/oldiofclose.c: Likewise.
28153 * libio/oldiofdopen.c: Likewise.
28154 * libio/oldiofopen.c: Likewise.
28155 * libio/oldiopopen.c: Likewise.
28156 * libio/oldstdfiles.c: Likewise.
28157 * libio/putc.c: Likewise.
28158 * libio/setbuf.c: Likewise.
28159 * libio/setlinebuf.c: Likewise.
28160 * libio/stdfiles.c: Likewise.
28161 * libio/strops.c: Likewise.
28162 * libio/vasprintf.c: Likewise.
28163 * libio/vscanf.c: Likewise.
28164 * libio/vsnprintf.c: Likewise.
28165 * libio/vswprintf.c: Likewise.
28166 * libio/wfiledoalloc.c: Likewise.
28167 * libio/wfileops.c: Likewise.
28168 * libio/wgenops.c: Likewise.
28169 * libio/wmemstream.c: Likewise.
28170 * libio/wstrops.c: Likewise.
28171 * libio/__fpurge.c: Likewise.
28172 * libio/__fsetlocking.c: Likewise.
28173 * assert/assert.c: Likewise.
28174 * debug/fgets_chk.c: Likewise.
28175 * debug/fgets_u_chk.c: Likewise.
28176 * debug/fread_chk.c: Likewise.
28177 * debug/fread_u_chk.c: Likewise.
28178 * debug/gets_chk.c: Likewise.
28179 * debug/obprintf_chk.c: Likewise.
28180 * debug/vasprintf_chk.c: Likewise.
28181 * debug/vdprintf_chk.c: Likewise.
28182 * debug/vsnprintf_chk.c: Likewise.
28183 * debug/vsprintf_chk.c: Likewise.
28184 * malloc/mtrace.c: Likewise.
28185 * misc/error.c: Likewise.
28186 * misc/syslog.c: Likewise.
28187 * stdio-common/asprintf.c: Likewise.
28188 * stdio-common/fxprintf.c: Likewise.
28189 * stdio-common/getw.c: Likewise.
28190 * stdio-common/isoc99_fscanf.c: Likewise.
28191 * stdio-common/isoc99_scanf.c: Likewise.
28192 * stdio-common/isoc99_vfscanf.c: Likewise.
28193 * stdio-common/isoc99_vscanf.c: Likewise.
28194 * stdio-common/isoc99_vsscanf.c: Likewise.
28195 * stdio-common/printf-prs.c: Likewise.
28196 * stdio-common/printf_fp.c: Likewise.
28197 * stdio-common/printf_fphex.c: Likewise.
28198 * stdio-common/printf_size.c: Likewise.
28199 * stdio-common/putw.c: Likewise.
28200 * stdio-common/scanf.c: Likewise.
28201 * stdio-common/sprintf.c: Likewise.
28202 * stdio-common/tmpfile.c: Likewise.
28203 * stdio-common/vfprintf.c: Likewise.
28204 * stdio-common/vfscanf.c: Likewise.
28205 * stdlib/strfmon_l.c: Likewise.
28206 * sunrpc/openchild.c: Likewise.
28207 * sunrpc/xdr_stdio.c: Likewise.
28208 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28209 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28210
d6c33fda
RM
282112012-05-24 Roland McGrath <roland@hack.frob.com>
28212
c1487492
RM
28213 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28214
28215 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28216 in the third column, to generate for the shared library an IFUNC
28217 that uses _dl_vdso_vsym.
28218 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28219 * Makeconfig (object-suffixes-noshared): New variable.
28220
28221 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28222 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28223 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28224 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28225
d6c33fda
RM
28226 [BZ #14132]
28227 * include/sys/time.h (__gettimeofday): Remove macro.
28228 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28229 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28230 Remove INTDEF.
28231 (__gettimeofday): Add libc_hidden_def.
28232 (gettimeofday): Add libc_hidden_weak.
28233 * sysdeps/mach/gettimeofday.c: Likewise.
28234 * sysdeps/posix/gettimeofday.c: Likewise.
28235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28236 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28238 (__gettimeofday_internal): Remove strong_alias.
28239 (__gettimeofday): Add libc_hidden_def.
28240 (gettimeofday): Add libc_hidden_weak.
28241 * sysdeps/unix/syscalls.list (gettimeofday):
28242 Remove __gettimeofday_internal alias.
28243
b5a2bbe6
L
282442012-05-24 Daniel Jacobowitz <drow@false.org>
28245 H.J. Lu <hongjiu.lu@intel.com>
28246
28247 [BZ #12495]
28248 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28249 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28250 (largebin_index_32_big): New.
28251 (largebin_index): Use it for 16-byte alignment.
28252 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28253 correction with front_misalign.
28254
cfba4fda
L
282552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28256
7f907421
L
28257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28259 Likewise.
28260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28261 Likewise.
28262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28263 Likewise.
28264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28265 Likewise.
28266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28267 Likewise.
28268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28269 Likewise.
28270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28271 Likewise.
28272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28273 Likewise.
28274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28275 Likewise.
28276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28277 Likewise.
28278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28279 Likewise.
28280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28281 Likewise.
28282
cfba4fda
L
28283 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28284 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28285
80bad0cc
JM
282862012-05-24 Joseph Myers <joseph@codesourcery.com>
28287
7a25eb06
JM
28288 [BZ #10846]
28289 [BZ #14036]
28290 * math/libm-test.inc (exp_test): Add test from bug 14036.
28291 (pow_test): Add test from bug 10846.
28292
795405f9
JM
28293 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28294 and other flags.
28295 (special_function): Do not include flags in test name.
28296 (parse_args): Likewise.
28297 * sysdeps/i386/fpu/libm-test-ulps: Update.
28298 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28299 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28300 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28302
80bad0cc
JM
28303 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28304 exceptions.
28305 * math/libm-test.inc ("Philosophy"): Update comment about
28306 exception testing.
28307 (UNDERFLOW_EXCEPTION): New macro.
28308 (UNDERFLOW_EXCEPTION_OK): Likewise.
28309 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28310 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28311 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28312 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28313 (INVALID_EXCEPTION_OK): Update value.
28314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28315 (OVERFLOW_EXCEPTION_OK): Likewise.
28316 (IGNORE_ZERO_INF_SIGN): Likewise.
28317 (test_exceptions): Handle underflow exceptions.
28318 (acos_test): Update for underflow exception expectations.
28319 (cexp_test): Likewise.
28320 (clog_test): Likewise.
28321 (clog10_test): Likewise.
28322 (csqrt_test): Likewise.
28323 (ctan_test): Likewise.
28324 (ctanh_test): Likewise.
28325 (exp_test): Likewise.
28326 (exp10_test): Likewise.
28327 (exp2_test): Likewise.
28328 (expm1_test): Likewise.
28329 (fma_test): Likewise.
28330 (j0_test): Likewise.
28331 (jn_test): Likewise.
28332 (nexttoward_test): Likewise.
28333 (pow_test): Likewise.
28334 (scalbn_test): Likewise.
28335 (scalbln_test): Likewise.
28336 (tan_test): Likewise.
28337 (y1_test): Likewise.
28338 * sysdeps/i386/fpu/libm-test-ulps: Update.
28339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28340
9e0e3d0b
DM
283412012-05-23 David S. Miller <davem@davemloft.net>
28342
28343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28344 (__libc_sigaction): Remove unused local variables.
28345
ccd0a08f
L
283462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28347
28348 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28349
62bdf9a6
PE
283502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28351
f8591f80
PE
28352 mktime: avoid signed integer overflow
28353 * time/mktime.c (__mktime_internal): Do not mishandle the case
28354 where diff == INT_MIN.
28355
94c7d826
PE
28356 mktime: simplify computation of average
28357 * time/mktime.c (ranged_convert): Use new time_t_avg function
28358 instead of rolling our own (probably-slower) code.
28359
ce73d683
PE
28360 mktime: do not assume signed right shift propagates sign bit
28361 * time/mktime.c (isdst_differ): New static function.
28362 (__mktime_internal): No need to normalize tm_isdst now.
28363 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28364 tm_isdst values.
28365
72a22e59
PE
28366 mktime: merge another wrapv change from gnulib
28367 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28368 from some compilers.
28369
68605433
PE
28370 mktime: remove incorrect attempt at unusual arithmetics
28371 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28372 The code didn't really work on such machines anyway.
28373 (TYPE_MINIMUM): Assume two's complement.
28374 (twos_complement_arithmetic): Verify that long_int and time_t
28375 are two's complement (or unsigned, in the latter case).
28376
03cf7fe3
PE
28377 mktime: check signed shifts on long_int and time_t, too
28378 * time/mktime.c (SHR): Check that shifts work as desired
28379 on the types long_int and time_t too, as SHR is used on
28380 such types.
28381
f04dfbc2
PE
28382 mktime: do not assume 'long' is wide enough
28383 * time/mktime.c (verify): Move decl up.
28384 (long_int): New type.
28385 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28386 to remove assumption in the code that 'long' is wide enough to
28387 store year values. This assumption is not true on x32 and on
28388 some non-glibc platforms.
28389
62bdf9a6
PE
28390 mktime: merge wrapv change from gnulib
28391 * time/mktime.c (WRAPV): New macro.
28392 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28393 (guess_time_tm, __mktime_internal): Do not assume that signed
28394 integer overflow wraps around; modern compilers generate code
28395 where this assumption is no longer valid.
28396
5e292e4f
L
283972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28398
28399 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28400 Replace "jmp L(pseudo_end)" with "ret".
28401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28402 Likewise.
28403
8caf8c87
AJ
284042012-05-23 Andreas Jaeger <aj@suse.de>
28405
28406 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28407 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28408
1a09dc56
AJ
284092012-05-23 Andreas Jaeger <aj@suse.de>
28410 Maximilian Attems <max@stro.at>
28411
28412 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28413 New macros.
28414
1c87aba0
L
284152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28416
28417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28418 code so that pseudo_end is just ret and the stack pointer is
28419 correct also for static library in error case.
28420
40e45bd5
JM
284212012-05-23 Joseph Myers <joseph@codesourcery.com>
28422
c2670533
JM
28423 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28424 move to syscalls.list.
28425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28429
40e45bd5
JM
28430 * manual/install.texi (Running make install): Do not mention Linux
28431 kernel version for which pt_chown is not needed.
28432 (Linux): Do not mention problems with nscd with 2.0 kernels.
28433 * INSTALL: Regenerated.
28434
be08eda5
AJ
284352012-05-23 Andreas Jaeger <aj@suse.de>
28436
28437 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28438 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28439 macro.
28440 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28442 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28444 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28446 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28450 * sysdeps/unix/sysv/linux/bits/in.h
28451 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28452
a6a056bb
RM
284532012-05-22 Roland McGrath <roland@hack.frob.com>
28454
28455 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28456 (PREPARE_VERSION): Just use assert instead, it will be elided
28457 under [NDEBUG] anyway.
28458
c9009328
L
284592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28460
28461 * sysdeps/unix/sysv/linux/Makefile: Include
28462 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28463 (sysdep_routines): Remove sysctl.
c9009328
L
28464 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28465 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28466 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28467 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28468 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28469
73338355
AJ
284702012-05-22 Andreas Jaeger <aj@suse.de>
28471
28472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28473 that pseudo_end is just ret and the stack pointer is correct also
28474 for static library in error case.
28475
d44638b0
PP
284762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28477
28478 [BZ #14122]
28479 * nss/nsswitch.c (defconfig_entries): New variable.
28480 (__nss_database_lookup): Don't leak defconfig entries.
28481 (nss_parse_service_list): Don't leak on error paths.
28482 (free_database_entries): New function.
28483 (free_defconfig): New function.
28484 (free_mem): Move common code to free_database_entries.
28485
31a39bd8
L
284862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28487
da0331a8
L
28488 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28489 Add arch_prctl.
28490 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28491
31a39bd8
L
28492 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28493 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28495 New macro.
28496 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28497 (INTERNAL_SYSCALL_TYPES): Likewise.
28498 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28499 (LOAD_REGS_TYPES_[1-6]): Likewise.
28500 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28501 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28502
45470df3
AZ
285032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28504
28505 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28506 copysignl for GLIBC_2_0.
28507 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28508 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28510 logbl for GLIBC_2_0.
28511 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28512 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28513
98a61bcb
L
285142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28515
a4f6e481
L
28516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28517 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28518
f63d5db6
L
28519 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28520 Use "neg %eax".
28521
98a61bcb
L
28522 * time/mktime.c: Update copyright years.
28523
95770f14
PE
285242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28525
6226efbd
PE
28526 mktime: merge comment-quoting-style change from gnulib
28527 * time/mktime.c: Quote 'like this' in comments.
28528 The GNU coding standards suggest that we no longer quote `like this',
28529 as "`" and "'" are typically rendered asymmetrically nowadays.
28530 The typical gnulib style is to quote 'like this' when quoting
28531 code, and "like this" when quoting English.
28532
b99e4f78
PE
28533 * time/mktime.c (compile-command): Add "-I.".
28534
643e01e6
PE
28535 mktime: merge mktime-internal.h change from gnulib
28536 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28537
2554247d
PE
28538 mktime: merge time_r change from gnulib
28539 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28540
826dd0ab
PE
28541 mktime: merge DEBUG change from gnulib
28542 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28543 case system <time.h> has a #define.
28544
bd83aabe
PE
28545 mktime: merge <sys/types.h> change from gnulib
28546 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28547 since <time.t> is now guaranteed to define time_t.
28548
95770f14
PE
28549 mktime: merge HAVE_CONFIG_H change from gnulib
28550 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28551
5e1a27a9
L
285522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28553
0e44a77e
L
28554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28555 Use "neg %eax".
28556
5e1a27a9
L
28557 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28558 __rlim_t cast.
28559 (struct rusage): Use anonymous union to pad each field to
28560 __syscall_slong_t.
28561
46259bec
DM
285622012-05-21 David S. Miller <davem@davemloft.net>
28563
28564 * Makefules (o-iterator): Remove .s cases.
28565 (compile-command.s): Delete.
28566 (COMPILE.s): Delete.
28567 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28568
59f0c22e
JM
285692012-05-21 Joseph Myers <joseph@codesourcery.com>
28570
28571 * configure.in (libc_cv_predef_stack_protector): Only consider
28572 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28573 * configure: Regenerated.
28574
20c07380
L
285752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28576
bbb3154b
L
28577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28578 New macro. Use R*LP on int and pointer.
28579 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28580 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28581 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28582 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28583
20c07380
L
28584 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28585 [__WORDSIZE_TIME64_COMPAT32] instead of
28586 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28587 (struct utmp): Likewise.
28588 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28589 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28590 Renamed to ...
28591 (__WORDSIZE_TIME64_COMPAT32): This.
28592 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28593 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28594 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28595 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28596 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28597 (__WORDSIZE_TIME64_COMPAT32): New macro.
28598
d8d1017e
AJ
285992012-05-21 Andreas Jaeger <aj@suse.de>
28600
28601 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28602 only if [SHARED]. Add prototype for __wcschr_ia32.
28603
6c7fb145
RM
286042012-05-21 Roland McGrath <roland@hack.frob.com>
28605
28606 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28607 of %rbp unmolested in the jmp_buf while mangling the low bits.
28608 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28609 unmolested high bits of %rbp while demangling the low bits.
28610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28611
66274218
AJ
286122012-05-21 Andreas Jaeger <aj@suse.de>
28613
07c58f8f
AJ
28614 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28615 * sunrpc/svc_simple.c: Use it for registerrpc.
28616 * sunrpc/xcrypt.c: Use it for passwd2des.
28617
66274218
AJ
28618 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28619
61f65140
L
286202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28623 Don't define if [__SYSCALL_WORDSIZE != 32].
28624 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28625 New macro.
28626
5fefb436
AJ
286272012-05-21 Bruno Haible <bruno@clisp.org>
28628 Andreas Jaeger <aj@suse.de>
28629
28630 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28631 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28632 inptr and inend for must_buffer_ch.
28633 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28634 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28635 * stdio-common/Makefile (tests): Remove bug15.
28636 (bug15-ENV): Remove macro.
28637 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28638 anymore.
28639
d8e272ab
AJ
286402012-05-19 Andreas Jaeger <aj@suse.de>
28641 Roland McGrath <roland@hack.frob.com>
28642
28643 * manual/contrib.texi: Completely rewritten. It contains now an
28644 alphabetical list of contributors and their contributions.
28645
4a56a162
RH
286462012-05-21 Richard Henderson <rth@twiddle.net>
28647
28648 * misc/getauxval.c (__getauxval): Use unsigned long int.
28649 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28650 (getauxval): Use unsigned long int.
28651
d024d23c
L
286522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28653
28654 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28655
cbc00a03
RM
286562012-05-21 Roland McGrath <roland@hack.frob.com>
28657
28658 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28659 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28660 __alignof__ (long double).
28661
478143fa
AZ
286622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28663
28664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28665
c7683a6d
RH
286662012-05-20 Richard Henderson <rth@twiddle.net>
28667
28668 * misc/getauxval.c: New file.
28669 * misc/sys/auxv.h: New file.
28670 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28671 (routines): Add getauxval.
28672 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28673 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28674 * elf/dl-sysdep.c (_dl_auxv): Remove.
28675 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28676 * elf/dl-support.c (_dl_auxv): New variable.
28677 (_dl_aux_init): Initialize it.
28678 * manual/startup.texi (Auxiliary Vector): New node.
28679 * sysdeps/generic/bits/hwcap.h: New file.
28680 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28681 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28682 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28683 * sysdeps/sparc/sysdep.h: ... here. Include it.
28684 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28687 Update.
c7683a6d
RH
28688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28696
a6f1845d
AZ
286972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28698
28699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28700
cbcbe830
DM
287012012-05-19 David S. Miller <davem@davemloft.net>
28702
28703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28704
e0b16cc2
JM
287052012-05-19 Joseph Myers <joseph@codesourcery.com>
28706
28707 [BZ #14123]
28708 * math/s_ccosh.c: Include <float.h>
28709 (__ccosh): Avoid internal overflow calculating sinh and cosh
28710 values before multiplying by sin and cos values.
28711 * math/s_ccoshf.c: Likewise.
28712 * math/s_ccoshl.c: Likewise.
28713 * math/s_csin.c: Likewise.
28714 * math/s_csinf.c: Likewise.
28715 * math/s_csinl.c: Likewise.
28716 * math/s_csinh.c: Likewise.
28717 * math/s_csinhf.c: Likewise.
28718 * math/s_csinhl.c: Likewise.
28719 * math/libm-test.inc (ccos_test): Add more tests.
28720 (ccosh_test): Likewise.
28721 (csin_test): Likewise.
28722 (csinh_test): Likewise.
28723 * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28725
6ad13e08
L
287262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28727
f66f0ce8
L
28728 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28729 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28730
6ad13e08
L
28731 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28732
b1d072a7
JM
287332012-05-19 Joseph Myers <joseph@codesourcery.com>
28734
28735 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28736 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28737 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28738 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28739 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28740 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28741 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28742 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28743 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28744 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28745 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28746 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28747 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28748 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28749 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28750 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28751 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28752 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28753 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28754 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28755 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28756 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28757 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28758 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28759 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28760 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28761 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28762 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28763 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28764 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28765 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28766
9eae47cb
AJ
287672012-05-18 Andreas Jaeger <aj@suse.de>
28768
28769 * csu/.gitignore: Delete.
28770
bb07f69f
L
287712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28772
28773 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28774 (timex): Use __syscall_slong_t.
28775
e6bdb741
AJ
287762012-05-18 Andreas Jaeger <aj@suse.de>
28777 Carlos O'Donell <carlos_odonell@mentor.com>
28778
28779 * manual/install.texi (Configuring and compiling): Update
28780 description about files modified in the source directory.
d6c33fda 28781 * INSTALL: Regenerated.
e6bdb741 28782
1b74487e
L
287832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28784
28785 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28786 value. Use "or" to set return value to -1.
28787 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28788 negate return value.
28789
a88b64b9
TMQMF
287902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28791
57f41c40
AS
28792 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28793 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28794 failure if the compiler has Graphite support disabled.
28795 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28796 Likewise.
57f41c40
AS
28797 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28798 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28799 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28800 Likewise.
28801
3707636e
L
288022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28803
610b8622
L
28804 * sysdeps/x86_64/x32/_itoa.h: New file.
28805
7cd195df
L
28806 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28807 getdents system call only if kernel and user dirents have the
28808 same d_ino and d_off.
28809
94b07d20
L
28810 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28811 LLONG_MAX != LONG_MAX.
28812 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28813 (_fitoa_word): Likewise.
28814
18298070
L
28815 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28816 years.
28817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28818 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28820
553c7ea4
L
28821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28822 include <bits/wordsize.h>. Check __x86_64__ instead of
28823 __WORDSIZE.
28824 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28825 if __x86_64__ is defined. Use anonymous union on fpstate.
28826
3707636e
L
28827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28828 anonymous union.
28829
b53ef01a
AS
288302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28831
37fb1dc0
AS
28832 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28833 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28834 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28835 Refer to _rtld_local_ro instead of _rtld_global_ro.
28836 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28837 Likewise.
28838 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28839 Likewise.
28840 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28841 Likewise.
28842 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28843 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28844 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28845
b53ef01a
AS
28846 * sysdeps/powerpc/powerpc32/dl-machine.c
28847 (__elf_machine_runtime_setup) [PROF]: Don't reference
28848 _dl_prof_resolve.
28849
7a185db2
AJ
288502012-05-18 Andreas Jaeger <aj@suse.de>
28851
28852 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28853 function only available for GCCs before 3.4 since GCC 3.4
28854 introduced a builtin.
28855 (lrint): Likewise.
28856 (llrintf): Likewise.
28857 (llrint): Likewise.
28858 (fmaxf): Likewise.
28859 (fmax): Likewise.
28860 (fminf): Likewise.
28861 (fmin): Likewise.
28862 (rint): Likewise.
28863 (rintf): Likewise.
28864 (nearbyint): Likewise.
28865 (nearbyintf): Likewise.
28866 (ceil): Likewise.
28867 (ceilf): Likewise.
28868 (floor): Likewise.
28869 (floorf): Likewise.
28870
3e5aef87
L
288712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28872
428bd707
L
28873 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28874 on both fields and cast pointer to __syscall_ulong_t.
28875
3e5aef87
L
28876 * bits/types.h (__fsword_t): New type.
28877 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28878 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28880 (__FSWORD_T_TYPE): Likewise.
28881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28882 (__FSWORD_T_TYPE): Likewise.
28883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28884 (__FSWORD_T_TYPE): Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28886 (__FSWORD_T_TYPE): Likewise.
28887 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28888 __SWORD_TYPE with __fsword_t.
28889 (statfs64): Likewise.
28890
1ba7c3dc
DM
288912012-05-17 David S. Miller <davem@davemloft.net>
28892
28893 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28894
59910343
AJ
288952012-05-17 Andreas Jaeger <aj@suse.de>
28896
28897 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28898 warning.
28899
2e4c1e9e
L
289002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28903
de7f5ce7
AJ
289042012-05-17 Andreas Jaeger <aj@suse.de>
28905
28906 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28907 when it is used.
28908
286abc3d
CM
289092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28910
28911 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28912
477cc68e
L
289132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28914
28915 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28916 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28917
1a0994f5
CD
289182012-05-17 Andreas Jaeger <aj@suse.de>
28919 Carlos O'Donell <carlos_odonell@mentor.com>
28920
28921 [BZ #14059]
28922 * sysdeps/x86_64/multiarch/init-arch.h
28923 (bit_YMM_Usable): Rename to...
28924 (bit_AVX_Usable): ... this.
28925 (bit_FMA4_Usable): New macro.
28926 (bit_XMM_state): New macro.
28927 (bit_YMM_state): New macro.
28928 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28929 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28930 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28931 (CPUID_OSXSAVE): New macro.
28932 (CPUID_AVX): New macro.
28933 (CPUID_FMA4): New macro.
28934 (index_YMM_Usable): Rename to...
28935 (index_AVX_Usable): ... this.
28936 (HAS_AVX): Use HAS_ARCH_FEATURE.
28937 (HAS_FMA4): Likewise.
28938 (HAS_YMM_USABLE): Remove.
28939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28940 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28941 are present.
28942 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28943 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28944 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28945 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28946 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28947
0af797de
CM
289482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28949
28950 * math/libm-test.c: Support platforms without multiple rounding modes.
28951 * math/bug-nextafter.c: Support platforms without FP exceptions.
28952 * math/bug-nexttoward.c: Likewise.
28953 * math/test-fenv.c: Likewise.
28954 * math/test-misc.c: Likewise.
28955 * stdlib/bug-getcontext.c: Likewise.
28956
e39745ff
AJ
289572012-05-17 Andreas Jaeger <aj@suse.de>
28958
28959 * manual/examples/search.c (critter_cmp): Change signature to
28960 avoid warnings.
28961 * manual/string.texi (Collation Functions): Likewise.
28962
48970aba
L
289632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28964
28965 * bits/types.h: Fold copyright years.
28966 * bits/typesizes.h: Likewise.
28967 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28971 * time/time.h: Likewise.
28972
bedee953
PP
289732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28974
28975 [BZ #208]
28976 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28977 in instead of returning them. Return void.
28978 (__libc_mallinfo): Accumulate over all arenas.
28979 (__malloc_stats): Adjust for change in int_mallinfo interface.
28980
61653dfb
RM
289812012-05-16 Roland McGrath <roland@hack.frob.com>
28982
30b99d79
RM
28983 [BZ #10375]
28984 * configure.in (NM): Add AC_CHECK_TOOL for it.
28985 (libc_extra_cflags): New substituted variable.
28986 Check for -fstack-protector being used implicitly.
28987 * configure: Regenerated.
28988 * config.make.in (config-extra-cflags): New variable,
28989 gets @libc_extra_cflags@.
28990 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28991
61653dfb
RM
28992 [BZ #10375]
28993 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28994 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28995 * configure: Regenerated.
28996 * config.make.in (CPPUNDEFS): New substituted variable.
28997 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28998 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28999 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29000
661768bb
L
290012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29002
29003 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29004 (mq_attr): Use __syscall_slong_t.
29005
d4261567
L
290062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29007
29008 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29009 Check __x86_64__ instead of __WORDSIZE.
29010 (_STAT_VER_LINUX): Likewise.
29011 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29012 __syscall_ulong_t and __syscall_slong_t.
29013 (stat64): Likewise.
29014
cf3ff365
L
290152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29016
29017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29018
76cf3e4d
L
290192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29020
29021 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29022
a637753a
L
290232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29024
29025 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29026 __syscall_ulong_t.
29027
d5e05119
L
29028 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29029 include <bits/wordsize.h>. Check __x86_64__ instead of
29030 __WORDSIZE.
29031 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29032 defined.
29033 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29034
f62ee380
L
29035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29036 include <bits/wordsize.h>. Check __x86_64__ instead of
29037 __WORDSIZE.
29038 (user_regs_struct): Use "__extension__ unsigned long long"
29039 instead of "unsigned long" if __x86_64__ is defined.
29040 (user): Likewise. Pad after pointer field if __ILP32__ is
29041 defined.
29042
4e124ced
JM
290432012-05-16 Joseph Myers <joseph@codesourcery.com>
29044
6a3951a0
JM
29045 * configure.in (makeinfo): Require version 4.5 or later. Allow
29046 versions 5 to 9.
29047 * configure: Regenerated.
29048 * manual/install.texi (texinfo): Increase version requirement to
29049 4.5 or later.
29050 * INSTALL: Regenerated.
29051
4e124ced
JM
29052 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29053
953ca31a
L
290542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29055
29056 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29057
617aca05
L
29058 * sysdeps/x86_64/x32/ffs.c: New file.
29059
5762f7ae
L
29060 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29061 __syscall_ulong_t.
29062 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29063 defined. Use __syscall_ulong_t.
29064 (shminfo): Use __syscall_ulong_t.
29065 (shm_info): Likewise.
29066
a26b6856
L
29067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29068 __syscall_ulong_t.
29069
cb2b9ef7
L
29070 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29071 <bits/wordsize.h>.
29072 (msgqnum_t): Use __syscall_ulong_t.
29073 (msglen_t): Likewise.
29074 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29075 __syscall_ulong_t.
29076
34683bb0
L
29077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29078 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29079
84a68786
L
29080 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29081
48baa5f1
L
29082 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29083 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29084
180be88b
L
29085 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29086 __syscall_slong_t.
29087
5e90c8ad
L
29088 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29089 include <bits/wordsize.h>. Check __x86_64__ instead of
29090 __WORDSIZE.
29091
23dfb58b
L
29092 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29093 "unsigned long long int" if __x86_64__ is defined.
29094 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29095
ce5d54b0
L
29096 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29097 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29098 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29099
13dc9eac
L
29100 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29101 <stdint.h>.
29102 (GET_PC): Cast to uintptr_t first.
29103 (GET_FRAME): Likewise.
29104 (GET_STACK): Likewise.
29105
a7895d15
L
29106 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29107 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29108 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29109 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29110 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29111 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29112 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29113 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29114 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29116 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29119 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29120 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29121 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29122 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29123 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29124 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29125 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29126 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29131 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29133 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29135
656416c9
AS
291362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29137
5bd66283
AS
29138 * Makerules (+depfiles): Also collect depfiles from .oS in
29139 $(extra-objs).
29140 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29141 .oS, $(libnldbl-routines)).
29142
656416c9
AS
29143 * Makerules (native-compile-mkdep-flags): Define.
29144 * sunrpc/Makefile (extra-objs): Add $(addprefix
29145 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29146 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29147 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29148 calling $(make-target-directory).
29149
a46f2169
L
291502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29151
29152 * bits/types.h (__snseconds_t): Removed.
29153 * time/time.h (struct timespec): Replace __snseconds_t with
29154 __syscall_slong_t.
29155 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29156 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29157 Likewise.
29158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29159 (__SNSECONDS_T_TYPE): Likewise.
29160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29161 (__SNSECONDS_T_TYPE): Likewise.
29162 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29163 (__SNSECONDS_T_TYPE): Likewise.
29164
6af6528b
L
291652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29166
29167 * sysdeps/mach/hurd/bits/typesizes.h
29168 (__SYSCALL_SLONG_TYPE): New macro.
29169 (__SYSCALL_ULONG_TYPE): Likewise.
29170
de986b56
L
291712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29172
29173 * bits/types.h (__syscall_slong_t): New type.
29174 (__syscall_ulong_t): Likewise.
29175
29176 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29177 (__SYSCALL_ULONG_TYPE): Likewise.
29178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29179 (__SYSCALL_SLONG_TYPE): Likewise.
29180 (__SYSCALL_ULONG_TYPE): Likewise.
29181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29182 (__SYSCALL_SLONG_TYPE): Likewise.
29183 (__SYSCALL_ULONG_TYPE): Likewise.
29184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29185 (__SYSCALL_SLONG_TYPE): Likewise.
29186 (__SYSCALL_ULONG_TYPE): Likewise.
29187
85736dc7
L
291882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29189
29190 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29191 Add sigaltstack-offsets.sym.
29192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29193 <sigaltstack-offsets.h>.
29194 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29195 longjmp_msg pointer.
29196 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29197 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29198 signal stack.
29199 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29200
cc03b296
JM
292012012-05-15 Joseph Myers <joseph@codesourcery.com>
29202
a9538892
JM
29203 * elf/stackguard-macros.h: Remove file.
29204 * sysdeps/generic/stackguard-macros.h: New file.
29205 * sysdeps/i386/stackguard-macros.h: Likewise.
29206 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29207 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29208 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29209 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29210 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29211 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29212 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29213 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29214 <elf/stackguard-macros.h>.
29215
cc03b296
JM
29216 [BZ #14109]
29217 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29218 __aligned__ in attribute.
29219 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29220 (gregset_t): Likewise.
29221
93171016
L
292222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29223
29224 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29225 * sysdeps/x86_64/64/Implies-after: Here. New file.
29226 * sysdeps/x86_64/x32/Implies-after: New file.
29227
d86813a0
L
292282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29231 and access return value for _dl_profile_fixup. Use R10_LP to
29232 load frame size.
29233
2953ec75
L
292342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29235
29236 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29237
3b550e9e
L
292382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29239
29240 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29241 * sysdeps/x86_64/x32/sysdep.h: New file.
29242
eda41706
L
292432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29244
29245 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29246 * sysdeps/x86_64/setjmp.S: Likewise.
29247
9ea01d93
AZ
292482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29249
29250 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29251 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29252 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29253 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29254 remove unused global constant.
29255
02a91938
CM
292562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29257
29258 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29259 include of <not-cancel.h>.
29260
6540185f
RM
292612012-05-15 Roland McGrath <roland@hack.frob.com>
29262
29263 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29264
509072a0
AJ
292652012-05-15 Jeff Law <law@redhat.com>
29266 Andreas Jaeger <aj@suse.de>
29267
29268 [BZ #13594]
29269 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29270 out from...
29271 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29272 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29273 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29274 code changing __hst_map_handle.map.
29275
ba75122d
RM
292762012-05-15 Roland McGrath <roland@hack.frob.com>
29277
29278 * configure.in (sysnames): Look for Implies-before and Implies-after
29279 files.
29280 * configure: Regenerated.
29281
890d8bd8
L
292822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29283
29284 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29285 8-byte data alignment with LP_SIZE alignment.
29286
f6ee6623
L
292872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29288
29289 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29290 into R10_LP.
29291
ea2626f6
L
292922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29293
29294 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29295
085f715e
L
292962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29297
29298 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29299 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29300 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29301 Likewise.
29302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29303
be8498fc
L
293042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29305
29306 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29307 (stackinfo_sub_sp): Likewise.
29308
70bc83b9
L
293092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29310
29311 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29312 RAX_LP.
29313
9bc0b730
L
293142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29315
29316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29317 into R*_LP.
29318
6d2850e7
L
293192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29320
29321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29322 sizes into R*_LP.
29323
3cb84561
L
293242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29325
29326 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29327
54e2ed81
L
293282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29329
29330 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29331 into R11_LP and load __x86_64_shared_cache_size_half into
29332 R8_LP.
29333
8a17f349
L
293342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29335
29336 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29337 R8_LP.
29338
777b1eea
AZ
293392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29340
29341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29342 logb for POWER7.
29343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29344 logbf for POWER7.
29345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29346 logbl for POWER7.
29347 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29348 powerpc32/power7/fpu/s_logb.c via #include.
29349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29350 powerpc32/power7/fpu/s_logbf.c via #include.
29351 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29352 powerpc32/power7/fpu/s_logbl.c via #include.
29353
d20d4ac2
JM
293542012-05-15 Joseph Myers <joseph@codesourcery.com>
29355
29356 * README.libm: Remove file.
29357
6cdef1ab
L
293582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29359
29360 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29361 count for x32. Use R*_LP and omit operand-size suffix.
29362
0b254d8f
L
293632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29364
29365 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29366 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29367 * sysdeps/x86_64/x32/shlib-versions: New file.
29368
ceb809dc
RM
293692012-05-14 Roland McGrath <roland@hack.frob.com>
29370
29371 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29372 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29373 Use _dl_fatal_printf instead.
29374
37f1abd4
JM
293752012-05-14 Joseph Myers <joseph@codesourcery.com>
29376
29377 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29378 set if not set by the user. Do not allow for being unset.
29379 * sysdeps/unix/sysv/linux/configure: Regenerated.
29380
11de3a33
L
293812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29382
29383 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29384 the `q' suffix from lea and replace .quad with ASM_ADDR.
29385
e02f153a
L
293862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29387
29388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29389 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29390 instead of $17.
29391 (PTR_DEMANGLE): Likewise.
29392
520ae0fd
L
293932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29394
29395 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29396 (LP_OP): Likewise.
29397 (ASM_ADDR): Likewise.
29398 (RAX_LP): Likewise.
29399 (RBP_LP): Likewise.
29400 (RBX_LP): Likewise.
29401 (RCX_LP): Likewise.
29402 (RDI_LP): Likewise.
29403 (RSI_LP): Likewise.
29404 (RSP_LP): Likewise.
29405 (R8_LP): Likewise.
29406 (R9_LP): Likewise.
29407 (R10_LP): Likewise.
29408 (R10_LP): Likewise.
29409 (R11_LP): Likewise.
29410 (R12_LP): Likewise.
29411 (R13_LP): Likewise.
29412 (R14_LP): Likewise.
29413 (R15_LP): Likewise.
29414
b985be81
L
294152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29416
29417 * sysdeps/x86_64/x32/dl-machine.h: New file.
29418
6a4888ff
AJ
294192012-05-14 Andreas Jaeger <aj@suse.de>
29420
29421 * manual/Makefile (subdir): Remove export of subdir.
29422 (all): Remove target.
29423 (.PHONY): Remove all from list.
29424 (mkinstalldirs): Remove.
29425 (.PHONY): Remove installdirs from list.
29426 ($(inst_infodir)/libc.info): Use make-target-directory.
29427 (installdirs): Remove.
29428 (subdir_%): Remove.
29429 (glibc-targets): Remove.
29430 (lib): Remove.
29431 (stubs): Remove.
29432 ($(objpfx)stubs ../po/manual.pot): Remove.
29433 ($(objpfx)stamp%): Remove.
29434 (make-target-directory): Remove.
29435 (subdir_install): Remove.
29436 (routines): Remove.
29437 (aux): Remove.
29438 (sources): Remove.
29439 (objects): Remove.
29440 (headers): Remove.
29441
29442 [BZ #13750]
29443 * manual/.gitignore: Remove, it's not needed anymore.
29444 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29445 all files in it.
29446 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29447 directory.
29448 (texis): Renamed to $(objpfx)texis.
29449 (texis-path): New, contains path to generated files.
29450 (chapters.%): Use texis-path for complete path, add extra argument
29451 libc-texinfo.sh.
29452 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29453 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29454 (summary,texi, stamp-summary): Use complete path of
29455 files. Generate files in build dir.
29456 (dir-add.texi): Build in build dir.
29457 (libm-err.texi,stamp-libm-err): Likewise.
29458 (version.texi, stamp-version): Likewise.
29459 (.%c.texi): Likewise.
29460 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29461 (mostlyclean): Remove target.
29462 (realclean): Remove target.
29463 (generated): Add new variable with contents from mostlyclean and
29464 realclean, remove entries duplicated in common-mostlyclean, add
29465 stamp-libm-err and stamp-version.
29466 (generated-dirs): Add libc directory.
29467 ($(inst_infodir)/libc.info): Install files from build dir.
29468
29469 * manual/install.texi (Configuring and compiling): Adjust since
29470 the info files are not part of the tar ball anymore.
29471
7ac77294
AJ
294722012-05-14 Andreas Jaeger <aj@suse.de>
29473
29474 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29475 variable.
29476
ffb7875d
JM
294772012-05-14 Joseph Myers <joseph@codesourcery.com>
29478
29479 [BZ #13717]
29480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29481 to 2.2.0 where earlier.
29482 * sysdeps/unix/sysv/linux/configure: Regenerated.
29483 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29484 Remove conditional code.
29485 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29486 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29487 Remove conditional code.
29488 [!__NR_lchown]: Likewise.
29489 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29490 [__NR_lchown]: Likewise.
29491 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29492 comment referencing __ASSUME_LCHOWN_SYSCALL.
29493 * sysdeps/unix/sysv/linux/i386/sigaction.c
29494 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29495 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29496 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29497 Remove conditional code.
29498 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29499 (__protocol_available): Remove #if 0 code.
29500 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29501 conditional code.
29502 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29503 * sysdeps/unix/sysv/linux/kernel-features.h
29504 (__ASSUME_GETCWD_SYSCALL): Don't define.
29505 (__ASSUME_REALTIME_SIGNALS): Likewise.
29506 (__ASSUME_PREAD_SYSCALL): Likewise.
29507 (__ASSUME_PWRITE_SYSCALL): Likewise.
29508 (__ASSUME_POLL_SYSCALL): Likewise.
29509 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29510 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29511 non-SPARC.
29512 (__ASSUME_SIOCGIFNAME): Don't define.
29513 (__ASSUME_MSG_NOSIGNAL): Likewise.
29514 (__ASSUME_SENDFILE): Define unconditionally.
29515 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29516 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29517 conditional code.
29518 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29519 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29520 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29521 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29522 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29523 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29524 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29526 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29529 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29535 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29538 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29541 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29547 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29549 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29550 Remove conditional code.
29551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29552 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29553 Remove conditional code.
29554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29555 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29556 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29557 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29558 Remove conditional code.
29559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29560 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29561 Remove conditional code.
29562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29563 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29564 Remove conditional code.
29565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29566 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29567 Remove conditional code.
29568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29569 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29570 Remove conditional code.
29571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29572 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29575 * sysdeps/unix/sysv/linux/sigaction.c
29576 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29577 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29578 * sysdeps/unix/sysv/linux/sigpending.c
29579 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29580 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29581 * sysdeps/unix/sysv/linux/sigprocmask.c
29582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29584 * sysdeps/unix/sysv/linux/sigsuspend.c
29585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29588 (__libc_missing_rt_sigs): Remove.
29589 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29590 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29591 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29592 Remove conditional code.
29593 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29594 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29595 return 1.
29596 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29597 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29598 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29599 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29600
1bfb7291
AJ
296012012-05-14 Andreas Jaeger <aj@suse.de>
29602
caae5a81
AJ
29603 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29604 it's not used in glibc.
29605 (__coshm1): Likewise.
29606 (__acosh1p): Likewise.
29607 (__sgn): Likewise.
29608
1bfb7291
AJ
29609 * manual/string.texi (Copying and Concatenation): Add missing
29610 variable in concat example.
29611 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29612
c044d724
L
296132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29614
144c5467 29615 [BZ #14103]
c044d724
L
29616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29617 __builtin_clzl with __builtin_clzll.
29618
2523c62b
L
296192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29620
29621 [BZ #14104]
29622 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29623 libc_freeres_ptr.
29624
d7bb4c42
LD
296252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29626
29627 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29628 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29629 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29630 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29631
9dc4e1fb
MF
296322012-05-14 Mike Frysinger <vapier@gentoo.org>
29633
29634 * NEWS: Update ia64 info.
29635
c7df0112
AS
296362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29637
29638 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29639 used as bcopy.
29640
dc70356c
TS
296412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29642
29643 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29644 * sysdeps/unix/syscalls.list (dup3): Likewise.
29645 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29646 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29647
9fb1a21f
L
296482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29649
29650 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29651 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29652
4822a2a5
L
296532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29654
29655 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29656 thread pointer.
29657 (TLS_IE): Use mov/add instead of movq/addq to load thread
29658 pointer.
29659 (TLS_GD_PREFIX): New.
29660 (TLS_GD): Use it.
29661
842b81d6
DM
296622012-05-11 David S. Miller <davem@davemloft.net>
29663
29664 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29665 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29666 (_FPU_SETCW): Likewise.
29667
1cf463cd
L
296682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29669
29670 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29671 is 32-byte aligned.
29672
60cc4a18
AS
296732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29674
29675 [BZ #11837]
29676 * iconvdata/gb18030.c: Update tables.
29677 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29678 characters specially.
29679 (BODY for TO_LOOP): Add encoding of missing ranges.
29680
febb44a4
TS
296812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29682
29683 [BZ #13673]
29684 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29685 * sysdeps/mach/hurd/dup3.c: Likewise.
29686 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29687 * sysdeps/powerpc/memmove.c:: Likewise.
29688
0a10fb9e
L
296892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29690
29691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29692 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29693
df8a552f
L
296942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29695
29696 * elf/elf.h (R_X86_64_RELATIVE64): New.
29697 (R_X86_64_NUM): Updated.
29698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29699 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29700 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29701 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29702 tst-quad1pie tst-quad2pie
29703 (modules-names): Add tst-quadmod1 tst-quadmod2.
29704 ($(objpfx)tst-quad1): New dependency.
29705 ($(objpfx)tst-quad2): Likewise.
29706 ($(objpfx)tst-quad1pie): Likewise.
29707 ($(objpfx)tst-quad2pie): Likewise.
29708 * sysdeps/x86_64/tst-quad1.c: New file.
29709 * sysdeps/x86_64/tst-quad1pie.c: New file.
29710 * sysdeps/x86_64/tst-quad2.c: Likewise.
29711 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29712 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29713 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29714 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29715 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29716
f34d6f84
ST
297172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29718
f42d41d1
ST
29719 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29720 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29721 * streams/stropts.h (t_scalar_t): Define type.
29722
3c3571fc
ST
29723 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29724 (_PATH_PRESERVE): Set to "/var/lib".
29725 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29726
61f06bd3
ST
29727 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29728 instead of int.
29729
918d4d71
ST
29730 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29731 if __dir_mkfile succeeded.
29732
f34d6f84
ST
29733 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29734 checking for _hurd_dtablesize. Unlock it right after having
29735 finished _hurd_dtable allocation.
29736
10589b4a
TS
297372012-05-10 Thomas Schwinge <thomas@schwinge.name>
29738
674cdbc7
TS
29739 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29740 * sysdeps/mach/hurd/configure: Regenerated.
29741 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29742 special-casing to...
29743 * sysdeps/gnu/configure.in: ... this new file.
29744 * sysdeps/unix/sysv/linux/configure: Regenerated.
29745 * sysdeps/gnu/configure: New generated file.
29746
8e41b99f
TS
29747 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29748 for Linux: use nsec instead of usec, as well as:
29749 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29750 members of type struct timespec.
29751 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29752 New macros.
29753 (struct stat64): Likewise.
29754 (_STATBUF_ST_NSEC): New macro.
29755 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29756
10589b4a
TS
29757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29758 __strtoul_internal rather than strtoul.
29759
63643c85
PT
297602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29761
29762 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29763 and reject them.
29764
3faebe6a
ST
297652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29766
29767 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29768 which preserves existing values.
29769 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29770
c6474b07
PT
297712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29772
29773 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29774 TIMEOUT values. Return EINVAL for NFDS values either negative or
29775 greater than FD_SETSIZE.
29776
1043890b
ST
297772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29778
29779 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29780 allocated, call __vm_protect to finish enabling the existing space, and
29781 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29782 allocate the remainder.
29783
37ed8b9b
PT
297842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29785
29786 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29787 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29788
db653660
ST
297892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29790
37ed8b9b
PT
29791 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29792 sysdeps/mach/hurd/readlink.c.
b29d4053 29793
db653660
ST
29794 * posix/tst-sysconf.c (posix_options): Only use
29795 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29796 _POSIX_SYNCHRONIZED_IO when they are defined
29797 * sysdeps/mach/hurd/bits/posix_opt.h:
29798 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29799 (_XOPEN_REALTIME): Undefine macro.
29800 (_XOPEN_REALTIME_THREADS): Undefine macro.
29801 (_XOPEN_SHM): Undefine macro.
29802 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29803 macro to -1.
29804 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29805 macro to -1.
29806 (_POSIX_ASYNC_IO): Undefine macro.
29807 (_POSIX_PRIORITIZED_IO): Undefine macro.
29808 (_POSIX_SPIN_LOCKS): Define macro to -1.
29809
ee16e894
ST
29810 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29811 SA_NODEFER, SA_RESETHAND.
29812 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29813 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29814 F_DUPFD_CLOEXEC.
29815
6103ae3b
TS
298162012-05-10 Thomas Schwinge <thomas@schwinge.name>
29817
29818 * elf/Makefile (pldd-modules): Define unconditionally.
29819
80b4e5f3
TS
298202012-05-10 Thomas Schwinge <thomas@schwinge.name>
29821
29822 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29823
edadcbd6
ST
298242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29825
29826 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29827 Return ENOENT when name is empty.
29828 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29829
80694780
TS
298302012-05-10 Thomas Schwinge <thomas@schwinge.name>
29831
1792c087
TS
29832 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29833
80694780
TS
29834 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29835
6b645f0d
ST
298362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29837
80694780
TS
29838 Fix mlock in all cases except non-readable pages.
29839 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29840 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29841
6b645f0d
ST
29842 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29843 (__mkdir): When path is `/', just fail with EEXIST.
29844 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29845
e468f8a3
TS
298462012-05-10 Thomas Schwinge <thomas@schwinge.name>
29847
29848 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29849 <sys/uio.h> (for writev).
29850 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29851 and <sys/param.h> (for MIN).
29852
a4186cff
PT
298532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29854
29855 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29856 REQUESTED_TIME. Properly set the remaining time and return EINTR
29857 if interrupted.
29858
510bbf14
TS
298592012-05-10 Thomas Schwinge <thomas@schwinge.name>
29860
29861 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29862 Depend on against $(link-rpcuserlibs).
29863
5d5722e8
ST
298642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29865
a4186cff
PT
29866 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29867 (__libc_stack_end): Do not use attribute_relro.
29868 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29869 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29870 to libthread-provided value.
a4186cff
PT
29871 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29872 attribute_relro.
5d5722e8 29873
37233df9
TS
298742012-05-10 Thomas Schwinge <thomas@schwinge.name>
29875
be971a2b
TS
29876 [BZ #3748]
29877 * bits/libc-lock.h (__libc_once_get): New macro.
29878 * sysdeps/mach/bits/libc-lock.h: Likewise.
29879 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29881 instead of using implementation details.
29882
37233df9
TS
29883 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29884 * libio/freopen.c: Likewise.
29885 * libio/freopen64.c: Likewise.
29886 * misc/syslog.c: Likewise.
29887 * nscd/connections.c: Likewise.
29888 * nscd/netgroupcache.c: Likewise.
29889 * sysdeps/posix/getcwd.c: Likewise.
29890
38de94a5
RM
298912012-05-10 Roland McGrath <roland@hack.frob.com>
29892
29893 * math/w_ilogbf.c: Add #include <limits.h>.
29894
67530489
ST
298952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29896
a4186cff 29897 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29898 path instead of returning without unlocking.
29899
67530489
ST
29900 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29901 immediate-write ioctls.
29902 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29903
5aa3a74a
TS
299042012-05-10 Thomas Schwinge <thomas@schwinge.name>
29905
18bad2ae
TS
29906 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29907 __builtin_frame_address instead of making assumptions about the
29908 location of the return address relative to DATA. Force early load of
29909 the return address.
29910 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29911 __builtin_frame_address.
29912
5aa3a74a
TS
29913 dup3 for GNU Hurd.
29914 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29915 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29916 implement dup3 and do some further code clean-ups.
29917 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29918 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29919
ecd0de9a
ST
299202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29921
cd9fa985
ST
29922 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29923
a4186cff
PT
29924 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29925 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29926 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29927 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29928 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29929 d->port.lock.
802ca5a5 29930
a4186cff
PT
29931 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29932 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29933 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29934
bcf55240
TS
299352012-05-10 Thomas Schwinge <thomas@schwinge.name>
29936
6960eb42
TS
29937 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29938 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29939 definitions.
29940
eb43375f
TS
29941 accept4 for GNU Hurd.
29942 * include/sys/socket.h (__libc_accept4): New prototype.
29943 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29944 to implement __libc_accept4.
29945 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29946 __libc_accept4.
29947 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29948
bcf55240
TS
29949 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29950 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29951 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29952 signal-defines.sym.
29953
6178c55b
ST
299542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29955
a4186cff 29956 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29957
6f080c2f
TS
299582012-05-10 Thomas Schwinge <thomas@schwinge.name>
29959
29960 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29961 assertion on O_CLOEXEC flag.
29962 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29963 * hurd/intern-fd.c: Likewise.
29964 * hurd/port2fd.c: Likewise.
29965
bcfe3a54
ST
299662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29967
29968 [BZ #3906]
29969 * bits/in.h (IPV6_PKTINFO): Define new macro.
29970 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29971
89c9aa49
AZ
299722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29973
29974 [BZ #13954]
29975 [BZ #13955]
29976 [BZ #13956]
29977 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29978 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29979 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29980 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29982 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29983 * math/libm-test.inc (logb_test) : Additional logb tests.
29984
021db4be
AJ
299852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29986 Andreas Jaeger <aj@suse.de>
29987
29988 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29989 * configure: Regenerated.
29990 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29991 * config.make.in (link-obsolete-rpc): New substituted variable.
29992 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29993 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29994 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29995 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29996 so that libc.a contains the symbols.
29997 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29998 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29999 * sunrpc/auth_none.c: Likewise.
30000 * sunrpc/auth_unix.c: Likewise.
30001 * sunrpc/authdes_prot.c: Likewise.
30002 * sunrpc/authuxprot.c: Likewise.
30003 * sunrpc/clnt_gen.c: Likewise.
30004 * sunrpc/clnt_perr.c: Likewise.
30005 * sunrpc/clnt_raw.c: Likewise.
30006 * sunrpc/clnt_simp.c: Likewise.
30007 * sunrpc/clnt_tcp.c: Likewise.
30008 * sunrpc/clnt_udp.c: Likewise.
30009 * sunrpc/clnt_unix.c: Likewise.
30010 * sunrpc/des_crypt.c: Likewise.
30011 * sunrpc/des_soft.c: Likewise.
30012 * sunrpc/get_myaddr.c: Likewise.
30013 * sunrpc/key_call.c: Likewise.
30014 * sunrpc/key_prot.c: Likewise.
30015 * sunrpc/netname.c: Likewise.
30016 * sunrpc/pm_getmaps.c: Likewise.
30017 * sunrpc/pm_getport.c: Likewise.
30018 * sunrpc/pmap_clnt.c: Likewise.
30019 * sunrpc/pmap_prot.c: Likewise.
30020 * sunrpc/pmap_prot2.c: Likewise.
30021 * sunrpc/pmap_rmt.c: Likewise.
30022 * sunrpc/publickey.c: Likewise.
30023 * sunrpc/rpc_cmsg.c: Likewise.
30024 * sunrpc/rpc_common.c: Likewise.
30025 * sunrpc/rpc_dtable.c: Likewise.
30026 * sunrpc/rpc_prot.c: Likewise.
30027 * sunrpc/rpc_thread.c: Likewise.
30028 * sunrpc/rtime.c: Likewise.
30029 * sunrpc/svc.c: Likewise.
30030 * sunrpc/svc_auth.c: Likewise.
30031 * sunrpc/svc_raw.c: Likewise.
30032 * sunrpc/svc_run.c: Likewise.
30033 * sunrpc/svc_tcp.c: Likewise.
30034 * sunrpc/svc_udp.c: Likewise.
30035 * sunrpc/svc_unix.c: Likewise.
30036 * sunrpc/svcauth_des.c: Likewise.
30037 * sunrpc/xcrypt.c: Likewise.
30038 * sunrpc/xdr.c: Likewise.
30039 * sunrpc/xdr_array.c: Likewise.
30040 * sunrpc/xdr_float.c: Likewise.
30041 * sunrpc/xdr_intXX_t.c: Likewise.
30042 * sunrpc/xdr_mem.c: Likewise.
30043 * sunrpc/xdr_rec.c: Likewise.
30044 * sunrpc/xdr_ref.c: Likewise.
30045 * sunrpc/xdr_sizeof.c: Likewise.
30046 * sunrpc/xdr_stdio.c: Likewise.
30047
b5c086a2
RM
300482012-05-10 Roland McGrath <roland@hack.frob.com>
30049
30050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30051 change. Update copyright years.
30052
6d74dd09
JM
300532012-05-10 Joseph Myers <joseph@codesourcery.com>
30054
30055 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30056
28e72501
MK
300572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30058 Joseph Myers <joseph@codesourcery.com>
30059 Paul Pluzhnikov <ppluzhnikov@google.com>
30060
30061 [BZ #14012]
30062 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30063 requiring rpcgen.
30064 [cross-compiling] (extra-libs): Likewise.
30065 [cross-compiling] (extra-libs-others): Likewise.
30066 [cross-compiling] (librpcsvc-routines): Likewise.
30067 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30068 [cross-compiling] (omit-deps): Likewise.
30069 (sunrpc-CPPFLAGS): New variable.
30070 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30071 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30072 (cross-rpcgen-objs): New variable.
30073 (extra-objs): Append $(cross-rpcgen-objs).
30074 ($(cross-rpcgen-objs)): New rule.
30075 ($(objpfx)cross-rpcgen): Likewise.
30076 (rpcgen-cmd): Define to use $(built-program-file). Expand
30077 comment.
30078 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30079 ($(objpfx)x%.stmp): Likewise.
30080 * sunrpc/proto.h [IS_IN_build] (_): Define.
30081 [IS_IN_build] (_libc_intl_domainname): Likewise.
30082
c8c59454
L
300832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30084
30085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30086 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30087 and R_X86_64_TPOFF64.
30088
6f27cd16
JM
300892012-05-10 Joseph Myers <joseph@codesourcery.com>
30090
30091 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30092 sysdeps/unix/sysv/syscalls.list.
30093 (stime): Likewise.
30094 (utime): Likewise.
30095 * sysdeps/unix/sysv/syscalls.list: Remove file.
30096
02467e1c
PE
300972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30098
30099 [BZ #3440]
30100 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30101 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30102 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30103 (__LC_IDENTIFICATION): Make these macros useful in #if
30104 expressions, as required by C99.
30105
da392631
AS
301062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30107
30108 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30109 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30110 after this.
30111
8115f29b
L
301122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30113
30114 * stdlib/longlong.h: Updated from GCC.
30115
bdd74070
AJ
301162012-05-09 Andreas Jaeger <aj@suse.de>
30117
edfe0dbe
AJ
30118 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30119 default is first entry.
30120 (run_mode): Set type.
30121 (main): Remove informal message about syslog.
30122 (options): Fix typo.
30123
bcfe3a54
ST
30124 [BZ #14053]
30125 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30126 to asm.
bcfe3a54
ST
30127 (lrint): Likewise.
30128 (llrintf): Likewise.
30129 (llrint): Likewise.
30130 (rint): Likewise.
30131 (rintf): Likewise.
30132 (nearbyint): Likewise.
30133 (nearbyintf): Likewise.
bdd74070 30134
91d8d69e
AJ
301352012-05-09 Andreas Jaeger <aj@suse.de>
30136 Pedro Alves <palves@redhat.com>
30137
30138 * nscd/nscd.c (run_mode): Use enum.
30139 (main): Cleanup coding style issue.
30140
bb90b80b
AJ
301412012-05-09 Alexandre Oliva <aoliva@redhat.com>
30142 Andreas Jaeger <aj@suse.de>
30143
bcfe3a54
ST
30144 * nscd/nscd.c (go_background): Replaced with...
30145 (run_mode): ... this.
bb90b80b 30146 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30147 (options): Add -F --foreground.
30148 (main): Implement it.
30149 (parse_opt): Parse it.
bb90b80b 30150
1a4b75a1
AJ
301512012-05-09 Andreas Jaeger <aj@suse.de>
30152
30153 [BZ #14083]
30154 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30155 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30156 -Wconversion warning.
30157 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30158 Likewise.
30159
b1cc2472
JM
301602012-05-09 Joseph Myers <joseph@codesourcery.com>
30161
30162 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30163 == 0.
30164 (LC_ALL): Use macro-int-constant.
30165 (LC_COLLATE): Likewise.
30166 (LC_CTYPE): Likewise.
30167 (LC_MESSAGES): Likewise.
30168 (LC_MONETARY): Likewise.
30169 (LC_NUMERIC): Likewise.
30170 (LC_TIME): Likewise.
30171 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30172 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30174 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30175 Specify type.
30176 [C99-based standards] (float_t): Expect type.
30177 [C99-based standards] (double_t): Expect type.
30178 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30179 type.
30180 [C99-based standards] (HUGE_VALL): Likewise.
30181 [C99-based standards] (INFINITY): Likewise.
30182 [C99-based standards] (NAN): Likewise.
30183 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30184 [C99-based standards] (FP_NAN): Likewise.
30185 [C99-based standards] (FP_NORMAL): Likewise.
30186 [C99-based standards] (FP_SUBNORMAL): Likewise.
30187 [C99-based standards] (FP_ZERO): Likewise.
30188 [C99-based standards] (FP_FAST_FMA): Use
30189 optional-macro-int-constant. Specify type. Require == 1.
30190 [C99-based standards] (FP_FAST_FMAF): Likewise.
30191 [C99-based standards] (FP_FAST_FMAL): Likewise.
30192 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30193 [C99-based standards] (FP_ILOGBNAN): Likewise.
30194 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30195 Specify type.
30196 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30197 [C99-based standards] (math_errhandling): Specify type.
30198 [ISO99 || ISO11] (signgam): Do not allow.
30199 [non-C99-based standards] (copysignf): Do not allow.
30200 [non-C99-based standards] (exp2f): Likewise.
30201 [non-C99-based standards] (log2f): Likewise.
30202 [non-C99-based standards] (modff): Allow.
30203 [non-C99-based standards] (erff): Do not allow.
30204 [non-C99-based standards] (erfcf): Likewise.
30205 [non-C99-based standards] (gammaf): Likewise.
30206 [non-C99-based standards] (hypotf): Likewise.
30207 [non-C99-based standards] (j0f): Likewise.
30208 [non-C99-based standards] (j1f): Likewise.
30209 [non-C99-based standards] (jnf): Likewise.
30210 [non-C99-based standards] (lgammaf): Likewise.
30211 [non-C99-based standards] (tgammaf): Likewise.
30212 [non-C99-based standards] (y0f): Likewise.
30213 [non-C99-based standards] (y1f): Likewise.
30214 [non-C99-based standards] (ynf): Likewise.
30215 [non-C99-based standards] (isnanf): Likewise.
30216 [non-C99-based standards] (acoshf): Likewise.
30217 [non-C99-based standards] (asinhf): Likewise.
30218 [non-C99-based standards] (atanhf): Likewise.
30219 [non-C99-based standards] (cbrtf): Likewise.
30220 [non-C99-based standards] (expm1f): Likewise.
30221 [non-C99-based standards] (ilogbf): Likewise.
30222 [non-C99-based standards] (log1pf): Likewise.
30223 [non-C99-based standards] (logbf): Likewise.
30224 [non-C99-based standards] (nextafterf): Likewise.
30225 [non-C99-based standards] (remainderf): Likewise.
30226 [non-C99-based standards] (rintf): Likewise.
30227 [non-C99-based standards] (scalbf): Likewise.
30228 [non-C99-based standards] (copysignl): Likewise.
30229 [non-C99-based standards] (exp2l): Likewise.
30230 [non-C99-based standards] (log2l): Likewise.
30231 [non-C99-based standards] (modfl): Allow.
30232 [non-C99-based standards] (erfl): Do not allow.
30233 [non-C99-based standards] (erfcl): Likewise.
30234 [non-C99-based standards] (gammal): Likewise.
30235 [non-C99-based standards] (hypotl): Likewise.
30236 [non-C99-based standards] (j0l): Likewise.
30237 [non-C99-based standards] (j1l): Likewise.
30238 [non-C99-based standards] (jnl): Likewise.
30239 [non-C99-based standards] (lgammal): Likewise.
30240 [non-C99-based standards] (tgammal): Likewise.
30241 [non-C99-based standards] (y0l): Likewise.
30242 [non-C99-based standards] (y1l): Likewise.
30243 [non-C99-based standards] (ynl): Likewise.
30244 [non-C99-based standards] (isnanl): Likewise.
30245 [non-C99-based standards] (acoshl): Likewise.
30246 [non-C99-based standards] (asinhl): Likewise.
30247 [non-C99-based standards] (atanhl): Likewise.
30248 [non-C99-based standards] (cbrtl): Likewise.
30249 [non-C99-based standards] (expm1l): Likewise.
30250 [non-C99-based standards] (ilogbl): Likewise.
30251 [non-C99-based standards] (log1pl): Likewise.
30252 [non-C99-based standards] (logbl): Likewise.
30253 [non-C99-based standards] (nextafterl): Likewise.
30254 [non-C99-based standards] (remainderl): Likewise.
30255 [non-C99-based standards] (rintl): Likewise.
30256 [non-C99-based standards] (scalbl): Likewise.
30257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30258 [non-C99-based standards] (FP_*): Do not allow.
30259 [C99-based standards] (FP_*): Change to
30260 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30261 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30262 allow.
30263 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30264 (SIG_ERR): Likewise.
30265 [X/Open-based standards] (SIG_HOLD): Likewise.
30266 (SIG_IGN): Likewise.
30267 (SIGABRT): Use macro-int-constant. Specify type. Require
30268 positive value.
30269 (SIGFPE): Likewise.
30270 (SIGILL): Likewise.
30271 (SIGINT): Likewise.
30272 (SIGSEGV): Likewise.
30273 (SIGTER): Likewise.
30274 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30275 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30276 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30277 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30278 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30279 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30280 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30281 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30282 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30283 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30284 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30285 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30286 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30287 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30288 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30289 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30290 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30291 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30292 [X/Open-based standards] (SIGTRAP): Likewise.
30293 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30294 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30295 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30296 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30297 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30298 allow.
30299
b9f1922d
IW
303002012-05-08 Ian Wienand <ianw@vmware.com>
30301
30302 [BZ #14080]
30303 * time/tzset.c (__tzset_parse_tz): Update default rules for
30304 daylight time changes in the Energy Policy Act of 2005.
30305
1db86e88
AJ
303062012-05-09 Andreas Jaeger <aj@suse.de>
30307
30308 [BZ #13983]
30309 * elf/ldconfig.c (parse_conf): Change string to make clear that
30310 ldconfig only issued a warning if ld.so.conf does not exist.
30311
dee4a4e3
DM
303122012-05-08 David S. Miller <davem@davemloft.net>
30313
ee0db190
DM
30314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30315 movxtod instead of popping the value on the stack.
30316
dee4a4e3
DM
30317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30318
6a43ec98
CD
303192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30320
30321 * config.h.in: Add HAVE_ARM_PCS_VFP.
30322
05c2c961
RMG
303232012-05-08 Roland Mc Grath <roland@hack.frob.com>
30324
bcfe3a54
ST
30325 [BZ #13979]
30326 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30327 checking but the checks are disabled for any reason.
05c2c961 30328
4b30f61a
L
303292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30330
30331 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30332 and ELF64_R_TYPE with ELFW(R_TYPE).
30333
eee2bc67
JM
303342012-05-08 Joseph Myers <joseph@codesourcery.com>
30335
7ea5391a
JM
30336 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30337 (ulimit): Likewise.
30338
eee2bc67
JM
30339 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30340 (settimeofday): Likewise.
30341
abb66a67
MF
303422012-05-08 Mike Frysinger <vapier@gentoo.org>
30343
30344 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30345 a struct th_u2 inside the union, and move tu_block/tu_code into
30346 a new th_u3 union of tu_block/tu_code inside of that. Move
30347 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30348 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30349 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30350 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30351 (th_stuff): Change to th_u1.tu_stuff.
30352 (th_data): Define.
30353 (th_msg): Change to th_u1.th_u2.tu_data.
30354
7f18b530
DM
303552012-05-07 David S. Miller <davem@davemloft.net>
30356
05760585
DM
30357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30358
7f18b530
DM
30359 [BZ #14074]
30360 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30361 (SETUP_PIC_REG): Use it.
30362 (SETUP_PIC_REG_LEAF): Use it.
30363
495fd99f
JM
303642012-05-07 Joseph Myers <joseph@codesourcery.com>
30365
30366 [BZ #13885]
30367 [BZ #13923]
30368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30369 USE_AS_EXPM1L.
30370 (EXPL_FINITE): Likewise.
30371 (FLDLOG): Likewise.
30372 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30373 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30374 e_expl.S.
30375 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30376 USE_AS_EXPM1L.
30377 (EXPL_FINITE): Likewise.
30378 (FLDLOG): Likewise.
30379 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30380 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30381 e_expl.S.
30382 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30383 test of -max_value argument for long double.
30384 * sysdeps/i386/fpu/libm-test-ulps: Update.
30385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30386
6693d694
DM
303872012-05-06 David S. Miller <davem@davemloft.net>
30388
30389 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30390 quad soft-float symbols whose references which are compiler
30391 generated.
30392 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30393
6c23e11c
JM
303942012-05-06 Joseph Myers <joseph@codesourcery.com>
30395
d8b82cad
JM
30396 [BZ #13884]
30397 [BZ #13914]
30398 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30399 USE_AS_EXP10L.
30400 (EXPL_FINITE): Likewise.
30401 (FLDLOG): Likewise.
30402 (c0): Likewise.
30403 (c1): Likewise.
30404 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30405 Adjust comments for base varying.
30406 (__expl_finite): Change alias to EXPL_FINITE.
30407 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30408 e_expl.S.
30409 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30410 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30411 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30412 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30414 USE_AS_EXP10L.
30415 (EXPL_FINITE): Likewise.
30416 (FLDLOG): Likewise.
30417 (c0): Likewise.
30418 (c1): Likewise.
30419 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30420 Adjust comments for base varying.
30421 (__expl_finite): Change alias to EXPL_FINITE.
30422 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30423 tests for bugs.
30424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30425
6c23e11c
JM
30426 [BZ #14064]
30427 * math/libm-test.inc (check_float_internal): Correct ulp
30428 calculation for subnormal expected results.
30429
29ba805c
AJ
304302012-05-06 Andreas Jaeger <aj@suse.de>
30431
30432 * Makeconfig (+math-flags): New, set to -frounding-math.
30433 (+cflags): Add +math-flags so that all of glibc gets compiled with
30434 it.
30435
30436 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30437
7b17aeda
JM
304382012-05-05 Joseph Myers <joseph@codesourcery.com>
30439
5779f134
JM
30440 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30441 Disable one test.
30442
41498f4d
JM
30443 [BZ #13787]
30444 [BZ #13922]
30445 [BZ #14036]
30446 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30447 (__ieee754_expl): Allow for and saturate large arguments.
30448 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30449 (u_threshold): Likewise.
30450 (__exp): Call __ieee754_exp before checking for overflow and
30451 underflow.
30452 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30453 (u_threshold): Likewise.
30454 (__expf): Call __ieee754_expf before checking for overflow and
30455 underflow.
30456 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30457 (u_threshold): Likewise.
30458 (__expl): Call __ieee754_expl before checking for overflow and
30459 underflow.
30460 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30461 (__ieee754_expl): Allow for and saturate large arguments.
30462 * math/libm-test.inc (exp_test): Add another test. Do not allow
30463 missing overflow exception on overflow.
30464 (expm1_test): Do not allow missing overflow exception on overflow.
30465
6698b8bf
JM
30466 * sysdeps/i386/fpu/e_expl.c: Move to ...
30467 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30468 rather than using inline asm.
30469 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30470 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30471 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30472
7b17aeda
JM
30473 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30474 (nice): Likewise.
30475 (poll): Likewise.
30476 (signal): Likewise.
30477 (time): Likewise.
30478 (times): Likewise.
30479
f7c85819
JM
304802012-05-04 Joseph Myers <joseph@codesourcery.com>
30481
30482 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30483 sysdeps/unix/common/syscalls.list.
30484 (fchmod): Likewise.
30485 (fchown): Likewise.
30486 (ftruncate): Likewise.
30487 (getrusage): Likewise.
30488 (gettimeofday): Likewise.
30489 (setpgid): Likewise.
30490 (setregid): Likewise.
30491 (setreuid): Likewise.
30492 (sigaction): Likewise.
30493 (truncate): Likewise.
30494 (vhangup): Likewise.
30495 * sysdeps/unix/common/syscalls.list: Remove file.
30496 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30497 * sysdeps/unix/sysv/linux/Implies: Likewise.
30498
336270d0
L
304992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30500
30501 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30503 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30504 Moved to ...
30505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30506 Here.
30507 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30508 to ...
30509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30510 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30511 to ...
30512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30513 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30514 to ...
30515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30516 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30517 to ...
30518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30519 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30520 to ...
30521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30522 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30523 to ...
30524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30525 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30526 to ...
30527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30528 Here.
30529 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30530 to ...
30531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30532 Here.
30533 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30534 to ...
30535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30536 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30537 Moved to ...
30538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30539 Here.
30540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30541 to ...
30542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30543
d128e450
JM
305442012-05-04 Joseph Myers <joseph@codesourcery.com>
30545
fa8ee516
JM
30546 * sysdeps/unix/common/bits/dirent.h: Remove file.
30547 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30548
d128e450
JM
30549 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30550 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30551 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30552 * sysdeps/unix/bsd/isatty.c: Likewise.
30553 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30554 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30555 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30556
ff8faaf0 305572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30558
62881be4 30559 [BZ #13563]
31dc8730
AZ
30560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30561 long double comparison inaccuracies.
30562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30564
6fef930c
AS
305652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30566
30567 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30569
8f203e6c
JM
305702012-05-04 Joseph Myers <joseph@codesourcery.com>
30571
30572 [BZ #14049]
30573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30574 nonzero digits before rounding a hex value.
30575 * stdlib/tst-strtod.c (tests): Add another test.
30576
5197d9c2
AK
305772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30578
30579 * sysdeps/s390/fpu/libm-test-ulps: Update.
30580
f0c1dedf
AJ
305812012-05-03 Andreas Jaeger <aj@suse.de>
30582
30583 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30584 does not get optimized out.
30585 (malloc_opt_barrier): New.
30586
a65ef2ae 305872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30588 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30589
2b942cb7 30590 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30591 intermediate file deletion.
2b942cb7 30592 (generated): Add .symlist files.
a65ef2ae 30593
54b71e02
JM
305942012-05-03 Joseph Myers <joseph@codesourcery.com>
30595
30596 [BZ #13775]
30597 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30598 Redirect under this condition.
30599 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30600 [__USE_GNU] (__dprintf_chk): Not under this condition.
30601 [__USE_GNU] (__vdprintf_chk): Likewise.
30602 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30603 under this condition.
30604 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30605 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30606 [__USE_XOPEN2K8] (vdprintf): Likewise.
30607 [__USE_GNU] (__dprintf_chk): Not under this condition.
30608 [__USE_GNU] (__vdprintf_chk): Likewise.
30609 [__USE_GNU] (dprintf): Likewise.
30610 [__USE_GNU] (vdprintf): Likewise.
30611
d3dfcc41
RM
306122012-05-03 Roland McGrath <roland@hack.frob.com>
30613
30614 * elf/Makefile (common-generated): Set this instead of generated for
30615 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30616 $(all-built-dso)-derived lists.
30617
7ac30cc5
AJ
306182012-05-03 Andreas Jaeger <aj@suse.de>
30619
0c51e550
AJ
30620 * sysdeps/i386/fpu/libm-test-ulps: Update.
30621
7ac30cc5
AJ
30622 * FAQ: Removed.
30623 * FAQ.in: Likewise.
30624 * scripts/gen-FAQ.pl: Likewise.
30625 * manual/install.texi (Installation): Point to online location of
30626 FAQ.
30627 * Makefile (files-for-dist): Remove FAQ.
30628 (FAQ): Remove.
30629
d4c2917f
AM
306302012-05-02 Allan McRae <allan@archlinux.org>
30631
30632 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30633 (LDFLAGS-reldepmod5.so): Likewise.
30634 (LDFLAGS-reldep6mod1.so): Likewise.
30635 (LDFLAGS-reldep6mod4.so): Likewise.
30636 (LDFLAGS-reldep8mod3.so): Likewise.
30637 (LDFLAGS-unload4mod1.so): Likewise.
30638 (LDFLAGS-unload4mod2.so): Likewise.
30639 (LDFLAGS-tst-initorder): Likewise.
30640 (LDFLAGS-tst-initordera2.so): Likewise.
30641 (LDFLAGS-tst-initordera3.so): Likewise.
30642 (LDFLAGS-tst-initordera4.so): Likewise.
30643 (LDFLAGS-tst-initorderb2.so): Likewise.
30644 (LDFLAGS-noload): Likewise.
30645 (LDFLAGS-next): Likewise.
30646 (LDFLAGS-order2mod1.so): Likewise.
30647 (LDFLAGS-order2mod2.so): Likewise.
30648 (LDFLAGS-tst-initorder2): Likewise.
30649 (LDFLAGS-tst-initorder2a.so): Likewise.
30650 (LDFLAGS-tst-initorder2b.so): Likewise.
30651 (LDFLAGS-tst-initorder2c.so): Likewise.
30652 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30653
d77f993f
DM
306542012-05-02 David S. Miller <davem@davemloft.net>
30655
30656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30657
171a70b4
PP
306582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30659
30660 [BZ #14055]
30661 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30662
0be196ad
AJ
306632012-05-02 Andreas Jaeger <aj@suse.de>
30664
30665 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30666 since we manipulate rounding mode.
30667 (CPPFLAGS-test-idouble.c): Likewise.
30668 (CPPFLAGS-test-ifloat.c): Likewise.
30669 (CFLAGS-test-ldouble.c): Likewise.
30670 (CFLAGS-test-double.c): Likewise.
30671 (CFLAGS-test-float.c): Likewise.
30672 (CFLAGS-test-misc.c): Likewise.
30673 (CFLAGS-test-test-fenv.c): Likewise.
30674
4f9d04aa
AZ
306752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30676
2b942cb7
RM
30677 [BZ #2550]
30678 [BZ #2570]
30679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30680 comparisons to determine direction to adjust input.
4f9d04aa 30681
82a79e7d
RM
306822012-05-01 Roland McGrath <roland@hack.frob.com>
30683
f5a01ca9
RM
30684 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30685 output to the target.
30686
90fe4186
RM
30687 * scripts/localplt.awk: New file.
30688 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30689 (check-localplt-CFLAGS): Variable removed.
30690 ($(all-built-dso:=.jmprel)): New static pattern rule.
30691 (generated): Add those targets.
30692 (localplt-built-dso): New variable.
30693 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30694
30695 * elf/check-localplt.c: File removed.
30696
82397ed6
RM
30697 * scripts/check-execstack.awk: New file.
30698 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30699 (check-execstack-CFLAGS): Variable removed.
30700 ($(objpfx)check-execstack.h): Target removed.
30701 ($(objpfx)execstack-default): New target.
30702 (generated): Add that instead of check-execstack.h.
30703 ($(all-built-dso:=.phdr)): New static pattern rule.
30704 (generated): Add those targets.
30705 * elf/check-execstack.c: File removed.
30706
82a79e7d
RM
30707 * scripts/check-textrel.awk: New file.
30708 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30709 (check-textrel-CFLAGS): Variable removed.
30710 (all-built-dso): Use := to define.o
30711 ($(all-built-dso:=.dyn)): New static pattern rule.
30712 (generated): Add those targets.
30713 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30714 * config.make.in (READELF): New substituted variable.
30715 * elf/check-textrel.c: File removed.
30716
62fde54f 307172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30718
615605c9
JM
30719 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30720 allow.
30721 * conform/data/ctype.h-data [C99-based standards] (isblank):
30722 Expect function.
30723 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30724 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30726 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30727 Specify type. Require positive value.
30728 (EILSEQ): Likewise.
30729 (ERANGE): Likewise.
30730 [ISO || POSIX] (EILSEQ): Do not expect.
30731 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30732 Specify type. Require positive value.
30733 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30744 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30746 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30747 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30748 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30749 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30750 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30751 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30752 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30753 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30754 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30755 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30756 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30757 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30758 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30759 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30760 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30761 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30762 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30763 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30764 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30765 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30766 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30767 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30768 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30769 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30770 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30771 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30772 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30773 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30774 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30775 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30776 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30777 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30778 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30779 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30780 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30781 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30782 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30783 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30784 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30785 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30786 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30787 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30788 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30789 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30790 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30791 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30792 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30793 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30794 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30795 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30796 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30797 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30798 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30799 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30800 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30801 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30802 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30803 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30804 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30805 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30806 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30807 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30808 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30809 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30810 Require >= 2.
30811 (FLT_ROUNDS): Expect as macro, not constant.
30812 (FLT_MANT_DIG): Use macro-int-constant.
30813 (DBL_MANT_DIG): Likewise.
30814 (LDBL_MANT_DIG): Likewise.
30815 (FLT_DIG): Likewise.
30816 (DBL_DIG): Likewise.
30817 (LDBL_DIG): Likewise.
30818 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30819 (DBL_MIN_EXP): Likewise.
30820 (LDBL_MIN_EXP): Likewise.
30821 (FLT_MAX_EXP): Use macro-int-constant.
30822 (DBL_MAX_EXP): Likewise.
30823 (LDBL_MAX_EXP): Likewise.
30824 (FLT_MAX_10_EXP): Likewise.
30825 (DBL_MAX_10_EXP): Likewise.
30826 (LDBL_MAX_10_EXP): Likewise.
30827 (FLT_MAX): Use macro-constant.
30828 (DBL_MAX): Likewise.
30829 (LDBL_MAX): Likewise.
30830 (FLT_EPSILON): Use macro-constant. Give upper bound.
30831 (DBL_EPSILON): Likewise.
30832 (LDBL_EPSILON): Likewise.
30833 (FLT_MIN): Likewise.
30834 (DBL_MIN): Likewise.
30835 (LDBL_MIN): Likewise.
30836 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30837 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30838 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30839 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30840 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30841 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30842 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30843 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30844 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30845 [ISO11] (FLT_TRUE_MIN): Likewise.
30846 [ISO11] (LDBL_TRUE_MIN): Likewise.
30847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30848 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30849 (SCHAR_MIN): Use macro-int-constant. Specify type.
30850 (SCHAR_MAX): Likewise.
30851 (UCHAR_MAX): Likewise.
30852 (CHAR_MIN): Likewise.
30853 (CHAR_MAX): Likewise.
30854 (MB_LEN_MAX): Use macro-int-constant.
30855 (SHRT_MIN): Use macro-int-constant. Specify type.
30856 (SHRT_MAX): Likewise.
30857 (USHRT_MAX): Likewise.
30858 (INT_MAX): Likewise.
30859 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30860 bound negative.
30861 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30862 bound with "U".
30863 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30864 bound with "L".
30865 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30866 bound negative. Suffix upper bound with "L".
30867 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30868 bound with "UL".
30869 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30870 Specify type.
30871 [C99-based standards] (LLONG_MAX): Likewise.
30872 [C99-based standards] (ULLONG_MAX): Likewise.
30873 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30874 == 0.
30875 [ISO11] (max_align_t): Require type.
30876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30877
c9140a62
JM
30878 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30879 from $CFLAGS, without defining away __attribute__ calls.
30880 (checknamespace): Use $CFLAGS_namespace.
30881
9af0bf29
JM
30882 * conform/conformtest.pl (@keywords): Only include C99 keywords
30883 for standards based on C99 or C11.
30884
343222a2
JM
30885 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30886 Disable tests.
30887 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30888 UNIX98]: Likewise.
30889
661f8cf0
JM
30890 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30891 usability of symbols in #if.
30892
ee74b9cb
JM
30893 * conform/conformtest.pl: If macro or constant types start
30894 "promoted:", expect the symbol to be of the following type
30895 promoted by the integer promotions.
62fde54f 30896
aafc49b3
JM
30897 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30898 in one place. Also handle "macro-constant".
30899
fefdf574
JM
30900 * conform/conformtest.pl: Only accept expected macro values with
30901 "==". Parse all "macro" lines in one place.
30902 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30903
f2d922fe
JM
30904 * conform/conformtest.pl: Handle braced types on "constant" lines
30905 instead of handling "typed-constant".
30906 * conform/data/signal.h-data: Use "constant" instead of
30907 "typed-constant".
30908
d22956c9
JM
30909 * conform/conformtest.pl: Handle "optional-" at start of lines in
30910 one place rather than duplicating several cases. Handle each
30911 format of "macro" line with initial "optional-".
30912
028e2e38
JM
30913 * conform/conformtest.pl: Only accept expected constant or
30914 optional-constant values with "==". Parse all "constant" lines in
30915 one place. Parse all "optional-constant" lines in one place.
30916 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30917 * conform/data/fmtmsg.h-data: Likewise.
30918 * conform/data/netinet/in.h-data: Likewise.
30919 * conform/data/tar.h-data: Likewise.
30920 * conform/data/limits.h-data: Use "==" form on "constant" and
30921 "optional-constant" lines.
30922
1b8f2850
JM
30923 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30924 Use -std=c99 for XOPEN2K.
30925 (@knownproblems): Remove.
30926 (newtoken): Don't check %isknown.
30927
a05a144b
JM
30928 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30929 Do not expect macro.
30930 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30942 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30943 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30960 [XPG3] (acosh): Likewise.
30961 [XPG3] (asinh): Likewise.
30962 [XPG3] (atanh): Likewise.
30963 [XPG3] (cbrt): Likewise.
30964 [XPG3] (expm1): Likewise.
30965 [XPG3] (ilogb): Likewise.
30966 [XPG3] (log1p): Likewise.
30967 [XPG3] (logb): Likewise.
30968 [XPG3] (nextafter): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30971 [XPG3] (remainder): Likewise.
30972 [XPG3] (rint): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30980 [UNIX98 || XOPEN2K] (scalb): Expect.
30981 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30982 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31118
73c5ebe3
JM
31119 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31120 _XOPEN_SOURCE_EXTENDED for XPG4.
31121
39c33b6c
JM
31122 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31123
62fde54f
JM
31124 * Makeconfig (localtime): Remove variable.
31125 (inst_localtime-file): Likewise.
31126
0741d64c
AS
311272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31128
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31130 Update.
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31132 Update.
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31134 Update.
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31136 Update.
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31138 Update.
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31140 Update.
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31142 Update.
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31144 Update.
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31146 Update.
31147
7cb029ee
JM
311482012-05-01 Joseph Myers <joseph@codesourcery.com>
31149
31150 [BZ #2550]
31151 [BZ #2570]
31152 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31153 comparisons to determine direction to adjust input.
31154 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31155 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31156 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31157 Likewise.
31158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31159 Likewise.
31160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31161 Likewise.
31162 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31163 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31164 Likewise.
31165 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31166 Likewise.
31167 * math/libm-test.inc (nexttoward_test): Add more tests.
31168
412bd966
AS
311692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31170
31171 [BZ #14040]
31172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31173 in version GLIBC_2.1, not GLIBC_2.0.
31174 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31175 Likewise.
31176
9568c0c2
JM
311772012-04-30 Joseph Myers <joseph@codesourcery.com>
31178
adfbc8ac
JM
31179 [BZ #13942]
31180 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31181 (1 - x) * (1 + x).
31182 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31183 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31184 * math/libm-test.inc (acos_test): Add more tests.
31185 (asin_test): Likewise.
31186 * sysdeps/i386/fpu/libm-test-ulps: Update.
31187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31188
5ba3cc69
JM
31189 [BZ #14034]
31190 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31191 of square root.
31192 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31193 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31194 * math/libm-test.inc (acos_test_tonearest): New function.
31195 (acos_test_towardzero): Likewise.
31196 (acos_test_downward): Likewise.
31197 (acos_test_upward): Likewise.
31198 (asin_test_tonearest): Likewise.
31199 (asin_test_towardzero): Likewise.
31200 (asin_test_downward): Likewise.
31201 (asin_test_upward): Likewise.
31202 (main): Call the new functions.
31203 * sysdeps/i386/fpu/libm-test-ulps: Update.
31204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31205
9568c0c2
JM
31206 [BZ #13884]
31207 [BZ #13924]
31208 * math/e_exp10.c: Include <float.h>.
31209 (__ieee754_exp10): Handle underflow here rather than multiplying
31210 large negative argument by M_LN10.
31211 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31212 of __ieee754_expf.
31213 * math/e_exp10l.c: Include <float.h>.
31214 (__ieee754_exp10l): Handle underflow here rather than multiplying
31215 large negative argument by M_LN10l.
31216 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31217 spurious overflow exception on underflow.
31218
5ac3ea17
MP
312192012-04-29 Marek Polacek <polacek@redhat.com>
31220
31221 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31222 (__fortify_function): New macro.
31223 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31224 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31225 __extern_always_inline.
31226 * libio/bits/stdio2.h: Likewise.
31227 * libio/bits/stdio.h: Likewise.
31228 * string/string.h: Likewise.
31229 * string/bits/string3.h: Likewise.
31230 * include/stdio.h: Likewise.
31231 * stdlib/bits/stdlib.h: Likewise.
31232 * stdlib/stdlib.h: Likewise.
31233 * rt/bits/mqueue2.h: Likewise.
31234 * rt/mqueue.h: Likewise.
31235 * posix/bits/unistd.h: Likewise.
31236 * posix/unistd.h: Likewise.
31237 * io/bits/poll2.h: Likewise.
31238 * io/bits/fcntl2.h: Likewise.
31239 * io/fcntl.h: Likewise.
31240 * io/sys/poll.h: Likewise.
31241 * misc/bits/syslog.h: Likewise.
31242 * misc/bits/syslog-ldbl.h: Likewise.
31243 * misc/sys/syslog.h: Likewise.
31244 * socket/bits/socket2.h: Likewise.
31245 * socket/sys/socket.h: Likewise.
31246 * debug/tst-chk1.c: Likewise.
31247 * wcsmbs/bits/wchar2.h: Likewise.
31248 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31249 * wcsmbs/wchar.h: Likewise.
31250
ecf0ebfb
AJ
312512012-04-29 Andreas Jaeger <aj@suse.de>
31252
31253 * Makerules (tests): Remove enable-check-abi protection.
31254 (check-abi-warn): Remove.
31255 (check-abi-%): Remove check-abi-warn usage.
31256
31257 * configure.in: Remove check-abi configure option.
31258 * configure: Regenerated.
31259 * config.make.in (enable-check-abi): Remove.
31260
6d5c57fa
AS
312612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31262
24c5d07e 31263 [BZ #14033]
ded5180a
AS
31264 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31265 double functions to double *_finite functions.
31266
7e0d315d
AS
31267 [BZ #13941]
31268 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31269 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31270 LDBL_MIN_EXP.
31271 * stdio-common/Makefile (tests): Add tst-sprintf3.
31272 * stdio-common/tst-sprintf3.c: New file.
31273
6d5c57fa
AS
31274 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31275 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31276
0749ff8b
JM
312772012-04-28 Joseph Myers <joseph@codesourcery.com>
31278
31279 * conform/conformtest.pl: Remove duplicate typed-constant
31280 handling.
31281
8dbd5d7b
DM
312822012-04-28 David S. Miller <davem@davemloft.net>
31283
31284 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31285 (check-abi-%): Remove AWK script prerequisite and explicit
31286 abilist directory.
31287 (check-abi): Rewrite to just diff the symlist with the abilist.
31288 (config-tls, config-abi-config): Delete, no longer used.
31289 (update-abi-%): Remove AWK script and explicit abilist directory.
31290 (update-abi): Rewrite to simply compare and conditionally copy the
31291 symlist and the sysdep abilist file. Remove update-abi-config
31292 checks.
31293 * abilist/ld.abilist: Remove.
31294 * abilist/libBrokenLocale.abilist: Remove.
31295 * abilist/libanl.abilist: Remove.
31296 * abilist/libcrypt.abilist: Remove.
31297 * abilist/libdl.abilist: Remove.
31298 * abilist/librt.abilist: Remove.
31299 * abilist/libthread_db.abilist: Remove.
31300 * abilist/libutil.abilist: Remove.
31301 * scripts/extract-abilist.awk: Remove.
31302 * scripts/merge-abilist.awk: Remove.
31303 * sysdeps/generic/libcidn.abilist: New file.
31304 * sysdeps/generic/libnss_compat.abilist: New file.
31305 * sysdeps/generic/libnss_db.abilist: New file.
31306 * sysdeps/generic/libnss_dns.abilist: New file.
31307 * sysdeps/generic/libnss_files.abilist: New file.
31308 * sysdeps/generic/libnss_hesiod.abilist: New file.
31309 * sysdeps/generic/libnss_nis.abilist: New file.
31310 * sysdeps/generic/libnss_nisplus.abilist: New file.
31311 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31312 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31313 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31314 file.
31315 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31316 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31317 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31318 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31319 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31320 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31321 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31322 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31323 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31324 file.
31325 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31326 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31327 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31328 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31329 file.
31330 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31331 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31332 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31333 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31334 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31335 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31336 file.
31337 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31338 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31339 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31340 file.
31341 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31343 New file.
31344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31345 New file.
31346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31347 New file.
31348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31349 New file.
31350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31351 New file.
31352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31353 New file.
31354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31355 New file.
31356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31357 New file.
31358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31359 New file.
31360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31361 New file.
31362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31363 New file.
31364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31365 New file.
31366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31367 New file.
31368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31369 file.
31370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31371 New file.
31372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31373 New file.
31374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31375 file.
31376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31377 New file.
31378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31379 New file.
31380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31381 file.
31382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31383 New file.
31384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31385 New file.
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31387 New file.
31388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31389 New file.
31390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31391 New file.
31392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31393 New file.
31394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31396 file.
31397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31398 New file.
31399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31400 file.
31401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31402 file.
31403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31404 file.
31405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31406 file.
31407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31408 file.
31409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31410 New file.
31411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31412 file.
31413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31414 file.
31415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31416 New file.
31417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31418 file.
31419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31421 file.
31422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31423 New file.
31424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31425 file.
31426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31427 file.
31428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31429 file.
31430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31431 file.
31432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31433 file.
31434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31435 New file.
31436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31437 file.
31438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31439 file.
31440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31441 New file.
31442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31443 file.
31444 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31445 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31446 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31447 file.
31448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31449 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31450 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31451 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31452 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31453 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31454 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31455 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31456 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31457 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31460 file.
31461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31462 New file.
31463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31464 file.
31465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31466 file.
31467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31468 file.
31469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31470 file.
31471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31472 file.
31473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31474 New file.
31475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31476 New file.
31477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31478 file.
31479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31480 New file.
31481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31482 file.
31483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31485 file.
31486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31487 New file.
31488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31489 file.
31490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31491 file.
31492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31493 file.
31494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31495 file.
31496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31497 file.
31498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31499 New file.
31500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31501 New file.
31502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31503 file.
31504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31505 New file.
31506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31507 file.
31508
41d73a1b
JM
315092012-04-28 Joseph Myers <joseph@codesourcery.com>
31510
31511 * conform/conformtest.pl: Fix typo in handling typed-constant from
31512 allow-header.
31513
28aeeda4
JM
315142012-04-27 Joseph Myers <joseph@codesourcery.com>
31515
adae8f5e
JM
31516 * README: Cut down references to pre-2.6 Linux kernels and
31517 Linuxthreads. Update lists of configurations in libc and ports
31518 and sort alphabetically. Say "or newer" with Linux kernel version
31519 requirements.
31520
28aeeda4
JM
31521 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31522
a462cb63
RA
315232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31524
31525 [BZ #887]
31526 * math/libm-test.inc (logb_test_downward): New test to expose
31527 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31528 rounding mode.
31529
6ad3493e
JM
315302012-04-27 Joseph Myers <joseph@codesourcery.com>
31531
31532 [BZ #14027]
31533 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31534 to be done.
31535 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31536 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31537
2ce4f015
JM
315382012-04-26 Joseph Myers <joseph@codesourcery.com>
31539
5aeb141a
JM
31540 * sysdeps/unix/i386/brk.S: Remove file.
31541 * sysdeps/unix/i386/dl-brk.S: Likewise.
31542 * sysdeps/unix/i386/pipe.S: Likewise.
31543 * sysdeps/unix/i386/sigreturn.S: Likewise.
31544 * sysdeps/unix/i386/syscall.S: Likewise.
31545 * sysdeps/unix/i386/vfork.S: Likewise.
31546 * sysdeps/unix/i386/wait.S: Likewise.
31547
7143acae
JM
31548 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31549 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31550
2ce4f015
JM
31551 * configure.in (arm*-none*): Do not allow without
31552 --enable-hacker-mode.
31553 (netbsd*): Remove case setting base_os.
31554 (386bsd*): Likewise.
31555 (freebsd*): Likewise.
31556 (bsdi*): Likewise.
31557 (osf*): Likewise.
31558 (sunos*): Likewise.
31559 (ultrix*): Likewise.
31560 (newsos*): Likewise.
31561 (dynix*): Likewise.
31562 (*bsd*): Likewise.
31563 (sysv*): Likewise.
31564 (isc*): Likewise.
31565 (esix*): Likewise.
31566 (sco*): Likewise.
31567 (minix*): Likewise.
31568 (irix4*): Likewise.
31569 (irix6*): Likewise.
31570 (solaris[2-9]*): Likewise.
31571 (none): Likewise.
31572 * configure: Regenerated.
31573
0ac229c8
AZ
315742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31575
31576 [BZ #11521]
31577 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31578 overflow or cancellation in calculating denominator.
31579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31581 down expression to avoid unexpected rounding in newer GCCs.
31582 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31583
33f244f4
DM
315842012-04-26 David S. Miller <davem@davemloft.net>
31585
31586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31587 long-double compat symbols.
31588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31601
cfa1f3e8
DM
316022012-04-25 David S. Miller <davem@davemloft.net>
31603
31604 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31605 HWCAP_* values only after the memory barriers have been defined.
31606 (atomic_full_barrier): Define.
31607 (atomic_read_barrier): Define.
31608 (atomic_write_barrier): Define.
31609
6e236b92
SP
316102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31611
31612 * shlib-versions: Add libgcc_s version information.
31613 * sysdeps/generic/libgcc_s.h: Remove.
31614 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31615 libgcc_s.h.
31616 * sysdeps/gnu/unwind-resume.c: Likewise.
31617 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31618
aab39a09
DM
316192012-04-25 David S. Miller <davem@davemloft.net>
31620
31621 * sysdeps/unix/sparc/brk.S: Delete.
31622 * sysdeps/unix/sparc/dl-brk.S: Delete.
31623 * sysdeps/unix/sparc/pipe.S: Delete.
31624 * sysdeps/unix/sparc/sysdep.S: Delete.
31625 * sysdeps/unix/sparc/sysdep.h: Delete.
31626 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31627 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31628 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31630 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31631 (JUMPTARGET): Remove.
31632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31633 sysdeps/unix/sparc/sysdep.h
31634 (ENTRY, END): Remove.
31635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31636
a3cc4f48
JM
316372012-04-25 Joseph Myers <joseph@codesourcery.com>
31638
2ed8cda2
JM
31639 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31640 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31641 -DIS_IN_build.
31642
35d76d59
JM
31643 * timezone/README: Update upstream location and email address for
31644 tzcode and tzdata.
31645 * timezone/zdump.c: Update from tzcode 2012b.
31646 * timezone/zic.c: Likewise.
31647
a3cc4f48
JM
31648 * configure.in (libc_cv_as_needed): Remove test.
31649 * configure: Regenerated.
31650 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31651 conditional definition.
31652 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31653 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31654 * config.make.in (have-as-needed): Remove variable.
31655
ceab42c3
SP
316562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31657 Paul Pluzhnikov <ppluzhnikov@google.com>
31658
31659 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31660 strings correctly.
31661
3ce2865f
CLT
316622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31663
31664 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31665 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31666 * sysdeps/sh/strlen.S: Likewise.
31667
f37e0d68
JM
316682012-04-24 Joseph Myers <joseph@codesourcery.com>
31669
ae186e9a
JM
31670 * sysdeps/unix/fork.S: Remove file.
31671 * sysdeps/unix/i386/fork.S: Likewise.
31672 * sysdeps/unix/sparc/fork.S: Likewise.
31673
b96914af
JM
31674 * sysdeps/unix/system.c: Remove file.
31675 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31676
f37e0d68
JM
31677 * sysdeps/unix/getegid.S: Remove file.
31678 * sysdeps/unix/geteuid.S: Likewise.
31679
87ef29ca
RM
316802012-04-24 Roland McGrath <roland@hack.frob.com>
31681
83bcd236
RM
31682 * scripts/check-localplt.awk: New file.
31683 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31684 of diff.
31685 * scripts/data/localplt-generic.data: Add a comment.
31686
87ef29ca
RM
31687 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31688 NODE when __dir_mkfile failed.
31689 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31690 Reported by Ludovic Courtès <ludo@gnu.org>.
31691
e5a6e567
AJ
316922012-04-24 Andreas Jaeger <aj@suse.de>
31693
31694 * Makerules (common-clean): Also remove gen-as-const-headers
31695 files.
31696
c1820385
JM
316972012-04-24 Joseph Myers <joseph@codesourcery.com>
31698
31699 * Makerules (native-compile): Do not change working directory for
31700 build. Use $(OUTPUT_OPTION) in command.
31701 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31702
94e02fc4
AZ
317032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31704
31705 [BZ #13886]
31706 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31707 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31708 * math/libm-test.inc (floor_test): Add more tests.
31709 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31710
3a533ca3
JM
317112012-04-24 Joseph Myers <joseph@codesourcery.com>
31712
940ab4b3
JM
31713 * sysdeps/unix/getdents.c: Remove file.
31714 * sysdeps/unix/sysv/getdents.c: Likewise.
31715 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31716
90e037bd
JM
31717 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31718 sysdeps/unix/mman/syscalls.list.
31719 (mmap): Likewise.
31720 (mprotect): Likewise.
31721 (msync): Likewise.
31722 (munmap): Likewise.
31723 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31724 * sysdeps/unix/mman/syscalls.list: Remove.
31725 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31726
3a533ca3
JM
31727 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31728 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31729 * configure: Regenerated.
31730 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31731 $(libgcc_s_suffix).
31732 * config.make.in (libgcc_s_suffix): Remove variable.
31733
1ad743de
JM
317342012-04-23 Joseph Myers <joseph@codesourcery.com>
31735
4ad451e2
JM
31736 * sysdeps/unix/sysv/gethostname.c: Move to ...
31737 * sysdeps/posix/gethostname.c: ... here.
31738
5e37ce39
JM
31739 * sysdeps/unix/execve.S: Remove file.
31740
1ad743de
JM
31741 * sysdeps/unix/_exit.S: Remove file.
31742
4e681b5b
AJ
317432012-04-23 Andreas Jaeger <aj@suse.de>
31744
31745 [BZ #13739]
31746 * manual/Makefile: Remove make dist support, there's no
31747 need for a stand-alone documentation tar ball.
31748 (TEXI2DVI): Define always, it's not in Makeconfig.
31749 (dist): Removed.
31750 (tar-it): Removed.
31751 (edition): Removed.
31752 (glibc-doc-$(edition).tar): Removed
31753 (%.Z): Removed.
31754 (%.gz): Removed.
31755 (%.uu): Removed.
31756 (ETAGS): Remove, it's in Makeconfig.
31757 (move-if-change): Remove, it's in Makeconfig.
31758
38686a03 317592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31760
31761 [BZ #13970]
31762 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31763 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31764 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31765 (strtod_l, strtof_l, strtold_l): Remove __wur.
31766 It is not necessarily an error to ignore strtol's return value.
31767 One can reliably look at the stored endptr to decide whether
31768 the number had valid syntax.
31769
7c0616fa
AJ
317702012-04-21 Andreas Jaeger <aj@suse.de>
31771
803cb6b7 31772 [BZ #13739]
7c0616fa
AJ
31773 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31774
b0fe253f
JM
317752012-04-21 Joseph Myers <joseph@codesourcery.com>
31776
31777 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31778 * sysdeps/unix/sysv/Versions: Remove file.
31779
8280f22d
MT
317802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31781
31782 [BZ #13927]
31783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31784
75ce411f 317852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31786
31787 [BZ #7064]
31788 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31789 version from __vm86.
31790
097d59fa
JM
317912012-04-20 Joseph Myers <joseph@codesourcery.com>
31792
a90f3bcb
JM
31793 * sysdeps/unix/common/lxstat.c: Remove file.
31794 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31795
edc7ea78
JM
31796 * sysdeps/unix/sysv/Makefile: Remove file.
31797
cb78c221
JM
31798 * sysdeps/unix/sysv/direct.h: Remove file.
31799
efa6a45f
JM
31800 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31801 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31802 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31803 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31804 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31805 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31806 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31807
9c9f2d0c
JM
31808 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31809
4541c83b
JM
31810 * sysdeps/unix/xmknod.c: Remove file.
31811 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31812
f5d153a0
JM
31813 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31814
aa746595
JM
31815 * sysdeps/unix/sysv/i386/time.S: Remove file.
31816
cce5905e
JM
31817 * sysdeps/unix/fxstat.c: Remove file.
31818 * sysdeps/unix/xstat.c: Likewise.
31819 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31820
37fa3841
JM
31821 * sysdeps/unix/sysv/sigaction.c: Remove file.
31822
ff1962a3
JM
31823 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31824 (sysdep_headers): Remove variable.
31825 [termio.h not in sysdep_headers] (generated): Likewise.
31826 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31827 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31828 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31829 * sysdeps/unix/sysv/tcflow.c: Likewise.
31830 * sysdeps/unix/sysv/tcflush.c: Likewise.
31831 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31832 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31833 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31834 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31835 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31836
e7740d31
JM
31837 * sysdeps/unix/siglist.c: Remove file.
31838
ee06f18b
JM
31839 * sysdeps/unix/getppid.S: Remove file.
31840
097d59fa
JM
31841 * sysdeps/unix/mkdir.c: Remove file.
31842 * sysdeps/unix/rmdir.c: Likewise.
31843
ff3d51ec
AS
318442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31845
31846 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31847 ERR_MAX value.
31848 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31849 errlist-compat value.
31850
50f81fd7
DM
318512012-04-18 David S. Miller <davem@davemloft.net>
31852
31853 * sysdeps/generic/memcopy.h (reg_char): Delete.
31854 * debug/strcat_chk.c: Use char, not reg_char.
31855 * debug/strcpy_chk.c: Likewise.
31856 * debug/strncat_chk.c: Likewise.
31857 * debug/strncpy_chk.c: Likewise.
31858 * string/memchr.c: Likewise.
31859 * string/memrchr.c: Likewise.
31860 * string/rawmemchr.c: Likewise.
31861 * string/strcat.c: Likewise.
31862 * string/strchr.c: Likewise.
31863 * string/strchrnul.c: Likewise.
31864 * string/strcmp.c: Likewise.
31865 * string/strcpy.c: Likewise.
31866 * string/strncat.c: Likewise.
31867 * string/strncmp.c: Likewise.
31868 * string/strncpy.c: Likewise.
31869
8ff41c46
WS
318702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31871
31872 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31873 __builtin_memcopy is called when src and dest ranges are known to not
31874 overlap.
31875
6b652f46
WS
318762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31877
31878 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31879 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31880 fwd_align_merge macro call.
31881 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31882 bwd_align_merge macro call.
31883 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31884
b282631e
WS
318852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31886
31887 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31888 bwd_align_merge macros.
31889 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31890 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31892
95aa737c
DM
318932012-04-18 David S. Miller <davem@davemloft.net>
31894
31895 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31896
7a99a614
AJ
318972012-04-18 Andreas Jaeger <aj@suse.de>
31898
31899 [BZ# 6794]
31900 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31901 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31902 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31903
31904 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31905 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31906 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31907
31908 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31909 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31910 Adjust for changed ldbl-128 files.
31911
31912 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31913 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31915
e5270c23
DM
319162012-04-17 David S. Miller <davem@davemloft.net>
31917
31918 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31919
fb5e92c9
AS
319202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31921
31922 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31923 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31924 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31925 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31926 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31927 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31928
76da7265
AZ
319292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31930
31931 [BZ #6794]
31932 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31933 * math/libm-test.inc: Add ilogb errno and exception tests.
31934 * math/w_ilogb.c: New file: ilogb wrapper.
31935 * math/w_ilogbf.c: New file: ilogbf wrapper.
31936 * math/w_ilogbl.c: New file: ilogbl wrapper.
31937 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31938 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31939 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31940 exception being thrown with 0.0 as argument.
31941 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31942 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31943 exception being thrown with 0.0 as argument.
31944 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31945 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31946 exception being thrown with 0.0 as argument.
31947 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31948 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31949 exception being thrown with 0.0 as argument.
31950 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31951 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31953 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31954 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31955 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31956 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31957 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31958 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31959
0396e69d
PB
319602012-04-17 Petr Baudis <pasky@ucw.cz>
31961
31962 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31963 with altivec.
31964
750b5926
MP
319652012-04-16 Marek Polacek <polacek@redhat.com>
31966
31967 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31968
751728a1
MP
319692012-04-16 Marek Polacek <polacek@redhat.com>
31970
31971 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31972 operands of fdivp instruction.
31973
34a27407
L
319742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31975
31976 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31977 * elf/tst-auditmod3b.c: Likewise.
31978 * elf/tst-auditmod4b.c: Likewise.
31979 * elf/tst-auditmod5b.c: Likewise.
31980 * elf/tst-auditmod6b.c: Likewise.
31981 * elf/tst-auditmod6c.c: Likewise.
31982 * elf/tst-auditmod7b.c: Likewise.
31983 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31984 * sysdeps/x86_64/preconfigure.in: Likewise.
31985 * sysdeps/x86_64/preconfigure: Regenerated.
31986
7e73e17d
L
319872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31988
31989 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31990 __ILP32__.
31991
c7a6ab72
AB
319922012-04-13 Antoine Balestrat <merkil33@gmail.com>
31993
31994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31995 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31996
a9e8e0e0
CL
319972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31998
31999 [BZ #13973]
32000 * locale/iso-639.def: Fix gl language name. Spotted by
32001 Yaron Shahrabani.
32002
ec98af7d
RM
320032012-04-12 Roland McGrath <roland@hack.frob.com>
32004
32005 [BZ #2074]
32006 * libio/libio.h (__io_write_fn): Update comment.
32007
247c3ede
PB
320082012-04-12 Petr Baudis <pasky@ucw.cz>
32009
32010 [BZ #2074]
32011 * stdio.texi (Hook Functions): The user provided writer function
32012 is not allowed to return -1.
32013
55939d6d
DM
320142012-04-11 David S. Miller <davem@davemloft.net>
32015
32016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32017
90020f5a
MF
320182012-04-11 Mike Frysinger <vapier@gentoo.org>
32019
32020 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32021 Add a leading slash to rtkaio.
32022
288f9098
JM
320232012-04-11 Jim Meyering <meyering@redhat.com>
32024
90020f5a
MF
32025 [BZ #11959]
32026 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32027 It is not necessarily an error to ignore fwrite's return
32028 value. One can reliably use ferror to test for errors after
32029 the fact.
288f9098 32030
4be2b570
L
320312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32032
32033 * bits/types.h (__snseconds_t): New type.
32034 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32035
32036 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32038 (__SNSECONDS_T_TYPE): Likewise.
32039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32040 (__SNSECONDS_T_TYPE): Likewise.
32041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32042 (__SNSECONDS_T_TYPE): Likewise.
32043
288f9098 320442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32045
32046 [BZ #2636]
32047 * manual/time.texi (Processor Time): Return type of times is
32048 elapsed real time since an arbitrary point in the past.
32049 (CPU Time): Move CLK_TCK from here...
32050 (Processor Time): ...to here. Correct description.
32051 * manual/conf.texi (Constants for Sysconf): Correct description of
32052 _SC_CLK_TCK.
32053
d7dd4413
DM
320542012-04-10 David S. Miller <davem@davemloft.net>
32055
32056 [BZ #13967]
32057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32058 where the is a gap between DT_REL(A) and DT_JMPREL.
32059
b46068fc
L
320602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32061
32062 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32063 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32064 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32065
73d65cc3
SP
320662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32067
32068 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32069 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32070 (dl_main): Handle --inhibit-cache.
32071 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32072 _dl_inhibit_cache.
32073 * elf/dl-load.c (_dl_map_object): Use it.
32074 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32075
bcc8d661
JM
320762012-04-09 Joseph Myers <joseph@codesourcery.com>
32077
8f9a2fae
JM
32078 [BZ #13872]
32079 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32080 (__ieee754_powl): Saturate large exponents rather than testing for
32081 overflow of y*log2(x).
32082 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32083 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32084 exceptions.
32085
bcc8d661
JM
32086 [BZ #11521]
32087 * math/s_ctan.c: Include <float.h>.
32088 (__ctan): Avoid internal overflow or cancellation in calculating
32089 denominator.
32090 * math/s_ctanf.c: Likewise.
32091 * math/s_ctanl.c: Likewise.
32092 * math/s_ctanh.c: Likewise.
32093 * math/s_ctanhf.c: Likewise.
32094 * math/s_ctanhl.c: Likewise.
32095 * math/libm-test.inc (ctan_test): Add more tests.
32096 (ctanh_test): Likewise.
32097 * sysdeps/i386/fpu/libm-test-ulps: Update.
32098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32099
823fbbb4
AJ
321002012-04-09 Andreas Jaeger <aj@suse.de>
32101
03879793
AJ
32102 [BZ #6894]
32103 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32104 is an optional BSD extension.
32105
823fbbb4
AJ
32106 [BZ #10254]
32107 * manual/stdio.texi (Opening Streams): Document additional fopen
32108 parameters.
32109
8de131cb
RM
321102012-04-09 Roland McGrath <roland@hack.frob.com>
32111
32112 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32113 %eax without telling the compiler.
32114
c0ed9d7d
CD
321152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32116
32117 [BZ # 13963]
32118 * manual/install.texi: Use sourceware.org.
32119
c483f6b4
JM
321202012-04-09 Joseph Myers <joseph@codesourcery.com>
32121
d7dd9453
JM
32122 [BZ #13873]
32123 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32124 (__ieee754_pow): Generate overflow and underflow using huge*huge
32125 and tiny*tiny rather than just returning constant infinity or zero
32126 for large exponents.
32127 * math/libm-test.inc (pow_test): Require overflow exceptions for
32128 applicable cases of large exponents.
32129
c483f6b4
JM
32130 [BZ #706]
32131 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32132 (__ieee754_pow): Use iterative multiplication algorithm only for
32133 integer exponents with absolute value below 1024. Check for odd
32134 integer exponents when using algorithm for real exponents.
32135 * math/libm-test.inc (pow_test): Add more tests.
32136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32137
d2de7579
JM
321382012-04-08 Joseph Myers <joseph@codesourcery.com>
32139
32140 [BZ #13705]
32141 * math/libm-test.inc (exp_test): Do not allow overflow exception
32142 on underflow test.
32143
f77f1232
AJ
321442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32145
32146 [BZ #13705]
32147 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32148 instead of __kernel_standard_f.
32149
3884932b
MF
321502012-04-08 Mike Frysinger <vapier@gentoo.org>
32151
32152 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32153 * sysdeps/x86_64/memset_chk.S: Likewise.
32154
54472e9c
AJ
321552012-04-08 Andreas Jaeger <aj@suse.de>
32156
6ab0fbfc
AJ
32157 [BZ #10153]
32158 * manual/startup.texi (Environment Access): Describe return value
32159 for putenv and setenv.
32160
61efba8c
AJ
32161 [BZ #6895]
32162 * manual/filesys.texi (Directory Entries): Add description for
32163 DT_LNK.
32164
95c3f29a
AJ
32165 [BZ #6890]
32166 * manual/filesys.texi (Directory Entries): Clarify that it's file
32167 system not operating system in the description of DT_UNKNOWN.
32168
54472e9c
AJ
32169 [BZ #6578]
32170 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32171
624254b1
SC
321722012-04-08 Stephen Compall <s11@member.fsf.org>
32173
32174 [BZ #6649]
32175 * manual/llio.texi (Opening and Closing Files): Add cross
32176 reference to explain mode argument.
32177
1e4920e0
MF
321782012-04-07 Mike Frysinger <vapier@gentoo.org>
32179
32180 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32181 * sysdeps/x86_64/memset_chk.S: Likewise.
32182
5ed848f3
DM
321832012-04-07 David S. Miller <davem@davemloft.net>
32184
32185 * elf/elf.h (R_SPARC_WDISP10): Define.
32186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32187 R_SPARC_SIZE32.
32188 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32189 R_SPARC_SIZE64 and R_SPARC_H34.
32190
96154cd8
CD
321912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32192
32193 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32194 conditions and remove no longer applicable assertion.
32195
9904dc47
L
321962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32197
32198 * bits/byteswap.h: Include <features.h>.
32199 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32200 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32201
f8887d0a
L
322022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32203
32204 * bits/byteswap.h (__bswap_16): Removed.
32205 Include <bits/byteswap-16.h> to get __bswap_16.
32206 * sysdeps/i386/bits/byteswap.h: Likewise.
32207 * sysdeps/s390/bits/byteswap.h: Likewise.
32208 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32209 * bits/byteswap-16.h: New file.
32210 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32211 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32212 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32213 * string/Makefile (headers): Add bits/byteswap-16.h.
32214
62470f60
PP
322152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32216
32217 [BZ #13895]
32218 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32219 extra indirection.
32220 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32221 * nss/tst-nss-static.c: New.
32222
4dad7bab
RM
322232012-04-06 Robert Millan <rmh@gnu.org>
32224
32225 [BZ #6486]
32226 * manual/llio.texi (File Position Primitive): lseek
32227 refers to WHENCE when it really means OFFSET.
32228
e9142a17
AJ
322292012-04-06 Andreas Jaeger <aj@suse.de>
32230
2c040eff
AJ
32231 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32232 strncmp declarations.
32233
e9142a17
AJ
32234 * abilist/libc.abilist: Add __poll and __ppoll.
32235
ff9f1c5f
DM
322362012-04-05 David S. Miller <davem@davemloft.net>
32237
dcd2ae90
DM
32238 * scripts/check-local-headers.sh: Accept a host triplet in the
32239 path matched by the exclude regexp.
32240
993eb054
DM
32241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32242 definition.
32243 * sysdeps/powerpc/powerpc32/dl-machine.h
32244 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32245 * sysdeps/s390/s390-32/dl-machine.h
32246 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32247 * sysdeps/sparc/sparc32/dl-machine.h
32248 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32249 * sysdeps/sparc/sparc64/dl-machine.h
32250 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32251
ff9f1c5f
DM
32252 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32253 lazy binding.
48e2e132 32254 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32255 undefined symbol errors.
32256
48e2e132 32257 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32258 DT_NEEDED entries.
32259
e80d6f94
MM
322602012-04-05 Michael Matz <matz@suse.de>
32261
32262 [BZ #13592]
32263 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32264
349fa79f
AJ
322652012-04-05 Andreas Jaeger <aj@suse.de>
32266
32267 [BZ #13908]
32268 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32269 comment.
32270
f402708f
KK
322712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32272
32273 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32274 which ROUND is no valid rounding mode.
32275
2ecccfc9
KK
322762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32277
32278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32279 read again.
32280 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32281
8a53f50f
KK
322822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32283
32284 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32285 an exception using FPU order intentionally.
32286
322872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32288
32289 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32290 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32291 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32292 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32293
d653abb7
SJ
322942012-04-05 Simon Josefsson <simon@josefsson.org>
32295
32296 [BZ #12340]
32297 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32298 EINVAL when BUFLEN is too smal.
32299
c3b1bf7d
TS
323002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32301
32302 [BZ #13553]
32303 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32304 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32305
b1aa60f3
AJ
323062012-04-03 Andreas Jaeger <aj@suse.de>
32307
c3b1bf7d 32308 [BZ #13938]
67f60a26
AJ
32309 * manual/setjmp.texi (System V contexts): Fix sentence.
32310
b1aa60f3
AJ
32311 [BZ #13926]
32312 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32313 New macro for this case.
32314 [!__GNUC__] (__bswap_64): New inline function for this case.
32315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32316 * bits/byteswap.h: Likewise.
32317 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32318 ull, guard with __GLIBC_HAVE_LONG_LONG.
32319
32320 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32321 __GLIBC_HAVE_LONG_LONG.
32322
32323 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32324 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32325
39c59c35
TMQMF
323262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32327
32328 [BZ #13691]
32329 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32330 inptr and inend, rather than using last_ch.
32331
135ffda8
DM
323322012-04-02 David S. Miller <davem@davemloft.net>
32333
32334 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32335 * stdio-common/printf-parse.h (read_int): Change return type to
32336 'int', return -1 on INT_MAX overflow.
32337 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32338 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32339 overflows INT_MAX. Check for overflow of in-format-string precision
32340 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32341 SIZE_MAX not INT_MAX for integer overflow test.
32342 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32343 skip the construct in the format string but do not record anything.
32344 * stdio-common/bug22.c: Adjust to test both width/prevision
32345 INT_MAX overflow as well as total length INT_MAX overflow. Check
32346 explicitly for proper errno values.
32347
228c019e
TS
323482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32349
302cadd3
TS
32350 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32351 CHAR_MAX.
32352 * string/test-strcmp.c [! WIDE]: Likewise.
32353 * time/tst-mktime2.c: Likewise for INT_MAX.
32354 * string/test-string.h: #include <sys/param.h> for MIN.
32355
228c019e
TS
32356 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32357 * sysdeps/i386/init-first.c (init): Likewise.
32358 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32359 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32360 * sysdeps/sh/init-first.c (init): Likewise.
32361
cfa633f5
UD
323622012-04-01 Ulrich Drepper <drepper@gmail.com>
32363
32364 * po/ru.po: Update from translation team.
d1635ef8 32365 * po/vi.po: Likewise.
cfa633f5 32366
6cd0a5ea
SP
323672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32368
32369 * resolv/nss_dns/dns-host.c: Merge copyright years.
32370
4b43400f
LD
323712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32372
32373 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32374 Optimize memcpy with prefetch if
32375 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32376 src, dst pointers have unequal 16 byte alignments.
32377
48c41d04
SP
323782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32379
32380 [BZ #13928]
32381 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32382 from a CNAME entry and return the minimum ttl for the query.
32383 (gaih_getanswer_slice): Likewise.
32384
b8dc394d
JL
323852012-03-30 Jeff Law <law@redhat.com>
32386
32387 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32388 due to long keys.
32389 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32390 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32391
2f5a5ed0
JL
32392 * resolv/nss_dns/dns-host.c: Update copyright year.
32393
1d39e359
UD
323942012-03-30 Ulrich Drepper <drepper@gmail.com>
32395
c030f70c 32396 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32397 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32398
1d39e359
UD
32399 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32400 comments for sendmmsg.
32401
324022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32403
32404 [BZ #13691]
32405 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32406 with only 1 character between 0x0041 and 0x01b0.
32407 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32408 * wcsmbs/tst-mbsnrtowcs.c: New file.
32409
20fde227
DM
324102012-03-29 David S. Miller <davem@davemloft.net>
32411
32412 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32413 small copies by hand.
32414
984a4237
JL
324152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32416
32417 [BZ #13761]
57f41c40
AS
32418 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32419 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32420 group memberships.
984a4237 32421
18c9d62b
DM
324222012-03-28 David S. Miller <davem@davemloft.net>
32423
88d85d4f
DM
32424 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32425 that branches into memcpy.
32426 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32427 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32428 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32429 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32431 bits.
32432 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32433 implementation too.
32434 * sysdeps/sparc/mempcpy.S: New file.
32435
e5aa83e1
DM
32436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32437 the IFUNC routine in the libc case.
32438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32439
88570753
DM
32440 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32441 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32442 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32443 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32444 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32445 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32446 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32447 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32448
249d7567
DM
32449 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32450 loop to 256 bytes instead of 64 bytes and fix test signedness.
32451
18c9d62b
DM
32452 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32453 * sysdeps/sparc/sparc32/Makefile: rather than here...
32454 * sysdeps/sparc/sparc64/Makefile: and here.
32455
05f3d1f6
UD
324562012-03-28 Ulrich Drepper <drepper@gmail.com>
32457
32458 * malloc/mallocbug.c: Avoid warnings about unused variables.
32459
86ae07a8
JL
324602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32461
32462 [BZ #13760]
32463 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32464 in the right place. Discard and retry query if response is
32465 larger than input buffer size.
32466
41bf21a1
JM
324672012-03-28 Joseph Myers <joseph@codesourcery.com>
32468
d6270972
JM
32469 [BZ #369]
32470 [BZ #2678]
32471 [BZ #3866]
32472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32473 x for large integer exponent.
32474 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32475 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32476 sign of result as needed afterwards.
32477 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32478 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32479 result for underflowing pow the same as for overflow.
32480 (__kernel_standard_l): Handle powl overflow and underflow here
32481 rather than calling __kernel_standard.
32482 * math/libm-test.inc (pow_test): Add more tests.
32483
414fca03 32484 [BZ #3868]
41bf21a1
JM
32485 [BZ #13879]
32486 [BZ #13910]
32487 [BZ #13911]
32488 [BZ #13912]
32489 [BZ #13913]
32490 [BZ #13915]
32491 [BZ #13916]
32492 [BZ #13917]
32493 [BZ #13918]
32494 [BZ #13919]
32495 [BZ #13920]
32496 [BZ #13921]
32497 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32498 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32499 (__kernel_standard_l): New function.
32500 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32501 __kernel_standard.
32502 * math/w_acosl.c (__acosl): Likewise.
32503 * math/w_asinl.c (__asinl): Likewise.
32504 * math/w_atan2l.c (__atan2l): Likewise.
32505 * math/w_atanhl.c (__atanhl): Likewise.
32506 * math/w_coshl.c (__coshl): Likewise.
32507 * math/w_exp10l.c (__exp10l): Likewise.
32508 * math/w_exp2l.c (__exp2l): Likewise.
32509 * math/w_fmodl.c (__fmodl): Likewise.
32510 * math/w_hypotl.c (__hypotl): Likewise.
32511 * math/w_j0l.c (__j0l, __y0l): Likewise.
32512 * math/w_j1l.c (__j1l, __y1l): Likewise.
32513 * math/w_jnl.c (__jnl, __ynl): Likewise.
32514 * math/w_lgammal.c (__lgammal): Likewise.
32515 * math/w_log10l.c (__log10l): Likewise.
32516 * math/w_log2l.c (__log2l): Likewise.
32517 * math/w_logl.c (__logl): Likewise.
32518 * math/w_powl.c (__powl): Likewise.
32519 * math/w_remainderl.c (__remainderl): Likewise.
32520 * math/w_scalbl.c (sysv_scalbl): Likewise.
32521 * math/w_sinhl.c (__sinhl): Likewise.
32522 * math/w_sqrtl.c (__sqrtl): Likewise.
32523 * math/w_tgammal.c (__tgammal): Likewise.
32524 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32525 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32526 * math/libm-test.inc (acos_test): Add more tests.
32527 (acosh_test): Likewise.
32528 (asin_test): Likewise.
32529 (atanh_test): Likewise.
32530 (exp_test): Likewise.
32531 (exp10_test): Likewise.
32532 (exp2_test): Likewise.
32533 (expm1_test): Likewise.
32534 (lgamma_test): Likewise.
32535 (log_test): Likewise.
32536 (log10_test): Likewise.
32537 (log1p_test): Likewise.
32538 (log2_test): Likewise.
32539 (pow_test): Do not allow some spurious overflow exceptions.
32540 (sqrt_test): Add more tests.
32541 (tgamma_test): Likewise.
32542 (y0_test): Likewise.
32543 (y1_test): Likewise.
32544 (yn_test): Likewise.
32545
dd62fda6
AB
325462012-03-27 Anton Blanchard <anton@samba.org>
32547
32548 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32549 MAP_HUGETLB.
32550 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32551 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32552 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32553
1e3cdfda
AJ
325542012-03-27 David S. Miller <davem@davemloft.net>
32555
b855ab85
DM
32556 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32557
1e3cdfda
AJ
32558 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32559 have-as-vis3 check.
32560
325612012-03-27 Andreas Jaeger <aj@suse.de>
32562
32563 * sysdeps/x86_64/elf/configure.in: Moved to ...
32564 * sysdeps/x86_64/configure.in: ... here.
32565 * sysdeps/x86_64/elf/start.S: Moved to ...
32566 * sysdeps/x86_64/start.S: ... here.
32567 * sysdeps/x86_64/elf/configure: Delete.
32568
32569 * sysdeps/x86_64/configure.in: Merge contents from
32570 sysdeps/i386/configure.in (without i686 check).
32571
32572 * sysdeps/i386/elf/Versions: Merge into ...
32573 * sysdeps/i386/Versions: ... this.
32574 * sysdeps/i386/elf/Versions: Delete file.
32575 * sysdeps/i386/elf/start.S: Moved to ...
32576 * sysdeps/i386/start.S: ...here.
32577 * sysdeps/i386/elf/configure.in: Merge into...
32578 * sysdeps/i386/configure.in: ...here.
32579 * sysdeps/i386/elf/configure.in: Delete file.
32580 * sysdeps/i386/elf/configure: Delete file.
32581
32582 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32583 * debug/backtracesyms.c: ... here.
32584 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32585 * debug/backtracesymsfd.c: ... here.
32586 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32587 * sysdeps/generic/ifunc-sel.h: ... here.
32588
32589 * sysdeps/unix/i386/start.c: Delete file.
32590 * sysdeps/unix/sparc/start.c: Delete file.
32591 * sysdeps/unix/start.c: Delete file.
32592
32593 * sysdeps/sh/elf/configure.in: Moved to ...
32594 * sysdeps/sh/configure.in: ... here.
32595 * sysdeps/sh/elf/start.S: Moved to ...
32596 * sysdeps/sh/start.S: ... here.
32597 * sysdeps/sh/elf/configure: Delete file.
32598
32599 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32600 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32601 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32602 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32603 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32604 * sysdeps/powerpc/powerpc64/start.S: here.
32605 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32606 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32607 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32608 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32609 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32610
32611 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32612 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32613 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32614 * sysdeps/powerpc/powerpc32/start.S: ... here.
32615 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32616 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32617 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32618
32619 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32620 * sysdeps/powerpc/ifunc-sel.h: ... here.
32621 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32622 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32623
32624 * sysdeps/sparc/elf/configure.in: Moved to ...
32625 * sysdeps/sparc/configure.in: ... here.
32626 * sysdeps/sparc/elf/configure: Delete file.
32627 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32628 * sysdeps/sparc/sparc32/start.S: ... here.
32629 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32630 * sysdeps/sparc/sparc64/start.S: ... here.
32631 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32632 * sysdeps/sparc/sparc32/Makefile: ... this.
32633 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32634 * sysdeps/sparc/sparc64/Makefile: ... this.
32635
32636 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32637 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32638 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32639 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32640 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32641 * sysdeps/s390/s390-32/setjmp.S: ... here.
32642 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32643 * sysdeps/s390/s390-32/configure.in: ... here.
32644 * sysdeps/s390/s390-32/elf/configure: Delete file.
32645 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32646 * sysdeps/s390/s390-32/start.S: ... here.
32647
32648 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32649 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32650 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32651 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32652 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32653 * sysdeps/s390/s390-64/setjmp.S: ... here.
32654 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32655 * sysdeps/s390/s390-64/configure.in: ... here
32656 * sysdeps/s390/s390-64/elf/configure: Delete file.
32657 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32658 * sysdeps/s390/s390-64/start.S: ... here.
32659 * sysdeps/s390/s390-64/elf/configure: Delete.
32660
32661 * configure.in: Remove support for elf directories in sysdeps.
32662
32663 * configure: Regenerated.
32664 * sysdeps/i386/configure: Regenerated.
32665 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32666 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32667 * sysdeps/s390/s390-32/configure: Regenerated.
32668 * sysdeps/s390/s390-64/configure: Regenerated.
32669 * sysdeps/sh/configure: Regenerated.
32670 * sysdeps/sparc/configure: Regenerated.
32671 * sysdeps/x86_64/configure: Regenerated.
32672
a3f61311
AS
326732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32674
c876e002
AS
32675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32676
a3f61311
AS
32677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32678 denormal result into account.
32679
ac4c54f0
RM
326802012-03-25 Roland McGrath <roland@hack.frob.com>
32681
32682 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32683 Reported by Allan McRae <allan@archlinux.org>.
32684
6a9b9c02
JL
326852012-03-23 Jeff Law <law@redhat.com>
32686
32687 * nss/getnssent.c (__nss_getent): Fix typo.
32688
4c42a0c1
DM
326892012-03-23 David S. Miller <davem@davemloft.net>
32690
32691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32692
1532c7ac
L
326932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32694
32695 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32696 to pad to uint64_t for each field.
32697 (dl_tls_index): Replace unsigned long with uint64_t.
32698
3ff42526
PP
326992012-03-23 Daniel Jacobowitz <dmj@google.com>
32700 Paul Pluzhnikov <ppluzhnikov@google.com>
32701
32702 [BZ #6528]
32703 * grp/Makefile (otherlibs): Don't set it.
32704 * inet/Makefile (otherlibs): Likewise.
32705 * login/Makefile (otherlibs): Likewise.
32706 * nscd/Makefile (otherlibs): Likewise.
32707 * posix/Makefile (otherlibs): Likewise.
32708 * pwd/Makefile (otherlibs): Likewise.
32709 * rt/Makefile (otherlibs): Likewise.
32710 * sunrpc/Makefile (otherlibs): Likewise.
32711 * nss/Makefile (otherlibs): Likewise.
32712 Add libnss_files to routines and static-only-routines.
32713 ($(objpfx)getent): Remove rule.
32714 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32715 static-only-routines.
32716
7c69cd14
JM
327172012-03-22 Joseph Myers <joseph@codesourcery.com>
32718
32719 [BZ #13892]
32720 * math/s_cexp.c: Include <float.h>.
32721 (__cexp): Handle exp result overflowing not necessarily
32722 overflowing both real and imaginary parts of result.
32723 * math/s_cexpf.c: Likewise.
32724 * math/s_cexpl.c: Likewise.
32725 * math/libm-test.inc (cexp_test): Add more tests.
32726 * sysdeps/i386/fpu/libm-test-ulps: Update.
32727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32728
81b035fe
L
327292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32730
32731 * include/link.h (ELFW): New macro.
32732 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32733 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32734
1da7940c
L
327352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32738 with uint64_t.
32739
b749dbb9
L
327402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32743 declaration.
32744 (struct La_x32_retval): Likewise.
32745
2ff87f3f
L
327462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 * sysdeps/x86_64/preconfigure.in: New file.
32749 * sysdeps/x86_64/preconfigure: New generated file.
32750
c0df8e69
JM
327512012-03-22 Joseph Myers <joseph@codesourcery.com>
32752
48e44791
JM
32753 [BZ #13824]
32754 * math/e_exp2l.c: Include <float.h>.
32755 (__ieee754_exp2l): Handle overflow and underflow cases
32756 separately. Only pass fractional part of argument to
32757 __ieee754_expl.
32758 * math/libm-test.inc (exp2_test): Add more tests.
32759
c0df8e69
JM
32760 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32761 negating x to take absolute value.
32762 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32763 Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32766 Likewise.
32767 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32768 computing low part if x was negated.
32769 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32770
c8e43ba7
L
327712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32772
32773 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32774 la_x32_gnu_pltexit.
32775 (pltexit): Cast int_retval to ptrdiff_t.
32776 * elf/tst-auditmod3b.c: Likewise.
32777 * elf/tst-auditmod4b.c: Likewise.
32778 * elf/tst-auditmod5b.c: Likewise.
32779 * elf/tst-auditmod6b.c: Likewise.
32780 * elf/tst-auditmod6c.c: Likewise.
32781 * elf/tst-auditmod7b.c: Likewise.
32782
32783 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32784 and x32_gnu_pltexit.
32785
32786 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32787 __ELF_NATIVE_CLASS.
32788 (La_x32_regs): New macro.
32789 (La_x32_retval): Likewise.
32790 (la_x32_gnu_pltenter): New function prototype.
32791 (la_x32_gnu_pltexit): Likewise.
32792
7998fa78
AS
327932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32794
dcb33988
AS
32795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32796 exponent.
32797
233fc563
AS
32798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32799
7998fa78
AS
32800 * configure.in (libc_cv_cc_nofma): Check for option to disable
32801 generation of FMA instructions.
32802 * configure: Regenerate.
32803 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32804 * sysdeps/ieee754/dbl-64/Makefile: New file.
32805 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32806 Remove brandred-fma4.
32807 (CFLAGS-brandred-fma4.c): Remove.
32808 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32809 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32810 define.
32811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32812 define.
32813
8e95c99a
L
328142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32817 LLONG_MAX != LONG_MAX.
32818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32819 (_fitoa_word): Likewise.
32820 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32821 LLONG_MAX != LONG_MAX.
32822 * stdio-common/_itowa.h: Include <_itoa.h>.
32823 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32824 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32825 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32826 only if not defined.
32827 (_ITOA_WORD_TYPE): Likewise.
32828 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32829 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32830
6f4db457
DM
328312012-03-21 David S. Miller <davem@davemloft.net>
32832
32833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32834
7785fe5a
L
328352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32838 of x86_64 when setting libc_cv_slibdir, libdir and
32839 libc_cv_localedir.
32840 * sysdeps/unix/sysv/linux/configure: Regenerated.
32841
4535cd55
JM
328422012-03-21 Joseph Myers <joseph@codesourcery.com>
32843
32844 * manual/lang.texi (Old Varargs): Remove section.
32845 (How Variadic): Update menu.
32846 (va_start): Do not mention varargs.h.
32847
17228132
TS
328482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32849 Joseph Myers <joseph@codesourcery.com>
32850
32851 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32852 link test.
32853 * configure: Regenerated.
32854
8149f976
TS
328552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32856
05f3d1f6
UD
32857 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32858 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32859 conformtest.pl
8149f976 32860
1a4ac776
JM
328612012-03-21 Joseph Myers <joseph@codesourcery.com>
32862
be22ce65
JM
32863 * NOTES: Remove.
32864 * Makefile (files-for-dist): Remove NOTES.
32865 (NOTES): Remove rule.
32866 * README: Don't refer to NOTES.
32867 * manual/creature.texi: Don't include macros.texi.
32868 * manual/intro.texi (creature.texi): Remove comment referring to
32869 NOTES.
32870
40b601fb
JM
32871 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32872 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32873 * configure: Regenerated.
32874 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32875 LIBC_TRY_CC_OPTION.
32876 (libc_cv_as_i686): Likewise.
32877 (libc_cv_cc_avx): Likewise.
32878 (libc_cv_cc_sse2avx): Likewise.
32879 (libc_cv_cc_fma4): Likewise.
32880 (libc_cv_cc_novzeroupper): Likewise.
32881 * sysdeps/i386/configure: Regenerated.
32882
1a4ac776
JM
32883 [BZ #13883]
32884 * sysdeps/i386/fpu/s_cexp.S: Remove.
32885 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32886 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32887 * math/libm-test.inc (cexp_test): Add more tests.
32888 * sysdeps/i386/fpu/libm-test-ulps: Update.
32889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32890
a458e7fe
AM
328912012-03-21 Allan McRae <allan@archlinux.org>
32892
32893 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32894
0cb7efc5
JM
328952012-03-21 Joseph Myers <joseph@codesourcery.com>
32896
32897 [BZ #13871]
32898 * math/w_exp2.c: Do not include <float.h>.
32899 (o_threshold, u_threshold): Remove.
32900 (__exp2): Calculate result before checking finiteness and calling
32901 __kernel_standard.
32902 * math/w_exp2f.c: Likewise.
32903 * math/w_exp2l.c: Likewise.
32904 * math/libm-test.inc (exp2_test): Require overflow exception for
32905 1e6 input.
2460d3aa
JM
32906
32907 [BZ #3866]
32908 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32909 range of signed 64-bit integers before using fistpll. Remove
32910 checks for whether integers fit in mantissa bits.
32911 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32912 the range of signed 32-bit integers before using fistpl. Remove
32913 checks for whether integers fit in mantissa bits.
32914 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32915 (__ieee754_powl): Test for y outside the range of signed 64-bit
32916 integers before using fistpll. Reduce 64-bit values to 63-bit
32917 ones as needed.
32918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32919 divide-by-zero is raised for zero to large negative powers.
32920 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32921 (__ieee754_powl): Test for y outside the range of signed 64-bit
32922 integers before using fistpll. Reduce 64-bit values to 63-bit
32923 ones as needed.
32924 * math/libm-test.inc (pow_test): Add more tests.
32925
eb96ffb0
L
329262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32929 <stdio-common/_itoa.h>.
32930 * debug/segfault.c: Likewise.
32931 * elf/dl-cache.c: Likewise.
32932 * elf/dl-minimal.c: Likewise.
32933 * elf/dl-misc.c: Likewise.
32934 * elf/dl-sysdep.c: Likewise.
32935 * elf/dl-version.c: Likewise.
32936 * elf/rtld.c: Likewise.
32937 * hurd/hurdsock.c: Likewise.
32938 * hurd/lookup-retry.c: Likewise.
32939 * malloc/malloc.c: Likewise.
32940 * malloc/mtrace.c: Likewise.
32941 * nscd/nscd_getgr_r.c: Likewise.
32942 * nscd/nscd_getpw_r.c: Likewise.
32943 * nscd/nscd_getserv_r.c: Likewise.
32944 * posix/getopt_init.c: Likewise.
32945 * posix/wordexp.c: Likewise.
32946 * stdio-common/_itoa.c: Likewise.
32947 * stdio-common/printf_fphex.c: Likewise.
32948 * stdio-common/vfprintf.c: Likewise.
32949 * string/_strerror.c: Likewise.
32950 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32951 * sysdeps/i386/i686/hp-timing.h: Likewise.
32952 * sysdeps/mach/_strerror.c: Likewise.
32953 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32954 * sysdeps/mach/hurd/sethostid.c: Likewise.
32955 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32956 * sysdeps/mach/xpg-strerror.c: Likewise.
32957 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32958 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32959 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32960 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32961 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32962 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32964 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32965 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32966 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32967 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32968 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32969 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32970 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32971 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32972 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32973 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32974 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32975 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32976 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32977 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32978
32979 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32980
32981 * stdio-common/_itoa.h: Moved to ...
32982 * sysdeps/generic/_itoa.h: Here.
32983
32984 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32985
32986 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32987 instead of "_itoa.h" and "_itowa.h".
32988 * stdio-common/vfprintf.: Likewise.
32989
d1af992d
L
329902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32991
32992 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32993 <bits/wordsize.h>.
32994 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32995 (__signbit): Likwise.
32996 (llrintf): Likwise.
32997 (llrint): Likwise.
32998
114883e0
L
329992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33000
33001 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33002 __WORDSIZE != 64.
33003
c135cc1b
JM
330042012-03-20 Joseph Myers <joseph@codesourcery.com>
33005
33006 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33007 OVERFLOW_EXCEPTION_OK.
33008 * math/libm-test.inc ("Philosophy"): Update comment about
33009 exception testing.
33010 (OVERFLOW_EXCEPTION): Define.
33011 (OVERFLOW_EXCEPTION_OK): Likewise.
33012 (INVALID_EXCEPTION_OK): Renumber.
33013 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33014 (IGNORE_ZERO_INF_SIGN): Likewise.
33015 (test_exceptions): Handle FE_OVERFLOW.
33016 (exp10_test): Expect overflow exceptions.
33017 (exp2_test): Likewise.
33018 (expm1_test): Likewise.
33019 (nextafter_test): Likewise.
33020 (pow_test): Likewise.
33021 (scalbn_test): Likewise.
33022 (scalbln_test): Likewise.
33023
95443d88
L
330242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33025
33026 * sysdeps/x86_64/bits/atomic.h
33027 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33028 64bit integer.
33029 (atomic_exchange_acq): Likewise.
33030 (__arch_exchange_and_add_body): Likewise.
33031 (__arch_add_body): Likewise.
33032 (atomic_add_negative): Likewise.
33033 (atomic_add_zero): Likewise.
33034
490df6c4
L
330352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33036
c2722551 33037 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33038 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33039
5e52b189
L
330402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33041
33042 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33043 Check __x86_64__ instead of __WORDSIZE.
33044
a9879d4c
L
330452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33046
33047 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33048
5df98260
DM
330492012-03-19 David S. Miller <davem@davemloft.net>
33050
e1497744
DM
33051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33052
5df98260
DM
33053 * sysdeps/sparc/fpu/fenv_private.h: New file.
33054 * sysdeps/sparc/fpu/math_private.h: Use it.
33055 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33056 Remove.
57f41c40 33057 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33058 (libc_feholdexcept_setroundl): Remove.
33059 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33060 Remove.
33061 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33062 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33063
b4c35121
L
330642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33065
33066 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33067 int64_t instead of long int.
33068 (INSERT_WORDS64): Likwise.
33069
56965fd7
L
330702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33071
33072 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33073 _Unwind_GetCFA return to _Unwind_Ptr first.
33074
83d1aec8
JM
330752012-03-19 Joseph Myers <joseph@codesourcery.com>
33076
1897ad44
JM
33077 [BZ #13629]
33078 * math/s_clog.c: Include <float.h>.
33079 (__clog): Scale large or subnormal inputs.
33080 * math/s_clogf.c: Likewise.
33081 * math/s_clogl.c: Likewise.
33082 * math/s_clog10.c: Include <float.h>.
33083 (M_LOG10_2): Define.
33084 (__clog10): Scale large or subnormal inputs.
33085 * math/s_clog10f.c: Likewise.
33086 * math/s_clog10l.c: Likewise.
33087 * math/libm-test.inc (clog_test): Add more tests.
33088 (clog10_test): Likewise.
33089 * sysdeps/i386/fpu/libm-test-ulps: Update.
33090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33091
7726d6a9
JM
33092 [BZ #11451]
33093 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33094 x and y.
33095 * math/libm-test.inc (atan2_test): Add another test.
33096
83d1aec8
JM
33097 * Makerules (common-objdir-compile): Remove.
33098 * sysdeps/unix/Makefile (config-generated): Do not add
33099 $(unix-generated) to variable.
33100 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33101 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33102 Remove rule.
33103 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33104 Likewise.
33105 [generic bits/local_lim.h] (before-compile): Do not append to
33106 variable.
33107 [generic bits/local_lim.h] (common-generated): Likewise.
33108 [generic sys/param.h] (before-compile): Do not append to variable.
33109 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33110 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33111 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33112 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33113 include.
33114 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33115 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33116 [generic sys/param.h] ($(addprefix
33117 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33118 [generic sys/param.h] (common-generated): Do not append to
33119 variable.
33120 [generic sys/param.h] (sysdep_headers): Likewise.
33121 [generic bits/errno.h] (before-compile): Do not append to
33122 variable.
33123 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33124 rule.
33125 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33126 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33127 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33128 [generic bits/errno.h] (common-generated): Do not append to
33129 variable.
33130 [generic bits/ioctls.h] (before-compile): Do not append to
33131 variable.
33132 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33133 rule.
33134 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33135 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33136 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33137 rule.
33138 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33139 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33140 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33141 [generic bits/ioctls.h] (common-generated): Do not append to
33142 variable.
33143 [generic sys/syscall.h] (syscall.h): Remove variable.
33144 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33145 rule.
33146 [generic sys/syscall.h] (before-compile): Do not append to
33147 variable.
33148 [generic sys/syscall.h] (common-generated): Likewise.
33149 * sysdeps/unix/errnos-tmpl.c: Remove file.
33150 * sysdeps/unix/errnos.awk: Likewise.
33151 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33152 * sysdeps/unix/ioctls.awk: Likewise.
33153 * sysdeps/unix/mk-local_lim.c: Likewise.
33154 * sysdeps/unix/snarf-ioctls: Likewise.
33155
4851a949
RH
331562012-03-19 Richard Henderson <rth@twiddle.net>
33157
bd37f2ee
RH
33158 * sysdeps/i386/fpu/fenv_private.h: New file.
33159 * sysdeps/i386/fpu/math_private.h: Use it.
33160 (math_opt_barrier, math_force_eval): Remove.
33161 (libc_feholdexcept_setround_53bit): Remove.
33162 (libc_feupdateenv_53bit): Remove.
33163 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33164 (math_opt_barrier, math_force_eval): Remove.
33165 (libc_feholdexcept): Remove.
33166 (libc_feholdexcept_setround): Remove.
33167 (libc_fetestexcept, libc_fesetenv): Remove.
33168 (libc_feupdateenv_test): Remove.
33169 (libc_feupdateenv, libc_feholdsetround): Remove.
33170 (libc_feresetround): Remove.
33171
d0adc922
RH
33172 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33173 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33174
0fe0f1f8
RH
33175 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33176 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33177 (libc_feupdateenv_testl): New.
33178 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33179 (libc_feupdateenv_testf): New.
33180 (libc_feupdateenv): Use libc_feupdateenv_test.
33181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33182 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33183
eb92c487
RH
33184 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33185 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33186 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33187 (libc_feresetround_noex): New.
33188 (libc_feresetround_noexf): New.
33189 (libc_feresetround_noexl): New.
33190 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33191 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33192 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33193 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33194 SET_RESTORE_ROUND.
33195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33197 (__cos): Likewise.
33198 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33200 SET_RESTORE_ROUND_NOEX.
33201 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33202 SET_RESTORE_ROUND_NOEXF.
33203 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33204 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33205 (libc_feholdsetroundf): New.
33206 (libc_feresetround, libc_feresetroundf): New.
33207
7d2e8012
RH
33208 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33209 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33210 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33211
b4dabbb4
RH
33212 * sysdeps/generic/math_private.h: Include <fenv.h>.
33213 (default_libc_feholdexcept): New.
33214 (default_libc_feholdexcept_setround): New.
33215 (default_libc_fesetenv, default_libc_feupdateenv): New.
33216 (libc_feholdexcept): Only define if undefined.
33217 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33218 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33219 (libc_feholdexcept_setroundl): Likewise.
33220 (libc_feholdexcept_setround_53bit): Likewise.
33221 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33222 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33223 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33224 (libc_feupdateenv_53bit): Likewise.
33225 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33226 (libc_feholdexcept): Convert from macro to inline function.
33227 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33228 (libc_fesetenv, libc_feupdateenv): Likewise.
33229
4851a949
RH
33230 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33231 not previously defined.
33232 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33233 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33234 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33235 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33236 * sysdeps/ieee754/flt-32/math_private.h: New file.
33237 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33238 math_private.h below SET_FLOAT_WORD.
33239 (__isnan, __isinf_ns, __finite): Remove.
33240 (__isnanf, __isinf_nsf, __finitef): Remove.
33241
e79d442e
AS
332422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33243
33244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33245
90b80344
DM
332462012-03-17 David S. Miller <davem@davemloft.net>
33247
33248 [BZ #6471]
33249 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33250 for 2.16.
33251
edc21804
DM
332522012-03-16 David S. Miller <davem@davemloft.net>
33253
77e927af
DM
33254 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33255 warnings.
33256
374976dd
DM
33257 [BZ #6471]
33258 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33259 properly.
33260 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33261 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33262 sysdep_routines when subdir is sysvipc.
33263 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33264 __getshmlba helper.
33265
edc21804
DM
33266 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33267
473c3ef3
L
332682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33269
33270 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33271 [__LP64__].
33272
eb0f39b6
L
332732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33274
33275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33276 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33277 (__lround): Renamed to ...
33278 (__llround): This. Replace long int with long long int.
33279 Define lround functions as aliases of llround functions.
33280 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33281
6b6cd74b
L
332822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33285 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33286 adresses to uintptr_t. Replace "long int" and "unsigned long
33287 int" with "greg_t" on va_arg.
33288
f1a77b01
L
332892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33290
33291 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33292 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33293
33294 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33295 Move e_machine check before EI_CLASS check. Handle x32
33296 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33297 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33298 SKIP_EM_IA_64 and include
33299 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33300
33301 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33302 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33303 (add_system_dir): New macro.
33304
33305 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33306 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33307
11b90b9f
JM
333082012-03-16 Joseph Myers <joseph@codesourcery.com>
33309
c36e1d23
JM
33310 [BZ #2551]
33311 [BZ #2552]
33312 [BZ #2553]
33313 [BZ #2554]
33314 [BZ #2562]
33315 [BZ #2563]
33316 [BZ #2565]
33317 [BZ #2566]
33318 [BZ #2576]
33319 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33320 (y0): Likewise.
33321 * math/w_j0f.c (j0f): Likewise.
33322 (y0f): Likewise.
33323 * math/w_j0l.c (__j0l): Likewise.
33324 (__y0l): Likewise.
33325 * math/w_j1.c (j1): Likewise.
33326 (y1): Likewise.
33327 * math/w_j1f.c (j1f): Likewise.
33328 (y1f): Likewise.
33329 * math/w_j1l.c (__j1l): Likewise.
33330 (__y1l): Likewise.
33331 * math/w_jn.c (jn): Likewise.
33332 (yn): Likewise.
33333 * math/w_jnf.c (jnf): Likewise.
33334 (ynf): Likewise.
33335 * math/w_jnl.c (__jnl): Likewise.
33336 (__ynl): Likewise.
33337 * math/libm-test.inc (j0_test): Add more tests.
33338 (j1_test): Likewise.
33339 (jn_test): Likewise. Add trailing semicolon to existing test.
33340 (y0_test): Likewise.
33341 (y1_test): Likewise.
33342 * sysdeps/i386/fpu/libm-test-ulps: Update.
33343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33344
11b90b9f
JM
33345 [BZ #13851]
33346 [BZ #13854]
33347 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33348 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33349 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33350 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33351 (__tanl): Set errno for infinite argument.
33352 * sysdeps/i386/fpu/mptan.c: Remove.
33353 * sysdeps/i386/fpu/s_tan.S: Likewise.
33354 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33355 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33356 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33357 * math/libm-test.inc (tan_test): Add more tests and enable more
33358 tests for double and long double.
33359 * sysdeps/i386/fpu/libm-test-ulps: Update.
33360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33361
6a1bd2a1
JK
333622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33363
33364 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33365 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33366
10a803e0
RM
333672012-03-16 Roland McGrath <roland@hack.frob.com>
33368
33369 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33370 * configure.in: Use it for both main tree and add-ons.
33371 * configure: Regenerated.
33372
f196c7f7
L
333732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33374
33375 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33376
8848d99d
JM
333772012-03-16 Joseph Myers <joseph@codesourcery.com>
33378
96cbe7f4
JM
33379 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33380 in comment.
33381
8848d99d
JM
33382 [BZ #13851]
33383 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33384 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33385 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33386 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33387 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33388 infinite argument.
33389 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33391 != 0 for prec == 2.
33392 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33393 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33394 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33395 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33396 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33397 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33398 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33399 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33400 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33401 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33402 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33403 * math/libm-test.inc (cos_test): Add more tests and enable more
33404 tests for long double.
33405 (sin_test): Likewise.
33406 (sincos_test): Likewise.
33407 * sysdeps/i386/fpu/libm-test-ulps: Update.
33408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33409
dd7f4703
DM
334102012-03-16 David S. Miller <davem@davemloft.net>
33411
33412 * sysdeps/sparc/fpu/math_private.h: New file.
33413
006f1daa
DM
334142012-03-15 David S. Miller <davem@davemloft.net>
33415
c0c83bc8
DM
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33417 file.
e6a62e18 33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33420 file.
e6a62e18
DM
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33427 sysdep routines.
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33429
88cb87d9
DM
33430 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33431 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33432
006f1daa 33433 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33435 sparc-ifunc.h
006f1daa 33436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33438 Likewise.
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33440 Likewise.
006f1daa
DM
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33445 Likewise.
006f1daa
DM
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33451 Likewise.
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33453 Likewise.
006f1daa
DM
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33478
11e0098e
AS
334792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33480
33481 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33482 scaling.
33483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33484
e85b09d0
AJ
334852012-03-15 Andreas Jaeger <aj@suse.de>
33486
33487 [BZ #13852]
33488 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33489 ieee754/flt-32 implementation for sin, cos and sincos.
33490 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33491 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33492 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33493 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33494 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33495 ieee754/flt-32 implementation for tan.
33496
33497 * math/libm-test.inc (cos_test): Enable some large input tests for
33498 float as well
33499 (sin_test): Likewise.
33500 (sincos_test): Likewise.
33501 (tan_test): Add tests for large input.
33502
33503 * sysdeps/i386/fpu/libm-test-ulps: Update.
33504
81c64153
AJ
335052012-03-15 Andreas Jaeger <aj@suse.de>
33506
33507 [BZ #13658]
33508 * math/libm-test.inc (cos_test): Add more test cases.
33509 (sin_test): Likewise.
33510 (sincos_test): Likewise.
33511
7bbfa5c6
AJ
335122012-03-15 Andreas Jaeger <aj@suse.de>
33513
33514 [BZ #13837]
33515 * math/libm-test.inc (cos_test): Add a test case for large input
33516 value.
33517 (sin_test): Likewise.
33518 (sincos_test): Likewise.
33519
57f41c40
AS
335202012-03-15 Andreas Jaeger <aj@suse.de>
33521 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33522
33523 [BZ #13658]
0671f479 33524 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33525 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33526 * sysdeps/i386/fpu/branred.c: Likewise.
33527 * sysdeps/i386/fpu/dosincos.c: Likewise.
33528 * sysdeps/i386/fpu/mpa.c: Likewise.
33529 * sysdeps/i386/fpu/s_cos.S: Likewise.
33530 * sysdeps/i386/fpu/s_sin.S: Likewise.
33531 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33532 * sysdeps/i386/fpu/sincos32.c: Likewise.
33533
33534 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33535 Define.
33536 (libc_feupdateenv_53bit): Define.
33537 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33538 Define.
33539 (libc_feupdateenv_53bit): Define.
33540
33541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33542 53 bit (without extend i386 double precision).
33543
33544 * math/libm-test.inc (sincos_test): Add tests for large input.
33545 (sin): Likewise.
33546 (cos): Likewise.
33547
33548 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33549
9cad04ea
AS
335502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33551
33552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33553
f7062b9a
DM
335542012-03-15 David S. Miller <davem@davemloft.net>
33555
33556 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33557 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33558 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33559 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33572 file.
f7062b9a 33573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33575 file.
f7062b9a 33576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33578 file.
f7062b9a 33579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33581 file.
f7062b9a
DM
33582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33584 fmin/fmax sysdep routines.
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33586
7bd951ff
DM
335872012-03-14 David S. Miller <davem@davemloft.net>
33588
559398ab
DM
33589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33595 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33618 routines.
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33620 file.
559398ab 33621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33623 file.
559398ab 33624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33626 file.
559398ab 33627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33629 file.
559398ab 33630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33632 file.
559398ab 33633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33635 file.
33636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33637 file.
33638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33639 file.
33640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33641 file.
33642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33643 New file.
33644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33645 file.
33646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33647 file.
559398ab 33648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33650 file.
559398ab 33651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33653 file.
559398ab 33654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33656 file.
559398ab 33657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33659 VIS3 routines.
559398ab
DM
33660
33661 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33662 New file.
33663
5a1c1e32
DM
33664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33665
eae47a36
DM
33666 * sysdeps/sparc/configure.in: New file.
33667 * sysdeps/sparc/configure: Generate.
33668 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33669 * configure: Regenerate.
33670 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33671 * config.make.in (have-as-vis3): New.
33672 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33673 available use -Av9d instead of -Av9a.
33674 * sysdeps/sparc/sparc64/Makefile: Likewise.
33675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33677 New file.
33678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33679 file.
33680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33681 New file.
33682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33683 file.
eae47a36
DM
33684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33689
c0c83bc8
DM
33690 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33691 fzeros/fnegs to load 0x80000000 into a float register instead of
33692 using the stack.
7bd951ff
DM
33693 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33694
bd951ccb
JM
336952012-03-14 Joseph Myers <joseph@codesourcery.com>
33696
33697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33698 bits/syscall.h.
33699 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33700 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33701 ($(inst_includedir)/bits/syscall.h): Remove rule.
33702 ($(objpfx)bits/syscall.d): Include instead of
33703 $(objpfx)syscall-list.d.
33704 (generated): Change syscall-list.h and syscall-list.d to
33705 bits/syscall.h and bits/syscall.d.
33706
bb4e6db2
RM
337072012-03-14 Roland McGrath <roland@hack.frob.com>
33708
33709 [BZ #13846]
33710 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33711
aa4a2ae1
JM
337122012-03-14 Joseph Myers <joseph@codesourcery.com>
33713
e456826d
JM
33714 [BZ #13841]
33715 * math/s_csqrt.c: Include <float.h>.
33716 (__csqrt): Scale large or subnormal inputs.
33717 * math/s_csqrtf.c: Likewise.
33718 * math/s_csqrtl.c: Likewise.
33719 * math/libm-test.inc (csqrt_test): Add more tests.
33720 * sysdeps/i386/fpu/libm-test-ulps: Update.
33721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33722
aa4a2ae1
JM
33723 [BZ #13840]
33724 * math/libm-test.inc (hypot_test): Add more tests.
33725
7c10fd35
DM
337262012-03-13 David S. Miller <davem@davemloft.net>
33727
33728 [BZ #13840]
33729 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33730 double-precision for the calculation instead of scaling.
33731
f453b98b
JM
337322012-03-13 Joseph Myers <joseph@codesourcery.com>
33733
33734 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33735 manipulate bits before adding and subtracting TWO52[sx].
33736 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33737 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33738 Likewise.
33739 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33740
09a3453f
DM
337412012-03-13 David S. Miller <davem@davemloft.net>
33742
8e59da90
DM
33743 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33744 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33746 rtld-global-offsets.h
33747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33748
2a8ab7f2
DM
33749 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33750 large parameters.
33751
10f62770
DM
33752 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33753
5f0bdb18
DM
33754 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33755 'err' in the ifdef scope in which it is actually used.
33756
09a3453f
DM
33757 * nss/nss_db/db-init.c: Include string.h
33758
b4b2eb5e
DM
337592012-03-12 David S. Miller <davem@davemloft.net>
33760
98bb2f1c
DM
33761 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33762 masking out of the most significant byte of random value used.
33763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33764 Fix coding style in previous change.
33765
b4b2eb5e
DM
33766 * sysdeps/unix/sysv/linux/kernel-features.h
33767 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33768 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33769 expression.
33770 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33771 later.
33772
6e226b09
DM
337732012-03-11 David S. Miller <davem@davemloft.net>
33774
a1bcbd40
DM
33775 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33776 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33778 for 'resultvar' otherwise things get truncated on 64-bit.
33779
cb9d6174
DM
33780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33781 Fix masking out of the most significant byte of random value used.
33782
6e226b09
DM
33783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33784
058c132d
AS
337852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33786
33787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33788
2d2cd515
DM
337892012-03-09 David S. Miller <davem@davemloft.net>
33790
33791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33792 variables with appropriate CPP guards.
57f41c40
AS
33793 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33794 from the frame pointer, not the stack pointer. Correct layout
33795 comments. Fix test on resulting framesize and the management of
33796 the outregs buffer for pltexit. Preserve floating point return
33797 values across _dl_call_pltexit call.
2d2cd515
DM
33798 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33799 framesize and the management of the outregs buffer for pltexit.
33800 Preserve floating point return values across _dl_call_pltexit
33801 call.
57f41c40
AS
33802 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33803 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33804 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33805 (print_exit): Fix format string for return register value.
33806
9a07f9d0
JM
338072012-03-10 Joseph Myers <joseph@codesourcery.com>
33808
33809 * sunrpc/Makefile (others): Add rpcgen.
33810 ($(objpfx)rpcgen): Remove special build rule and dependency on
33811 libc.
33812 * sunrpc/rpcgen.c: New file.
33813
547b5e30
PE
338142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33815
c524201a
PE
33816 [BZ #13673]
33817 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33818 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33819 * sysdeps/i386/crti.S: Likewise.
33820 * sysdeps/i386/crtn.S: Likewise.
33821 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33822 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33823 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33824 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33825 * sysdeps/sh/crti.S: Likewise.
33826 * sysdeps/sh/crtn.S: Likewise.
33827 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33828
7b6235f2
PE
33829 [BZ #13673]
33830 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33831 with URL.
33832 * locale/programs/locfile-kw.gperf: Likewise.
33833 * locale/programs/charmap-kw.h: Regenerated.
33834 * locale/programs/locfile-kw.h: Likewise.
33835
547b5e30
PE
33836 [BZ #13673]
33837 * intl/plural.y: Replace FSF snail mail address with URL.
33838 * intl/plural.c: Regenerated.
33839
5f0a5dae
RH
338402012-03-09 Richard Henderson <rth@twiddle.net>
33841
33842 * include/math_private.h: Remove file.
33843 * math/math_private.h: Move file ...
33844 * sysdeps/generic/math_private.h: ... here.
33845
b8c03620
RH
33846 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33847 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33848 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33849
4e234f5d 33850 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33851 and <math_private.h>.
33852 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33853 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33854 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33855 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33856 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33882 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33884 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33885 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33886 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33887 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33888 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33889 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33890 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33892 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33893 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33895 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33896 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33901 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33913 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33915 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33916 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33917 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33918 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33919 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33920 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33921 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33926 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33934 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33939 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33940 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33941 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33942 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33943 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33944 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33945 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33946 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33947 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33948 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33949 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33950 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33951 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33952 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33953 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33954 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33955 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33956 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33957 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33958 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33959 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33960 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33962 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33963 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33965 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33966 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33968 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33969 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33970 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33971 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33972 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33973 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33974 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33975 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33976 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33978 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33979 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33980 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33981 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33982 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33983 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33984 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33985 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33986 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33987 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33988 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33989 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33990 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33991 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33993 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33994 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33995 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33996 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33998 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34000 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34001 * sysdeps/ieee754/k_standard.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34053 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34054 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34056 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34063 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34117 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34121 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34122 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34124 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34129 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34134 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34148 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34150 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34151 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34152 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34162 * sysdeps/ieee754/s_lib_version.c: Likewise.
34163 * sysdeps/ieee754/s_matherr.c: Likewise.
34164 * sysdeps/ieee754/s_signgam.c: Likewise.
34165 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34166 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34167 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34168 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34169 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34170 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34171 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34172 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34173 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34174 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34175 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34176 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34177 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34178 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34179 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34180 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34181 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34182 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34183 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34186
1991fa03
JM
341872012-03-09 Joseph Myers <joseph@codesourcery.com>
34188
34189 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34190 * sunrpc/rpc_main.c: Likewise.
34191 * sunrpc/rpc_svcout.c: Likewise.
34192
60d6f5a6
DM
341932012-03-09 David S. Miller <davem@davemloft.net>
34194
34195 * include/math_private.h: New file.
34196
4962050e
JM
341972012-03-09 Joseph Myers <joseph@codesourcery.com>
34198
02a6f887
JM
34199 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34200 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34201 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34202 from <bits/socket_type.h>.
34203 (enum __socket_type): Don't define here.
34204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34206 bits/socket_type.h.
34207
c6e013c1
JM
34208 [BZ #13566]
34209 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34210 checking __USE_GNU.
34211
4962050e
JM
34212 * Makerules ($(inst_includedir)/%.h): New rule.
34213 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34214 (install-others): Remove variable setting.
34215 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34216
38842f45
RH
342172012-03-08 Richard Henderson <rth@twiddle.net>
34218
67bb6da6
RH
34219 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34220 from macro to inline function; merge with the
34221 !__LIBC_INTERNAL_MATH_INLINES version.
34222 (__ieee754_sqrtf): Likewise.
34223
15194b4b
RH
34224 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34225 to inline function.
34226 (__rintf, __floor, __floorf): Likewise.
34227
64e21ede
RH
34228 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34229 macro to inline function.
34230 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34231
38842f45
RH
34232 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34233 not <math/math_private.h>.
34234
c64bf5fe
DM
342352012-03-08 David S. Miller <davem@davemloft.net>
34236
34237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34238 copyright year.
34239 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34240
82d86f28
TS
342412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34242
34243 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34244 normalization.
34245 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34246 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34247
aea5d727
UD
342482012-03-08 Ulrich Drepper <drepper@gmail.com>
34249
34250 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34251 be defined individually, they must be defined as a block. Define
34252 S for printing a string instead of hidint the different by using a
34253 macro for adding the 'l'.
34254 * stdio-common/tst-fphex-wide.c: Adjust.
34255
70bca0a3
MP
342562012-03-07 Marek Polacek <polacek@redhat.com>
34257
34258 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34259
65b81130
MP
342602012-03-08 Marek Polacek <polacek@redhat.com>
34261
34262 [BZ #13806]
34263 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34264 * stdio-common/tst-fphex.c: Define a few macros to make the
34265 test reusable. Use them.
34266 * stdio-common/tst-fphex-wide.c: New file.
34267
07037eeb
JM
342682012-03-08 Joseph Myers <joseph@codesourcery.com>
34269
a7a93d50
JM
34270 [BZ #6911]
34271 * manual/macros.texi (gnusystems): New macro.
34272 (nongnusystems): Likewise.
34273 (gnulinuxhurdsystems): Likewise.
34274 (gnuhurdsystems): Likewise..
34275 (gnulinuxsystems): Likewise.
34276 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34277 variants of the GNU system, not "GNU system".
34278 * manual/conf.texi: Likewise.
34279 * manual/errno.texi: Likewise. Update example of errno macro
34280 expansion.
34281 * manual/filesys.texi: Likewise.
34282 (getumask): Document as specific to GNU/Hurd.
34283 * manual/install.texi: Likewise. Reword some references to
34284 GNU/Linux.
34285 * manual/intro.texi: Likewise.
34286 * manual/io.texi: Likewise.
34287 (File Name Portability): Detail which constraints are inapplicable
34288 to all GNU systems and which are only inapplicable to GNU/Hurd.
34289 * manual/job.texi: Likewise.
34290 * manual/llio.texi: Likewise.
34291 (O_NOCTTY): Document as present on GNU/Linux.
34292 * manual/maint.texi: Likewise.
34293 * manual/memory.texi: Likewise.
34294 * manual/pattern.texi: Likewise.
34295 * manual/pipe.texi: Likewise.
34296 * manual/process.texi: Likewise.
34297 * manual/resource.texi: Likewise.
34298 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34299 child on GNU/Hurd.
34300 * manual/setjmp.texi: Likewise.
34301 * manual/signal.texi: Likewise.
34302 * manual/startup.texi: Likewise.
34303 * manual/stdio.texi: Likewise.
34304 * manual/terminal.texi: Likewise.
34305 (ONLCR): Document as POSIX.
34306 (OXTABS): Document availability on GNU/Linux as XTABS.
34307 (ONOEOT): Document availability separately from other bits.
34308 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34309 * manual/time.texi: Likewise.
34310 * manual/users.texi: Likewise.
34311 * INSTALL: Regenerated.
34312 * sysdeps/gnu/errlist.c: Regenerated.
34313
07037eeb
JM
34314 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34315 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34316 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34317 puts.
34318 * configure: Regenerated.
34319
d1d3431a
JM
343202012-03-07 Joseph Myers <joseph@codesourcery.com>
34321
af6a1e37
JM
34322 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34323 default includes instead of AC_HEADER_CHECK.
34324 * sysdeps/i386/configure: Regenerated.
34325
d1d3431a
JM
34326 [BZ #10716]
34327 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34328 * math/s_cacoshf.c (__cacoshf): Likewise.
34329 * math/s_cacoshl.c (__cacoshl): Likewise.
34330 * math/s_casinh.c (__casinh): Set signs of result from argument.
34331 * math/s_casinhf.c (__casinhf): Likewise.
34332 * math/s_casinhl.c (__casinhl): Likewise.
34333 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34334 (casinh_test): Add more tests.
34335 * sysdeps/i386/fpu/libm-test-ulps: Update.
34336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34337
482ff4da
UD
343382012-03-07 Ulrich Drepper <drepper@gmail.com>
34339
872fda05
UD
34340 * po/zh_TW.po: Update from translation team.
34341
a4300c7a
UD
34342 * login/Makefile (distribute): Remove variable.
34343 * catgets/Makefile: Likewise.
34344 * mach/Makefile: Likewise.
34345 * malloc/Makefile: Likewise.
34346 * misc/Makefile: Likewise.
34347 * iconv/Makefile: Likewise.
34348 * nscd/Makefile: Likewise.
34349 * hurd/Makefile: Likewise.
34350 * manual/Makefile: Likewise.
34351 * locale/Makefile: Likewise.
34352 * intl/Makefile: Likewise.
34353 * conform/Makefile: Likewise.
34354 * nss/Makefile: Likewise.
34355 * time/Makefile: Likewise.
34356 * soft-fp/Makefile: Likewise.
34357 * dirent/Makefile: Likewise.
34358 * gmon/Makefile: Likewise.
34359 * po/Makefile: Likewise.
34360 * rt/Makefile: Likewise.
34361 * socket/Makefile: Likewise.
34362 * math/Makefile: Likewise.
34363 * signal/Makefile: Likewise.
34364 * debug/Makefile: Likewise.
34365 * elf/Makefile: Likewise.
34366 * timezone/Makefile: Likewise.
34367 * stdlib/Makefile: Likewise.
34368 * iconvdata/Makefile: Likewise.
34369 * sunrpc/Makefile: Likewise.
34370 * io/Makefile: Likewise.
34371 * argp/Makefile: Likewise.
34372 * inet/Makefile: Likewise.
34373 * hesiod/Makefile: Likewise.
34374 * grp/Makefile: Likewise.
34375 * csu/Makefile: Likewise.
34376 * wctype/Makefile: Likewise.
34377 * crypt/Makefile: Likewise.
34378 * libio/Makefile: Likewise.
34379 * string/Makefile: Likewise.
34380 * nis/Makefile: Likewise.
34381 * resolv/Makefile: Likewise.
34382 * stdio-common/Makefile: Likewise.
34383 * wcsmbs/Makefile: Likewise.
34384 * dlfcn/Makefile: Likewise.
34385 * posix/Makefile: Likewise.
34386
3b7c4e74 34387 [BZ #6959]
482ff4da
UD
34388 * timezone/Makefile: Don't install timezone files, just the programs
34389 and scripts.
34390
f72ed77d
UD
343912012-03-06 Ulrich Drepper <drepper@gmail.com>
34392
a000466f
UD
34393 * nss/databases.def: Add missing gshadow entry.
34394
f72ed77d
UD
34395 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34396
a53b7a4e
MP
343972012-03-06 Marek Polacek <polacek@redhat.com>
34398
34399 [BZ #13726]
34400 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34401 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34402 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34403 * stdio-common/tst-long-dbl-fphex.c: New file.
34404
e9258400
DM
344052012-03-06 David S. Miller <davem@davemloft.net>
34406
34407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34408 (set_obp_int): New function.
34409 (get_obp_int): New function.
34410 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34411 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34412 Avoid unused variable warnings on 'val' and use builtin_expect.
34413 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34414 __builtin_expect.
e9258400
DM
34415 (INLINE_CLONE_SYSCALL): Likewise.
34416
3bd2c723
DM
344172012-03-05 David S. Miller <davem@davemloft.net>
34418
34419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34420
bbb78d03
AS
344212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34422
884c5db4
AS
34423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34424
bbb78d03
AS
34425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34426 only for |x| >= 40.
34427 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34428
1c9f702a 344292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34430
34431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34432 Replace gettimeofday with __vdso_gettimeofday.
34433
7be16f82
RM
34434 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34435 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34436 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34437
34438 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34439 time with __vdso_time.
34440
ed58a00f
JM
344412012-03-05 Joseph Myers <joseph@codesourcery.com>
34442
34443 * manual/lang.texi (size_t): Note types to which size_t may be
34444 equivalent with the GNU C Library, but do not describe when
34445 differences between them are significant.
34446
30ee4ced
AJ
344472012-03-05 Andreas Jaeger <aj@suse.de>
34448
34449 * sysdeps/i386/fpu/libm-test-ulps: Update.
34450
b7cd39e8
JM
344512012-03-05 Joseph Myers <joseph@codesourcery.com>
34452
34453 [BZ #3976]
34454 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34455 (__ieee754_pow): Save and restore rounding mode and use
34456 round-to-nearest for main computations.
34457 * math/libm-test.inc (pow_test_tonearest): New function.
34458 (pow_test_towardzero): Likewise.
34459 (pow_test_downward): Likewise.
34460 (pow_test_upward): Likewise.
34461 (main): Call the new functions.
34462 * sysdeps/i386/fpu/libm-test-ulps: Update.
34463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34464
34465 [BZ #3976]
34466 * math/libm-test.inc (cosh_test_tonearest): New function.
34467 (cosh_test_towardzero): Likewise.
34468 (cosh_test_downward): Likewise.
34469 (cosh_test_upward): Likewise.
34470 (sinh_test_tonearest): Likewise.
34471 (sinh_test_towardzero): Likewise.
34472 (sinh_test_downward): Likewise.
34473 (sinh_test_upward): Likewise.
34474 (main): Call the new functions.
34475 * sysdeps/i386/fpu/libm-test-ulps: Update.
34476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34477
6c6a98c9
TV
344782012-03-05 Tom de Vries <tom@codesourcery.com>
34479
34480 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34481 default stack guard is set in last bytes.
34482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34483
21bb2d2e 344842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34485
21bb2d2e 34486 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34487
21bb2d2e
AJ
34488 [BZ #13656]
34489 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34490 possibly allocate from heap instead of stack.
34491 * stdio-common/bug-vfprintf-nargs.c: New file.
34492 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34493
c6922934
AS
344942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34495
34496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34497
bc957d53
MP
344982012-03-03 Marek Polacek <polacek@redhat.com>
34499
34500 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34501 * math/math_private.h: Likewise.
34502 * stdlib/tst-strtod.c: Likewise.
34503 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34504 * sysdeps/x86_64/bits/atomic.h: Likewise.
34505
6358490d
DM
345062012-03-02 David S. Miller <davem@davemloft.net>
34507
34508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34512 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34513 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34514 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34515 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34516
01ae168d
RM
345172012-03-02 Roland McGrath <roland@hack.frob.com>
34518
d9a17c07
RM
34519 [BZ #13792]
34520 * manual/examples/README: New file, says the example source files
34521 can be used under GPL>=2.
34522 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34523 line containing just "*/".
34524 * manual/examples/add.c: Add copyright header (GPL>=2).
34525 * manual/examples/argp-ex1.c: Likewise.
34526 * manual/examples/argp-ex2.c: Likewise.
34527 * manual/examples/argp-ex3.c: Likewise.
34528 * manual/examples/argp-ex4.c: Likewise.
34529 * manual/examples/atexit.c: Likewise.
34530 * manual/examples/db.c: Likewise.
34531 * manual/examples/dir.c: Likewise.
34532 * manual/examples/dir2.c: Likewise.
34533 * manual/examples/execinfo.c: Likewise.
34534 * manual/examples/filecli.c: Likewise.
34535 * manual/examples/filesrv.c: Likewise.
34536 * manual/examples/fmtmsgexpl.c: Likewise.
34537 * manual/examples/genpass.c: Likewise.
34538 * manual/examples/inetcli.c: Likewise.
34539 * manual/examples/inetsrv.c: Likewise.
34540 * manual/examples/isockad.c: Likewise.
34541 * manual/examples/longopt.c: Likewise.
34542 * manual/examples/memopen.c: Likewise.
34543 * manual/examples/memstrm.c: Likewise.
34544 * manual/examples/mkfsock.c: Likewise.
34545 * manual/examples/mkisock.c: Likewise.
34546 * manual/examples/mygetpass.c: Likewise.
34547 * manual/examples/pipe.c: Likewise.
34548 * manual/examples/popen.c: Likewise.
34549 * manual/examples/rprintf.c: Likewise.
34550 * manual/examples/search.c: Likewise.
34551 * manual/examples/select.c: Likewise.
34552 * manual/examples/setjmp.c: Likewise.
34553 * manual/examples/sigh1.c: Likewise.
34554 * manual/examples/sigusr.c: Likewise.
34555 * manual/examples/stpcpy.c: Likewise.
34556 * manual/examples/strdupa.c: Likewise.
34557 * manual/examples/strftim.c: Likewise.
34558 * manual/examples/strncat.c: Likewise.
34559 * manual/examples/subopt.c: Likewise.
34560 * manual/examples/swapcontext.c: Likewise.
34561 * manual/examples/termios.c: Likewise.
34562 * manual/examples/testopt.c: Likewise.
34563 * manual/examples/testpass.c: Likewise.
34564 * manual/examples/timeval_subtract.c: Likewise.
34565
01ae168d
RM
34566 [BZ #13792]
34567 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34568 function to ...
34569 * manual/timeval_subtract.c.texi: ... here, new file.
34570
49efa33d
DM
345712012-03-02 David S. Miller <davem@davemloft.net>
34572
34573 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34574
28afd92d
JM
345752012-03-02 Joseph Myers <joseph@codesourcery.com>
34576
804360ed
JM
34577 [BZ #3976]
34578 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34579 (__sin): Save and restore rounding mode and use round-to-nearest
34580 for all computations.
34581 (__cos): Save and restore rounding mode and use round-to-nearest
34582 for all computations.
34583 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34584 <fenv.h>.
34585 (tan): Save and restore rounding mode and use round-to-nearest for
34586 all computations.
34587 * math/libm-test.inc (cos_test_tonearest): New function.
34588 (cos_test_towardzero): Likewise.
34589 (cos_test_downward): Likewise.
34590 (cos_test_upward): Likewise.
34591 (sin_test_tonearest): Likewise.
34592 (sin_test_towardzero): Likewise.
34593 (sin_test_downward): Likewise.
34594 (sin_test_upward): Likewise.
34595 (tan_test_tonearest): Likewise.
34596 (tan_test_towardzero): Likewise.
34597 (tan_test_downward): Likewise.
34598 (tan_test_upward): Likewise.
34599 (main): Call the new functions.
34600 * sysdeps/i386/fpu/libm-test-ulps: Update.
34601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34602
a6d06d7b
JM
34603 [BZ #10135]
34604 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34605 small n, then large n, before computing and testing k+n.
34606 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34608 Likewise.
34609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34610 Likewise.
34611 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34612 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34613 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34614 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34615 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34616 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34619 * math/libm-test.inc (scalbn_test): Add more tests.
34620 (scalbln_test): Likewise.
34621
07e12bb3
JM
34622 * manual/filesys.texi (mode_t): Describe constraints on size and
34623 signedness, not exact equivalence to a particular type.
34624 (ino_t): Likewise.
34625 (ino64_t): Likewise.
34626 (dev_t): Likewise.
34627 (nlink_t): Likewise.
34628 (blkcnt_t): Likewise.
34629 (blkcnt64_t): Likewise.
34630 * manual/llio.texi (off_t): Likewise.
34631
28afd92d
JM
34632 [BZ #3976]
34633 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34634 (__ieee754_exp): Save and restore rounding mode and use
34635 round-to-nearest for all computations.
34636 * math/libm-test.inc (exp_test_tonearest): New function.
34637 (exp_test_towardzero): Likewise.
34638 (exp_test_downward): Likewise.
34639 (exp_test_upward): Likewise.
34640 (main): Call the new functions.
34641 * sysdeps/i386/fpu/libm-test-ulps: Update.
34642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34643
b1eeb65d
CD
346442012-03-01 Chris Demetriou <cgd@google.com>
34645
34646 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34647 have predictable order.
34648
53362a4b
DM
346492012-03-01 David S. Miller <davem@davemloft.net>
34650
3c969083
DM
34651 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34652
759707de
DM
34653 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34657
dfdb8ff2
DM
34658 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34659 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34660 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34662 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34663 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34664 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34665 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34667
ead89f96
DM
34668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34669
7f66bd07
DM
34670 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34671 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34672 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34673
53362a4b
DM
34674 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34675 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34676 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34677 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34678 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34681 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34682 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34683 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34684 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34685 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34687 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34688 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34690 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34691 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34692 * sysdeps/sparc/elf/configure: Regenerated.
34693
7b1902cb
JM
346942012-03-01 Joseph Myers <joseph@codesourcery.com>
34695
bec039bc
JM
34696 * configure.in (AS, LD): Require binutils 2.20 or later.
34697 * configure: Regenerated.
34698 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34699 as required minimum version.
34700 * INSTALL: Regenerated.
34701
7b1902cb
JM
34702 [BZ #2541]
34703 [BZ #4108]
34704 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34705 before squaring exponent.
34706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34707 bottom long double and 27 bits of top long double before squaring
34708 exponent.
34709 * math/libm-test.inc (erfc_test): Add more tests.
34710 * sysdeps/i386/fpu/libm-test-ulps: Update.
34711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34713
f775c276
KT
347142012-03-01 Kai Tietz <ktietz@redhat.com>
34715
34716 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34717 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34718 containing bit-fields.
34719 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34720 * soft-fp/single.h (_FP_UNION_S): Likewise.
34721 * soft-fp/double.h (_FP_UNION_D): Likewise.
34722
5b8a4d4a
JM
347232012-02-29 Joseph Myers <joseph@codesourcery.com>
34724
0bab47b6
JM
34725 [BZ #13786]
34726 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34727 not include ../strcmp.S.
34728 [USE_AS_STRNCASECMP_L]: Likewise.
34729 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34730 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34731 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34732 (__strncasecmp_l_ia32): Define as alias to
34733 __strncasecmp_l_nonascii.
34734
0fcad3e2
JM
34735 [BZ #5794]
34736 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34737 * sysdeps/i386/fpu/libm-test-ulps: Update.
34738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34739
5b8a4d4a
JM
34740 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34742
8fdceb2e
JL
347432012-02-29 Jeff Law <law@redhat.com>
34744
34745 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34746 out of bounds read.
34747
1f393a11
MP
347482012-02-29 Marek Polacek <polacek@redhat.com>
34749
34750 [BZ #13706]
34751 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34752 * elf/Makefile: Add rules to run tst-unused-dep.out.
34753
8847f037
DM
347542012-02-28 David S. Miller <davem@davemloft.net>
34755
34756 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34757 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34760 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34761 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34762
169d7f11
JM
347632012-02-29 Joseph Myers <joseph@codesourcery.com>
34764
34765 * math/libm-test.inc (llround_test): Move one test from
34766 lround_test. Use TEST_f_L in moved test.
34767 (lround_test): Move misplaced test to llround_test. Add testcase
34768 from bug 2561.
34769
39adf059
UD
347702012-02-28 Ulrich Drepper <drepper@gmail.com>
34771
34772 * sysdeps/x86_64/fpu/e_expf.S: New file.
34773 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34774
71b5d1c5
SB
347752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34776
34777 [BZ #13637]
34778 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34779 of remain_len that may cause incomplete multi-byte character and
34780 false match.
34781 * posix/bug-regex33.c: New file.
34782 * posix/Makefile (tests): Add bug-regex33.
34783
1f77f049
JM
347842012-02-28 Joseph Myers <joseph@codesourcery.com>
34785
34786 * manual/macros.texi: New file.
34787 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34788 * manual/libc.texinfo: Include macros.texi.
34789 * manual/creatute.texi: Likewise.
34790 * manual/install.texi: Likewise.
34791 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34792 @glibcadj{} in references to the GNU C Library.
34793 * manual/charset.texi: Likewise.
34794 * manual/conf.texi: Likewise.
34795 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34796 when not using those macros.
34797 * manual/creature.texi: Likewise.
34798 * manual/crypt.texi: Likewise.
34799 * manual/errno.texi: Likewise.
34800 * manual/filesys.texi: Likewise.
34801 * manual/header.texi: Likewise.
34802 * manual/install.texi: Likewise.
34803 * manual/intro.texi: Likewise.
34804 * manual/io.texi: Likewise.
34805 * manual/job.texi: Likewise.
34806 * manual/lang.texi: Likewise.
34807 * manual/libc.texiinfo: Likewise.
34808 * manual/llio.texi: Likewise.
34809 * manual/locale.texi: Likewise.
34810 * manual/maint.texi: Likewise.
34811 * manual/math.texi: Likewise.
34812 * manual/memory.texi: Likewise.
34813 * manual/message.texi: Likewise.
34814 * manual/nss.texi: Likewise.
34815 * manual/pattern.texi: Likewise.
34816 * manual/process.texi: Likewise.
34817 * manual/resource.texi: Likewise.
34818 * manual/search.texi: Likewise.
34819 * manual/setjmp.texi: Likewise.
34820 * manual/signal.texi: Likewise.
34821 * manual/socket.texi: Likewise.
34822 * manual/startup.texi: Likewise.
34823 * manual/stdio.texi: Likewise.
34824 * manual/string.texi: Likewise.
34825 * manual/sysinfo.texi: Likewise.
34826 * manual/syslog.texi: Likewise.
34827 * manual/terminal.texi: Likewise.
34828 * manual/time.texi: Likewise.
34829 * manual/users.texi: Likewise.
34830 * INSTALL: Regenerated.
34831 * NOTES: Regenerated.
d40c5d54 34832 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34833
450bf206
AS
348342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34835
34836 * include/dirent.h: Include <dirstream.h> before
34837 <dirent/dirent.h>.
34838
741a235b
DM
348392012-02-28 David S. Miller <davem@davemloft.net>
34840
34841 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34842 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34843 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34844 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34845
d6b5aa58
DM
348462012-02-27 David S. Miller <davem@davemloft.net>
34847
1aff59a3
DM
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34850 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34851 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34852
d6b5aa58
DM
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34854 frame pointer instead of stack pointer relative arg slot.
34855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34856 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34857 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34858
433f48bf
CD
348592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34860
34861 [BZ #3992]
34862 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34863
d674b76d
DM
348642012-02-27 David S. Miller <davem@davemloft.net>
34865
34866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34872 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34873 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34874
0e7727f7
JM
348752012-02-27 Joseph Myers <joseph@codesourcery.com>
34876
34877 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34878 later. Allow versions 5-9.
43be4ca2 34879 * configure: Regenerated.
0e7727f7
JM
34880 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34881 required minimum version and 4.6 as recommended version. Do not
34882 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34883 * INSTALL: Regenerated.
0e7727f7 34884
a78bc654
DM
348852012-02-27 David S. Miller <davem@davemloft.net>
34886
428d5830
DM
34887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34891 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34892 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34893 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34894 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34895
a78bc654
DM
34896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34897 manipulate bits before adding and subtracting TWO112[sx].
34898 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34899
4579f81c
RM
349002012-02-27 Roland McGrath <roland@hack.frob.com>
34901
36c8acb4
RM
34902 [BZ #13775]
34903 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34904 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34905 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34906 being in POSIX, because they are in 1003.1-2008.
34907
84ad622b
RM
34908 * rt/tst-aio.c: Include <fcntl.h>.
34909 * rt/tst-aio7.c: Likewise.
34910 * rt/tst-aio64.c: Likewise.
34911
4579f81c
RM
34912 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34913
abd923db
JM
349142012-02-27 Joseph Myers <joseph@codesourcery.com>
34915
34916 * manual/install.texi (--with-headers): Describe headers as
34917 interface headers, not private headers.
34918 (Specific advice for GNU/Linux systems): Describe use of headers
34919 from "make headers_install", not private headers from older
34920 kernels.
43be4ca2 34921 * INSTALL: Regenerated.
abd923db
JM
34922 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34923 Change to 2.6.19.
34924 * sysdeps/unix/sysv/linux/configure: Regenerated.
34925
6664049b
JM
34926 * manual/llio.texi (fclean): Remove documentation.
34927
bb8b6697
JM
34928 * manual/Makefile (libc-texi-generated): New variable. Include
34929 version.texi.
34930 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34931 $(libc-texi-generated), not duplicated list of files.
34932 (version.texi, stamp-version): New rules.
34933 (realclean): Remove $(libc-texi-generated), not individual files
34934 from that list. Do not remove dir-add.texinfo.
34935 * manual/libc.texinfo: Comment out uses of edition numbers and
34936 references to printed manual. Remove last-updated dates.
34937 (EDITION): Comment out.
34938 (ISBN): Likewise.
34939 (VERSION, UPDATED): Remove.
34940 (version.texi): Include.
34941
12e5c3b9
AS
349422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34943
34944 * sysdeps/posix/spawni.c: Include <signal.h>.
34945 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34946 * sysdeps/pthread/aio_fsync.c: Likewise.
34947
4efeffc1 349482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34949
ba63ba08
UD
34950 * conform/Makefile (tests): Run only when not cross-compiling and
34951 when fast-check is not defined.
34952
d94a4670
UD
34953 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34954 * conform/data/limits.h-data: Fixes for POSIX2008.
34955 * conform/run-conformtest.sh: Run all tests.
34956 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34957 headers.
34958 * include/bits/dlfcn.h: Likewise.
34959 * include/langinfo.h: Likewise.
34960 * include/monetary.h: Likewise.
34961 * include/sys/poll.h: Likewise.
34962
34963 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34964 for __USE_GNU.
34965 * posix/spawn.h: Define __need_sigset_t.
34966 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34967 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34968 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34969 to get sigevent_t only.
34970 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34971 only for __USE_GNU.
34972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34973 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34974 process_vm_writev only for __USE_GNU.
34975 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34976
34977 * conform/Makefile: For now ignore errors from run-conformtest.
34978 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34979 POSIX to avoid namespace pollution. Don't prepend headers.
34980 * conform/data/aio.h-data: Fixes for POSIX testing.
34981 * conform/data/fcntl.h-data: Likewise.
34982 * conform/data/glob.h-data: Likewise.
34983 * conform/data/grp.h-data: Likewise.
34984 * conform/data/pthread.h-data: Likewise.
34985 * conform/data/pwd.h-data: Likewise.
34986 * conform/data/signal.h-data: Likewise.
34987 * conform/data/spawn.h-data: Likewise.
34988 * conform/data/stdio.h-data: Likewise.
34989 * conform/data/stdlib.h-data: Likewise.
34990 * conform/data/stropts.h-data: Likewise.
34991 * conform/data/sys/mman.h-data: Likewise.
34992 * conform/data/sys/stat.h-data: Likewise.
34993 * conform/data/sys/types.h-data: Likewise.
34994 * conform/data/sys/wait.h-data: Likewise.
34995 * conform/data/time.h-data: Likewise.
34996 * conform/data/unistd.h-data: Likewise.
34997 * conform/data/utime.h-data: Likewise.
34998
34999 * io/sys/stat.h: fchmod was always in POSIX.
35000 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35001 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35002 * rt/aio.h: Define __need_timespec before including <time.h>.
35003 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35004 struct. Add forward declaration of pthread_attr_t and use it in
35005 sigevent.
35006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35008 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35009 always remove CLK_TCK definition.
35010
c20105c3
AS
350112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35012
35013 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35014
7a270350
UD
350152012-02-25 Ulrich Drepper <drepper@gmail.com>
35016
31341567
UD
35017 * conform/run-conformtest.sh: New file.
35018 * conform/Makefile: Run run-conformtest for tests.
35019 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35020 support.
35021
35022 * conform/data/uchar.h-data: New file.
35023 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35024 * conform/data/arpa/inet.h-data: Likewise.
35025 * conform/data/assert.h-data: Likewise.
35026 * conform/data/complex.h-data: Likewise.
35027 * conform/data/cpio.h-data: Likewise.
35028 * conform/data/ctype.h-data: Likewise.
35029 * conform/data/dirent.h-data: Likewise.
35030 * conform/data/dlfcn.h-data: Likewise.
35031 * conform/data/errno.h-data: Likewise.
35032 * conform/data/fcntl.h-data: Likewise.
35033 * conform/data/float.h-data: Likewise.
35034 * conform/data/fmtmsg.h-data: Likewise.
35035 * conform/data/fnmatch.h-data: Likewise.
35036 * conform/data/ftw.h-data: Likewise.
35037 * conform/data/glob.h-data: Likewise.
35038 * conform/data/grp.h-data: Likewise.
35039 * conform/data/iconv.h-data: Likewise.
35040 * conform/data/inttypes.h-data: Likewise.
35041 * conform/data/langinfo.h-data: Likewise.
35042 * conform/data/libgen.h-data: Likewise.
35043 * conform/data/limits.h-data: Likewise.
35044 * conform/data/locale.h-data: Likewise.
35045 * conform/data/math.h-data: Likewise.
35046 * conform/data/monetary.h-data: Likewise.
35047 * conform/data/mqueue.h-data: Likewise.
35048 * conform/data/ndbm.h-data: Likewise.
35049 * conform/data/net/if.h-data: Likewise.
35050 * conform/data/netdb.h-data: Likewise.
35051 * conform/data/netinet/in.h-data: Likewise.
35052 * conform/data/nl_types.h-data: Likewise.
35053 * conform/data/poll.h-data: Likewise.
35054 * conform/data/pthread.h-data: Likewise.
35055 * conform/data/pwd.h-data: Likewise.
35056 * conform/data/regex.h-data: Likewise.
35057 * conform/data/sched.h-data: Likewise.
35058 * conform/data/search.h-data: Likewise.
35059 * conform/data/semaphore.h-data: Likewise.
35060 * conform/data/setjmp.h-data: Likewise.
35061 * conform/data/signal.h-data: Likewise.
35062 * conform/data/spawn.h-data: Likewise.
35063 * conform/data/stdarg.h-data: Likewise.
35064 * conform/data/stdio.h-data: Likewise.
35065 * conform/data/stdlib.h-data: Likewise.
35066 * conform/data/string.h-data: Likewise.
35067 * conform/data/strings.h-data: Likewise.
35068 * conform/data/stropts.h-data: Likewise.
35069 * conform/data/sys/ipc.h-data: Likewise.
35070 * conform/data/sys/mman.h-data: Likewise.
35071 * conform/data/sys/msg.h-data: Likewise.
35072 * conform/data/sys/resource.h-data: Likewise.
35073 * conform/data/sys/select.h-data: Likewise.
35074 * conform/data/sys/sem.h-data: Likewise.
35075 * conform/data/sys/shm.h-data: Likewise.
35076 * conform/data/sys/socket.h-data: Likewise.
35077 * conform/data/sys/stat.h-data: Likewise.
35078 * conform/data/sys/statvfs.h-data: Likewise.
35079 * conform/data/sys/time.h-data: Likewise.
35080 * conform/data/sys/timeb.h-data: Likewise.
35081 * conform/data/sys/times.h-data: Likewise.
35082 * conform/data/sys/types.h-data: Likewise.
35083 * conform/data/sys/uio.h-data: Likewise.
35084 * conform/data/sys/un.h-data: Likewise.
35085 * conform/data/sys/utsname.h-data: Likewise.
35086 * conform/data/sys/wait.h-data: Likewise.
35087 * conform/data/syslog.h-data: Likewise.
35088 * conform/data/tar.h-data: Likewise.
35089 * conform/data/termios.h-data: Likewise.
35090 * conform/data/utime.h-data: Likewise.
35091 * conform/data/utmpx.h-data: Likewise.
35092 * conform/data/varargs.h-data: Likewise.
35093 * conform/data/wchar.h-data: Likewise.
35094 * conform/data/wctype.h-data: Likewise.
35095 * conform/data/wordexp.h-data: Likewise.
35096
35097 * include/stropts.h: New file.
35098 * include/uchar.h: New file.
35099 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35100 * include/assert.h: Likewise.
35101 * include/ctype.h: Likewise.
35102 * include/dirent.h: Likewise.
35103 * include/dlfcn.h: Likewise.
35104 * include/fcntl.h: Likewise.
35105 * include/fnmatch.h: Likewise.
35106 * include/glob.h: Likewise.
35107 * include/grp.h: Likewise.
35108 * include/libio.h: Likewise.
35109 * include/locale.h: Likewise.
35110 * include/math.h: Likewise.
35111 * include/net/if.h: Likewise.
35112 * include/netdb.h: Likewise.
35113 * include/netinet/in.h: Likewise.
35114 * include/pthread.h: Likewise.
35115 * include/pwd.h: Likewise.
35116 * include/regex.h: Likewise.
35117 * include/sched.h: Likewise.
35118 * include/search.h: Likewise.
35119 * include/setjmp.h: Likewise.
35120 * include/signal.h: Likewise.
35121 * include/stdio.h: Likewise.
35122 * include/stdlib.h: Likewise.
35123 * include/string.h: Likewise.
35124 * include/sys/cdefs.h: Likewise.
35125 * include/sys/mman.h: Likewise.
35126 * include/sys/msg.h: Likewise.
35127 * include/sys/resource.h: Likewise.
35128 * include/sys/select.h: Likewise.
35129 * include/sys/socket.h: Likewise.
35130 * include/sys/stat.h: Likewise.
35131 * include/sys/statvfs.h: Likewise.
35132 * include/sys/time.h: Likewise.
35133 * include/sys/times.h: Likewise.
35134 * include/sys/uio.h: Likewise.
35135 * include/sys/utsname.h: Likewise.
35136 * include/sys/wait.h: Likewise.
35137 * include/termios.h: Likewise.
35138 * include/time.h: Likewise.
35139 * include/ulimit.h: Likewise.
35140 * include/unistd.h: Likewise.
35141 * include/utime.h: Likewise.
35142 * include/wchar.h: Likewise.
35143 * include/wctype.h: Likewise.
35144 * include/wordexp.h: Likewise.
35145
35146 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35147
7a270350
UD
35148 * time/time.h: TIME_UTC must be a macro.
35149 Make timespec_get available for ISO C11 only as well.
35150
7724defc
UD
351512012-02-24 Ulrich Drepper <drepper@gmail.com>
35152
35153 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35154 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35155
6b1d1d46
JM
351562012-02-24 Joseph Myers <joseph@codesourcery.com>
35157
35158 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35159
0f8bbd69
JM
351602012-02-24 Joseph Myers <joseph@codesourcery.com>
35161
35162 * manual/texinfo.tex: Update to version 2012-01-19.16.
35163
66ab80bc
JM
351642012-02-24 Joseph Myers <joseph@codesourcery.com>
35165
35166 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35167
74981cc5
RM
351682012-02-24 Roland McGrath <roland@hack.frob.com>
35169
ee968201
RM
35170 [BZ #13738]
35171 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35172 * manual/fdl-1.3.texi: New file.
35173 * manual/fdl-1.1.texi: File removed.
35174
74981cc5
RM
35175 [BZ #13738]
35176 * manual/libc.texinfo (FDL_VERSION): New @set.
35177 Use it for mention of FDL in cover text.
35178 (Documentation License): Use it in @include file name.
35179
7bb764bc
JM
351802012-02-22 Joseph Myers <joseph@codesourcery.com>
35181 Roland McGrath <roland@hack.frob.com>
35182
35183 [BZ #5461]
57f41c40
AS
35184 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35185 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35186 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35187 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35188 name.
35189 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35190
6cbeae47
JM
351912012-02-22 Joseph Myers <joseph@codesourcery.com>
35192
35193 [BZ #2547]
35194 [BZ #11365]
35195 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35196 manipulate bits before adding and subtracting TWO23[sx].
35197 * math/libm-test.inc (nearbyint_test): Add more tests.
35198
fe45ce09
JM
351992012-02-22 Joseph Myers <joseph@codesourcery.com>
35200
35201 [BZ #2548]
35202 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35203 bits before adding and subtracting TWO23[sx].
35204 * math/libm-test.inc (rint_test): Add more tests.
35205 (rint_test_tonearest): Likewise.
35206 (rint_test_towardzero): Likewise.
35207 (rint_test_downward): Likewise.
35208 (rint_test_upward: Likewise.
35209
ff3b3d82
JM
352102012-02-22 Joseph Myers <joseph@codesourcery.com>
35211
35212 [BZ #10110]
35213 * include/stdc-predef.h: New file. Extracted from features.h.
35214 * include/features.h: Include stdc-predef.h.
35215 * Makefile (headers): Add stdc-predef.h.
35216 * CONFORMANCE (Compiler limitations): Update.
35217
ef0aab35
JM
352182012-02-22 Joseph Myers <joseph@codesourcery.com>
35219
35220 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35221
58639409
DM
352222012-02-21 David S. Miller <davem@davemloft.net>
35223
35224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35225 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35226
c0e70b25
DM
352272012-02-20 David S. Miller <davem@davemloft.net>
35228
35229 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35230 using a normal save/restore sequence, rather than allocating a
35231 dummy stack frame just to store a frame pointer and restore.
35232 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35233
fb06851d
JM
352342012-02-21 Joseph Myers <joseph@codesourcery.com>
35235
35236 * manual/install.texi: Fix stray word in line-wrapped comment.
35237
7a8b71c3
DM
352382012-02-20 David S. Miller <davem@davemloft.net>
35239
d510c123
DM
35240 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35241 both binutils and gcc support GOTDATA.
35242
0722d7c2
DM
35243 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35244 "rd %pc" in the PIC register setup sequences.
35245
3d2b3019
DM
35246 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35247 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35248 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35249 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35250 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35255 (SYSCALL_ERROR_HANDLER): Likewise.
35256 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35257 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35259 (SYSCALL_ERROR_HANDLER): Likewise.
35260
c80098a9
DM
35261 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35262 (HAVE_GCC_GOTDATA): New.
35263 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35264 relocation support in both binutils and gcc.
35265 * sysdeps/sparc/elf/configure: Regenerate.
35266
3a2545a0
DM
35267 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35268 * sysdeps/sparc/sparc32/elf/configure: Delete.
35269 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35270 * sysdeps/sparc/sparc64/elf/configure: Delete.
35271 * sysdeps/sparc/elf/configure.in: New file.
35272 * sysdeps/sparc/elf/configure: Generate.
35273
7a8b71c3
DM
35274 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35275 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35276 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35277 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35278 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35279
f1e86fca
JM
352802012-02-21 Joseph Myers <joseph@codesourcery.com>
35281
35282 * manual/install.texi: Do not mention specific glibc version
35283 numbers.
35284 * manual/libc.texinfo (VERSION, UPDATED): Update.
35285 (@copying): Use @copyright{} and range of years.
35286
0e7dfaef
JM
352872012-02-21 Joseph Myers <joseph@codesourcery.com>
35288
35289 [BZ #13695]
35290 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35291 [crti.S not in sysdirs] (generated): Do not append.
35292 [crti.S not in sysdirs] (omit-deps): Likewise.
35293 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35294 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35295 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35296 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35297 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35298 Likewise.
35299 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35300 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35301 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35302 * csu/defs.awk: Remove file.
35303 * sysdeps/generic/initfini.c: Likewise.
35304 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35305 variable.
35306 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35307 Likewise.
35308
599af3ca
JM
353092012-02-20 Joseph Myers <joseph@codesourcery.com>
35310
35311 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35312 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35313 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35314 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35315 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35316 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35317 <bits/epoll.h>.
35318 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35319 (__EPOLL_PACKED): Define to empty if not defined by
35320 <bits/epoll.h>.
35321 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35323 bits/epoll.h.
35324
0e499750
JM
353252012-02-20 Joseph Myers <joseph@codesourcery.com>
35326
35327 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35328 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35329 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35330 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35331 <bits/timerfd.h>.
35332 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35334 bits/timerfd.h.
35335
5ad91f6e
JM
353362012-02-20 Joseph Myers <joseph@codesourcery.com>
35337
35338 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35339 in C locale.
35340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35341 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35344
06b99b02
AJ
353452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35346
35347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35349
7638c0fd
AS
353502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35351
35352 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35353 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35354 defined.
35355 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35356 Likewise.
35357 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35358 entry for 2.16.
35359
92221550
AJ
353602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35361
35362 * math/w_acos.c: Use non-signaling floating-point comparisons.
35363 * math/w_acosf.c: Likewise.
35364 * math/w_acosh.c: Likewise.
35365 * math/w_acoshf.c: Likewise.
35366 * math/w_acoshl.c: Likewise.
35367 * math/w_acosl.c: Likewise.
35368 * math/w_asin.c: Likewise.
35369 * math/w_asinf.c: Likewise.
35370 * math/w_asinl.c: Likewise.
35371 * math/w_atanh.c: Likewise.
35372 * math/w_atanhf.c: Likewise.
35373 * math/w_atanhl.c: Likewise.
35374 * math/w_exp2.c: Likewise.
35375 * math/w_exp2f.c: Likewise.
35376 * math/w_exp2l.c: Likewise.
35377 * math/w_j0.c: Likewise.
35378 * math/w_j0f.c: Likewise.
35379 * math/w_j0l.c: Likewise.
35380 * math/w_j1.c: Likewise.
35381 * math/w_j1f.c: Likewise.
35382 * math/w_j1l.c: Likewise.
35383 * math/w_jn.c: Likewise.
35384 * math/w_jnf.c: Likewise.
35385 * math/w_log.c: Likewise.
35386 * math/w_log10.c: Likewise.
35387 * math/w_log10f.c: Likewise.
35388 * math/w_log10l.c: Likewise.
35389 * math/w_log2.c: Likewise.
35390 * math/w_log2f.c: Likewise.
35391 * math/w_log2l.c: Likewise.
35392 * math/w_logf.c: Likewise.
35393 * math/w_logl.c: Likewise.
35394 * math/w_sqrt.c: Likewise.
35395 * math/w_sqrtf.c: Likewise.
35396 * math/w_sqrtl.c: Likewise.
35397 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35398 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35399 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35400 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35401 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35402
ebaf36eb
JM
354032012-02-19 Joseph Myers <joseph@codesourcery.com>
35404
35405 [BZ #9739]
35406 * manual/string.texi (strnlen): Use correct parameter name in
35407 equivalent expression.
35408
71c254a6
JM
354092012-02-19 Joseph Myers <joseph@codesourcery.com>
35410
35411 [BZ #11174]
35412 * manual/users.texi (seteuid): Consistently use neweuid for
35413 argument name.
35414
16d2c631
JM
354152012-02-19 Joseph Myers <joseph@codesourcery.com>
35416
35417 [BZ #13704]
35418 * manual/nss.texi (Services in the NSS configuration): Correct
35419 list of services in example configuration file.
35420
cd837b09
NB
354212012-02-19 Nick Bowler <nbowler@draconx.ca>
35422
35423 [BZ #11322]
35424 * manual/arith.texi: Remove statements about negative zero
35425 behaving identically to zero.
35426
02c4bbad
JM
354272012-02-18 Joseph Myers <joseph@codesourcery.com>
35428
35429 [BZ #5993]
35430 * manual/install.texi: Do not document upgrading from libc5.
35431
366842e7
JM
354322012-02-18 Joseph Myers <joseph@codesourcery.com>
35433
35434 [BZ #4596]
35435 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35436
dd54084d
DM
354372012-02-18 David S. Miller <davem@davemloft.net>
35438
35439 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35440 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35441 %o7 across the call.
35442 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35443 instead.
35444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35445 SETUP_PIC_REG_LEAF.
35446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35447 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35448 * sysdeps/sparc/crtn.S: Likewise.
35449
2bcc53a3
UD
354502012-02-17 Ulrich Drepper <drepper@gmail.com>
35451
35452 * aout/Makefile: Remove.
35453
09c093b5
RK
354542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35455
35456 [BZ #13058]
35457 * manual/examples/argp-ex1.c (main): Format definition in GNU
35458 style.
35459 * manual/examples/argp-ex2.c (main): Likewise.
35460 * manual/examples/argp-ex3.c (main): Likewise.
35461 * manual/examples/argp-ex4.c (main): Likewise.
35462 * manual/examples/longopt.c (main): Use new-style prototype
35463 definition.
35464 * manual/examples/strncat.c (main): Specify return type and use
35465 (void) for arguments.
35466 * manual/examples/subopt.c (main): Use char **argv argument.
35467
2ee633a2
JM
354682012-02-17 Joseph Myers <joseph@codesourcery.com>
35469
35470 [BZ #5077]
35471 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35472 rounding modes.
35473
0520adde
FB
354742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35475
35476 [BZ #6907]
35477 * manual/string.texi (strchr): Change when strchrnul is
35478 recommended.
35479
3f4081cd
DGM
354802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35481
35482 [BZ #174]
35483 * manual/locale.texi (setlocale): Document LOCPATH.
35484
d1b10e78
JM
354852012-02-17 Joseph Myers <joseph@codesourcery.com>
35486
35487 [BZ #10210]
35488 * manual/process.texi (execle): Move @dots{} before last argument.
35489
79c6869c
PB
354902012-02-17 Paul Bolle <pebolle@tiscali.nl>
35491
35492 [BZ #12047]
35493 * manual/charset.texi (Generic Charset Conversion): Fix typo
35494 (LC_TYPE -> LC_CTYPE).
35495
cc6e48bc
NB
354962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35497
35498 [BZ #5805]
35499 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35500 (scalbnf): Likewise.
35501 (scalbnl): Likewise.
35502 (scalbln): Likewise.
35503 (scalblnf): Likewise.
35504 (scalblnl): Likewise.
35505 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35506 (vwarnx): Likewise.
35507 (verr): Likewise.
35508 (verrx): Likewise.
35509 * manual/filesys.texi (telldir): Use braces around return type.
35510 * manual/llio.texi (mmap): Add space after comma.
35511 (mmap64): Likewise.
35512 * manual/math.texi (jn): Use @var{} on parameter names.
35513 (jnf): Likewise.
35514 (jnl): Likewise.
35515 (yn): Likewise.
35516 (ynf): Likewise.
35517 (ynl): Likewise.
35518 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35519 line.
35520 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35521 "...".
35522 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35523 (sched_get_priority_max): Likewise.
35524 * manual/signal.texi (sigvec): Add space after comma.
35525 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35526 names.
35527 (if_indextoname): Likewise.
35528 (if_freenameindex): Likewise.
35529 (sendto): Use ',' instead of '.' in prototype.
35530 * manual/startup.texi (syscall): Use @dots{} instead of literal
35531 "...".
35532 * manual/stdio.texi (__fpending): Separate initial words of
35533 paragraph from @deftypefun line.
35534 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35535 "...".
35536 (vsyslog): Use @var{} on parameter names.
35537 * manual/terminal.texi (stty): Use @var{} on parameter names.
35538 * manual/users.texi (getutmp): Use @var{} on parameter names.
35539 (getutmpx): Likewise.
35540
5b23062f
JM
355412012-02-17 Joseph Myers <joseph@codesourcery.com>
35542
35543 [BZ #6884]
35544 * manual/stdio.texi (fopen): Fix typos in description of
35545 ",ccs=STRING".
35546
8dee4833
AJ
355472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35548
35549 [BZ #4026]
35550 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35551 get clock_id definition.
35552
9078ce93
TS
355532012-02-17 Thomas Schwinge <thomas@schwinge.name>
35554
35555 [BZ #4822]
35556 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35557 (madvise): Cast every argument to void on its own.
35558
3835c55f
JM
355592012-02-17 Joseph Myers <joseph@codesourcery.com>
35560
35561 [BZ #9902]
35562 * manual/startup.texi (Exit Status): Fix typo.
35563
35c47e37
JM
355642012-02-17 Joseph Myers <joseph@codesourcery.com>
35565
35566 [BZ #10140]
35567 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35568 * manual/examples/argp-ex2.c: Likewise.
35569 * manual/examples/argp-ex3.c: Likewise.
35570
e3b69ca7
RH
355712012-02-16 Richard Henderson <rth@redhat.com>
35572
35573 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35574 * sysdeps/s390/s390-32/initfini.c: Remove.
35575 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35576 * sysdeps/s390/s390-64/initfini.c: Remove.
35577
df83af67
KK
355782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35579
35580 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35581 compiler output for sysdeps/generic/initfini.c.
35582 * sysdeps/sh/elf/initfini.c: Remove file.
35583
f63f3380
DM
355842012-02-16 David S. Miller <davem@davemloft.net>
35585
fb59b3a4
DM
35586 [BZ #11494]
35587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35588
f63f3380
DM
35589 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35590 * sysdeps/sparc/crti.S: New file.
35591 * sysdeps/sparc/crtn.S: New file.
35592 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35593 * sysdeps/sparc/sparc64/Makefile: Likewise.
35594
df6a4a4a
MF
355952012-02-15 Mike Frysinger <vapier@gentoo.org>
35596
6dd8f3dc 35597 [BZ #3335]
df6a4a4a
MF
35598 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35599
1cac7236
RM
356002012-02-15 Roland McGrath <roland@hack.frob.com>
35601
d2c736f8
RM
35602 [BZ #4822]
35603 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35604
1cac7236
RM
35605 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35606 (write, read, close): Likewise.
35607 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35608
8e475601
JM
356092012-02-15 Joseph Myers <joseph@codesourcery.com>
35610
35611 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35612 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35613 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35614 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35615 <bits/signalfd.h>.
35616 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35618 bits/signalfd.h.
35619
ed656b40
MP
356202012-02-14 Marek Polacek <polacek@redhat.com>
35621
35622 * sysdeps/x86_64/crti.S: New file.
35623 * sysdeps/x86_64/crtn.S: New file.
35624 * sysdeps/x86_64/elf/initfini.c: Remove file.
35625
2a979d3a
JM
356262012-02-13 Joseph Myers <joseph@codesourcery.com>
35627
35628 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35629 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35630 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35631 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35632 <bits/inotify.h>.
35633 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35635 bits/inotify.h.
35636
2a418ac3
JM
356372012-02-13 Joseph Myers <joseph@codesourcery.com>
35638
35639 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35640 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35641 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35642 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35643 <bits/eventfd.h>.
35644 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35646 bits/eventfd.h.
35647
fb779be7
TS
356482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35649
e19e83c5
RM
35650 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35651 __feraiseexcept instead of feraiseexcept.
7c35ffed 35652
fb779be7
TS
35653 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35654 nanosleep invocations.
35655 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35656 strings, and add error checking for a nanosleep invocations.
35657
59ba27a6
PE
356582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35659
35660 Replace FSF snail mail address with URLs, as per GNU coding standards.
35661 Most of the snail mail addresses were wrong anyway, and omitting
35662 them makes the source code easier to maintain. Almost all of the
35663 changes are to license notices and to locale LC_IDENTIFICATION
35664 addresses, except for this one:
35665 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35666 not its snail mail address.
35667
57b957eb
RH
356682012-02-09 Richard Henderson <rth@twiddle.net>
35669
af850b1c
RH
35670 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35671 of kernel-features.h.
35672
57b957eb
RH
35673 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35674
6b73181a
MP
356752012-02-08 Marek Polacek <polacek@redhat.com>
35676
35677 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35678 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35679 * sysdeps/gnu/_G_config.h: Likewise.
35680 * sysdeps/generic/_G_config.h: Likewise.
35681
26ecc33a
AS
356822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35683
6c6dbc63
AS
35684 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35685 tests.
35686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35687
e216c012
AS
35688 * sysdeps/powerpc/powerpc32/crti.S: New file.
35689 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35690 * sysdeps/powerpc/powerpc64/crti.S: New file.
35691 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35692
26ecc33a
AS
35693 * Makeconfig (have-initfini): Don't set.
35694 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35695 * configure.in (nopic_initfini): Don't substitute.
35696 * config.h.in (HAVE_INITFINI): Don't #undef.
35697 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35698 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35699
3add8e13
JM
357002012-02-08 Joseph Myers <joseph@codesourcery.com>
35701
35702 Support crti.S and crtn.S provided directly by architectures.
35703 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35704 [crti.S in sysdirs] (omit-deps): Likewise.
35705 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35706 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35707 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35708 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35709 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35710 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35711 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35712 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35713 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35714 compiler output for sysdeps/generic/initfini.c.
35715 * sysdeps/i386/elf/Makefile: Remove file.
35716 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35717
a22f12b4
MP
357182012-02-07 Marek Polacek <polacek@redhat.com>
35719
35720 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35721 * sysdeps/gnu/_G_config.h: Likewise.
35722 * sysdeps/mach/hurd/_G_config.h: Likewise.
35723
148cf100
MP
357242012-02-07 Marek Polacek <polacek@redhat.com>
35725
35726 * math/Makefile (tests): Add tst-CMPLX2.
35727 * math/tst-CMPLX2.c: New file.
35728
cfdc0dd7
AS
357292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35730
84ba42c4
AS
35731 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35732
cfdc0dd7
AS
35733 * math/libm-test.inc (jn_test): Add missing L suffix.
35734
622c86f4
MP
357352012-02-06 Marek Polacek <polacek@redhat.com>
35736
35737 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35738 * sysdeps/i386/fpu/e_powf.S: Likewise.
35739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35740 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35742 * sysdeps/i386/fpu/e_pow.S: Likewise.
35743 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35744 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35745 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35746 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35747 * sysdeps/i386/fpu/e_log2.S: Likewise.
35748 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35749 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35750 * sysdeps/i386/fpu/e_powl.S: Likewise.
35751 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35752 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35753 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35754 * sysdeps/i386/fpu/e_logl.S: Likewise.
35755 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35756 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35757 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35758 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35759 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35761 * sysdeps/i386/fpu/e_log.S: Likewise.
35762 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35763 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35764 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35765 * sysdeps/i386/fpu/e_logf.S: Likewise.
35766 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35767 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35768 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35769 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35770 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35771 * sysdeps/i386/fpu/e_log10.S: Likewise.
35772 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35773 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35774 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35775 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35776 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35777 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35778 * sysdeps/i386/asm-syntax.h: Likewise.
35779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35781 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35782 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35783 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35784 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35785 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35786 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35787 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35788 * sysdeps/powerpc/sysdep.h: Likewise.
35789 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35790 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35791
d4a54ac6
JM
357922012-02-06 Joseph Myers <joseph@codesourcery.com>
35793
35794 [BZ #411]
35795 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35796
314054ea
JM
357972012-02-06 Joseph Myers <joseph@codesourcery.com>
35798
35799 * sysdeps/i386/sysdep.h: Include <features.h>.
35800 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35801 version.
35802
d8e0ca50
JM
358032012-02-05 Joseph Myers <joseph@codesourcery.com>
35804
35805 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35806 Define.
35807 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35808 LOAD_PIC_REG_STR.
35809
b1da7dd9
JM
358102012-02-03 Joseph Myers <joseph@codesourcery.com>
35811
35812 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35813 (SETUP_PIC_REG): Use GET_PC_THUNK.
35814 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35815 macro.
35816
9a1d9254
JM
358172012-02-03 Joseph Myers <joseph@codesourcery.com>
35818
35819 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35820 for non-PIC compilation.
35821 (SETUP_PIC_REG): Add .p2align directive.
35822 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35823 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35824 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35825 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35826 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35827 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35828 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35830 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35832 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35834 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35835 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35836 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35838 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35841 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35844 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35849 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35850 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35851 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35853 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35855 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35857 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35859 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35861 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35863
65dc3b75
JM
358642012-02-03 Joseph Myers <joseph@codesourcery.com>
35865
35866 * math/tst-CMPLX.c: Include <stdio.h>.
35867
d55bf177
JM
358682012-01-31 Joseph Myers <joseph@codesourcery.com>
35869
35870 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35871 float.
35872 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35873 * sysdeps/sparc/bits/mathdef.h: Likewise.
35874
69db4f8f
MP
358752012-01-31 Marek Polacek <polacek@redhat.com>
35876
35877 * libio/libio.h: Don't define _PARAMS.
35878 * locale/programs/config.h: Don't define PARAMS.
35879 * stdlib/strtol_l.c: Likewise.
35880 (__strtol_l): Remove PARAMS from the prototype.
35881
41b81892
UD
358822012-01-31 Ulrich Drepper <drepper@gmail.com>
35883
3b49edc0
UD
35884 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35885 names. Just use the correct names. Remove unnecessary wrapper
35886 functions.
35887 * malloc/arena.c: Likewise.
35888 * malloc/hooks.c: Likewise.
35889
41b81892
UD
35890 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35891 ARENA_TEST says not to. Simplify test for creation of a new arena.
35892 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35893
27a25b6e
UD
358942012-01-30 Ulrich Drepper <drepper@gmail.com>
35895
35896 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35897 into tail calls.
35898 (update_get_addr): New function.
35899 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35900 GET_ADDR_MODULE parameter.
35901
c8a89e7d
JM
359022012-01-30 Joseph Myers <joseph@codesourcery.com>
35903
35904 * crypt/cert.c: Remove __STDC__ conditionals.
35905 * crypt/crypt-entry.c: Likewise.
35906 * crypt/crypt_util.c: Likewise.
35907 * libio/filedoalloc.c: Likewise.
35908 * libio/fileops.c: Likewise.
35909 * libio/genops.c: Likewise.
35910 * libio/iofclose.c: Likewise.
35911 * libio/iofdopen.c: Likewise.
35912 * libio/iofopen.c: Likewise.
35913 * libio/iofopen64.c: Likewise.
35914 * libio/iogetdelim.c: Likewise.
35915 * libio/iopopen.c: Likewise.
35916 * libio/obprintf.c: Likewise.
35917 * libio/oldfileops.c: Likewise.
35918 * libio/oldiofclose.c: Likewise.
35919 * libio/oldiofdopen.c: Likewise.
35920 * libio/oldiofopen.c: Likewise.
35921 * libio/oldiopopen.c: Likewise.
35922 * libio/wfiledoalloc.c: Likewise.
35923 * libio/wgenops.c: Likewise.
35924 * locale/programs/xmalloc.c: Likewise.
35925 * misc/syslog.c: Likewise.
35926 * stdio-common/xbug.c: Likewise.
35927 * string/memchr.c: Likewise.
35928 * string/memcmp.c: Likewise.
35929 * string/memrchr.c: Likewise.
35930 * string/rawmemchr.c: Likewise.
35931 * sysdeps/posix/getcwd.c: Likewise.
35932 * time/strftime_l.c: Likewise.
35933
3b100462
JM
359342012-01-30 Joseph Myers <joseph@codesourcery.com>
35935
35936 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35937 * config.make.in (config-cflags-sse2avx): Define.
35938 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35939 Fix typo.
35940
607998af
CM
359412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35942
35943 * scripts/config.guess: Update from upstream config git repository.
35944 * scripts/config.sub: Likewise.
35945
3601428f
CM
359462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35947
3ac8b282
CM
35948 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35949 (EM_NUM): Update.
35950 (R_TILEPRO_*, R_TILEGX_*): New macros.
35951
e034841e
CM
35952 * scripts/firstversions.awk: Fix bug in version range handling.
35953
540d7568
CM
35954 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35955
3601428f
CM
35956 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35957
463de862
CM
35958 * include/sys/epoll.h: New file.
35959 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35960 libc_hidden_def.
35961
73139a76
UD
359622012-01-28 Ulrich Drepper <drepper@gmail.com>
35963
96bc5b45
UD
35964 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35965 Avoid unnecessary __WORDSIZE == 64 test.
35966 (fmaxf): Use VEX format if possible.
35967 (fmax): Likewise.
35968 (fminf): Likewise.
35969 (fmin): Likewise.
35970
56f6f6a2
UD
35971 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35972 * math/math_private.h: Remove libc_fegetround* and
35973 libc_fesetround*.
35974 * sysdeps/i386/configure.in: Check for -msse2avx.
35975 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35976 also if SSE2AVX is defined.
35977 Remove libc_fegetround* and libc_fesetround*.
35978 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35979 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35980 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35981 of HAS_YMM_USABLE.
35982 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35983 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35985 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35986 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35987
73139a76
UD
35988 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35989
d73f93a4
AZ
359902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35991
35992 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35993 size is not set.
35994 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35995
6ee65ed6
UD
359962012-01-27 Ulrich Drepper <drepper@gmail.com>
35997
35998 [BZ #13618]
35999 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36000 relocation.
36001 * Makeconfig (libm): Define.
36002 * elf/Makefile: Add rules to build and run tst-relsort1.
36003 * elf/tst-relsort1.c: New file.
36004 * elf/tst-relsort1mod1.c: New file.
36005 * elf/tst-relsort1mod2.c: New file.
36006
8db21882
JM
360072012-01-27 Joseph Myers <joseph@codesourcery.com>
36008
36009 * math/s_ldexp.c: Remove __STDC__ conditionals.
36010 * math/s_ldexpf.c: Likewise.
36011 * math/s_ldexpl.c: Likewise.
36012 * math/s_nextafter.c: Likewise.
36013 * math/s_nexttowardf.c: Likewise.
36014 * math/s_significand.c: Likewise.
36015 * math/s_significandf.c: Likewise.
36016 * math/s_significandl.c: Likewise.
36017 * math/w_jnl.c: Likewise.
36018 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36019 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36020 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36021 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36022 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36024 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36027 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36028 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36030 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36031 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36032 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36034 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36035 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36037 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36038 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36039 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36040 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36042 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36043 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36044 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36045 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36046 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36047 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36048 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36049 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36050 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36051 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36052 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36053 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36054 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36055 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36056 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36057 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36058 * sysdeps/ieee754/k_standard.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36114 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36115 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36117 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36118 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36120 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36122 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36125 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36127 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36128 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36133 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36138 * sysdeps/ieee754/s_matherr.c: Likewise.
36139 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36140 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36143
965a54a4
JM
361442012-01-26 Joseph Myers <joseph@codesourcery.com>
36145
36146 * crypt/md5.h: Remove __STDC__ conditionals.
36147 * libio/libioP.h: Likewise.
36148 * locale/programs/config.h: Likewise.
36149 * sysdeps/generic/sysdep.h: Likewise.
36150 * sysdeps/i386/asm-syntax.h: Likewise.
36151 * sysdeps/s390/asm-syntax.h: Likewise.
36152 * sysdeps/unix/sysdep.h: Likewise.
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36155
7071ad79
JM
361562012-01-26 Joseph Myers <joseph@codesourcery.com>
36157
36158 * libio/libio.h: Remove __STDC__ conditionals.
36159 * malloc/obstack.h: Likewise.
36160 * math/complex.h: Likewise.
36161 * math/math.h: Likewise.
36162 * sysdeps/generic/_G_config.h: Likewise.
36163 * sysdeps/gnu/_G_config.h: Likewise.
36164 * sysdeps/mach/hurd/_G_config.h: Likewise.
36165 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36166 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36167 * sysdeps/sparc/bits/mathdef.h: Likewise.
36168
afc5ed09
UD
361692012-01-26 Ulrich Drepper <drepper@gmail.com>
36170
36171 [BZ #13583]
36172 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36173 Clean up HAS_* macros.
afc5ed09 36174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36175 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36176 possible.
36177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36178 HAS_AVX.
36179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36184
bdb6de1d
JM
361852012-01-25 Joseph Myers <joseph@codesourcery.com>
36186
36187 * elf/tst-unique3.cc (gets): Remove declaration.
36188 * elf/tst-unique3lib.cc (gets): Likewise.
36189 * elf/tst-unique3lib2.cc (gets): Likewise.
36190 * elf/tst-unique4.cc (gets): Likewise.
36191
b15549e6
UD
361922012-01-24 Ulrich Drepper <drepper@gmail.com>
36193
36194 * include/stdio.h: Add C++ protection. Add gets declarations and
36195 definitions.
36196 * debug/tst-chk1.c: Don't declare gets here.
36197 * stdio-common/tst-gets.c: Likewise.
36198
a037381f
JM
361992012-01-24 Joseph Myers <joseph@codesourcery.com>
36200
36201 * posix/glob: Remove directory.
36202
f1d4aa75
JM
362032012-01-24 Joseph Myers <joseph@codesourcery.com>
36204
36205 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36206
81c0c964
PT
362072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36208
36209 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36210 of the non-standard EPFNOSUPPORT.
36211
0ea698ae
ST
362122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36213
36214 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36215 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36216 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36217
d220b117
UD
362182012-01-21 Ulrich Drepper <drepper@gmail.com>
36219
36220 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36221
3e1aa84e
UD
362222012-01-20 Ulrich Drepper <drepper@gmail.com>
36223
36224 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36225 transient errors.
36226 * nscd/grpcache.c (cache_addgr): Likewise.
36227 * nscd/hstcache.c (cache_addhst): Likewise.
36228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36229 * nscd/pwdcache.c (cache_addpw): Likewise.
36230 * nscd/servicescache.c (cache_addserv): Likewise.
36231
400aa020
UD
362322012-01-16 Ulrich Drepper <drepper@gmail.com>
36233
d77e7869
UD
36234 * malloc/malloc.c: Various cleanups.
36235 * malloc/hooks.c: Likewise.
36236
400aa020
UD
36237 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36238 * stdlib/bug-fmtmsg1.c: New file.
36239
36240 * stdlib/fmtmsg.c (init): Add missing unlock.
36241 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36242
e0a309cf
MP
362432012-01-12 Marek Polacek <polacek@redhat.com>
36244
36245 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36246 and _GNU_SOURCE.
36247
929d11c7
WS
362482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36249
36250 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36251 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36252 macro to ensure uniqueness of label name.
36253 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36254 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36255
41d0e869
UD
362562012-01-11 Ulrich Drepper <drepper@gmail.com>
36257
0cc5ed3b
UD
36258 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36259
41d0e869
UD
36260 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36261 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36264
a47a831a
UD
362652012-01-10 Ulrich Drepper <drepper@gmail.com>
36266
daa891c0
UD
36267 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36268
36269 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36270 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36271 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36272
e58ef0f2
UD
36273 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36274
a47a831a 36275 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36276 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36279
36280 * math/bits/math-finite.h: Add ldexp support.
36281
a0bfc9c7
MP
362822012-01-10 Marek Polacek <polacek@redhat.com>
36283
36284 * locale/programs/localedef.h (show_archive_content): Add noreturn
36285 attribute.
36286
d6e97a1d
UD
362872012-01-09 Ulrich Drepper <drepper@gmail.com>
36288
36289 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36290
d5835c26
UD
362912012-01-08 Ulrich Drepper <drepper@gmail.com>
36292
e5f484c6
UD
36293 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36294
d5835c26
UD
36295 * io/Makefile (headers): Add bits/poll2.h.
36296
d1f741e9
WS
362972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36298
36299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36300 typo #include statement.
36301
ec09c1c4
UD
363022012-01-08 Ulrich Drepper <drepper@gmail.com>
36303
36304 * include/sys/cdefs.h: Define __attribute_alloc_size.
36305 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36306 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36307 * elf/pldd.c: Likewise.
36308 * iconv/iconv_charmap.c: Likewise.
36309 * iconv/iconvconfig.c: Likewise.
36310 * iconv/strtab.c: Likewise.
36311 * locale/programs/locale.c: Likewise.
36312 * locale/programs/localedef.h: Likewise.
36313 * locale/programs/simple-hash.c: Likewise.
36314 * nscd/nscd.h: Likewise.
36315 * nss/makedb.c: Likewise.
36316 * sysdeps/generic/ldconfig.h: Likewise.
36317 * locale/programs/localedef.c: Remove xmalloc prototype.
36318 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36319
20b38e03
PP
363202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36321
36322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36323 appropriate.
36324
a0da5fe1
UD
363252012-01-08 Ulrich Drepper <drepper@gmail.com>
36326
1d5a644a 36327 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36328 * math/tst-CMPLX.c: New file.
1d5a644a 36329
8784a6db
UD
36330 * math/complex.h (CMPLXL): Fix typo.
36331
d9a216c0
UD
36332 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36333 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36334 GLIBC_2.16.
36335 * debug/tst-chk1.c: Add poll and ppoll tests.
36336 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36337 * include/sys/poll.h: Add hidden proto for ppoll.
36338 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36339 * sysdeps/mach/hurd/ppoll.c: Likewise.
36340 * io/ppoll.c: Likewise.
36341 * debug/poll_chk.c: New file.
36342 * debug/ppoll_chk.c: New file.
36343 * include/bits/poll2.h: New file.
36344 * io/bits/poll2.h: New file.
36345
ac097f5c
UD
36346 [BZ #1350]
36347 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36348
2119dcfa
UD
36349 * configure.in: static is always set to yes. Remove.
36350 * config.make.in: Don't set build-static.
36351 * Makeconfig: Remove use of build-static.
36352 * dlfcn/Makefile: Likewise.
36353 * elf/Makefile: Likewise.
36354 * math/Makefile: Likewise.
36355 * misc/Makefile: Likewise.
36356 * nptl/Makefile: Likewise.
36357 * sysdeps/mach/hurd/Makefile: Likewise.
36358
121766a9
UD
36359 * configure.in: PWD_P is not used anymore.
36360 * config.make.in: Remove PWD_P entry.
36361
51a1d39c 36362 * configure.in: Remove last remnants of RANLIB.
8720d066 36363 No need to check for signed size_t anymore.
215f4bdc
UD
36364 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36365 and IA-64.
3857022a 36366 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36367 * aclocal.m4: Likewise.
36368
d3ed7225
UD
36369 * wcsmbs/mbrtoc16.c: Implement using towc function.
36370 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36371 * wcsmbs/wcsmbsload.c: Likewise.
36372 * iconv/gconv_simple.c: Likewise.
36373 * iconv/gconv_int.h: Likewise.
36374 * iconv/gconv_builtin.h: Likewise.
36375 * iconv/iconv_prog.c: Remove CHAR16 handling.
36376
36377 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36378
36379 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36380
a0da5fe1
UD
36381 * configure.in: Remove --with-elf and --enable-bounded options.
36382 Dont set base_machine for ia64. More non-ELF conditions removed.
36383 Remove testing and setting of leading underscore information.
36384 * config.make.in (build-bounded): Set to no.
36385 * config.h.in: Remove NO_UNDERSCORES entry.
36386 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36387 them.
36388 * csu/start.c: Remove !NO_UNDERSCORE code.
36389 * locale/localeinfo.h: Likewise.
36390 * sysdeps/generic/machine-gmon.h: Likewise.
36391 * sysdeps/generic/sysdep.h: Likewise.
36392 * sysdeps/i386/sysdep.h: Likewise.
36393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36394 * sysdeps/mach/sysdep.h: Likewise.
36395 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36396 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36397 * sysdeps/sh/sysdep.h: Likewise.
36398 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36399 * sysdeps/unix/i386/sysdep.S: Likewise.
36400 * sysdeps/unix/sparc/start.c: Likewise.
36401 * sysdeps/unix/sparc/sysdep.S: Likewise.
36402 * sysdeps/unix/sparc/sysdep.h: Likewise.
36403 * sysdeps/unix/start.c: Likewise.
36404 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36405 * sysdeps/x86_64/sysdep.h: Likewise.
36406
df78418a
UD
364072012-01-07 Ulrich Drepper <drepper@gmail.com>
36408
a784e502
UD
36409 [BZ #13553]
36410 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36411 for non-gcc.
36412 * argp/argp-fmtstream.h: Use const instead __const.
36413 * argp/argp.h: Likewise.
36414 * assert/assert.h: Likewise.
36415 * bits/fenv.h: Likewise.
36416 * bits/sched.h: Likewise.
36417 * bits/sigset.h: Likewise.
36418 * bits/sigthread.h: Likewise.
36419 * catgets/nl_types.h: Likewise.
36420 * conform/data/pthread.h-data: Likewise.
36421 * crypt/crypt-private.h: Likewise.
36422 * crypt/crypt.h: Likewise.
36423 * crypt/crypt_util.c: Likewise.
36424 * ctype/ctype.h: Likewise.
36425 * debug/execinfo.h: Likewise.
36426 * debug/mbsnrtowcs_chk.c: Likewise.
36427 * debug/mbsrtowcs_chk.c: Likewise.
36428 * debug/wcsnrtombs_chk.c: Likewise.
36429 * debug/wcsrtombs_chk.c: Likewise.
36430 * debug/wcstombs_chk.c: Likewise.
36431 * dirent/dirent.h: Likewise.
36432 * dlfcn/dlfcn.h: Likewise.
36433 * elf/neededtest4.c: Likewise.
36434 * grp/grp.h: Likewise.
36435 * gshadow/gshadow.h: Likewise.
36436 * iconv/gconv.h: Likewise.
36437 * iconv/gconv_int.h: Likewise.
36438 * iconv/gconv_simple.c: Likewise.
36439 * iconv/iconv.h: Likewise.
36440 * iconv/loop.c: Likewise.
36441 * iconv/skeleton.c: Likewise.
36442 * include/aio.h: Likewise.
36443 * include/aliases.h: Likewise.
36444 * include/argz.h: Likewise.
36445 * include/arpa/inet.h: Likewise.
36446 * include/assert.h: Likewise.
36447 * include/dirent.h: Likewise.
36448 * include/dlfcn.h: Likewise.
36449 * include/execinfo.h: Likewise.
36450 * include/fcntl.h: Likewise.
36451 * include/fenv.h: Likewise.
36452 * include/glob.h: Likewise.
36453 * include/grp.h: Likewise.
36454 * include/libintl.h: Likewise.
36455 * include/mntent.h: Likewise.
36456 * include/netdb.h: Likewise.
36457 * include/pwd.h: Likewise.
36458 * include/rpc/netdb.h: Likewise.
36459 * include/sched.h: Likewise.
36460 * include/search.h: Likewise.
36461 * include/shadow.h: Likewise.
36462 * include/signal.h: Likewise.
36463 * include/stdio.h: Likewise.
36464 * include/stdlib.h: Likewise.
36465 * include/string.h: Likewise.
36466 * include/sys/socket.h: Likewise.
36467 * include/sys/stat.h: Likewise.
36468 * include/sys/statfs.h: Likewise.
36469 * include/sys/statvfs.h: Likewise.
36470 * include/sys/syslog.h: Likewise.
36471 * include/sys/time.h: Likewise.
36472 * include/sys/uio.h: Likewise.
36473 * include/time.h: Likewise.
36474 * include/unistd.h: Likewise.
36475 * include/utmp.h: Likewise.
36476 * include/wchar.h: Likewise.
36477 * include/wctype.h: Likewise.
36478 * inet/aliases.h: Likewise.
36479 * inet/arpa/inet.h: Likewise.
36480 * inet/netinet/ether.h: Likewise.
36481 * inet/netinet/in.h: Likewise.
36482 * intl/libintl.h: Likewise.
36483 * io/bits/fcntl2.h: Likewise.
36484 * io/fcntl.h: Likewise.
36485 * io/ftw.h: Likewise.
36486 * io/sys/poll.h: Likewise.
36487 * io/sys/stat.h: Likewise.
36488 * io/sys/statfs.h: Likewise.
36489 * io/sys/statvfs.h: Likewise.
36490 * io/utime.h: Likewise.
36491 * libio/bits/stdio.h: Likewise.
36492 * libio/bits/stdio2.h: Likewise.
36493 * libio/libio.h: Likewise.
36494 * libio/libioP.h: Likewise.
36495 * libio/stdio.h: Likewise.
36496 * locale/lc-ctype.c: Likewise.
36497 * locale/locale.h: Likewise.
36498 * login/utmp.h: Likewise.
36499 * malloc/arena.c: Likewise.
36500 * malloc/malloc.c: Likewise.
36501 * malloc/malloc.h: Likewise.
36502 * malloc/mcheck.c: Likewise.
36503 * malloc/mtrace.c: Likewise.
36504 * math/bits/mathcalls.h: Likewise.
36505 * math/fenv.h: Likewise.
36506 * math/math_private.h: Likewise.
36507 * misc/bits/error.h: Likewise.
36508 * misc/bits/syslog.h: Likewise.
36509 * misc/err.h: Likewise.
36510 * misc/error.h: Likewise.
36511 * misc/fstab.h: Likewise.
36512 * misc/mntent.h: Likewise.
36513 * misc/regexp.h: Likewise.
36514 * misc/search.h: Likewise.
36515 * misc/sgtty.h: Likewise.
36516 * misc/sys/mman.h: Likewise.
36517 * misc/sys/syslog.h: Likewise.
36518 * misc/sys/uio.h: Likewise.
36519 * misc/sys/xattr.h: Likewise.
36520 * misc/ttyent.h: Likewise.
36521 * nis/rpcsvc/ypclnt.h: Likewise.
36522 * nss/nss.h: Likewise.
36523 * posix/bits/unistd.h: Likewise.
36524 * posix/fnmatch.h: Likewise.
36525 * posix/glob.h: Likewise.
36526 * posix/sched.h: Likewise.
36527 * posix/spawn.h: Likewise.
36528 * posix/sys/wait.h: Likewise.
36529 * posix/unistd.h: Likewise.
36530 * posix/wordexp.h: Likewise.
36531 * pwd/pwd.h: Likewise.
36532 * resolv/netdb.h: Likewise.
36533 * resource/sys/resource.h: Likewise.
36534 * rt/aio.h: Likewise.
36535 * rt/bits/mqueue2.h: Likewise.
36536 * rt/mqueue.h: Likewise.
36537 * shadow/shadow.h: Likewise.
36538 * signal/signal.h: Likewise.
36539 * socket/send.c: Likewise.
36540 * socket/sendto.c: Likewise.
36541 * socket/sys/socket.h: Likewise.
36542 * stdio-common/printf.h: Likewise.
36543 * stdlib/bits/stdlib.h: Likewise.
36544 * stdlib/fmtmsg.h: Likewise.
36545 * stdlib/monetary.h: Likewise.
36546 * stdlib/stdlib.h: Likewise.
36547 * stdlib/ucontext.h: Likewise.
36548 * streams/stropts.h: Likewise.
36549 * string/argz.h: Likewise.
36550 * string/bits/string2.h: Likewise.
36551 * string/string.h: Likewise.
36552 * string/strings.h: Likewise.
36553 * sunrpc/rpc/auth.h: Likewise.
36554 * sunrpc/rpc/auth_des.h: Likewise.
36555 * sunrpc/rpc/clnt.h: Likewise.
36556 * sunrpc/rpc/netdb.h: Likewise.
36557 * sunrpc/rpc/pmap_clnt.h: Likewise.
36558 * sunrpc/rpc/xdr.h: Likewise.
36559 * sysdeps/generic/inttypes.h: Likewise.
36560 * sysdeps/generic/net/if.h: Likewise.
36561 * sysdeps/generic/sys/swap.h: Likewise.
36562 * sysdeps/gnu/net/if.h: Likewise.
36563 * sysdeps/gnu/utmpx.h: Likewise.
36564 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36565 * sysdeps/i386/i486/bits/string.h: Likewise.
36566 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36567 * sysdeps/s390/bits/string.h: Likewise.
36568 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36569 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36570 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36571 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36572 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36573 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36574 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36575 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36576 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36577 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36578 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36579 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36580 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36581 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36582 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36583 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36584 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36586 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36588 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36589 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36590 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36591 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36592 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36593 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36594 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36596 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36597 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36598 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36599 * sysvipc/sys/ipc.h: Likewise.
36600 * sysvipc/sys/msg.h: Likewise.
36601 * sysvipc/sys/sem.h: Likewise.
36602 * sysvipc/sys/shm.h: Likewise.
36603 * termios/termios.h: Likewise.
36604 * time/sys/time.h: Likewise.
36605 * time/time.h: Likewise.
36606 * wcsmbs/bits/wchar2.h: Likewise.
36607 * wcsmbs/uchar.h: Likewise.
36608 * wcsmbs/wchar.h: Likewise.
36609 * wctype/wctype.h: Likewise.
36610
0269750c
UD
36611 [BZ #13551]
36612 * Makeconfig: Remove all but ELF support including AIX support.
36613 * Makerules: Likewise.
36614 * config.h.in: Likewise.
36615 * config.make.in: Likewise.
36616 * configure: Likewise.
36617 * configure.in: Likewise.
36618 * csu/Makefile: Likewise.
36619 * csu/version.c: Likewise.
36620 * debug/Makefile: Likewise.
36621 * dlfcn/Makefile: Likewise.
36622 * elf/Makefile: Likewise.
36623 * extra-lib.mk: Likewise.
36624 * iconv/Makefile: Likewise.
36625 * include/libc-symbols.h: Likewise.
36626 * include/shlib-compat.h: Likewise.
36627 * resolv/Makefile: Likewise.
36628 * resolv/res_libc.c: Likewise.
36629 * rt/Makefile: Likewise.
36630 * sysdeps/i386/asm-syntax.h: Likewise.
36631 * sysdeps/i386/sysdep.h: Likewise.
36632 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36633 * sysdeps/mach/sysdep.h: Likewise.
36634 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36635 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36636 * sysdeps/s390/asm-syntax.h: Likewise.
36637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36639 * sysdeps/sh/sysdep.h: Likewise.
36640 * sysdeps/unix/sparc/sysdep.h: Likewise.
36641 * sysdeps/wordsize-32/divdi3.c: Likewise.
36642 * sysdeps/x86_64/sysdep.h: Likewise.
36643
00bbd29b
UD
36644 * argp/Versions: Remove _argp_unlock_xxx.
36645
36646 [BZ #13559]
36647 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36648 * abilist/libBrokenLocale.abilist: Likewise.
36649 * abilist/libanl.abilist: Likewise.
36650 * abilist/libc.abilist: Likewise.
36651 * abilist/libcrypt.abilist: Likewise.
36652 * abilist/libdl.abilist: Likewise.
36653 * abilist/libm.abilist: Likewise.
36654 * abilist/libnsl.abilist: Likewise.
36655 * abilist/libpthread.abilist: Likewise.
36656 * abilist/libresolv.abilist: Likewise.
36657 * abilist/librt.abilist: Likewise.
36658 * abilist/libthread_db.abilist: Likewise.
36659 * abilist/libutil.abilist: Likewise.
36660 * abilist/libnss_db.abilist: New file.
36661
36662 * scripts/abilist.awk: Add support for indirect functions.
36663
a2693a0e
UD
36664 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36665
3f05895f
UD
36666 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36667
ecb6fb48
UD
36668 * shlib-versions: Remove entries for ports architectures.
36669
664f8cb9
UD
36670 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36671 files in ports.
36672 * elf/stackguard-macros.h: Remove support for IA-64.
36673 * elf/tst-auditmod1.c: Likewise.
36674 * sysdeps/generic/ldsodefs.h: Likewise.
36675
7ae81d88
UD
36676 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36677 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36678 configure files.
36679
bdeba135
UD
36680 [BZ #13552]
36681 * configure.in: Remove --enable-omitfp support.
36682 * FAQ.in: Adjust.
36683 * config.make.in: Likewise.
36684 * Makeconfig: Likewise.
36685 * manual/install.texi: Likewise.
36686
d75a0a62
UD
36687 In case anyone cares, the IA-64 architecture could move to ports.
36688 * sysdeps/ia64/*: Removed.
36689 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36690 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36691
dcc9756b
UD
36692 [BZ #13555]
36693 * configure.in: Remove entries for unsupported architectures.
36694
d3761ebc 36695 [BZ #13533]
9954432e
UD
36696 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36697 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36698 routines.
36699 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36700 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36701 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36702 fall back to using wcrtomb.
36703 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36704 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36705 renaming.
36706 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36707 * wcsmbs/tst-c16c32-1.c: New file.
36708
36709 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36710 local variable.
36711
c3a87236
UD
36712 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36713
28926a1b
UD
36714 * elf/tst-unique3.cc: Add explicit declaration of gets.
36715 * elf/tst-unique3lib.cc: Likewise.
36716 * elf/tst-unique3lib2.cc: Likewise.
36717 * elf/tst-unique4.cc: Likewise.
36718
df78418a
UD
36719 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36720
8ecd6b2a
JM
367212012-01-06 Joseph Myers <joseph@codesourcery.com>
36722
36723 [BZ #13566]
36724 * assert/assert.h (static_assert): Don't define for C++.
36725 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36726 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36727
9f115170
UD
367282012-01-03 Ulrich Drepper <drepper@gmail.com>
36729
5e0d0300
UD
36730 * iconv/loop.c (single loop): Fix assertion in storing of
36731 remaining bytes.
36732
9f115170
UD
36733 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36734
81fb02b0
UD
367352012-01-01 Ulrich Drepper <drepper@gmail.com>
36736
36737 * posix/getconf.c: Update copyright year.
36738 * nss/getent.c: Likewise.
a316c1f6 36739 * nss/makedb.c: Likewise.
81fb02b0
UD
36740 * iconv/iconvconfig.c: Likewise.
36741 * iconv/iconv_prog.c: Likewise.
36742 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36743 * elf/pldd.c: Likewise.
36744 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36745 * catgets/gencat.c: Likewise.
36746 * csu/version.c: Likewise.
36747 * elf/ldd.bash.in: Likewise.
36748 * elf/sprof.c (print_version): Likewise.
36749 * locale/programs/locale.c: Likewise.
36750 * locale/programs/localedef.c: Likewise.
a316c1f6 36751 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36752 * nscd/nscd.c (print_version): Likewise.
36753 * debug/xtrace.sh: Likewise.
36754 * malloc/memusage.sh: Likewise.
36755 * malloc/mtrace.pl: Likewise.
36756 * debug/catchsegv.sh: Likewise.
36757
2ba92745
JJ
367582011-12-30 Jakub Jelinek <jakub@redhat.com>
36759
36760 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36761 pure attribute.
36762
dadebdae
UD
367632011-12-24 Ulrich Drepper <drepper@gmail.com>
36764
d3761ebc 36765 [BZ #13533]
db6af3eb
UD
36766 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36767 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36768 transformations.
36769 * iconv/gconv_int.h: Likewise.
36770 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36771 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36772 from libc for GLIBC_2.16.
36773 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36774 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36775 * wcsmbs/uchar.h: Really define mbstate_t.
36776 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36777 * wcsmbs/c16rtomb.c: New file.
36778 * wcsmbs/mbrtoc16.c: New file.
36779 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36780 for C/POSIX locale.
36781 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36782 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36783
dadebdae
UD
36784 * wcsmbs/wchar.h: Add missing __restrict.
36785
67371b56
UD
367862011-12-23 Ulrich Drepper <drepper@gmail.com>
36787
74033a25
UD
36788 [BZ #13532]
36789 * time/Makefile (routines): Add timespec_get.
36790 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36791 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36792 timespec for ISO C11.
36793 * time/timespec_get.c: New file.
36794 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36795 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36796
380d7e87
UD
36797 [BZ #13531]
36798 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36799 * stdlib/stdlib.h: Declare aligned_alloc.
36800 * Versions.def: Add GLIBC_2.16 for libc.
36801 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36802
4e9e7a35
UD
36803 [BZ 13527]
36804 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36805 ISO C11.
36806
380d7e87 36807 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36808 code.
36809
03a71829
UD
36810 [BZ #13528]
36811 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36812
839e283e
UD
36813 [BZ #13529]
36814 * assert/assert.h (static_assert): Define.
36815
ce5294e2 36816 * version.h: Update for 2.16 development version.
90fa7312 36817
8d44e150 36818 [BZ #13526]
d7809905
UD
36819 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36820 _ISOC11_SOURCE.
36821
c0da14cd
UD
36822 * version.h (RELEASE): Bump for 2.15 release.
36823 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36824
530a3249
MP
36825 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36826 Patch by Marek Polacek <mpolacek@redhat.com>.
36827
67371b56
UD
36828 * bits/byteswap.h: Protect long long constants with __extension__.
36829 * sysdeps/i386/bits/byteswap.h: Likewise.
36830 * sysdeps/ia64/bits/byteswap.h: Likewise.
36831 * sysdeps/s390/bits/byteswap.h: Likewise.
36832 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36833
15db4de1
LD
368342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36835
36836 [BZ #13540]
bbe315ea
LD
36837 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36838 destination buffer.
15db4de1
LD
36839 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36840
2b2596b1
MP
368412011-12-23 Marek Polacek <polacek@redhat.com>
36842
36843 * elf/dl-addr.c (determine_info): Add inline keyword.
36844 * elf/tst-auditmod4b.c (check_avx): Likewise.
36845 * elf/tst-auditmod6b.c (check_avx): Likewise.
36846 * elf/tst-auditmod6c.c (check_avx): Likewise.
36847 * elf/tst-auditmod7b.c (check_avx): Likewise.
36848
70c6c246
UD
368492011-12-23 Ulrich Drepper <drepper@gmail.com>
36850
36851 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36852 !__SSE_MATH__.
36853
c044cf14
LD
368542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36855
15db4de1 36856 [BZ #13540]
c044cf14
LD
36857 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36858 processing for last bytes.
36859
6b13d9d9
BH
368602011-08-06 Bruno Haible <bruno@clisp.org>
36861
d455f537
BH
36862 [BZ #13061]
36863 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36864 U+0385, not to U+1FEE.
36865
6b13d9d9
BH
36866 [BZ #13062]
36867 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36868 entry for U+00A5 U+0301.
36869
db910efd
UD
368702011-12-22 Ulrich Drepper <drepper@gmail.com>
36871
27deeafc
UD
36872 [BZ #13166]
36873 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36874 buffer for the output is too small.
36875
aed9d171
UD
36876 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36877 optimization.
36878
db910efd
UD
36879 [BZ #13185]
36880 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36881 SSE flags if possible.
36882
2bd779ae
LD
368832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36884
e7f9dac3 36885 [BZ #13540]
2bd779ae
LD
36886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36887 processing for last bytes.
36888
154bfc16
JM
368892011-12-22 Joseph Myers <joseph@codesourcery.com>
36890
36891 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36892 (syscall-list-default-options, syscall-list-default-condition)
36893 (syscall-list-includes): Define.
36894 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36895 list of ABIs and options and #if conditions for each ABI. Do not
36896 handle common syscalls between ABIs specially.
36897 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36898 Remove.
36899 (syscall-list-variants, syscall-list-32bit-options)
36900 (syscall-list-32bit-condition, syscall-list-64bit-options)
36901 (syscall-list-64bit-condition): Define.
36902 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36903 (syscall-list-variants, syscall-list-32bit-options)
36904 (syscall-list-32bit-condition, syscall-list-64bit-options)
36905 (syscall-list-64bit-condition): Define.
36906 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36907 Remove.
36908 (syscall-list-variants, syscall-list-32bit-options)
36909 (syscall-list-32bit-condition, syscall-list-64bit-options)
36910 (syscall-list-64bit-condition): Define.
36911 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36912 Remove.
36913 (syscall-list-variants, syscall-list-32bit-options)
36914 (syscall-list-32bit-condition, syscall-list-64bit-options)
36915 (syscall-list-64bit-condition): Define.
36916
21eaf3a5
UD
369172011-12-22 Ulrich Drepper <drepper@gmail.com>
36918
16c6f992
UD
36919 * locale/iso-639.def: Add brx entry.
36920
41043168
UD
36921 [BZ #13328]
36922 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36923 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36924
21eaf3a5
UD
36925 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36926 __feraiseexcept_renamed.
36927
e3a851a2
UD
369282011-12-21 Ulrich Drepper <drepper@gmail.com>
36929
4920765e
UD
36930 [BZ #13538]
36931 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36932 EPOLLET with unsigned values.
36933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36935
e3a851a2
UD
36936 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36937 to large cancellation.
36938 * math/s_cacoshf.c: Likewise.
36939 * math/s_cacoshl.c: Likewise.
36940
b27e24b8
RK
369412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36942
36943 [BZ #13305]
aebefeee 36944 [BZ #12786]
b27e24b8
RK
36945 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36946 * math/s_cacoshf.c: Likewise.
36947 * math/s_cacoshl.c: Likewise.
36948
ee190f67
UD
369492011-12-21 Ulrich Drepper <drepper@gmail.com>
36950
36951 [BZ #13439]
36952 * iconv/gconv.h: Define __GCONV_SWAP.
36953 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36954 * iconvdata/utf-16.c: Likewise.
36955 * iconvdata/utf-32.c: Likewise.
36956
707f25df
AS
369572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36958
36959 [BZ #13524]
36960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36961 numerator after shifting it by one limb.
36962
d2daaa1e
RÁE
369632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36964
36965 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36966 under [__USE_EXTERN_INLINES].
36967
a4647e72
UD
369682011-12-17 Ulrich Drepper <drepper@gmail.com>
36969
36970 [BZ #13446]
36971 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36972
f0b264f1
AZ
369732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36974
36975 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36976 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36977 optimized code.
36978 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36979 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36980 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36981 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36982 for strncasecmp/strncasecmp_l compilation.
36983 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36984 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36985
8ef4f244
MP
369862011-12-08 Marek Polacek <mpolacek@redhat.com>
36987
36988 [BZ #13484]
36989 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36990 of __asm__.
36991
97ac2654
UD
369922011-12-17 Ulrich Drepper <drepper@gmail.com>
36993
36994 [BZ #13506]
36995 * time/tzfile.c (__tzfile_read): Check values from file header.
36996
91d2a845
WS
369972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36998
36999 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37000 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37001 * powerpc/powerpc32/dl-start.S: Likewise.
37002 * powerpc/powerpc32/elf/start.S: Likewise.
37003 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37004 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37005 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37006 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37007 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37008 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37009 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37010 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37011 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37012 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37013 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37014 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37015 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37016 * powerpc/powerpc32/memset.S: Likewise.
37017 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37018 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37019 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37020 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37021 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37022 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37023 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37024 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37025 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37026 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37027 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37028 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37029 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37030
a1267ba1
AZ
370312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37032
37033 * math/libm-test.inc: Added more nearbyint tests.
37034 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37035 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37038
ad8ac1bd
RL
370392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37040
37041 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37042 FD_CLOEXEC.
37043
1d3e4b61
UD
370442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37045
37046 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37047 Add wcscpy-ssse3 wcscpy-c.
37048 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37049 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37050 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37051 * sysdeps/x86_64/wcschr.S: New file.
37052 * sysdeps/x86_64/wcsrchr.S: New file.
37053 * string/test-strcmp.c: Remove checking of wcscmp function for
37054 wrong alignments.
37055 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37056 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37057 wcsrchr-sse2 wcsrchr-c.
37058 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37059 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37060 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37061 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37062 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37063 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37064 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37065 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37066 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37067 * wcsmbc/wcschr.c (WCSCHR): New macro.
37068
5b330a2d
UD
370692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37070
37071 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37072 * wcsmbs/test-wcsrchr.c: New file.
37073 * string/test-strrchr.c: Add wcsrchr support.
37074 (WIDE): New macro.
37075 * wcsmbs/test-wcscpy.c: New file.
37076 * string/test-strcpy.c: Add wcscpy support.
37077 (WIDE): New macro.
26428b7c 37078
f039c043
UD
370792011-12-10 Ulrich Drepper <drepper@gmail.com>
37080
37081 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37082 the inner loop.
37083
850fb039
AS
370842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37085
37086 [BZ #13472]
37087 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37088
4efbd5cb
UD
370892011-12-04 Ulrich Drepper <drepper@gmail.com>
37090
52ff5dd0 37091 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37092 Minor optimizations.
52ff5dd0 37093
4efbd5cb
UD
37094 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37095 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37096 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37097
8a426e12
UD
370982011-12-03 Ulrich Drepper <drepper@gmail.com>
37099
aff2453d
UD
37100 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37101 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37102 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37103 for gcc to avoid warnings.
37104 * inet/Makefile (tests): Add tst-checks.
37105 * inet/tst-checks.c: New file.
37106
37107 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37108 warning.
37109
37110 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37111 __wmemcmp_sse2.
37112
37113 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37114 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37115
8a426e12
UD
37116 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37117
9bea3473
UD
371182011-12-02 Ulrich Drepper <drepper@gmail.com>
37119
3a965496
UD
37120 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37121 problem.
37122
9bea3473
UD
37123 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37124
f101631b
UD
371252011-11-29 Joseph Myers <joseph@codesourcery.com>
37126
37127 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37128 conditional on GCC version.
37129 (__arch_compare_and_exchange_val_8_acq)
37130 (__arch_compare_and_exchange_val_16_acq)
37131 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37132 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37133 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37134
a98275aa
UD
371352011-12-02 Joseph Myers <joseph@codesourcery.com>
37136
37137 * sysdeps/sh/backtrace.c: New file.
37138
d4cc29a2
AS
371392011-12-02 Andreas Schwab <schwab@redhat.com>
37140
37141 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37142 parenthesis.
37143
6257af2d
AS
371442011-12-01 Andreas Schwab <schwab@redhat.com>
37145
37146 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37147 falling back to utime.
37148
b5f44c1a
AS
371492011-11-30 Andreas Schwab <schwab@redhat.com>
37150
37151 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37152 expectations for float.
37153
f3a6cc0a
AS
371542011-11-29 Andreas Schwab <schwab@redhat.com>
37155
37156 * locale/weight.h (findidx): Add parameter len.
37157 * locale/weightwc.h (findidx): Likewise.
37158 * posix/fnmatch_loop.c (FCT): Adjust caller.
37159 * posix/regcomp.c (build_equiv_class): Likewise.
37160 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37161 * posix/regexec.c (check_node_accept_bytes): Likewise.
37162 * string/strcoll_l.c (STRCOLL): Likewise.
37163 * string/strxfrm_l.c (STRXFRM): Likewise.
37164
9d65ea3a
UD
371652011-11-17 Ulrich Drepper <drepper@gmail.com>
37166
37167 * Makefile.in: Remove CVSOPT handling.
37168 * configure.in: Remove use of AC_REVISION.
37169 * iconvdata/Makefile (distribute): No need to filter out CVS.
37170 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37171 handling.
37172
5583a086
AS
371732011-11-16 Andreas Schwab <schwab@redhat.com>
37174
37175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37176 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37177 [USE_AS_STRNCASECMP_L]: Likewise.
37178 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37179 NO_TLS_DIRECT_SEG_REFS.
37180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37181 Fix argument offsets for non-PIC.
37182 [USE_AS_STRNCASECMP_L]: Likewise.
37183 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37184 NO_TLS_DIRECT_SEG_REFS.
37185
d62a8200
UD
371862011-11-15 Ulrich Drepper <drepper@gmail.com>
37187
9d65ea3a 37188 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37189 O_CLOEXEC.
37190 * locale/loadlocale.c (_nl_load_locale): Likewise.
37191
09f93bd3
AS
371922011-11-15 Andreas Schwab <schwab@redhat.com>
37193
446514f9
AS
37194 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37195 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37196 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37197 (SYSCALL_GETTIME): Set errno on error.
37198
09f93bd3
AS
37199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37200 count references to noai6ai_cached.
37201
312be3f9
UD
372022011-11-15 Ulrich Drepper <drepper@gmail.com>
37203
37204 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37205
37206 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37207 FD_CLOEXEC for /proc/self/maps.
37208
37209 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37210 FD_CLOEXEC for /proc/meminfo.
37211
37212 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37213 gai.conf.
37214
37215 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37216 FD_CLOEXEC for given file.
37217
37218 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37219
37220 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37221 FD_CLOEXEC for /etc/hosts.
37222 (_gethtent): Likewise.
37223
37224 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37225
37226 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37227 cancellation and set FD_CLOEXEC for /etc/netgroup.
37228
37229 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37230 reading /etc/publickey.
37231
37232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37233 allow cancellation when reading /etc/group.
37234
37235 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37236 cancellation.
37237 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37238
37239 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37240 when using data file.
37241
37242 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37243
37244 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37245 (write_nis_obj): Use "c" and "e" in fopen.
37246
37247 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37248
37249 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37250
37251 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37252
37253 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37254
37255 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37256 locale.alias.
37257
37258 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37259
37260 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37261
37262 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37263
37264 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37265 file parsing and set FD_CLOEXEC.
37266
82af0fa8
UD
372672011-11-14 Ulrich Drepper <drepper@gmail.com>
37268
37269 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37270
a5fb313c
AS
372712011-11-14 Andreas Schwab <schwab@redhat.com>
37272
37273 * malloc/arena.c (arena_get2): Don't call reused_arena when
37274 _int_new_arena failed.
37275
6abf3465
UD
372762011-11-14 Ulrich Drepper <drepper@gmail.com>
37277
37278 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37279 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37280 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37281 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37282 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37283 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37284 to compile strcasecmp and strncasecmp.
37285 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37286 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37287
37288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37289
76e3966e
UD
372902011-11-13 Ulrich Drepper <drepper@gmail.com>
37291
37292 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37293 locale-defines.sym to gen-as-const-headers.
37294 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37295 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37297 to compile strcasecmp and strncasecmp.
37298 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37299 strcasecmp_l and strncasecmp_l.
37300 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37301 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37302 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37303 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37304 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37305 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37306 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37307 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37308 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37309 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37310 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37311
ab26144e
UD
373122011-11-12 Ulrich Drepper <drepper@gmail.com>
37313
7edb22ef
UD
37314 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37315 result of SYSDEP_GETTIME_CPU to retval.
37316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37317 parameter list to macro. Remove trailing semicolon. Adjust users.
37318
9694fc44
UD
37319 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37320 variable.
37321
8ad89ef8
UD
37322 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37323 mantissa words.
37324 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37325
0c822ef9
UD
37326 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37327 from unused variable.
37328
874e0564
UD
37329 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37330 DWARF definitions.
37331 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37332 for assembling.
37333
3a2edc79
UD
37334 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37335 over namespaces.
37336
f3c2577f
UD
37337 * sunrpc/rpc_prot.c (rejected): Fix case value.
37338
294ce126
UD
37339 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37340 unsigned long long int to avoid warnings in shift.
37341
5e2b63c6
UD
37342 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37343 of use of trans.
37344 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37345 variable tmp.
37346
e7f4b08e
UD
37347 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37348 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37349 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37350
ab26144e
UD
37351 * nis/nis_table.c (nis_list): Use variable of correct type for
37352 result of __follow_path call.
37353
8a6d5255
AZ
373542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37355
37356 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37357 of math functions ceil, trunc, floor, round, and sqrt, when
37358 avaliable on the platform.
37359 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37360 name clash.
37361 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37362 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37363 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37364
aaddc98c
MP
373652011-10-30 Marek Polacek <mpolacek@redhat.com>
37366
37367 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37368 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37369
95b7042b
RM
373702011-11-11 Roland McGrath <roland@hack.frob.com>
37371
37372 * include/unistd.h: Fix __readlink return type.
37373 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37374
57769839
UD
373752011-11-11 Ulrich Drepper <drepper@gmail.com>
37376
37377 * stdlib/ucontext.h: Undo last change for makecontext.
37378
edc5984d
AS
373792011-11-11 Andreas Schwab <schwab@redhat.com>
37380
98591e58
AS
37381 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37382
edc5984d
AS
37383 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37384 * setjmp/setjmp.h: Mark functions as non-leaf.
37385 * setjmp/bits/setjmp2.h: Likewise.
37386 * stdlib/ucontext.h: Likewise.
37387
77cdc054
AS
373882011-11-10 Andreas Schwab <schwab@redhat.com>
37389
37390 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37391 (reused_arena): Don't check arena limit.
37392 (arena_get2): Atomically check arena limit.
37393
fe72eebd
UD
373942011-11-08 Ulrich Drepper <drepper@gmail.com>
37395
5f078c32
UD
37396 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37397 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37398
fe72eebd
UD
37399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37400 instructions.
37401
ae1bc2fa
AS
374022011-11-07 Andreas Schwab <schwab@redhat.com>
37403
7583a88d
AS
37404 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37405 handler when locking.
37406
ae1bc2fa
AS
37407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37408 Fix size of allocated buffer.
37409
10fb0bfa
AS
374102011-11-04 Andreas Schwab <schwab@redhat.com>
37411
998832a4
AS
37412 [BZ #10103]
37413 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37414 declarations for long double functions.
37415 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37416
10fb0bfa
AS
37417 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37418
3d7ba52b
AS
374192011-11-03 Andreas Schwab <schwab@redhat.com>
37420
a9ae54a1
AS
37421 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37422 installed.
37423
3d7ba52b
AS
37424 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37425 is disabled.
37426
bc8db248
ST
374272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37428
37429 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37430
45b96dd6
AS
374312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37432
647776f6
AS
37433 * include/alloca.h (stackinfo_alloca_round): Define.
37434 (extend_alloca): Use it.
37435 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37436 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37437 here.
37438
d91a8b93
AS
37439 * scripts/check-local-headers.sh: Ignore libaudit.h.
37440
45b96dd6
AS
37441 * nscd/Makefile (extra-objs): Make recursively expanded.
37442
432d41ce
UD
374432011-11-01 Ulrich Drepper <drepper@gmail.com>
37444
34372fc6
UD
37445 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37446 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37447
fadb59f8
UD
37448 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37449 * posix/tst-rfc3484-2.c: Likewise.
37450 * posix/tst-rfc3484-3.c: Likewise.
37451
78239589
UD
37452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37453 process_vm_writev.
37454 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37455 process_vm_writev.
37456 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37457 process_vm_writev from libc using GLIBC_2.15 version.
37458
432d41ce
UD
37459 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37460
02f9c6cf
PP
374612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37462
37463 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37464 stack usage.
37465
3a2c0242
UD
374662011-10-31 Ulrich Drepper <drepper@gmail.com>
37467
f4ec4833
UD
37468 [BZ #13367]
37469 * nss/getent.c (initgroups_keys): Show error message in case no group
37470 names are given.
37471
3a2c0242
UD
37472 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37473 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37474 __bump_nl_timestamp.
37475 * nscd/connections (nscd_init): When host database is served open
37476 netlink socket and request notification about configuration changes.
37477 (main_loop_poll): Track netlink file descriptor and bump timestamp
37478 in case data becomes available.
37479 (main_loop_epoll): Likewise.
37480 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37481 (database_pers_head): Add extra_data fileds.
37482 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37483 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37484 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37485 Adjust caller.
37486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37487 in6ai data, call __free_in6ai.
37488 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37489 Add -DHAVE_NETLINK.
37490 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37491 interface information. Reuse previous data if netlink timestamp
37492 is not changed.
37493 (__bump_nl_timestamp): New function.
37494 (__free_in6ai): New function.
37495
636064eb
UD
374962011-10-30 Ulrich Drepper <drepper@gmail.com>
37497
37498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37499 close_not_cancel_no_status here.
37500 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37501
9beb2334
UD
375022011-10-29 Ulrich Drepper <drepper@gmail.com>
37503
6ef76f3b
UD
37504 [BZ #13276]
37505 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37506 return value.
37507
0ffc4f3e 37508 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37509 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37510 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37511
cb95113e
UD
375122011-07-03 Andreas Jaeger <aj@suse.de>
37513
37514 [BZ #10709]
37515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37516 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37517 * math/libm-test.inc (sin_test): Add test case.
37518
a1b560ff
UD
375192011-10-29 Ulrich Drepper <drepper@gmail.com>
37520
c9aaface
UD
37521 [BZ #13337]
37522 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37523 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37524
d272e7f1
UD
37525 * elf/chroot_canon.c (chroot_canon): Cleanups.
37526
1bc33071
UD
37527 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37528
1760874d
TJ
37529 [BZ #13335]
37530 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37531 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37532
51d91b18
UD
37533 * string/test-strchr.c: Make usable for strchrnul testing.
37534 * string/test-strchrnul.c: New file.
37535 * string/Makefile (strop-tests): Add strchrnul.
37536
a1b560ff 37537 * po/it.po: Update from translation team.
b611fb81 37538 * po/es.po: Likewise.
a1b560ff 37539
a5b81e1f
UD
375402011-10-28 Ulrich Drepper <drepper@gmail.com>
37541
fd52bc6d
UD
37542 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37543 the three constants needed as parameters. Drop the others.
37544 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37545 __m128i_strloadu_tolower.
52e4b9eb
UD
37546 Create and initialize variable zero and use it in all the places
37547 where _mm_setzero_si128 was used.
fd52bc6d 37548
a5b81e1f
UD
37549 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37550 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37551 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37552 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37553 anymore.
37554 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37555 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37556 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37557 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37558 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37559 __mpranred, __mptan.
37560 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37561 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37562 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37563 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37564 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37565 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37566 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37567 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37568 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37569
b4343346
AS
375702011-10-28 Andreas Schwab <schwab@redhat.com>
37571
0c92d8a8
AS
37572 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37573 redefine if SHARED.
37574 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37575
b4343346
AS
37576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37577 wide char related routines to wcsmbs subdir.
37578
3871f58f
AS
375792011-10-27 Andreas Schwab <schwab@redhat.com>
37580
37581 [BZ #13344]
37582 * misc/sys/cdefs.h (__THROWNL): Define.
37583 * posix/unistd.h: Use __THREADNL instead of __THREAD
37584 for memory synchronization functions.
37585
94d44d9f
RM
375862011-10-26 Roland McGrath <roland@hack.frob.com>
37587
21b64b15 37588 [BZ #13349]
94d44d9f
RM
37589 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37590 doesn't exist.
37591 * manual/stdio.texi (Obstack Streams): Node removed.
37592
f6ce9294
AS
375932011-10-26 Andreas Schwab <schwab@redhat.com>
37594
80479147
AS
37595 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37596 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37597 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37598
f6ce9294
AS
37599 * math/math_private.h (math_force_eval): Allow non-addressable
37600 arguments.
37601 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37602
618280a1
UD
376032011-10-25 Ulrich Drepper <drepper@gmail.com>
37604
e0016b11
UD
37605 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37606 file is not needed.
37607
37608 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37609 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37610 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37611 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37612 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37613 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37614 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37615 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37616 Add AVX variants.
37617 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37618 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37619 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37620 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37621 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37622 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37623 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37624 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37625 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37626 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37627 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37628 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37629 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37630 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37631 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37632 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37633 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37634 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37635 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37636
37637 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37638 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37639
618280a1
UD
37640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37641 place. Use VEX encoding when compiling for AVX.
37642
37822576
AS
376432011-10-25 Andreas Schwab <schwab@redhat.com>
37644
1f1e1947
AS
37645 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37646 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37647
37822576
AS
37648 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37649
31ea014d
UD
376502011-10-25 Ulrich Drepper <drepper@gmail.com>
37651
d7826aa1 37652 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37653 useless if() expression.
d7826aa1
UD
37654 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37663 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37664 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37665 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37666 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37667 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37669 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37670 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37672 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37673
31ea014d
UD
37674 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37675
16437fec
AS
376762011-10-25 Andreas Schwab <schwab@redhat.com>
37677
37678 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37679 condition.
37680 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37681
31d3cc00
UD
376822011-10-25 Ulrich Drepper <drepper@gmail.com>
37683
37684 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37685 .text section. Avoid duplicate constants.
37686 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37690 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37696 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37698 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37701 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37703 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37706 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37708 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37711 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37712 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37713 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37716 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37717 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37719 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37720 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37721 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37722 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37724 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37725 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37726 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37731
58985aa9
UD
377322011-10-24 Ulrich Drepper <drepper@gmail.com>
37733
202c9deb
UD
37734 * sysdeps/x86_64/dla.h: Move to ...
37735 * sysdeps/x86_64/fpu/dla.h: ...here.
37736 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37737 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37738
af968f62
UD
37739 * config.make.in: Add have-mfma4 entry.
37740 * configure.in: Substitute libc_cv_cc_fma4.
37741 * math/Makefile (dbl-only-routines): Add sincostab.
37742 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37743 Use __sincostab not sincos.
37744 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37745 name is a macro.
37746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37750 using __copysign.
37751 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37752 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37753 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37754 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37755 and __inv.
37756 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37757 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37758 __copysign.
37759 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37760 define aliases when function name is a macro.
37761 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37762 sysdeps/ieee754/dbl-64/sincos.tbl.
37763 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37764 fma4-enabled routines.
37765 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37766 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37767 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37768 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37769 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37770 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37771 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37772 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37774 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37775 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37776 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37777 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37778 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37779 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37780 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37781 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37782 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37783 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37785 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37786 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37788 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37790 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37791 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37795
58985aa9
UD
37796 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37797 rename.
37798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37804 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37806
a201fbcf
AS
378072011-10-24 Andreas Schwab <schwab@redhat.com>
37808
37809 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37810
fc2ee42a
LD
378112011-10-23 Ulrich Drepper <drepper@gmail.com>
37812
bb3129bd
UD
37813 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37814
0275fff8
UD
37815 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37816 prediction.
37817 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37818
2fa2ae85
UD
37819 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37820 Remove unused variable magic_bits.
37821 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37822
fc2ee42a
LD
37823 * string/strnlen.c: Define and use STRNLEN macro.
37824 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37825 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37827 * wcsmbs/wcslen.c: Define and use WCSLEN.
37828 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37829 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37830 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37831 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37832 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37833 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37834 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37835
ce7dd29f
LD
378362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37837
37838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37839 strnlen-sse2-no-bsf.
37840 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37841 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37842 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37843 Add strnlen support.
37844 (USE_AS_STRNLEN): New macro.
37845 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37846 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37847 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37848 * sysdeps/x86_64/wcslen.S: New file.
37849
979c70a3
MZ
378502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37851
37852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37853 XMM-moves are used for copying on small sizes.
37854
2d09f82f
LD
378552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37856
37857 * wcsmbs/Makefile (strop-tests): Add wcschr.
37858 * wcsmbs/test-wcschr.c: New file.
37859 * string/test-strchr.c: Update.
37860 Add wcschr support.
37861 (WIDE): New macro.
37862
619fccca
LD
378632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37864
2d09f82f 37865 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37866 * wcsmbs/test-wcslen.c: New file.
37867 * string/test-strlen.c: Update.
37868 Add wcslen support.
37869 (WIDE): New macro.
37870
09f699ea
UD
378712011-10-23 Ulrich Drepper <drepper@gmail.com>
37872
37873 * po/it.po: Update from translation team.
37874
95584d3b
LD
378752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37876
37877 * sysdeps/x86_64/wcscmp.S: Update.
37878 Fix wrong comparison semantics.
37879 wcscmp shall use signed comparison not unsigned.
37880 Don't use substraction to avoid overflow bug.
37881 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37882 * wcsmbc/wcscmp.c: Likewise.
37883 * string/test-strcmp.c: Likewise.
37884 Add new tests to check cases with negative values.
37885
c8b3296b
UD
378862011-10-23 Ulrich Drepper <drepper@gmail.com>
37887
37888 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37889 * sysdeps/x86_64/dla.h: ...here. New file.
37890 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37899
246ad57a
AS
379002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37901
37902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37903 __ynl_finite aliases.
37904
a1a87169
UD
379052011-10-22 Ulrich Drepper <drepper@gmail.com>
37906
0d355eb7
UD
37907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37908
a1a87169
UD
37909 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37910 define DLA_FMA.
37911 [DLA_FMA] (EMULV): Use DLA_FMA.
37912 [DLA_FMA] (MUL12): Use EMULV.
37913 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37914 that are not needed.
37915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37922
ee2aafe0
AS
379232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37924
37925 * math/s_nan.c: Undef __nan.
37926 * math/s_nanf.c: Undef __nanf.
37927 * math/s_nanl.c: Undef __nanl.
37928 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37929 "math_private.h".
37930
bc62c2fb
UD
379312011-10-22 Ulrich Drepper <drepper@gmail.com>
37932
77425c63
UD
37933 * math/s_catan.c: Add branch predictions.
37934 * math/s_catanf.c: Likewise.
37935 * math/s_catanh.c: Likewise.
37936 * math/s_catanhf.c: Likewise.
37937 * math/s_catanhl.c: Likewise.
37938 * math/s_catanl.c: Likewise.
37939 * math/s_cexp.c: Likewise.
37940 * math/s_cexpf.c: Likewise.
37941 * math/s_cexpl.c: Likewise.
37942 * math/s_clog.c: Likewise.
37943 * math/s_clog10.c: Likewise.
37944 * math/s_clog10f.c: Likewise.
37945 * math/s_clog10l.c: Likewise.
37946 * math/s_clogf.c: Likewise.
37947 * math/s_clogl.c: Likewise.
37948 * math/s_csqrt.c: Likewise.
37949 * math/s_csqrtf.c: Likewise.
37950 * math/s_csqrtl.c: Likewise.
37951 * math/s_ctanf.c: Likewise.
37952 * math/s_ctanh.c: Likewise.
37953 * math/s_ctanhf.c: Likewise.
37954 * math/s_ctanhl.c: Likewise.
37955 * math/s_ctanl.c: Likewise.
37956
bc62c2fb
UD
37957 * math/math_private.h: Define __nan, __nanf, __nanl.
37958 * math/s_cacosh.c: Include <math_private.h>.
37959 * math/s_cacoshl.c: Likewise.
37960 * math/s_casinh.c: Likewise.
37961 * math/s_casinhf.c: Likewise.
37962 * math/s_casinhl.c: Likewise.
37963 * math/s_ccos.c: Rely entire on ccosh.
37964 * math/s_ccosf.c: Rely entire on ccoshf.
37965 * math/s_ccosl.c: Rely entirely on ccoshl.
37966 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37967 Remove tests for FE_INVALID.
37968 * math/s_ccoshf.c: Likewise.
37969 * math/s_ccoshl.c: Likewise.
37970 * math/s_csin.c: Likewise.
37971 * math/s_csinf.c: Likewise.
37972 * math/s_csinh.c Likewise.
37973 * math/s_csinhf.c: Likewise.
37974 * math/s_csinhl.c: Likewise.
37975 * math/s_csinl.c: Likewise.
37976 * math/s_ctan.c: Likewise.
37977 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37978 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37979 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37980
8ec250a4
UD
379812011-10-21 Ulrich Drepper <drepper@gmail.com>
37982
c196fed8
UD
37983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37984 compilation problems.
37985
8ec250a4
UD
37986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37987 __builtin_expect.
37988
8d4f46c6
UD
379892011-10-20 Ulrich Drepper <drepper@gmail.com>
37990
ed72b654
UD
37991 * sysdeps/i386/configure.in: Test for -mfma4 option.
37992 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37993 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37994 COMMON_CPUID_INDEX_80000001.
37995 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37996 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37997 use it if FMA3 is not supported.
37998 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37999
8d4f46c6
UD
38000 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38001 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38002
d45c60c2
AS
380032011-10-20 Andreas Schwab <schwab@redhat.com>
38004
38005 [BZ #12892]
38006 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38007 it would create a cycle with a link time dependency.
38008
d9a4d2ab
UD
380092011-10-19 Ulrich Drepper <drepper@gmail.com>
38010
855d1560
UD
38011 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38012 instruction.
38013 * string/Makefile (strop-tests): Add rawmemchr.
38014 * string/test-rawmemchr.c: New file.
38015
d9a4d2ab
UD
38016 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38017 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38018 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38019 when compiling str{,n}casecmp and when AVX is available. Hook up
38020 new optimized code in initializers.
38021
8f3b1ffe
AS
380222011-10-19 Andreas Schwab <schwab@redhat.com>
38023
38024 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38025 __feraiseexcept instead of feraiseexcept.
38026
d38f1dba
UD
380272011-10-18 Ulrich Drepper <drepper@gmail.com>
38028
d9a8d0ab
UD
38029 * math/math_private.h: Define defaults for libc_fetestexcept and
38030 libc_feupdateenv.
38031 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38032 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38033 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38034 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38035 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38036 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38037 libc_fetestexcept and libc_feupdateenv.
38038
4855e3dd
UD
38039 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38040 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38041 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38042 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38043 libc_feholdexcept_setround.
38044
581d30e3
UD
38045 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38046 Add s_nearbyint-c and s_nearbyintf-c.
38047 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38048 nearbyintf inlines.
38049 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38050 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38051 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38052 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38053
d38f1dba
UD
38054 * math/math_private.h: Define defaults for libc_fegetround,
38055 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38056 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38057 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38058 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38059 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38060 standard functions.
38061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38062 Remove comments and hacks for old compiler versions.
38063 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38064 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38065 libc_feholdexceptl.
38066
caa6c9d8
AS
380672011-10-18 Andreas Schwab <schwab@redhat.com>
38068
38069 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38070 (__feraiseexcept_renamed): Add __NTH.
38071 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38072 namespace violations.
38073
97c066e6
UD
380742011-10-17 Ulrich Drepper <drepper@gmail.com>
38075
99ce7b04
UD
38076 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38077
1004d182
UD
38078 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38079
228a984d
UD
38080 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38081 recently added interfaces.
38082 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38083
c8553a6a
UD
38084 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38085 about macro parameter expansion.
38086
ed22dcf6
UD
38087 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38088 __NO_MATH_INLINES is defined. Cleanups.
38089
38090 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38091 and __floorf is target has SSE4.1.
38092 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38093 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38094 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38095 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38096
b171c137
UD
38097 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38098 name.
38099 (floorf): Likewise.
38100
97c066e6
UD
38101 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38102
629f62ef
AS
381032011-10-17 Andreas Schwab <schwab@redhat.com>
38104
49a43d80
AS
38105 * misc/sys/cdefs.h: Fix last change.
38106
629f62ef
AS
38107 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38108 database lookup.
38109
e453f6cd
UD
381102011-10-16 Ulrich Drepper <drepper@gmail.com>
38111
aa78043a
UD
38112 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38113
ad0f5cad
UD
38114 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38120 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38122 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38123 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38124 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38125 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38126 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38127 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38128 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38129 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38130 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38131 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38132 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38133 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38134 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38135 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38136
38137 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38138 ceil, ceilf, floor, floorf.
38139
38140 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38141 Perform IRELATIVE relocations last.
38142
e453f6cd
UD
38143 * elf/do-rel.h: Add another parameter nrelative, replacing the
38144 local variable with the same name. Change name of the function
38145 to end in Rel or Rela (uppercase).
38146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38147 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38148 elf_dynamic_do_##reloc function.
38149
fd5bdc09
UD
381502011-10-15 Ulrich Drepper <drepper@gmail.com>
38151
79b195b5
UD
38152 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38153 is sufficient, at least on modern CPUs.
38154
d4a28569
UD
38155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38156
b61099b5
UD
38157 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38158 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38159
bcf01e6d
UD
38160 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38161 __expl_finite.
38162 * math/bits/math-finite.h: Add entries for exp.
38163 * math/e_expl.c: Add __*_finite alias.
38164 * sysdeps/i386/fpu/e_exp.S: Likewise.
38165 * sysdeps/i386/fpu/e_expf.S: Likewise.
38166 * sysdeps/i386/fpu/e_expl.c: Likewise.
38167 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38168 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38172 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38173 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38174
ba1a0d59
UD
38175 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38176 is sufficient, at least on modern CPUs.
38177
fd5bdc09
UD
38178 * ctype/ctype-info.c (__ctype_init): Define.
38179 * include/ctype.h (__ctype_init): Declare.
38180 (__ctype_b_loc): The variable is always initialized.
38181 (__ctype_toupper_loc): Likewise.
38182 (__ctype_tolower_loc): Likewise.
38183 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38184 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38185
7872cfb0
AS
381862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38187
b468825a
AS
38188 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38189
7872cfb0
AS
38190 * configure.in: Also look in $cxxmachine/include for C++ system
38191 headers.
38192
be13f7bf
LD
381932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38194
38195 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38196 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38197 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38198 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38199 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38200 (USE_AS_WMEMCMP): New macro.
38201 Fixing indents.
38202 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38203 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38204 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38205 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38207 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38208 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38209 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38210 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38211 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38212 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38213 (USE_AS_WMEMCMP): New macro.
38214 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38215 * sysdeps/string/test-memcmp.c: Update.
38216 Fix simple_wmemcmp.
38217 Add new tests.
38218 * wcsmbs/wmemcmp.c: Update.
38219 (WMEMCMP): New macro.
38220 Fix overflow bug.
38221
556a2007
AJ
382222011-10-12 Andreas Jaeger <aj@suse.de>
38223
38224 [BZ #13268]
38225 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38226
538faaa7
UD
382272011-10-15 Ulrich Drepper <drepper@gmail.com>
38228
ab6737ff
UD
38229 * libio/iofwide.c (do_length): Avoid warning.
38230
538faaa7
UD
38231 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38232
396a21b1
UD
382332011-10-14 Ulrich Drepper <drepper@gmail.com>
38234
cdf2901f
UD
38235 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38236
38ad40ce
UD
38237 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38238 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38239 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38240 * sysdeps/i386/i686/fpu/e_log.S: New file.
38241 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38242 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38243
396a21b1
UD
38244 * ctype/ctype.h: Add support for inlined isXXX functions when
38245 compiling C++ code.
38246
6b1f68c9
AS
382472011-10-14 Andreas Schwab <schwab@redhat.com>
38248
349290c0
AS
38249 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38250
6b1f68c9
AS
38251 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38252
f2282d42
RM
382532011-10-13 Roland McGrath <roland@hack.frob.com>
38254
38255 [BZ #13291]
38256 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38257
5298ffa8
AS
382582011-10-13 Andreas Schwab <schwab@redhat.com>
38259
714fad23
AS
38260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38261 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38262 feraiseexcept.
38263
81dcc7fb
AS
38264 * sysdeps/x86_64/memrchr.S: Check for zero size.
38265
5298ffa8
AS
38266 * string/stratcliff.c: Add memrchr tests.
38267
951fbcec
LD
382682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38269
38270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38271 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38272 rawmemchr-sse2 rawmemchr-sse2-bsf.
38273 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38274 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38275 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38276 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38277 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38278 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38279 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38280 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38281 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38282 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38283 * string/memrchr.c (MEMRCHR): New macro.
38284
0ac5ae23
UD
382852011-10-12 Ulrich Drepper <drepper@gmail.com>
38286
38287 Add integration with gcc's -ffinite-math-only and optimize wrapper
38288 functions in libm.
38289 * Versions.def: Define GLIBC_2.15 version for libm.
38290 * math/Makefile (headers): Add bits/math-finite.h.
38291 * math/bits/math-finite.h: New file.
38292 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38293 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38294 * math/e_acoshl.c: Add __*_finite alias.
38295 * math/e_acosl.c: Likewise.
38296 * math/e_asinl.c: Likewise.
38297 * math/e_atan2l.c: Likewise.
38298 * math/e_atanhl.c: Likewise.
38299 * math/e_coshl.c: Likewise.
38300 * math/e_exp10.c: Likewise.
38301 * math/e_exp10f.c: Likewise.
38302 * math/e_exp10l.c: Likewise.
38303 * math/e_exp2l.c: Likewise.
38304 * math/e_fmodl.c: Likewise.
38305 * math/e_gammal_r.c: Likewise.
38306 * math/e_hypotl.c: Likewise.
38307 * math/e_j0l.c: Likewise.
38308 * math/e_j1l.c: Likewise.
38309 * math/e_jnl.c: Likewise.
38310 * math/e_lgammal_r.c: Likewise.
38311 * math/e_log10l.c: Likewise.
38312 * math/e_log2l.c: Likewise.
38313 * math/e_logl.c: Likewise.
38314 * math/e_powl.c: Likewise.
38315 * math/e_sinhl.c: Likewise.
38316 * math/e_sqrtl.c: Likewise.
38317 * math/e_scalb.c: Completely rewritten and optimized.
38318 * math/e_scalbf.c: Likewise.
38319 * math/e_scalbl.c: Likewise.
38320 * math/w_acos.c: Likewise.
38321 * math/w_acosf.c: Likewise.
38322 * math/w_acosl.c: Likewise.
38323 * math/w_acosh.c: Likewise.
38324 * math/w_acoshf.c: Likewise.
38325 * math/w_acoshl.c: Likewise.
38326 * math/w_asin.c: Likewise.
38327 * math/w_asinf.c: Likewise.
38328 * math/w_asinl.c: Likewise.
38329 * math/w_atan2.c: Likewise.
38330 * math/w_atan2f.c: Likewise.
38331 * math/w_atan2l.c: Likewise.
38332 * math/w_atanh.c: Likewise.
38333 * math/w_atanhf.c: Likewise.
38334 * math/w_atanhl.c: Likewise.
38335 * math/w_exp10.c: Likewise.
38336 * math/w_exp10f.c: Likewise.
38337 * math/w_exp10l.c: Likewise.
38338 * math/w_fmod.c: Likewise.
38339 * math/w_fmodf.c: Likewise.
38340 * math/w_fmodl.c: Likewise.
38341 * math/w_j0.c: Likewise.
38342 * math/w_j0f.c: Likewise.
38343 * math/w_j0l.c: Likewise.
38344 * math/w_j1.c: Likewise.
38345 * math/w_j1f.c: Likewise.
38346 * math/w_j1l.c: Likewise.
38347 * math/w_jn.c: Likewise.
38348 * math/w_jnf.c: Likewise.
38349 * math/w_log.c: Likewise.
38350 * math/w_logf.c: Likewise.
38351 * math/w_logl.c: Likewise.
38352 * math/w_log10.c: Likewise.
38353 * math/w_log10f.c: Likewise.
38354 * math/w_log10l.c: Likewise.
38355 * math/w_log2.c: Likewise.
38356 * math/w_log2f.c: Likewise.
38357 * math/w_log2l.c: Likewise.
38358 * math/w_pow.c: Likewise.
38359 * math/w_powf.c: Likewise.
38360 * math/w_powl.c: Likewise.
38361 * math/w_remainder.c: Likewise.
38362 * math/w_remainderf.c: Likewise.
38363 * math/w_remainderl.c: Likewise.
38364 * math/w_scalb.c: Likewise.
38365 * math/w_scalbf.c: Likewise.
38366 * math/w_scalbl.c: Likewise.
38367 * math/w_sqrt.c: Likewise.
38368 * math/w_sqrtf.c: Likewise.
38369 * math/w_sqrtl.c: Likewise.
38370 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38371 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38372 used.
38373 * math/math_private.h: Declare __kernel_standard_f.
38374 * math/w_cosh.c: Remove cruft and optimize a bit.
38375 * math/w_coshf.c: Likewise.
38376 * math/w_coshl.c: Likewise.
38377 * math/w_exp2.c: Likewise.
38378 * math/w_exp2f.c: Likewise.
38379 * math/w_exp2l.c: Likewise.
38380 * math/w_hypot.c: Likewise.
38381 * math/w_hypotf.c: Likewise.
38382 * math/w_hypotl.c: Likewise.
38383 * math/w_lgamma.c: Likewise.
38384 * math/w_lgamma_r.c: Likewise.
38385 * math/w_lgammaf.c: Likewise.
38386 * math/w_lgammaf_r.c: Likewise.
38387 * math/w_lgammal.c: Likewise.
38388 * math/w_lgammal_r.c: Likewise.
38389 * math/w_sinh.c: Likewise.
38390 * math/w_sinhf.c: Likewise.
38391 * math/w_sinhl.c: Likewise.
38392 * math/w_tgamma.c: Likewise.
38393 * math/w_tgammaf.c: Likewise.
38394 * math/w_tgammal.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38397 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38398 Minor optimizations. Pretty printing. Remove cruft.
38399 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38400 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38401 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38403 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38404 * sysdeps/i386/fpu/e_asin.S: Likewise.
38405 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38406 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38407 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38408 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38410 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38411 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38412 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38413 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38414 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38415 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38416 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38417 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38418 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38419 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38420 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38421 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38422 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38423 * sysdeps/i386/fpu/e_log.S: Likewise.
38424 * sysdeps/i386/fpu/e_log10.S: Likewise.
38425 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38427 * sysdeps/i386/fpu/e_log2.S: Likewise.
38428 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38430 * sysdeps/i386/fpu/e_logf.S: Likewise.
38431 * sysdeps/i386/fpu/e_logl.S: Likewise.
38432 * sysdeps/i386/fpu/e_pow.S: Likewise.
38433 * sysdeps/i386/fpu/e_powf.S: Likewise.
38434 * sysdeps/i386/fpu/e_powl.S: Likewise.
38435 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38436 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38437 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38441 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38442 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38443 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38444 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38445 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38447 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38448 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38449 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38450 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38451 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38453 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38454 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38465 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38466 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38467 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38468 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38469 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38470 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38471 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38472 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38473 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38474 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38475 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38476 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38477 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38478 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38479 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38480 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38481 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38482 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38483 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38484 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38485 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38524 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38527 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38529 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38530 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38532 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38535 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38536 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38537 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38538 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38539 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38540 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38541 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38542 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38543 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38544 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38545 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38546 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38547 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38548 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38549 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38550 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38552 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38554 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38555 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38556 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38557 (__isnanf): Likewise.
38558 (__isinf_ns): Likewise.
38559 (__isinf_nsf): Likewise.
38560 (__finite): Likewise.
38561 (__finitef): Likewise.
38562 (__ieee754_sqrt): Define as macro.
38563 (__ieee754_sqrtf): Define as macro.
38564 (__ieee754_sqrtl): Define as macro.
38565 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38566 inlined copy.
38567 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38568 __FINITE_MATH_ONLY__ consistent.
38569 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38570
12cc2fcd
AS
385712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38572
a843a204
AS
38573 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38574 of rawmemchr.
38575
12cc2fcd
AS
38576 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38577
c853acd5
UD
385782011-10-09 Ulrich Drepper <drepper@gmail.com>
38579
38580 * po/ja.po: Update from translation team.
38581
c658d255
RM
385822011-10-08 Roland McGrath <roland@hack.frob.com>
38583
110946e4
RM
38584 * locale/programs/locarchive.c (prepare_address_space): New function.
38585 (create_archive, enlarge_archive, open_archive): Use it.
38586
50604220
RM
38587 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38588 inside [SHARED], where it is used.
38589
c658d255
RM
38590 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38591
38592 * nss/getent.c (netgroup_keys): Remove unused variable.
38593 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38594
6a621eb7
UD
385952011-10-08 Ulrich Drepper <drepper@gmail.com>
38596
7edb55ce
UD
38597 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38598 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38600 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38601 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38602 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38603 * math/Makefile (libm-calls): Add s_isinf_ns.
38604 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38605 * math/multc3.c: Likewise.
38606 * math/s_casin.c: Likewise.
38607 * math/s_casinf.c: Likewise.
38608 * math/s_casinl.c: Likewise.
38609 * math/s_ccos.c: Likewise.
38610 * math/s_ccosf.c: Likewise.
38611 * math/s_ccosl.c: Likewise.
38612 * math/s_ctan.c: Likewise.
38613 * math/s_ctanf.c: Likewise.
38614 * math/s_ctanh.c: Likewise.
38615 * math/s_ctanhf.c: Likewise.
38616 * math/s_ctanhl.c: Likewise.
38617 * math/s_ctanl.c: Likewise.
38618 * math/w_fmod.c: Likewise.
38619 * math/w_fmodf.c: Likewise.
38620 * math/w_fmodl.c: Likewise.
38621 * math/w_remainder.c: Likewise.
38622 * math/w_remainderf.c: Likewise.
38623 * math/w_remainderl.c: Likewise.
38624 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38625 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38628 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38629 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38630 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38631 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38632
187da0ae
UD
38633 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38634 of the number.
38635 * stdio-common/printf_fphex.c: Likewise.
38636 * stdio-common/printf_size.c: Likewise.
38637
9277c064
UD
38638 * math/e_exp10.c: Include math_private.h using <...> not "...".
38639 * math/e_exp10f.c: Likewise.
38640 * math/e_exp10l.c: Likewise.
38641 * math/e_exp2l.c: Likewise.
38642 * math/e_j0l.c: Likewise.
38643 * math/e_j1l.c: Likewise.
38644 * math/e_jnl.c: Likewise.
38645 * math/e_lgammal_r.c: Likewise.
38646 * math/e_rem_pio2l.c: Likewise.
38647 * math/e_scalb.c: Likewise.
38648 * math/e_scalbf.c: Likewise.
38649 * math/e_scalbl.c: Likewise.
38650 * math/k_cosl.c: Likewise.
38651 * math/k_sinl.c: Likewise.
38652 * math/k_tanl.c: Likewise.
38653 * math/s_cacoshf.c: Likewise.
38654 * math/s_catan.c: Likewise.
38655 * math/s_catanf.c: Likewise.
38656 * math/s_catanh.c: Likewise.
38657 * math/s_catanhf.c: Likewise.
38658 * math/s_catanhl.c: Likewise.
38659 * math/s_catanl.c: Likewise.
38660 * math/s_ccosh.c: Likewise.
38661 * math/s_ccoshf.c: Likewise.
38662 * math/s_ccoshl.c: Likewise.
38663 * math/s_cexp.c: Likewise.
38664 * math/s_cexpf.c: Likewise.
38665 * math/s_cexpl.c: Likewise.
38666 * math/s_clog.c: Likewise.
38667 * math/s_clog10.c: Likewise.
38668 * math/s_clog10f.c: Likewise.
38669 * math/s_clog10l.c: Likewise.
38670 * math/s_clogf.c: Likewise.
38671 * math/s_clogl.c: Likewise.
38672 * math/s_csin.c: Likewise.
38673 * math/s_csinf.c: Likewise.
38674 * math/s_csinh.c: Likewise.
38675 * math/s_csinhf.c: Likewise.
38676 * math/s_csinhl.c: Likewise.
38677 * math/s_csinl.c: Likewise.
38678 * math/s_csqrt.c: Likewise.
38679 * math/s_csqrtf.c: Likewise.
38680 * math/s_csqrtl.c: Likewise.
38681 * math/s_ctan.c: Likewise.
38682 * math/s_ctanf.c: Likewise.
38683 * math/s_ctanh.c: Likewise.
38684 * math/s_ctanhf.c: Likewise.
38685 * math/s_ctanhl.c: Likewise.
38686 * math/s_ctanl.c: Likewise.
38687 * math/s_ldexp.c: Likewise.
38688 * math/s_ldexpf.c: Likewise.
38689 * math/s_ldexpl.c: Likewise.
38690 * math/s_significand.c: Likewise.
38691 * math/s_significandf.c: Likewise.
38692 * math/s_significandl.c: Likewise.
38693 * math/w_acos.c: Likewise.
38694 * math/w_acosf.c: Likewise.
38695 * math/w_acosh.c: Likewise.
38696 * math/w_acoshf.c: Likewise.
38697 * math/w_acoshl.c: Likewise.
38698 * math/w_acosl.c: Likewise.
38699 * math/w_asin.c: Likewise.
38700 * math/w_asinf.c: Likewise.
38701 * math/w_asinl.c: Likewise.
38702 * math/w_atan2.c: Likewise.
38703 * math/w_atan2f.c: Likewise.
38704 * math/w_atan2l.c: Likewise.
38705 * math/w_atanh.c: Likewise.
38706 * math/w_atanhf.c: Likewise.
38707 * math/w_atanhl.c: Likewise.
38708 * math/w_cosh.c: Likewise.
38709 * math/w_coshf.c: Likewise.
38710 * math/w_coshl.c: Likewise.
38711 * math/w_dremf.c: Likewise.
38712 * math/w_exp10.c: Likewise.
38713 * math/w_exp10f.c: Likewise.
38714 * math/w_exp10l.c: Likewise.
38715 * math/w_exp2.c: Likewise.
38716 * math/w_exp2f.c: Likewise.
38717 * math/w_fmod.c: Likewise.
38718 * math/w_fmodf.c: Likewise.
38719 * math/w_fmodl.c: Likewise.
38720 * math/w_hypot.c: Likewise.
38721 * math/w_hypotf.c: Likewise.
38722 * math/w_hypotl.c: Likewise.
38723 * math/w_j0.c: Likewise.
38724 * math/w_j0f.c: Likewise.
38725 * math/w_j0l.c: Likewise.
38726 * math/w_j1.c: Likewise.
38727 * math/w_j1f.c: Likewise.
38728 * math/w_j1l.c: Likewise.
38729 * math/w_jn.c: Likewise.
38730 * math/w_jnf.c: Likewise.
38731 * math/w_jnl.c: Likewise.
38732 * math/w_lgamma.c: Likewise.
38733 * math/w_lgamma_r.c: Likewise.
38734 * math/w_lgammaf.c: Likewise.
38735 * math/w_lgammaf_r.c: Likewise.
38736 * math/w_lgammal.c: Likewise.
38737 * math/w_lgammal_r.c: Likewise.
38738 * math/w_log.c: Likewise.
38739 * math/w_log10.c: Likewise.
38740 * math/w_log10f.c: Likewise.
38741 * math/w_log10l.c: Likewise.
38742 * math/w_log2.c: Likewise.
38743 * math/w_log2f.c: Likewise.
38744 * math/w_log2l.c: Likewise.
38745 * math/w_logf.c: Likewise.
38746 * math/w_logl.c: Likewise.
38747 * math/w_pow.c: Likewise.
38748 * math/w_powf.c: Likewise.
38749 * math/w_powl.c: Likewise.
38750 * math/w_remainder.c: Likewise.
38751 * math/w_remainderf.c: Likewise.
38752 * math/w_remainderl.c: Likewise.
38753 * math/w_scalb.c: Likewise.
38754 * math/w_scalbf.c: Likewise.
38755 * math/w_scalbl.c: Likewise.
38756 * math/w_sinh.c: Likewise.
38757 * math/w_sinhf.c: Likewise.
38758 * math/w_sinhl.c: Likewise.
38759 * math/w_sqrt.c: Likewise.
38760 * math/w_sqrtf.c: Likewise.
38761 * math/w_sqrtl.c: Likewise.
38762 * math/w_tgamma.c: Likewise.
38763 * math/w_tgammaf.c: Likewise.
38764 * math/w_tgammal.c: Likewise.
38765
6a621eb7
UD
38766 * po/ja.po: Update from translation team.
38767
bf582445
AJ
387682011-09-29 Andreas Jaeger <aj@suse.de>
38769
f9efbf3a
AJ
38770 [BZ #13179]
38771 * sunrpc/netname.c (netname2host): Fix logic.
38772
bf582445
AJ
38773 [BZ #6779]
38774 [BZ #6783]
38775 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38776 correctly.
38777 * math/w_remainder.c (__remainder): Likewise.
38778 * math/w_remainderf.c (__remainderf): Likewise.
38779 * math/libm-test.inc (remainder_test): Add test cases.
38780
48693bea
AK
387812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38782
38783 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38784 sdiv_qrnnd.
38785
42622229
LD
387862011-10-07 Ulrich Drepper <drepper@gmail.com>
38787
38788 * string/test-memcmp.c: Avoid unncessary #defines.
38789 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38790
093ecf92
LD
387912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38792
38793 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38794 Use new sse2 version for core i3 - i7 as it's faster
38795 than sse42 version.
38796 (bit_Prefer_PMINUB_for_stringop): New.
38797 * sysdeps/x86_64/rawmemchr.S: Update.
38798 Replace with faster SSE2 version.
38799 * sysdeps/x86_64/memrchr.S: New file.
38800 * sysdeps/x86_64/memchr.S: Update.
38801 Replace with faster SSE2 version.
38802
fde56e5c
MP
388032011-09-12 Marek Polacek <mpolacek@redhat.com>
38804
38805 * elf/dl-load.c (lose): Add cast to avoid warning.
38806
21fd49a9
UD
388072011-10-07 Ulrich Drepper <drepper@gmail.com>
38808
5a06e643
UD
38809 * po/ca.po: Update from translation team.
38810
684ae515
UD
38811 * inet/getnetgrent_r.c: Hook up nscd.
38812 * nscd/Makefile (routines): Add nscd_netgroup.
38813 (nscd-modules): Add netgroupcache.
38814 (CFLAGS-netgroupcache.c): Define.
38815 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38816 (cache_search): Add const to second parameter.
38817 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38818 INNETGR.
38819 (dbs): Add netgrdb entry.
38820 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38821 (verify_persistent_db): Handle netgrdb.
38822 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38823 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38824 GETFDNETGR.
38825 (netgroup_response_header): Define.
38826 (innetgroup_response_header): Define.
38827 (datahead): Add netgroup_response_header and innetgroup_response_header
38828 elements.
38829 * nscd/nscd.conf: Add entries for netgroup cache.
38830 * nscd/nscd.h (dbtype): Add netgrdb.
38831 (_PATH_NSCD_NETGROUP_DB): Define.
38832 (netgroup_iov_disabled): Declare.
38833 (xmalloc, xcalloc, xrealloc): Move declarations here.
38834 (cache_search): Adjust prototype.
38835 Add netgroup-related prototypes.
38836 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38837 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38838 (__nscd_innetgr): Declare.
38839 * nscd/selinux.c (perms): Use access_vector_t as element type and
38840 add netgroup-related initializers.
38841 * nscd/netgroupcache.c: New file.
38842 * nscd/nscd_netgroup.c: New file.
38843 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38844 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38845 For four parameters use innetgr.
38846 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38847 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38848 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38849 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38850
21fd49a9
UD
38851 * nscd/connections.c (register_traced_file): Don't register file
38852 for disabled databases.
38853
054c0457
UD
388542011-10-06 Ulrich Drepper <drepper@gmail.com>
38855
32b63198
UD
38856 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38857
054c0457
UD
38858 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38859 from tree and freeing node.
38860
64031225
JO
388612011-09-25 Jiri Olsa <jolsa@redhat.com>
38862
38863 * nss/nsswitch.c (__nss_database_lookup): Handle
38864 nss_parse_service_list out of memory case.
38865
0490345c
JO
388662011-09-15 Jiri Olsa <jolsa@redhat.com>
38867
38868 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38869 out of memory case.
38870
3a62d00d
AS
388712011-10-04 Andreas Schwab <schwab@redhat.com>
38872
38873 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38874 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38875 pass it down.
38876 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38877 elf_machine_rela, elf_machine_lazy_rel.
38878 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38879 (ELF_DYNAMIC_DO_REL): Likewise.
38880 (ELF_DYNAMIC_DO_RELA): Likewise.
38881 (ELF_DYNAMIC_RELOCATE): Likewise.
38882 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38883 to ELF_DYNAMIC_DO_REL.
38884 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38885 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38886 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38887 elf_machine_rela.
38888 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38889 skip_ifunc, don't call ifunc function if non-zero.
38890 (elf_machine_rela): Likewise.
38891 (elf_machine_lazy_rel): Likewise.
38892 (elf_machine_lazy_rela): Likewise.
38893 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38894 (elf_machine_lazy_rel): Likewise.
38895 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38896 Likewise.
38897 (elf_machine_lazy_rel): Likewise.
38898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38899 Likewise.
38900 (elf_machine_lazy_rel): Likewise.
38901 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38902 (elf_machine_lazy_rel): Likewise.
38903 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38904 (elf_machine_lazy_rel): Likewise.
38905 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38906 (elf_machine_lazy_rel): Likewise.
38907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38908 (elf_machine_lazy_rel): Likewise.
38909 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38910 (elf_machine_lazy_rel): Likewise.
38911 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38912 (elf_machine_lazy_rel): Likewise.
38913
68577918
UD
389142011-09-28 Ulrich Drepper <drepper@gmail.com>
38915
38916 * nss/nss_files/files-init.c (_nss_files_init): Use static
38917 initialization for all the *_traced_file variables.
38918
68822d74
AS
389192011-09-28 Andreas Schwab <schwab@redhat.com>
38920
38921 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38922
2056100b
RM
389232011-09-27 Roland McGrath <roland@hack.frob.com>
38924
38925 [BZ #13226]
38926 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38927
32c76b63
AS
389282011-09-27 Andreas Schwab <schwab@redhat.com>
38929
38930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38931 Reread the line before reparsing it.
38932
bf972c9d
AS
389332011-09-26 Andreas Schwab <schwab@redhat.com>
38934
38935 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38936
e057a1b5
JM
389372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38938 Maxim Kuvyrkov <maxim@codesourcery.com>
38939 Joseph Myers <joseph@codesourcery.com>
38940
38941 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38942 if needed for __stack_chk_guard.
38943
bc7e1c36
RM
389442011-09-19 Roland McGrath <roland@hack.frob.com>
38945
ecb1482f
RM
38946 * sysdeps/posix/spawni.c (script_execute): Always define it.
38947 It will be optimized away if unused.
38948 (maybe_script_execute): New function.
38949 (__spawni): Call it.
38950
bc7e1c36
RM
38951 * Makerules: Don't include tls.make.
38952 (config-tls): Always set to thread.
38953 * tls.make.c: File removed.
38954
1c3b002b
MF
389552011-09-19 Mike Frysinger <vapier@gentoo.org>
38956
38957 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38958 * config.make.in (CPPFLAGS-config): New substituted variable.
38959
2840865d
UD
389602011-09-15 Ulrich Drepper <drepper@gmail.com>
38961
88738eb6
UD
38962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38963
cbf645a6 38964 [BZ #13192]
2840865d
UD
38965 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38966 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38967
b402e91a
RM
389682011-09-15 Roland McGrath <roland@hack.frob.com>
38969
38970 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38971 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38973 (CALL_FAIL): Likewise.
38974 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38975 (CALL_FAIL): Macro removed.
38976 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38977
4c1a1f71
UD
389782011-09-15 Ulrich Drepper <drepper@gmail.com>
38979
38980 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38981 for __FINITE_MATH_ONLY__ == 1.
38982
edc121be
AS
389832011-09-15 Andreas Schwab <schwab@redhat.com>
38984
38985 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38986 __ieee754_sqrt instead of sqrt.
38987 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38988 __ieee754_sqrtf instead of sqrtf.
38989 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38990 __floorf instead of floorf.
38991 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38992 __floorf, __truncf instead of floorf, truncf.
38993
cd205654
UD
389942011-09-14 Ulrich Drepper <drepper@gmail.com>
38995
ee4d0315
UD
38996 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38997
cd205654
UD
38998 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38999 __extern_always_inline.
39000 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39001 32-bit.
39002
48b67d71
AS
390032011-09-14 Andreas Schwab <schwab@redhat.com>
39004
39005 * elf/rtld.c (dl_main): Also relocate in dependency order when
39006 doing symbol dependency testing.
39007
1ae12c75
AS
390082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39009
39010 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39011 Always define `refsym'.
39012
995a80df
AS
390132011-09-13 Andreas Schwab <schwab@redhat.com>
39014
e529793b
AS
39015 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39016 (__FD_ELT): Renamed from __FDELT.
39017 * misc/bits/select2.h (__FD_ELT): Likewise.
39018 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39019 __FD_MASK instead of __FDELT, __FDMASK.
39020 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39021 Likewise.
39022 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39023 Likewise.
39024
52d4fef8
AS
39025 * elf/Makefile (gen-ldd): Fix pattern.
39026
995a80df
AS
39027 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39028 (init_tls): Likewise.
39029
8682f8b0
UD
390302011-09-12 Ulrich Drepper <drepper@gmail.com>
39031
39032 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39033
de82006d
AS
390342011-09-12 Andreas Schwab <schwab@redhat.com>
39035
a7c8e6a1
AS
39036 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39037 `struct cmsghdr *' instead of `void *'.
39038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39039 Likewise.
39040
0f31fe77
AS
390412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39042
39043 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39044 if non-absolute.
39045 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39046 ldd_rewrite_script.
0f31fe77 39047
32b4c839
UD
390482011-09-11 Ulrich Drepper <drepper@gmail.com>
39049
83cd1420
UD
39050 * configure.in: Remove --with-tls option.
39051 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39052 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39053 out in case it is missing.
39054 * sysdeps/ia64/elf/configure.in: Likewise.
39055 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39056 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39057 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39058 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39059 * sysdeps/sh/elf/configure.in: Likewise.
39060 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39061 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39062 * sysdeps/x86_64/elf/configure.in: Likewise.
39063 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39064 * sysdeps/mach/hurd/tls.h: Likewise.
39065
633f745d
UD
39066 [BZ #13067]
39067 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39068
f318beb8
UD
39069 [BZ #13090]
39070 * configure.in: Fix use of AC_INIT.
39071
32b4c839
UD
39072 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39073
3ce1f295
UD
390742011-09-10 Ulrich Drepper <drepper@gmail.com>
39075
bb016596
UD
39076 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39077 __set_errno.
8e58439c
UD
39078 * malloc/hooks.c: Likewise.
39079
aebae053 39080 [BZ #11929]
02d46fc4
UD
39081 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39082 variables statically.
39083 (narenas): Initialize.
39084 (list_lock): Initialize.
bb016596
UD
39085 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39086 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39087 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39088 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39089 Add initializers to main_arena and mp_.
39090 (malloc_state): Remove pagesize member. Change all users to use
39091 GLRO(dl_pagesize).
39092
39093 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39094 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39095 is always initialized.
39096
22a89187
UD
39097 * malloc/malloc.c: Removed unused configurations and dead code.
39098 * malloc/arena.c: Likewise.
39099 * malloc/hooks.c: Likewise.
02d46fc4 39100 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39101
d063d164
UD
39102 * include/tls.h: Removed. USE___THREAD must always be defined.
39103 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39104 * elf/dl-libc.c: Likewise.
39105 * elf/dl-tsd.c: Likewise.
39106 * include/errno.h: Likewise.
39107 * include/netdb.h: Likewise.
39108 * include/resolv.h: Likewise.
39109 * inet/herrno-loc.c: Likewise.
39110 * inet/herrno.c: Likewise.
39111 * malloc/arena.c: Likewise.
39112 * malloc/hooks.c: Likewise.
39113 * malloc/malloc.c: Likewise.
39114 * resolv/res-state.c: Likewise.
39115 * resolv/res_libc.c: Likewise.
39116 * sysdeps/i386/dl-machine.h: Likewise.
39117 * sysdeps/ia64/dl-machine.h: Likewise.
39118 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39119 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39120 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39121 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39122 * sysdeps/sh/dl-machine.h: Likewise.
39123 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39124 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39125 * sysdeps/unix/i386/sysdep.S: Likewise.
39126 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39127 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39132 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39136 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39137 * sysdeps/x86_64/dl-machine.h: Likewise.
39138 * tls.make.c: Likewise.
39139
3ce1f295
UD
39140 * configure.in: Remove --with-__thread option. Make tests for
39141 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39142 tls_model attribute fail if no support is available. Remove
39143 USE_IN_LIBIO.
39144 * Makeconfig: Adjust for dropped configure option. All features are
39145 now mandatory.
39146 * Makerules: Likewise.
39147 * Versions.def: Likewise.
39148 * argp/argp-fmtstream.c: Likewise.
39149 * argp/argp-fmtstream.h: Likewise.
39150 * argp/argp-help.c: Likewise.
39151 * assert/assert.c: Likewise.
39152 * config.h.in: Likewise.
39153 * config.make.in: Likewise.
39154 * configure: Likewise.
39155 * configure.in: Likewise.
39156 * csu/Versions: Likewise.
39157 * csu/init.c: Likewise.
39158 * elf/tst-audit2.c: Likewise.
39159 * elf/tst-tls10.c: Likewise.
39160 * elf/tst-tls10.h: Likewise.
39161 * elf/tst-tls11.c: Likewise.
39162 * elf/tst-tls12.c: Likewise.
39163 * elf/tst-tls14.c: Likewise.
39164 * elf/tst-tlsmod11.c: Likewise.
39165 * elf/tst-tlsmod12.c: Likewise.
39166 * elf/tst-tlsmod13.c: Likewise.
39167 * elf/tst-tlsmod13a.c: Likewise.
39168 * elf/tst-tlsmod14a.c: Likewise.
39169 * elf/tst-tlsmod15b.c: Likewise.
39170 * elf/tst-tlsmod16a.c: Likewise.
39171 * elf/tst-tlsmod16b.c: Likewise.
39172 * elf/tst-tlsmod7.c: Likewise.
39173 * elf/tst-tlsmod8.c: Likewise.
39174 * elf/tst-tlsmod9.c: Likewise.
39175 * gmon/gmon.c: Likewise.
39176 * grp/fgetgrent_r.c: Likewise.
39177 * grp/putgrent.c: Likewise.
39178 * hurd/fopenport.c: Likewise.
39179 * include/libc-symbols.h: Likewise.
39180 * include/tls.h: Likewise.
39181 * intl/gettextP.h: Likewise.
39182 * intl/loadinfo.h: Likewise.
39183 * locale/global-locale.c: Likewise.
39184 * locale/localeinfo.h: Likewise.
39185 * mach/devstream.c: Likewise.
39186 * malloc/arena.c: Likewise.
39187 * malloc/set-freeres.c: Likewise.
39188 * misc/err.c: Likewise.
39189 * misc/getttyent.c: Likewise.
39190 * misc/mntent_r.c: Likewise.
39191 * posix/getopt.c: Likewise.
39192 * posix/wordexp.c: Likewise.
39193 * pwd/fgetpwent_r.c: Likewise.
39194 * resolv/Versions: Likewise.
39195 * resolv/res_hconf.c: Likewise.
39196 * shadow/fgetspent_r.c: Likewise.
39197 * shadow/putspent.c: Likewise.
39198 * stdio-common/printf_fphex.c: Likewise.
39199 * stdio-common/tmpfile.c: Likewise.
39200 * stdlib/abort.c: Likewise.
39201 * stdlib/fmtmsg.c: Likewise.
39202 * sunrpc/auth_unix.c: Likewise.
39203 * sunrpc/clnt_perr.c: Likewise.
39204 * sunrpc/clnt_tcp.c: Likewise.
39205 * sunrpc/clnt_udp.c: Likewise.
39206 * sunrpc/clnt_unix.c: Likewise.
39207 * sunrpc/openchild.c: Likewise.
39208 * sunrpc/svc_simple.c: Likewise.
39209 * sunrpc/svc_tcp.c: Likewise.
39210 * sunrpc/svc_udp.c: Likewise.
39211 * sunrpc/svc_unix.c: Likewise.
39212 * sunrpc/xdr.c: Likewise.
39213 * sunrpc/xdr_array.c: Likewise.
39214 * sunrpc/xdr_rec.c: Likewise.
39215 * sunrpc/xdr_ref.c: Likewise.
39216 * sunrpc/xdr_stdio.c: Likewise.
39217
1248c1c4
PB
392182011-09-09 Ulrich Drepper <drepper@gmail.com>
39219
39220 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39221
392222011-07-03 Andreas Jaeger <aj@suse.de>
39223
39224 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39225 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39226 regenerate with gen-libm-tests.pl.
39227
392282010-05-12 Petr Baudis <pasky@suse.cz>
39229
39230 [BZ #11589]
39231 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39232 around j0() zero points by switching to j1().
39233 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39237
f22e1074
UD
392382011-09-09 Ulrich Drepper <drepper@gmail.com>
39239
f19009c1
UD
39240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39241 instead of 0.
39242 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39243 instead of 0.
f19009c1
UD
39244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39245 Patch in part by Pavel Roskin <proski@gnu.org>.
39246
3f8cc204
UD
39247 [BZ #13138]
39248 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39249 realloc.
39250 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39251 Free memory block if necessary.
39252
f22e1074
UD
39253 [BZ #12847]
39254 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39255 be NULL. Don't lock in this case.
39256
0a2349f9
RM
392572011-09-09 Roland McGrath <roland@hack.frob.com>
39258
39259 * elf/elf.h (ELFOSABI_GNU): New macro.
39260 (ELFOSABI_LINUX): Define to that.
39261
f3cdd467
DZ
392622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39263
39264 * string/strncat.c (strncat): Undef the symbol in case it has been
39265 defined in bits/string.h.
39266
74718d13
UD
392672011-09-09 Ulrich Drepper <drepper@gmail.com>
39268
633e9e0f
UD
39269 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39270
0a2349f9 39271 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39272 link map.
39273
f9924780
AJ
392742011-08-17 Andreas Jaeger <aj@suse.de>
39275
39276 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39277
7f5517aa
PP
392782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39279 Ian Lance Taylor <iant@google.com>
39280
39281 * math/libm-test.inc (lround_test): New testcase.
39282 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39283
762011fe
UD
392842011-09-08 Ulrich Drepper <drepper@gmail.com>
39285
92963737
UD
39286 * Makefile: Remove support for automatic cvs check-ins.
39287 * Makerules: Likewise.
39288 * config.make.in: Likewise.
39289 * configure.in: Likewise.
39290 * intl/Makefile: Likewise.
39291 * locale/Makefile: Likewise.
39292 * po/Makefile: Likewise.
39293 * posix/Makefile: Likewise.
39294 * sysdeps/gnu/Makefile: Likewise.
39295 * sysdeps/mach/hurd/Makefile: Likewise.
39296 * sysdeps/sparc/sparc32/Makefile: Likewise.
39297
b0727fd8
JS
39298 [BZ #13118]
39299 * posix/Makefile (bug-regex32-ENV): Define.
39300 Patch by John Stanley <jpsinthemix@verizon.net>.
39301
a0f33f99
UD
39302 * misc/Makefile (headers): Add bits/select2.h.
39303 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39304 * misc/bits/select2.h: New file.
39305 * include/bits/select2.h: New file.
39306 * debug/Makefile (routines): Add fdelt_chk.
39307 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39308 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39309 FD_ISSET.
39310 * debug/fdelt_chk.c: New file.
39311
762011fe
UD
39312 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39313 * wcsmbs/test-wmemcmp.c: Likewise.
39314 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39315 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39316
393172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39318
39319 * string/Makefile (strop-tests): Add memcmp.
39320 * string/test-wmemcmp.c: New file.
39321 * string/test-memcmp.c: Add wmemcmp support.
39322
7f513ec8
RM
393232011-09-08 Roland McGrath <roland@hack.frob.com>
39324
0442afb4
RM
39325 [BZ #13153]
39326 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39327 2011-07-19 change.
39328
7f513ec8
RM
39329 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39330 garbage value in a __mach_port_mod_refs call in the cases of the
39331 task-self and thread-self ports.
39332
a12b2239
ST
393332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39334
39335 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39336
610f9ab4
AS
393372011-09-08 Andreas Schwab <schwab@redhat.com>
39338
7f513ec8 39339 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39340
48882a1a
LD
393412011-09-07 Ulrich Drepper <drepper@gmail.com>
39342
b49865be
UD
39343 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39344
fdc86bc9
UD
39345 * elf/dl-libc.c (dlerror_run): Pass back error code from
39346 dl_catch_error.
39347
c966526a
UD
39348 [BZ #13123]
39349 * elf/dl-load.c (lose): Free l_origin if it is valid.
39350
48882a1a
LD
39351 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39352 names.
39353 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39354 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39355 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39356 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39357 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39358 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39359
77a2a8b4
AZ
393602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39361
39362 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39363 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39364 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39365 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39366 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39367 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39368 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39369 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39370 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39371 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39372
24f579d8
AM
393732011-08-15 Alan Modra <amodra@gmail.com>
39374
39375 [BZ #13092]
39376 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39377 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39378 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39379 ppc_mcount to static-only-routines.
39380 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39381 __mcount_internal.
39382 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39383 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39384
3d4837df
UD
393852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39386
39387 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39388 for finite and infinity parameters.
39389
22700377
WS
393902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39391
39392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39393 and add nop instructions for throughput optimization.
39394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39395
5025581e
WS
393962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39397
39398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39399 aligned copy for power7 with vector-scalar instructions.
39400 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39401
08a300c9
L
394022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39403
39404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39405 AVX check.
39406
59178ef9
AS
394072011-09-07 Andreas Schwab <schwab@redhat.com>
39408
39409 [BZ #13144]
39410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39411 last change.
39412
e38ba7ab
UD
394132011-09-07 Ulrich Drepper <drepper@gmail.com>
39414
39415 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39416 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39417 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39418 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39419 clock_gettime.
39420
d53a73ac
UD
394212011-09-06 Ulrich Drepper <drepper@gmail.com>
39422
fc8bffcc
UD
39423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39424 Forgot to demangle the pointer.
39425
ceaa0c5d
UD
39426 * sysdeps/i386/sysdep.h: Define atom_text_section.
39427 * sysdeps/x86_64/sysdep.h: Likewise.
39428 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39429 section with atom_text_section.
39430 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39431 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39432 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39433 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39434 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39435
a77d3c17
UD
39436 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39437 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39438 already be defined. Change to take two parameters and don't assign
39439 result to variable. Adjust all users.
39440 Define INTERNAL_GETTIME if not already defined.
39441 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39442 call.
39443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39444 HAVE_CLOCK_GETTIME_VSYSCALL.
39445 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39446
d53a73ac
UD
39447 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39448 gettimeofday vsyscall, just use time.
39449
a8f84144
AS
394502011-09-06 Andreas Schwab <schwab@redhat.com>
39451
39452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39453 <errno.h>.
39454
ef606249
UD
394552011-09-06 Ulrich Drepper <drepper@gmail.com>
39456
39457 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39458 syscall on x86-64.
39459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39460 syscall.
39461 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39462 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39463 syscall if possible.
39464
6585cb60
UD
394652011-09-05 Ulrich Drepper <drepper@gmail.com>
39466
39467 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39468 e_ident. Don't pass to find_mapsXX.
39469 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39470
a5f524e4
LD
394712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39472
39473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39474 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39475 * sysdeps/x86_64/multiarch/strchr.S: Update.
39476 Check bit_slow_BSF bit.
39477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39478 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39479 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39480
554881ef
UD
394812011-09-05 Ulrich Drepper <drepper@gmail.com>
39482
d96de963
UD
39483 [BZ #13134]
39484 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39485 before glibc 2.15.
39486 (tryshell): Define.
39487 (__spawni): Change last parameter to be flag. Test
39488 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39489 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39490 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39491 * posix/spawni.c: Likewise.
39492 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39493 * posix/spawnp.c: Likewise. Change normal version to use
39494 SPAWN_XFLAGS_USE_PATH.
39495 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39496 SPAWN_XFLAGS_TRY_SHELL.
39497
d48e5868
UD
39498 [BZ #13150]
39499 * posix/glob.h: Remove gcc 1.x support.
39500
554881ef
UD
39501 [BZ #13068]
39502 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39503
693fb948
LD
395042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39505
39506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39507 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39508 strrchr-sse2-bsf
39509 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39510 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39511 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39512 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39513 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39514 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39515
1b48c537
UD
395162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39517
49d42c37
UD
39518 * sysdeps/x86_64/wcscmp.S: New file.
39519
1b48c537
UD
39520 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39521 wcscmp-c wcscmp-sse2
39522 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39523 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39524 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39525 * wcsmbs/wcscmp.c: Allow renaming.
39526
15c95c5d
DM
395272011-09-05 David S. Miller <davem@davemloft.net>
39528
39529 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39530 stack slot, rather than the struct return pointer slot.
39531 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39532 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39534 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39535
2f0ad8f3
UD
395362011-09-05 Ulrich Drepper <drepper@gmail.com>
39537
d88ae418
UD
39538 * po/ja.po: Update from translation team.
39539
2f0ad8f3
UD
39540 [BZ #13144]
39541 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39542 kernel in 64-bit binaries.
39543
5f4318d1
DM
395442011-09-01 David S. Miller <davem@davemloft.net>
39545
39546 * elf/elf.h (HWCAP_SPARC_*): Move to..
39547 * sysdeps/sparc/sysdep.h: this new file and add new values.
39548 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39549 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39550 _DL_HWCAP_COUNT to 24.
39551 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39552 entries.
39553 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39554 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39555 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39557 instead of magic constants.
39558 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39559
3ba57516
DM
395602011-08-31 David S. Miller <davem@davemloft.net>
39561
39562 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39564 Reimplement to do errno handling inline.
39565 (SYSCALL_ERROR_HANDLER): New macro.
39566 (__SYSCALL_STRING): Do not do errno handling in asm.
39567 (__CLONE_SYSCALL_STRING): Delete.
39568 (__INTERNAL_SYSCALL_STRING): Delete.
39569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39570 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39571 (PSEUDO): Reimplement to do errno handling inline.
39572 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39573 (SYSCALL_ERROR_HANDLER): New macro.
39574 (__SYSCALL_STRING): Do not do errno handling in asm.
39575 (__CLONE_SYSCALL_STRING): Delete.
39576 (__INTERNAL_SYSCALL_STRING): Delete.
39577 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39578 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39579 i386.
39580 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39581 (inline_syscall*): Add 'err' argument.
39582 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39583 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39584 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39585 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39586
39587 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39588 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39589
2bc17433
AS
395902011-08-30 Andreas Schwab <schwab@redhat.com>
39591
39592 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39593
fbeb5f4d
JO
395942011-08-29 Jiri Olsa <jolsa@redhat.com>
39595
39596 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39597 directive.
39598
ad69cc26
DM
395992011-08-24 David S. Miller <davem@davemloft.net>
39600
39601 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39602
39dd69df
AS
396032011-08-24 Andreas Schwab <schwab@redhat.com>
39604
39605 * elf/Makefile: Add rules to build and run unload8 test.
39606 * elf/unload8.c: New file.
39607 * elf/unload8mod1.c: New file.
39608 * elf/unload8mod1x.c: New file.
39609 * elf/unload8mod2.c: New file.
39610 * elf/unload8mod3.c: New file.
39611
39612 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39613 it wasn't used.
39614
2c0b250a
DM
396152011-08-23 David S. Miller <davem@davemloft.net>
39616
39617 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39618 subtract stack bias.
39619 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39620 %sp not %fp in calculations.
39621 (_JMPBUF_UNWINDS_ADJ): Likewise.
39622
22044b48
DM
39623 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39624 (aio_suspend): Call it to force an exception region around the
39625 AIO_MISC_WAIT() invocation.
39626
2cae4995
AS
396272011-08-23 Andreas Schwab <schwab@redhat.com>
39628
39629 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39630 backslash.
39631
873a772e
AJ
396322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39633
39634 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39635 protection macro.
39636 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39637 and <dl-machine.h>.
39638 (Elf64_FuncDesc): Remove.
39639
25ad0df1
DM
396402011-08-22 David S. Miller <davem@davemloft.net>
39641
39642 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39643 sigaltstack check, add missing cfi directives.
39644 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39645 missing cfi directives, and sigaltstack handling.
39646
e888bcbe
AS
396472011-08-16 Andreas Schwab <schwab@redhat.com>
39648
39649 [BZ #11724]
39650 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39651 object is seen twice.
39652 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39653
39654 * elf/Makefile (distribute): Add tst-initorder2.c.
39655 (tests): Add tst-initorder2.
39656 (modules-names): Add tst-initorder2a tst-initorder2b
39657 tst-initorder2c tst-initorder2d. Add rules to build them.
39658 ($(objpfx)tst-initorder2.out): New rule.
39659 * elf/tst-initorder2.c: New file.
39660 * elf/tst-initorder2.exp: New file.
39661
87162f46
AS
396622011-08-22 Andreas Schwab <schwab@redhat.com>
39663
70538b7f
AS
39664 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39665
f55ffe58
AS
39666 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39667 dependencies back to end of function.
39668
87162f46
AS
39669 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39670 $(elfobjdir)/ld.so.
39671
91b392a4
UD
396722011-08-21 Ulrich Drepper <drepper@gmail.com>
39673
39674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39675 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39677 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39678 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39679 of __vdso_gettimeofday.
39680 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39681 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39682 attribute_hidden.
39683 (_libc_vdso_platform_setup): Remove initialization of
39684 __vdso_gettimeofday and __vdso_time.
39685
5c43483f
UD
396862011-08-20 Ulrich Drepper <drepper@gmail.com>
39687
775a77e7
UD
39688 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39689 and fgetc_unlocked.
39690 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39691 getc_unlocked.
89f447ed 39692
49c74ba9
UD
39693 * elf/dl-open.c (add_to_global): Report additions to the global scope
39694 for LD_DEBUG=scopes.
39695 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39696 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39697
5c43483f
UD
39698 [BZ #13114]
39699 * stdio-common/Makefile (tests): Add bug24.
39700 * stdio-common/bug24.c: New file.
39701
a101b025
AJ
397022011-08-19 Andreas Jaeger <aj@suse.de>
39703
39704 [BZ #13114]
39705 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39706 non-existant file when using close-on-exec mode.
39707
c88f1766
UD
397082011-08-20 Ulrich Drepper <drepper@gmail.com>
39709
0276a718
UD
39710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39711 the very first instruction.
39712
c88f1766
UD
39713 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39714 the CFI state in the end.
39715 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39716 inclusion of dl-trampoline.h.
39717 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39718
51ccffa0
AS
397192011-08-19 Andreas Schwab <schwab@redhat.com>
39720
94d7165f
AS
39721 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39722 expectations for long double.
39723
51ccffa0
AS
39724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39725 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39726
fd708658 397272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39728
39729 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39730 artificual limit depends upon the system page size.
39731
44f0a71e
UD
397322011-08-17 Ulrich Drepper <drepper@gmail.com>
39733
39734 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39735 * resolv/Makefile: Define CFLAGS-libresolv.
39736
8de79a24
AS
397372011-08-17 Andreas Schwab <schwab@redhat.com>
39738
39739 * nss/makedb.c (compute_tables): Make variables used in nested
39740 function static.
39741
27724598
UD
397422011-08-17 Ulrich Drepper <drepper@gmail.com>
39743
c5305d88
UD
39744 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39745 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39746 if buffer was too small.
39747
27724598
UD
39748 * elf/pldd.c (main): Attach to all threads in the process.
39749 Rewrite /proc handling to use *at functions.
39750
076fe015
UD
397512011-08-16 Ulrich Drepper <drepper@gmail.com>
39752
174baab3
UD
39753 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39754 specifies first scope to show.
39755 (dl_open_worker): Update callers. Move printing scope of new
39756 object to before the relocation.
44f0a71e 39757 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39758 * sysdeps/generic/ldsodefs.h: Update declaration.
39759
076fe015
UD
39760 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39761 string for the scope number.
39762
a60df2c3
UD
397632011-08-14 Ulrich Drepper <drepper@gmail.com>
39764
39765 * nscd/servicescache.c (cache_addserv): Make sure written is always
39766 initialized.
39767
5e4287d1
RM
397682011-08-14 Roland McGrath <roland@hack.frob.com>
39769
85ae0589
RM
39770 * sysdeps/i386/i486/bits/atomic.h
39771 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39772 statement expression, so as to suppress "set but not used" warning.
39773 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39774
69f63097
RM
39775 * string/strncat.c (STRNCAT): Use prototype definition.
39776
675456ef
RM
39777 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39778 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39779 -Iprograms here.
39780 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39781 (localedef-modules): Add localedef.
39782 (locale-modules): Add locale.
39783
5e4287d1
RM
39784 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39785 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39786 to avoid a warning.
39787
9c96ff23
DM
397882011-08-14 David S. Miller <davem@davemloft.net>
39789
39790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39791 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39792
f9ddf089
UD
397932011-08-13 Ulrich Drepper <drepper@gmail.com>
39794
44f0a71e 39795 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39796 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39797 * elf/rtld.c (dl_main): Set l_name of vDSO.
39798 Call _dl_show_scope when DL_DEBUG_SCOPES.
39799 (process_dl_debug): Recognize scopes flag and also set it for all.
39800 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39801 Declare _dl_show_scope.
39802
1dc27704
UD
39803 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39804 (do_dlopen): Pass caller_dlopen to dl_open.
39805 (__libc_dlopen_mode): Initialize caller_dlopen.
39806
f9ddf089
UD
39807 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39808 of libc. Make tolower call locale-independent. Optimize a bit by
39809 using isdigit instead of isalnum.
39810 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39811
9ac533d3
UD
398122011-08-12 Ulrich Drepper <drepper@gmail.com>
39813
39814 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39815 was a dependency or dynamically loaded.
39816
89edf2e9
UD
398172011-08-11 Ulrich Drepper <drepper@gmail.com>
39818
8e999d29
UD
39819 * intl/l10nflist.c: Allow architecture-specific pop function.
39820 * sysdeps/x86_64/l10nflist.c: New file.
39821
89edf2e9
UD
39822 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39823 classification.
39824
14d96785
AS
398252011-08-10 Andreas Schwab <schwab@redhat.com>
39826
39827 * include/dirent.h: Add libc_hidden_proto for scandirat and
39828 scandirat64. Don't declare __scandirat64.
39829 * dirent/scandirat.c: Add libc_hidden_def.
39830 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39831 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39832
6761ac04
DM
398332011-08-10 David S. Miller <davem@davemloft.net>
39834
39835 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39836 enum.
39837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39840
c55fbd1e
UD
398412011-08-09 Ulrich Drepper <drepper@gmail.com>
39842
39843 * Versions.def [libc]: Add GLIBC_2.15.
39844 * dirent/Makefile (routines): Add scandirat and scandirat64.
39845 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39846 GLIBC_2.15.
39847 * dirent/dirent.h: Declare scandirat and scandirat64.
39848 * dirent/scandirat.c: New file.
39849 * dirent/scandirat64.c: New file.
39850 * sysdeps/wordsize-64/scandirat.c: New file.
39851 * sysdeps/wordsize-64/scandirat64.c: New file.
39852 * dirent/opendir.c: Define opendirat.
39853 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39854 using scandirat.
39855 * dirent/scandir64.c: Adjust for scandir.c change.
39856 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39857 __scandirat64, and __scandir_cancel_handler.
39858 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39859 additional parameter and use openat instead of open (outside of ld.so).
39860 Add new __opendir as wrapper around __opendirat.
39861 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39862 here without requiring old scandirat implementation.
39863
879165f2
UD
398642011-08-08 Ulrich Drepper <drepper@gmail.com>
39865
39866 * dirent/scandir.c (cancel_handler): Renamed to
39867 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39868 defined. Adjust users.
39869 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39870 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39871
cb7e923b
UD
398722011-08-04 Ulrich Drepper <drepper@gmail.com>
39873
16292edd
UD
39874 * string/test-string.h (IMPL): Use __STRING to expand name and then
39875 stringify it.
39876
cb7e923b
UD
39877 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39878 of cleanups.
39879
cff82933
LD
398802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39881
39882 * string/Makefile: Update.
39883 (strop-tests): Append strncat.
39884 * string/test-wcscmp.c: New file.
39885 New comprehensive test for wcscmp.
39886 * string/test-strcmp.c: Update.
39887 (WIDE): New define.
39888
9be9bfcc
AS
398892011-07-22 Andreas Schwab <schwab@redhat.com>
39890
39891 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39892 line.
39893
2e96f1c7
AS
398942011-07-26 Andreas Schwab <schwab@redhat.com>
39895
39896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39897 encoding to ACE if AI_IDN.
39898
85188888
JJ
398992011-08-01 Jakub Jelinek <jakub@redhat.com>
39900
39901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39902 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39903
5fa16e9b
LD
399042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39905
39906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39907 Fix overflow bug in strncat.
39908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39909
39910 * string/test-strncat.c: Update.
39911 Add new tests for checking overflow bugs.
39912
399132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39914
39915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39916 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39917 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39918 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39919 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39920 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39921 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39922 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39923 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39924
39925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39926 (USE_AS_STRCAT): Define.
39927 Add strcat and strncat support.
39928 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39929
8c1a459f
AS
399302011-07-25 Andreas Schwab <schwab@redhat.com>
39931
39932 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39933 __n bigger than INT_MAX+1.
39934 (__strncmp_g): Likewise.
39935
bba33c28
UD
399362011-07-23 Ulrich Drepper <drepper@gmail.com>
39937
798be72d
UD
39938 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39939 * libio/stido.h: Likewise.
39940
8accd4dc
UD
39941 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39942 (AF_NFC): Define.
39943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39944 (AF_NFC): Define.
39945
cbff0d96
UD
39946 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39951
9191c04a
UD
39952 [BZ #13021]
39953 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39954 installed.
39955
bba33c28
UD
39956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39957 typo.
39958 (_dl_x86_64_save_sse): Likewise.
39959
90f139dd
UD
399602011-07-22 Ulrich Drepper <drepper@gmail.com>
39961
1aae088a
UD
39962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39963 OSXSAVE.
39964 (_dl_x86_64_save_sse): Likewise.
39965
8e2045f5
UD
39966 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39967
90f139dd
UD
39968 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39969
1d002f25
AS
399702011-07-21 Andreas Schwab <schwab@redhat.com>
39971
39972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39973 change.
39974 (_dl_x86_64_save_sse): Use correct AVX check.
39975
21137f89
UD
399762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39977
39978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39979 bug in strncpy/strncat.
39980 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39981
a65c0b7a
UD
399822011-07-21 Ulrich Drepper <drepper@gmail.com>
39983
39984 * string/tester.c (test_strcat): Add tests for different alignments
39985 of source and destination.
39986 (test_strncat): Likewise.
39987
6986b98a
UD
399882011-07-20 Ulrich Drepper <drepper@gmail.com>
39989
90bb2039
UD
39990 [BZ #12852]
39991 * posix/glob.c (glob): Check passed in values before using them in
39992 expressions to avoid some overflows.
39993 (glob_in_dir): Likewise.
39994
5644ef54
UD
39995 [BZ #13007]
39996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39997 check for AVX enablement so that we don't crash with old kernels and
39998 new hardware.
39999 * elf/tst-audit4.c: Add same checks here.
40000 * elf/tst-audit6.c: Likewise.
40001
40002 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40003
bfc9dc9b
AS
400042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40005
40006 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40007
702e64bb
UD
400082011-07-20 Ulrich Drepper <drepper@gmail.com>
40009
40010 * po/cs.po: Update from translation team.
40011 * po/bg.po: Likewise.
40012
295e904f
MP
400132011-07-12 Marek Polacek <mpolacek@redhat.com>
40014
40015 * misc/sys/cdefs.h: Add support for const attribute.
40016 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40017 to gnu_dev_{major,minor,makedev} functions.
40018
3ff94596
MP
400192011-07-20 Marek Polacek <mpolacek@redhat.com>
40020
40021 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40022
28b59fca
AS
400232011-07-20 Andreas Schwab <schwab@redhat.com>
40024
40025 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40026 strlen results.
40027
19df733e
AK
400282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40029
40030 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40031 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40032 register in order to avoid conflicts with the soft frame pointer
40033 being held in r11 when necessary.
40034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40035 (INTERNAL_VSYSCALL_NCS): Likewise.
40036
c8835729
MP
400372011-07-14 Marek Polacek <mpolacek@redhat.com>
40038
40039 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40040 * elf/dl-fini.c (_dl_fini): Adjust caller.
40041 * elf/dl-close.c (_dl_close_worker): Likewise.
40042 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40043
b902330c
MP
400442011-07-15 Marek Polacek <mpolacek@redhat.com>
40045
8991e135
MP
40046 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40047 "aux_cache->nlibs < 0".
40048
b902330c
MP
40049 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40050 in the reload-count case.
40051
99710781
LD
400522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40053
40054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40055 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40056 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40057 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40058 * sysdeps/x86_64/multiarch/strcat.S: New file.
40059 * sysdeps/x86_64/multiarch/strncat.S: New file.
40060 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40061 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40062 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40063 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40064 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40065 (USE_AS_STRCAT): Define.
40066 Add strcat and strncat support.
40067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40068 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40069 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40070 * string/strncat.c: Update.
40071 (USE_AS_STRNCAT): Define.
40072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40073 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40074 and i7.
40075 * sysdeps/x86_64/multiarch/init-arch.h
40076 (bit_Prefer_PMINUB_for_stringop): New.
40077 (index_Prefer_PMINUB_for_stringop): Likewise.
40078 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40079 bit_Prefer_PMINUB_for_stringop.
40080
7dc6bd90
UD
400812011-07-19 Ulrich Drepper <drepper@gmail.com>
40082
40083 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40084 buffer64.
40085 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40086 of casting of buffer.
40087 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40088 buffer32 and buffer64.
40089 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40090 writes instead of casting of buffer.
40091 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40092 buffer32.
40093 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40094 casting of buffer.
40095
e0e72284
AS
400962011-07-19 Andreas Schwab <schwab@redhat.com>
40097
40098 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40099
feb1eb0b
UD
401002011-07-19 Ulrich Drepper <drepper@gmail.com>
40101
40102 * nscd/nscd.c (termination_handler): Don't do anything for a database
40103 if it has not yet been initialized.
40104
298711ff
UD
401052011-07-18 Ulrich Drepper <drepper@gmail.com>
40106
40107 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40108
401092011-07-15 Marek Polacek <mpolacek@redhat.com>
40110
40111 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40112
f9d68389
UD
401132011-07-18 Ulrich Drepper <drepper@gmail.com>
40114
40115 * po/nl.po: Update from translation team.
40116 * po/sv.po: Likewise.
40117
db290cf5
RM
401182011-07-16 Roland McGrath <roland@hack.frob.com>
40119
40120 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40121 now disallowed by GCC.
5c550700 40122
fd5e21c7
RM
40123 * configure.in (use-default-link): Default to yes if a test -shared
40124 link meets our qualifications.
40125 * configure: Regenerated.
40126
5c550700
RM
40127 * config.make.in (output-format): New variable.
40128 * configure.in: Check for ld --print-output-format support.
40129 * configure: Regenerated.
40130 * Makerules ($(common-objpfx)format.lds)
40131 [$(output-format) != unknown]: Just use $(output-format),
40132 instead of the linker-script munging.
40133
9fa2c032
RM
401342011-07-14 Roland McGrath <roland@hack.frob.com>
40135
a6928d51
RM
40136 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40137 of $(common-objpfx)shlib.lds.
40138 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40139
661607b3
RM
40140 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40141 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40142
9fa2c032
RM
40143 * configure.in (-z relro check): Adjust test code to add a large
40144 writable data section after it.
40145 * configure: Regenerated.
40146
defe9061
RM
401472011-07-11 Roland McGrath <roland@hack.frob.com>
40148
40149 * configure.in (-z relro check): Fix test code to make the variable
40150 truly const.
40151 * configure: Regenerated.
40152
319b9ad4
UD
401532011-07-11 Ulrich Drepper <drepper@gmail.com>
40154
40155 * nscd/nscd.h (struct traced_file): Define.
40156 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40157 elements. Add traced_files.
40158 (inotify_fd): Declare.
40159 (register_traced_file): Declare.
40160 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40161 (inotify_fd): Export.
40162 (resolv_conf_descr): Remove.
40163 (nscd_init): Move inotify descriptor creation to main.
40164 Don't register files for notification here.
40165 (register_traced_file): New function.
40166 (invalidate_cache): Don't use reset_res to determine whether to call
40167 res_init, go through the list of registered files.
40168 (main_loop_poll): The inotify descriptors are now stored in the
40169 structures for the traced files.
40170 (main_loop_epoll): Likewise
40171 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40172 to __nss_disable_nscd.
40173 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40174 for a database anymore. Check the records for all the registered
40175 files instead.
40176 * nss/Makefile (libnss_files-routines): Add files-init.
40177 (libnss_db-routines): Add db-init.
40178 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40179 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40180 * nss/nss_db/db-init.c: New file.
40181 * nss/nss_files/files-init.c: New file.
40182 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40183 __nss_lookup_function.
40184 (__nss_lookup_function): Call nss_load_library.
40185 (nss_load_all_libraries): New function.
40186 (__nss_disable_nscd): Take parameter with callback function for files
40187 to register. Set is_nscd. Load all the DSOs for the NSS modules
40188 used for the cached services.
40189 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40190 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40191 options for features to all the files in nscd.
40192
40193 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40194
23bee3e8
RM
401952011-07-10 Roland McGrath <roland@hack.frob.com>
40196
40197 * csu/elf-init.c (__libc_csu_init): Comment typo.
40198
46a5b7f0
UD
401992011-07-09 Ulrich Drepper <drepper@gmail.com>
40200
40201 * po/pl.po: Update from translation team.
40202 * po/ja.po: Likewise.
40203 * po/ru.po: Likewise.
40204 * po/ko.po: Likewise.
40205 * po/fr.po: Likewise.
40206
d30cf5bb
RM
402072011-07-09 Roland McGrath <roland@hack.frob.com>
40208
113ddea4
RM
40209 * configure.in (.ctors/.dtors header and trailer check):
40210 Use an empirical test on a built program.
40211 * configure: Regenerated.
40212
574920b4
RM
40213 * configure.in (-z relro check): Use an empirical test on a built DSO.
40214 Detect, but do not require, on ia64.
40215 * configure: Regenerated.
40216
d30cf5bb
RM
40217 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40218 Update tests that use readelf to use $READELF instead.
40219 * configure: Regenerated.
40220
8538fdb3
UD
402212011-07-08 Ulrich Drepper <drepper@gmail.com>
40222
40223 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40224 if the result is not used.
40225
04d08991
AJ
402262011-07-05 Andreas Jaeger <aj@suse.de>
40227
40228 [BZ#9696]
40229 * stdlib/tst-strtod.c: Add testcase.
40230
de283087
AD
402312011-07-07 Ulrich Drepper <drepper@gmail.com>
40232
4e5f31c8 40233 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40234 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40235 The latter has a higher limit. Take additional parameter to pass to
40236 the new function.
40237 (__pathconf): Pass file to __statfs_link_max.
40238 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40239 __statfs_link_max.
40240 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40241 __statfs_link_max.
40242
de283087
AD
40243 [BZ #12868]
40244 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40245 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40246 Handle Lustre.
40247 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40248 (__statfs_filesize_max): Likewise.
40249 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40250
c75fa153
AJ
402512011-07-05 Andreas Jaeger <aj@suse.de>
40252
40253 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40254
1a544854
UD
402552011-07-06 Marek Polacek <mpolacek@redhat.com>
40256
40257 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40258 `status' variable.
40259 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40260 Likewise.
40261
6f0eec67
UD
402622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40263
40264 * Makefile (strop-tests): Add strncat.
40265 * string/test-strncat.c: New file.
40266
aae30307
UD
402672011-06-30 Marek Polacek <mpolacek@redhat.com>
40268
40269 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40270
c0cfb5eb
UD
402712011-06-21 Andreas Jaeger <aj@suse.de>
40272
40273 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40274 Copy rule from iconvdata/Makefile.
40275
01636b21
UD
402762011-07-06 Ulrich Drepper <drepper@gmail.com>
40277
40278 [BZ #12922]
40279 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40280 but no long options are defined, just return 'W'.
40281
9895c8bc
UD
402822011-06-22 Marek Polacek <mpolacek@redhat.com>
40283
40284 [BZ #9696]
40285 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40286
5d4cf042
UD
402872011-07-06 Ulrich Drepper <drepper@gmail.com>
40288
40289 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40290 netgroups to read.
960e5535 40291 (innetgr): Likewise.
5d4cf042 40292
751eb97e
RM
402932011-07-05 Roland McGrath <roland@hack.frob.com>
40294
40295 * config.make.in (install_root): Default to $(DESTDIR).
40296
f15f1e45
UD
402972011-07-05 Ulrich Drepper <drepper@gmail.com>
40298
40299 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40300
4e34ac6a
RM
403012011-07-02 Roland McGrath <roland@hack.frob.com>
40302
5e9b6af4
RM
40303 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40304
84f9ea0f
RM
40305 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40306 containing directory rather than embedding absolute directory names.
40307
ea5ee9f7
RM
40308 * scripts/check-local-headers.sh: Rewritten using awk.
40309 Match by word, not by line. Print error messages for matches.
40310 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40311
1b74661a
RM
40312 * Makerules [shlib-lds-flags empty]:
40313 ($(common-objpfx)libc_pic.opts): New target.
40314 ($(common-objpfx)libc_pic.os.clean): New target.
40315 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40316
40317 * config.make.in (OBJCOPY): New variable.
40318 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40319 * configure: Regenerated.
40320
f781ef40
RM
40321 * config.make.in (use-default-link): New variable.
40322 * configure.in (use_default_link): Grok --with-default-link to set it.
40323 * configure: Regenerated.
40324 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40325 (shlib-lds, shlib-lds-flags): Define to empty.
40326
2d4fa81e
RM
40327 * Makerules (shlib-lds): New variable.
40328 (shlib-lds-flags): New variable.
40329 (build-shlib, build-moduile, build-module-asneeded): Use it.
40330 ($(common-objpfx)libc.so): Use $(shlib-lds).
40331 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40332 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40333
31fffa6b
RM
40334 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40335 DT_FLAGS/DT_FLAGS_1 with zero flags.
40336
4e34ac6a
RM
40337 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40338 linker script munging.
40339
fcfc776b
UD
403402011-07-02 Ulrich Drepper <drepper@gmail.com>
40341
40342 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40343 as 128-bit value.
40344 * crypt/sha512.c (sha512_process_block): Perform total addition using
40345 128-bit if possible.
40346 (__sha512_finish_ctx): Likewise.
40347 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40348 as 64-bit value.
40349 * crypt/sha256.c (SWAP64): Define.
40350 (sha256_process_block): Perform total addition using 64-bit if
40351 possible.
40352 (__sha256_finish_ctx): Likewise.
40353
99231d9a
UD
403542011-07-01 Ulrich Drepper <drepper@gmail.com>
40355
40356 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40358 * nscd/hstcache.c (cache_addhst): Likewise.
40359 * nscd/grpcache.c (cache_addgr): Likewise.
40360 * nscd/aicache.c (addhstaiX): Likewise
40361 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40362
445b4a53
TK
403632011-07-01 Thorsten Kukuk <kukuk@suse.de>
40364
40365 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40367 * nscd/hstcache.c (cache_addhst): Likewise.
40368 * nscd/grpcache.c (cache_addgr): Likewise.
40369 * nscd/aicache.c (addhstaiX): Likewise
40370
6d4d8e8e
AS
403712011-07-01 Andreas Schwab <schwab@redhat.com>
40372
40373 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40374 domain only when needed.
40375
89f654c5
AS
403762011-06-30 Andreas Schwab <schwab@redhat.com>
40377
40378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40379 is always restored.
40380
cf3b23ff
UD
403812011-06-29 Ulrich Drepper <drepper@gmail.com>
40382
40383 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40384 are re-adding the entry.
40385 * nscd/servicescache.c (cache_addserv): Likewise.
40386
751626f9
AJ
403872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40388
40389 * sysdeps/generic/dl-irel.h: fix protection against multiple
40390 inclusions.
40391 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40392
9113ea1f
UD
403932011-06-28 Ulrich Drepper <drepper@gmail.com>
40394
5c0b8d90
UD
40395 [BZ #12935]
40396 * malloc/memusage.sh: Fix quoting in message.
40397 * debug/xtrace.sh: Likewise.
40398
9113ea1f
UD
40399 * configure.in: Remove support for --experimental-malloc option, make
40400 it the default.
40401 * config.make.in: Likewise.
40402 * malloc/Makefile: Likewise.
40403
a4172181
AS
404042011-06-27 Andreas Schwab <schwab@redhat.com>
40405
40406 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40407 two-byte characters.
40408
78a7eee7
RM
404092011-06-27 Roland McGrath <roland@hack.frob.com>
40410
62bede13
RM
40411 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40412 AC_CACHE_CHECK invocation.
40413 * configure: Regenerated.
40414
78a7eee7
RM
40415 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40416
5ce33a62
UD
404172011-06-27 Ulrich Drepper <drepper@gmail.com>
40418
034807a9
UD
40419 [BZ #12350]
40420 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40421 bit from old_res_options.
40422
4902da17
UD
40423 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40424
5ce33a62
UD
40425 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40426 value type for setfct.
40427
c2344f56
L
404282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40429
40430 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40431 __gettimeofday instead of gettimeofday.
40432
68468076
UD
404332011-06-26 Ulrich Drepper <drepper@gmail.com>
40434
40435 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40436
acb0d739
L
404372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40438
40439 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40440
40441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40442 info.
40443
8912479f
L
404442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40445
40446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40447 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40448 strcpy-sse2-unaligned strncpy-sse2-unaligned
40449 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40450 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40451 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40452 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40453 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40454 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40456 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40457 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40458 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40459 (STRCPY): Support SSE2 and SSSE3 versions.
40460
d5495a11
UD
404612011-06-24 Ulrich Drepper <drepper@gmail.com>
40462
40463 [BZ #12874]
40464 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40465 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40466 kernels which artificially limit size of requests.
40467
0b1cbaae
L
404682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40469
40470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40471 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40472 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40473 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40474 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40475 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40476 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40477 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40478 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40480 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40481 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40482 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40483 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40484 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40486 Enable unaligned load optimization for Intel Core i3, i5 and i7
40487 processors.
40488 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40489 Define.
40490 (index_Fast_Unaligned_Load): Define.
40491 (HAS_FAST_UNALIGNED_LOAD): Define.
40492
07f494a0
MP
404932011-06-23 Marek Polacek <mpolacek@redhat.com>
40494
40495 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40496
fa3fc0fe
UD
404972011-06-22 Ulrich Drepper <drepper@gmail.com>
40498
40499 [BZ #12907]
40500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40501 until it is clear that the information is realy needed.
40502 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40503
e12df166
AS
405042011-06-22 Andreas Schwab <schwab@redhat.com>
40505
40506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40507
852eb34d
UD
405082011-06-22 Ulrich Drepper <drepper@gmail.com>
40509
84e2a551
UD
40510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40511 /sys/devices/system/cpu/online if it is usable.
40512
852eb34d
UD
40513 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40514 reading the information from the /proc filesystem to once a second.
40515
6e502e19
UD
405162011-06-21 Andreas Jaeger <aj@suse.de>
40517
40518 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40519 NULL after inclusion of kernel headers.
40520
75d39ff2
UD
405212011-06-21 Ulrich Drepper <drepper@gmail.com>
40522
51f9aa6a
UD
40523 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40524 calls to internal_setent.
40525
c0244a9d
UD
40526 [BZ #12885]
40527 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40528 addresses using gethostbyname4_r ignore IPv4 addresses.
40529
c5e3c2ae
UD
40530 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40531 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40532
75d39ff2
UD
40533 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40534
42675c6f
DM
405352011-06-20 David S. Miller <davem@davemloft.net>
40536
40537 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40538 inclusions.
40539 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40540
40541 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40542 (elf_irel): Use it.
40543 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40544 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40545 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40546 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40547 * sysdeps/x86_64/dl-irel.h: Likewise.
40548
40549 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40550 * elf/dl-sym.c: Likewise.
40551
57912a71
UD
405522011-06-15 Ulrich Drepper <drepper@gmail.com>
40553
40554 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40555 need to dereference resplen2.
40556
ee22793d
AS
405572011-06-14 Andreas Schwab <schwab@redhat.com>
40558
40559 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40560
a9e836b0
UD
405612011-06-15 Ulrich Drepper <drepper@gmail.com>
40562
77fb9117
UD
40563 * Makeconfig: Define vardbdir and inst_vardbdir.
40564 * nss/Makefile: Add rules to install db-Makefile.
40565
40c1b22c
UD
40566 * nss/nss_db/db-XXX.c: Cleanup.
40567
9f2da732
UD
40568 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40569 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40570 GLIBC_PRIVATE.
40571 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40572 * nss/makedb.c: Implement -g option to specify that value strings
40573 are generated and should not be added to table iterated over for
40574 get*ent calls.
40575 * nss/nss_db/db-initgroups.c: New file.
40576
82e9a1f7
UD
40577 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40578 interface.
40579
c41af17e
UD
40580 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40581 (internal_getgrouplist): Adjust to name change.
40582 Update use_initgroups_entry if this is not the first call.
40583 * nss/databases.def: Add initgroups entry.
40584
a9e836b0
UD
40585 * nss/makedb.c (compute_tables): Check result of multiple hash table
40586 sizes to minimize maximum chain length.
40587
2666d441
UD
405882011-06-14 Ulrich Drepper <drepper@gmail.com>
40589
40590 * Versions.def: Add entry for libnss_db.
40591 * shlib-versions: Likewise.
40592 * nss/Makefile: Add rules to build libnss_db.
40593 * nss/Versions: Add libnss_db information. Organize libnss_files
40594 entries better.
40595 * nss/db-Makefile: Add gshadow support. Change rules for the new
40596 makedb progra. Some minor improvements to generate smaller files.
40597 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40598 here from...
40599 * nss/makedb.c: ...here.
40600 Improve database format to be smaller and require less memory at
40601 runtime.
40602 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40603 db anymore.
40604 * nss/nss_db/db-netgrp.c: Likewise.
40605 * nss/nss_db/db-open.c: Likewise.
40606 * nss/nss_files/flies-XXX.x: Adjust comments.
40607 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40608 * nss/nss_files/files-grp.c: Likewise.
40609 * nss/nss_files/files-hosts.c: Likewise.
40610 * nss/nss_files/files-network.c: Likewise.
40611 * nss/nss_files/files-proto.c: Likewise.
40612 * nss/nss_files/files-pwd.c: Likewise.
40613 * nss/nss_files/files-rpc.c: Likewise.
40614 * nss/nss_files/files-service.c: Likewise.
40615 * nss/nss_files/files-sgrp.c: Likewise.
40616 * nss/nss_files/files-spwd.c: Likewise.
40617 * nss/nss_db/db-alias.c: Removed.
40618 * nss/nss_db/dummy-db.h: Removed.
40619
9ee76b5a
UD
406202011-06-02 Ulrich Drepper <drepper@gmail.com>
40621
40622 * nss/makedb.c: Rewritten to not use database library.
40623 * nss/Makefile: Update to build new makedb program.
40624
c71ca1f8
AJ
406252011-06-14 Andreas Jaeger <aj@suse.de>
40626
40627 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40628 memset declaration.
40629
3154bfb8
UD
406302011-06-10 Andreas Schwab <schwab@redhat.com>
40631
40632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40633 tmpbuf.
40634
b350afab
RM
406352011-06-10 Roland McGrath <roland@hack.frob.com>
40636
decd4e50
RM
40637 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40638 * elf/Makefile ($(objpfx)ld.so): Likewise.
40639
5615eaf2
RM
40640 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40641 Don't list ld.so twice in dependencies.
40642
40643 * posix/bug-regex31.c: Include <stdlib.h>.
40644
40645 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40646
40647 * nis/nss_compat/compat-spwd.c
40648 (getspent_next_nss_netgr): Remove unused variable.
40649 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40650
40651 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40652 nonmembers" output to use the right array.
40653
40654 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40655
40656 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40657
40658 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40659 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40660 * catgets/gencat.c (read_input_file): Likewise.
40661 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40662
40663 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40664 variable definition inside #if's controlling its use.
40665
40666 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40667
40668 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40669
40670 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40671
40672 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40673 unreachable code.
40674
40675 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40676
b68e08db
RM
40677 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40678 * configure: Regenerated.
40679
b350afab
RM
40680 * Makerules: Revert last change.
40681 * elf/Makefile: Likewise.
40682
28368601
RM
406832011-06-09 Roland McGrath <roland@hack.frob.com>
40684
40685 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40686 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40687 (reloc-link): Likewise.
40688
11988f8f
UD
406892011-06-09 Ulrich Drepper <drepper@gmail.com>
40690
40691 * elf/Makefile: Add rules to build pldd.
40692 * elf/pldd.c: New file.
40693 * elf/pldd-xx.c: New file.
40694
e80fab37
UD
406952011-06-07 Ulrich Drepper <drepper@gmail.com>
40696
40697 * version.h: Update for 2.15 development version.
40698
9b849836
DM
406992011-06-07 David S. Miller <davem@davemloft.net>
40700
40701 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40702 ifuncs.
40703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40704 elf_machine_lazy_rel): Likewise.
40705 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40707 elf_machine_lazy_rel): Likewise.
40708 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40709 dl_hwcap via passed in argument.
40710 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40711 Likewise.
40712
5a31b283
AK
407132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40714
40715 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40716
069e52f8
RM
407172011-06-06 Roland McGrath <roland@hack.frob.com>
40718
40719 [BZ #12849]
40720 * manual/fdl-1.1.texi: New file, verbatim from:
40721 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40722 * manual/lgpl-2.1.texi: New file, verbatim from:
40723 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40724 * manual/Makefile (licenses): New variable, list those new file names.
40725 (texis): Use it.
40726 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40727
40728 * manual/fdl.texi: File removed.
40729 * manual/lesser.texi: File removed.
40730 * manual/libc.texinfo (Copying, Documentation License):
40731 Use new @include file names, put @appendix directive before @include.
40732
f16846a5
JJ
407332011-06-04 Jakub Jelinek <jakub@redhat.com>
40734
40735 [BZ #12841]
40736 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40737 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40738 (mq_open): Add __NTH.
40739
3d29045b
L
407402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40741
40742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40743 Assume Intel Core i3/i5/i7 processor if AVX is available.
40744
8c297311
UD
407452011-05-31 Ulrich Drepper <drepper@gmail.com>
40746
40747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40748 typo.
40749
c8fc0c91
UD
407502011-05-31 Andreas Schwab <schwab@redhat.com>
40751
40752 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40753 memory. Use alloca_account. Fix memory leak when retrying.
40754
5b27a807
UD
407552011-05-31 Ulrich Drepper <drepper@gmail.com>
40756
356f8bc6
UD
40757 * version.h (RELEASE): Bump for 2.14 release.
40758 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40759
5b27a807
UD
40760 * config.make.in (RANLIB): Remove entry.
40761
01f16ab0
UD
407622011-05-30 Ulrich Drepper <drepper@gmail.com>
40763
41fce8bd
UD
40764 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40765 (libc.pot): Work around missing support for .ksh extension in xgettext.
40766
4769ae77
UD
40767 [BZ #12684]
40768 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40769 if both request failed.
40770 (send_dg): In case of server errors clear resplen or *resplen2.
40771
6b1e7d19
UD
40772 [BZ #12454]
40773 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40774 when there are multiple maps.
40775 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40776 (_dl_fini): Remove test here.
40777
01f16ab0
UD
40778 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40779
b1ebd700
UD
407802011-05-29 Ulrich Drepper <drepper@gmail.com>
40781
7ae22829
UD
40782 [BZ #12350]
40783 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40784 bit from old_res_options.
40785 (gaih_inet): Likewise.
40786
553149f6 40787 [BZ #11099]
18a84741 40788 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40789 as signed.
40790
652ffab1
UD
40791 * resolv/res_init.c (res_setoptions): Make the code more compact.
40792
16985fd0
UD
40793 [BZ #11558]
40794 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40795 set RES_USEVC.
40796
0464f746
UD
40797 [BZ #11634]
40798 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40799
7d17596c
UD
40800 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40801
cf6bbbd7
UD
40802 [BZ #11781]
40803 * malloc/malloc.h: Declare malloc hook variables as volatile.
40804
13f1ab36
UD
40805 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40806 in last patch.
40807
b1ebd700
UD
40808 [BZ #11799]
40809 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40810 raise in the comment.
80e2212d
UD
40811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40812 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40813 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40814
ce67228d
UD
408152011-05-28 Ulrich Drepper <drepper@gmail.com>
40816
8887a920
UD
40817 [BZ #12811]
40818 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40819 grow the buffers more if it already has to be sufficient.
40820 (build_wcs_upper_buffer): Likewise.
40821 * posix/regexec.c (check_matching): Likewise.
40822 (clean_state_log_if_needed): Likewise.
40823 (extend_buffers): Don't enlarge buffers beyond size of the input
40824 buffer.
40825 Patches mostly by Emil Wojak <emil@wojak.eu>.
40826 * posix/bug-regex32.c: New file.
40827 * posix/Makefile (tests): Add bug-regex32.
40828
4f031072
UD
40829 * locale/findlocale.c (_nl_find_locale): Return right away if
40830 _nl_explode_name failed.
40831 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40832
d0478f0c
UD
40833 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40834
de81b246
UD
40835 * debug/xtrace.sh: Unify messages.
40836 * malloc/memusage.sh: Likewise.
40837
c738465a
UD
40838 [BZ #12813]
40839 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40840 time symbol from vDSO. Substitute with vsyscall if not available.
40841 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40842 __vdso_time.
40843
f1f929d7
UD
40844 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40845 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40846 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40847 Add sendmmsg and internal_sendmmsg.
40848 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40849 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40850 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40851
ce67228d
UD
40852 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40853 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40855
e57420c6
UD
408562011-05-27 Ulrich Drepper <drepper@gmail.com>
40857
a8509ca5
UD
40858 [BZ #12813]
40859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40860 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40861 available.
40862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40863 __vdso_getcpu.
40864
e57420c6
UD
40865 [BZ #12814]
40866 * iconvdata/Makefile (tests): Add bug-iconv9.
40867 * iconvdata/bug-iconv9.c: New file.
40868
4d07db15
AS
408692011-05-27 Andreas Schwab <schwab@redhat.com>
40870
40871 [BZ #12814]
40872 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40873
ea486f69
JJ
408742011-05-25 Jakub Jelinek <jakub@redhat.com>
40875
40876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40877 (struct user_regs_struct): Change intcs field back to cs.
40878
6f038433
UD
408792011-05-25 Ulrich Drepper <drepper@gmail.com>
40880
40881 * po/ja.po: Update from translation team.
40882
67f86a25
UD
408832011-05-23 Ulrich Drepper <drepper@gmail.com>
40884
40885 [BZ #12795]
40886 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40887 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40888
def7fbd6
AS
408892011-05-20 Andreas Schwab <schwab@redhat.com>
40890
40891 * stdlib/longlong.h: Update from GCC.
40892
f50ef8f1
AS
408932011-05-23 Andreas Schwab <schwab@redhat.com>
40894
40895 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40896 parameter name.
40897 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40898 Add parameter name.
40899 (__sysconf): Pass it down.
40900
de7ce8f1
UD
409012011-05-22 Ulrich Drepper <drepper@gmail.com>
40902
f2962a71
UD
40903 [BZ #12671]
40904 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40905 some situations.
40906 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40907 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40908 add in in __libc_use_alloca calls. Adjust callers.
40909 (glob): Use malloc in some situations.
40910
de7ce8f1
UD
40911 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40912 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40913 pltexit.
40914
aec84f53
UD
409152011-05-21 Ulrich Drepper <drepper@gmail.com>
40916
05bb4a68
UD
40917 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40918 and CLOCK_BOOTTIME_ALARM.
40919
7ea72f99
UD
40920 [BZ #12782]
40921 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40922 is returned.
40923
7e4afad5
UD
40924 * string/_strerror.c (__strerror_r): Print negative errors as signed
40925 numbers.
40926
8e211fec
UD
40927 [BZ #12777]
40928 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40929 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40930 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40931
f7d82dc9
UD
40932 * configure.in: Fix typo in redirection and correct removal of test
40933 files in two cases.
40934
cc9e536d
UD
40935 [BZ #12788]
40936 * locale/setlocale.c (new_composite_name): Fix test to check for
40937 identical name of all categories.
40938
aec84f53
UD
40939 [BZ #12792]
40940 * libio/filedoalloc.c (local_isatty): New function.
40941 (_IO_file_doallocate): Use local_isatty.
40942 * stdio-common/perror.c (perror): In case a new stream is used
40943 forward the stream error.
40944 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40945 error flag.
40946
78e64fdc
RT
409472011-05-20 Ulrich Drepper <drepper@gmail.com>
40948
34a9094f
UD
40949 [BZ #11869]
40950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40951 alloca.
40952 * include/alloca.h (extend_alloca_account): Define.
40953
78e64fdc
RT
40954 [BZ #11857]
40955 * posix/regex.h: Fix comments with documentation of user-accessible
40956 fields after compilation and describe correct free'ing of pattern
40957 after re_compile_pattern.
40958 Patch by Reuben Thomas <rrt@sc3d.org>.
40959
457bddfc
RA
409602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40961
40962 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40963 and -mno-altivec to prevent the compiler from using Altivec and/or
40964 VSX instructions when the corresponding registers are not available.
40965
a4527b51
AS
409662011-05-19 Andreas Schwab <schwab@redhat.com>
40967
40968 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40969
ed690b2f
UD
409702011-05-19 Ulrich Drepper <drepper@gmail.com>
40971
40972 * libio/freopen.c (freopen): Use __dup2, not dup2.
40973 * libio/freopen64.c (freopen64): Likewise.
40974
8db73634
L
409752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40976
40977 [BZ #12775]
40978 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40979 * math/Makefile (tests): Add test-powl.
40980 (CFLAGS-test-powl.c): Define.
40981 * math/test-powl.c: New file.
40982
0a197a9d
L
409832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40984
40985 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40986
ee30c380
UD
409872011-05-17 Ulrich Drepper <drepper@gmail.com>
40988
40989 [BZ #11837]
40990 * iconvdata/gb18030.c: Update to GB18020-2005.
40991
6ce75379
UD
409922011-05-16 Ulrich Drepper <drepper@gmail.com>
40993
a4b89fd8
AR
40994 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40995 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40996 Patch by Aharon Robbins <arnold@skeeve.com>.
40997
ea389b12
UD
40998 [BZ #11892]
40999 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41000 on the stack.
41001
68a3f91f
UD
41002 [BZ #11895]
41003 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41004 through underflows.
41005
15cc7dd1
UD
41006 [BZ #12766]
41007 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41008 point to strings before performing equality test for error_one_per_line
41009 mode.
41010
f3799213
UD
41011 [BZ #11697]
41012 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41013
d79a9c94
UD
41014 [BZ #11820]
41015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41016 (struct user_fpregs_struct): Avoid __uint*_t types.
41017
56e5eb46
UD
41018 [BZ #6420]
41019 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41020 symbol info. Use it instead of calling _dl_addr locally.
41021 (lock_and_info): New function.
41022 (tr_freehook): Call lock_and_info and pass symbol info as additional
41023 parameter to tr_where.
41024 (tr_mallochook): Likewise.
41025 (tr_reallochook): Likewise.
41026 (tr_memalignhook): Likewise.
41027
6ce75379
UD
41028 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41029 used and couldn't be at all thread-safe.
41030
f8a3b5bf
UD
410312011-05-15 Ulrich Drepper <drepper@gmail.com>
41032
94b7cc37
UD
41033 * libio/freopen.c (freopen): Don't close old file descriptor
41034 before the new one is opened. Instead dup the new file descriptor
41035 to the old one after the new stream is created.
41036 * libio/freopen64.c (freopen64): Likewise.
41037 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41038 * libio/fileops.c (_IO_new_file_close_it): Handle new
41039 _IO_FLAGS2_NOCLOSE flag.
41040 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41041 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41042 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41043 _IO_FLAGS2_NOCLOSE flag.
41044 * include/unistd.h: Add hidden_proto for dup3.
41045 Define __have_dup3.
41046 * io/dup3.c: Define hidden symbol.
41047 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41048
bd25564e
UD
41049 [BZ #7101]
41050 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41051 when an incomplete long option is used.
41052 * posix/tst-getopt_long1.c: New file.
41053 * posix/Makefile (tests): Add tst-getopt_long1.
41054
c84cfef4
UD
41055 [BZ #10138]
41056 * scripts/config.guess: Update from autoconf-2.68.
41057 * scripts/config.sub: Likewise.
41058
3b85df27
UD
41059 [BZ #10157]
41060 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41061 tests into ...
41062 (has_cpuclock): ...this. New function.
41063 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41064 macro here based on has_cpuclock code.
41065
15a856b1
UD
41066 [BZ #10149]
41067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41068 First byte (not low byte) is now always NUL.
41069 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41070
05f399e6
UD
41071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41072 Use non-cancelable interfaces.
41073
10a52685 41074 [BZ #9809]
94ecc67d
UD
41075 * locale/iso-639.def: Add entry for Sorani.
41076
f8a3b5bf
UD
41077 [BZ #11901]
41078 * include/stdlib.h: Move include protection to the right place.
41079 Define abort_msg_s. Declare __abort_msg with it.
41080 * stdlib/abort.c (__abort_msg): Adjust type.
41081 * assert/assert.c (__assert_fail_base): New function. Majority
41082 of code from __assert_fail. Allocate memory for __abort_msg with
41083 mmap.
41084 (__assert_fail): Now call __assert_fail_base.
41085 * assert/assert-perr.c: Remove bulk of implementation. Use
41086 __assert_fail_base.
41087 * include/assert.hL Declare __assert_fail_base.
41088 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41089 mmap.
41090 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41091
1af4e298
UD
410922011-05-14 Ulrich Drepper <drepper@gmail.com>
41093
f8a3b5bf 41094 [BZ #11952]
d26dfc60
MG
41095 [BZ #12453]
41096 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41097 until all modules are registered in the DTV.
41098 * elf/Makefile: Add rules to build and run tst-tls19.
41099 * elf/tst-tls19.c: New file.
41100 * elf/tst-tls19mod1.c: New file.
41101 * elf/tst-tls19mod2.c: New file.
41102 * elf/tst-tls19mod3.c: New file.
41103 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41104
2fc54d6f
UD
41105 [BZ #12083]
41106 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41107 correctly.
41108
98d76b46
UD
41109 [BZ #12601]
41110 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41111 two-byte sequence errors.
41112 * iconvdata/Makefile (tests): Add bug-iconv8.
41113 * iconvdata/bug-iconv8.c: New file.
41114
da3c19ef
UD
41115 [BZ #12626]
41116 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41117 buf2 definition.
41118
ca408c15
UD
41119 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41120
d6f67f7d
UD
41121 [BZ #12432]
41122 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41123 (dummy_getcfa): New function.
41124 (init): Get _Unwind_GetCFA address, use dummy if not found.
41125 (backtrace_helper): In recursion check, also check whether CFA changes.
41126 (__backtrace): Completely initialize arg.
41127
1af4e298 41128 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41129 storing incomplete byte sequence in state object. Avoid testing for
41130 guaranteed too small input if we know there is enough data available.
1af4e298 41131
da62f81b
AS
411322011-05-11 Andreas Schwab <schwab@redhat.com>
41133
41134 * Makeconfig (+link-pie): Indent.
41135 * Rules (binaries-pie): Define if $(have-fpie) and
41136 $(build-shared).
41137 (binaries-shared): Also filter out $(binaries-pie).
41138 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41139 * nscd/Makefile (others-pie): Add nscd.
41140 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41141 ($(objpfx)nscd): Remove command override.
41142 * login/Makefile (others-pie): Add pt_chown.
41143 ($(objpfx)pt_chown): Remove command override.
41144 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41145 remove command overrides.
41146
fcabc0f8
UD
411472011-05-13 Ulrich Drepper <drepper@gmail.com>
41148
20030ae6
UD
41149 * libio/tst_putwc.c: Fix error messages.
41150
fcabc0f8
UD
41151 [BZ #12724]
41152 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41153 currently writing and seek to current position when not.
41154 * libio/Makefile (tests): Add bug-fclose1.
41155 * libio/bug-fclose1.c: New file.
41156
320a5dc0
PB
411572011-05-12 Ulrich Drepper <drepper@gmail.com>
41158
41159 [BZ #12511]
41160 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41161 don't set DF_1_NODELETE here.
41162 (do_lookup_x): When entering new entry test for copy relocation
41163 and if necessary set DF_1_NODELETE flag.
41164 * elf/tst-unique4.cc: New file.
41165 * elf/tst-unique4.h: New file.
41166 * elf/tst-unique4lib.cc: New file.
41167 * elf/Makefile: Add rules to build and run tst-unique4.
41168 Patch by Piotr Bury <pbury@goahead.com>.
41169
22836f52
UD
411702011-05-11 Ulrich Drepper <drepper@gmail.com>
41171
f574184a
UD
41172 [BZ #12052]
41173 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41174
e1fb097f
UD
41175 [BZ #12625]
41176 * misc/mntent_r.c (addmntent): Flush the stream after the output
41177
22836f52
UD
41178 [BZ #12393]
41179 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41180 (is_trusted_path_normalize): Skip initial colon. Append slash
41181 to empty buffer. Duplicate is_trusted_path code but allow
41182 constructed patch to be prefix.
41183 (is_dst): Allow $ORIGIN followed by /.
41184 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41185 Correct testing of result of is_trusted_path_normalize
41186 (decompose_rpath): Fix warning.
41187
7b3b0b2a
UD
411882011-05-10 Ulrich Drepper <drepper@gmail.com>
41189
41190 [BZ #11257]
41191 * grp/initgroups.c (internal_getgrouplist): When we found the service
41192 list through the initgroups entry in nsswitch.conf do not always
41193 continue on a successful lookup. Don't always use the
eac80ce2 41194 __nss_group_database value if it is set.
7b3b0b2a
UD
41195 * nss/nsswitch.conf (initgroups): Change action for successful db
41196 lookup to continue for compatibility.
41197
2a81eaa5
UD
411982011-05-09 Ulrich Drepper <drepper@gmail.com>
41199
be97a69e
UD
41200 [BZ #11532]
41201 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41202 and CP774 modules.
41203 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41204 and CP774 modules.
41205 * iconvdata/tst-tables.sh: Likewise.
41206 * iconvdata/cp770.c: New file.
41207 * iconvdata/cp771.c: New file.
41208 * iconvdata/cp772.c: New file.
41209 * iconvdata/cp773.c: New file.
41210 * iconvdata/cp774.c: New file.
41211 * iconvdata/testdata/CP770: New file.
41212 * iconvdata/testdata/CP770..UTF8: New file.
41213 * iconvdata/testdata/CP771: New file.
41214 * iconvdata/testdata/CP771..UTF8: New file.
41215 * iconvdata/testdata/CP772: New file.
41216 * iconvdata/testdata/CP772..UTF8: New file.
41217 * iconvdata/testdata/CP773: New file.
41218 * iconvdata/testdata/CP773..UTF8: New file.
41219 * iconvdata/testdata/CP774: New file.
41220 * iconvdata/testdata/CP774..UTF8: New file.
41221
41222 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41223 END CHARMAP line.
41224 * iconvdata/gen-8bit-gap.sh: Likewise.
41225 * iconvdata/gen-8bit.sh: Likewise.
41226
c1e9e399
UD
41227 * locale/iso-639.def: Add ary entry.
41228
24c55fb3 41229 [BZ #11258]
96b4b1b0
UD
41230 * locale/C-translit.h.in: Add U20A1 transliteration.
41231
bdc2f971
KB
41232 [BZ #12178]
41233 * locale/iso-639.def: Add wae entry.
41234 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41235
2952b117
UD
41236 [BZ #12545]
41237 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41238 for n.
41239
2a81eaa5
UD
41240 [BZ #12711]
41241 * locale/C-translit.h.in: Add entry for U20B9.
41242 Patch by pravin.d.s@gmail.com.
41243
28377d1b
UD
412442011-05-08 Ulrich Drepper <drepper@gmail.com>
41245
7fb90fb8
UD
41246 [BZ #12713]
41247 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41248 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41249 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41250 in rtld. Use *stat64.
7fb90fb8 41251 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41252 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41253 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41254 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41255 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41256 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41257 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41258 __fstatat64 macros.
7fb90fb8
UD
41259 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41260 * dirent/rewinddir.c: Add libc_hidden_def.
41261 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41262 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41263
28377d1b
UD
41264 * include/dirent.h (__alloc_dir): Add flags parameter.
41265 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41266 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41267 __alloc_dir.
41268 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41269 from fdopendir if O_CLOEXEC is already set.
41270
66bdbaa4
AM
412712011-03-15 Alan Modra <amodra@gmail.com>
41272
41273 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41274 l_tls_firstbyte_offset non-zero. Save padding offset in
41275 l_tls_firstbyte_offset for later use.
41276 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41277 freeing static tls block.
41278
95721191
JN
412792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41280
41281 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41282 where #ifdef was intended. The intent is to prevent ARG_MAX from
41283 being defined by the kernel headers.
41284
f87dfb1f
UD
412852011-05-07 Ulrich Drepper <drepper@gmail.com>
41286
41287 [BZ #12734]
41288 * resolv/resolv.h: Define RES_NOTLDQUERY.
41289 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41290 no-tld-query and set RES_NOTLDQUERY.
41291 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41292 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41293 modern BIND to search name as TLD unless forbidden.
41294
47c3cd7a
UD
412952011-05-07 Petr Baudis <pasky@suse.cz>
41296 Ulrich Drepper <drepper@gmail.com>
41297
41298 [BZ #12393]
41299 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41300 (is_trusted_path): ...to here.
c1e9ea35 41301 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41302 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41303 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41304
8a35c912
PP
413052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41306
41307 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41308 __BEGIN/__END_DECLS.
41309
acd41f47
UD
413102011-05-06 Ulrich Drepper <drepper@gmail.com>
41311
41312 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41313 NSS_STATUS_NOTFOUND if no record was found.
41314
597df647
AS
413152011-05-05 Andreas Schwab <schwab@redhat.com>
41316
41317 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41318 (headers-not-in-tirpc): Remove rpc/netdb.h
41319 * resolv/netdb.h: Revert last change.
41320
b9af1301
PP
413212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41322
41323 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41324 circular dependency between libgcc.a and libc.a.
41325
4e34d5f5
AS
413262011-05-05 Andreas Schwab <schwab@redhat.com>
41327
41328 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41329 * nis/Makefile: Don't install rpcsvc/*.
41330 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41331 instead of <rpc/types.h>.
41332 (MAXHOSTNAMELEN): Define.
41333
00ee369c
AS
413342011-05-03 Andreas Schwab <schwab@redhat.com>
41335
41336 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41337
0b592a30
MB
413382011-04-28 Maciej Babinski <mbabinski@google.com>
41339
41340 [BZ #12714]
41341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41342 gethostbyname4_r when IPv6 results are possible.
41343
6e04cbbe
UD
413442011-05-02 Ulrich Drepper <drepper@gmail.com>
41345
41346 [BZ #12723]
41347 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41348 _PC_PIPE_BUF handling.
41349
e4ecafe0
BH
413502011-04-30 Bruno Haible <bruno@clisp.org>
41351
41352 [BZ #12717]
41353 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41354 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41355 to 'int'.
41356 * inet/getnameinfo.c (getnameinfo): Likewise.
41357
125ee683
UD
413582011-04-29 Ulrich Drepper <drepper@gmail.com>
41359
41360 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41361 to groups setting in database lookup.
41362 * nss/nsswitch.conf: Add initgroups entry.
41363
b722481a
EB
413642011-04-22 Ulrich Drepper <drepper@gmail.com>
41365
41366 [BZ #12685]
41367 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41368 mode string.
41369 Patch by Eric Blake <eblake@redhat.com>.
41370
4df46dbd
L
413712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41372
41373 * sunrpc/Makefile (need-export-routines): Add svc_run.
41374 (routines): Remove svc_run.
41375 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41376 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41377 * sunrpc/svc_run.c (svc_run): Likewise.
41378 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41379
e84142d2
UD
413802011-04-21 Ulrich Drepper <drepper@gmail.com>
41381
41382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41383 problem in reallocation in last patch.
41384
877175d8
UD
413852011-04-20 Ulrich Drepper <drepper@gmail.com>
41386
41387 * sunrpc/Makefile: Move inclusion of Rules.
41388
ab8eed78
UD
413892011-04-19 Ulrich Drepper <drepper@gmail.com>
41390
41391 * nss/nss_files/files-initgroups.c: New file.
41392 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41393 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41394 _nss_files_initgroups_dyn.
41395
e3d8f584
RS
413962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41397
41398 * elf/elf.h (R_ARM_IRELATIVE): Define.
41399
af190f45
UD
414002011-04-19 Ulrich Drepper <drepper@gmail.com>
41401
41402 * po/ru.po: Update from translation team.
41403
53cf59ef
UD
414042011-04-17 Ulrich Drepper <drepper@gmail.com>
41405
41406 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41407 dependencies.
41408
4c559bcd
MF
414092011-02-06 Mike Frysinger <vapier@gentoo.org>
41410
41411 [BZ #12653]
41412 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41413 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41414 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41415 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41417
4420675c
AS
414182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41419
41420 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41421 differing bytes.
41422 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41423 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41425
75ea32ab
UD
414262011-04-17 Ulrich Drepper <drepper@gmail.com>
41427
41428 [BZ #12420]
41429 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41430 storing it.
41431 * stdlib/bug-getcontext.c: New file.
41432 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41433
27390476
AK
414342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41435
41436 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41437 instructions into .machine "z9-109".
41438 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41439 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41440
10442705
AK
414412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41442
41443 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41444 between environment variables and auxiliary vector.
41445
7b57bfe5
UD
414462011-04-16 Ulrich Drepper <drepper@gmail.com>
41447
41448 * Makefile: Add rules to build linkobj/libc.so.
41449 * include/libc-symbols.h: Define libc_hidden_nolink.
41450 * include/rpc/auth.h: Mark functions which are to be hidden.
41451 * include/rpc/auth_des.h: Likewise.
41452 * include/rpc/auth_unix.h: Likewise.
41453 * include/rpc/clnt.h: Likewise.
41454 * include/rpc/des_crypt.h: Likewise.
41455 * include/rpc/key_prot.h: Likewise.
41456 * include/rpc/pmap_clnt.h: Likewise.
41457 * include/rpc/pmap_prot.h: Likewise.
41458 * include/rpc/pmap_rmt.h: Likewise.
41459 * include/rpc/rpc_msg.h: Likewise.
41460 * include/rpc/svc.h: Likewise.
41461 * include/rpc/svc_auth.h: Likewise.
41462 * include/rpc/xdr.h: Likewise.
41463 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41464 * nss/Makefile: Likewise.
41465 * sunrpc/Makefile: Don't install headers. Build library with normal
41466 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41467 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41468 for the compat linking library. Remove use of INTDEF/INTUSE.
41469 * sunrpc/auth_none.c: Likewise.
41470 * sunrpc/auth_unix.c: Likewise.
41471 * sunrpc/authdes_prot.c: Likewise.
41472 * sunrpc/authuxprot.c: Likewise.
41473 * sunrpc/clnt_gen.c: Likewise.
41474 * sunrpc/clnt_perr.c: Likewise.
41475 * sunrpc/clnt_raw.c: Likewise.
41476 * sunrpc/clnt_simp.c: Likewise.
41477 * sunrpc/clnt_tcp.c: Likewise.
41478 * sunrpc/clnt_udp.c: Likewise.
41479 * sunrpc/clnt_unix.c: Likewise.
41480 * sunrpc/des_crypt.c: Likewise.
41481 * sunrpc/des_soft.c: Likewise.
41482 * sunrpc/get_myaddr.c: Likewise.
41483 * sunrpc/key_call.c: Likewise.
41484 * sunrpc/key_prot.c: Likewise.
41485 * sunrpc/netname.c: Likewise.
41486 * sunrpc/pm_getmaps.c: Likewise.
41487 * sunrpc/pm_getport.c: Likewise.
41488 * sunrpc/pmap_clnt.c: Likewise.
41489 * sunrpc/pmap_prot.c: Likewise.
41490 * sunrpc/pmap_prot2.c: Likewise.
41491 * sunrpc/pmap_rmt.c: Likewise.
41492 * sunrpc/publickey.c: Likewise.
41493 * sunrpc/rpc_cmsg.c: Likewise.
41494 * sunrpc/rpc_common.c: Likewise.
41495 * sunrpc/rpc_dtable.c: Likewise.
41496 * sunrpc/rpc_prot.c: Likewise.
41497 * sunrpc/rpc_thread.c: Likewise.
41498 * sunrpc/rtime.c: Likewise.
41499 * sunrpc/svc.c: Likewise.
41500 * sunrpc/svc_auth.c: Likewise.
41501 * sunrpc/svc_authux.c: Likewise.
41502 * sunrpc/svc_raw.c: Likewise.
41503 * sunrpc/svc_run.c: Likewise.
41504 * sunrpc/svc_simple.c: Likewise.
41505 * sunrpc/svc_tcp.c: Likewise.
41506 * sunrpc/svc_udp.c: Likewise.
41507 * sunrpc/svc_unix.c: Likewise.
41508 * sunrpc/svcauth_des.c: Likewise.
41509 * sunrpc/xcrypt.c: Likewise.
41510 * sunrpc/xdr.c: Likewise.
41511 * sunrpc/xdr_array.c: Likewise.
41512 * sunrpc/xdr_float.c: Likewise.
41513 * sunrpc/xdr_intXX_t.c: Likewise.
41514 * sunrpc/xdr_mem.c: Likewise.
41515 * sunrpc/xdr_rec.c: Likewise.
41516 * sunrpc/xdr_ref.c: Likewise.
41517 * sunrpc/xdr_sizeof.c: Likewise.
41518 * sunrpc/xdr_stdio.c: Likewise.
41519
e6c61494
UD
415202011-04-10 Ulrich Drepper <drepper@gmail.com>
41521
41522 [BZ #12650]
41523 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41524 * sysdeps/ia64/dl-tls.h: Likewise.
41525 * sysdeps/powerpc/dl-tls.h: Likewise.
41526 * sysdeps/s390/dl-tls.h: Likewise.
41527 * sysdeps/sh/dl-tls.h: Likewise.
41528 * sysdeps/sparc/dl-tls.h: Likewise.
41529 * sysdeps/x86_64/dl-tls.h: Likewise.
41530 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41531
34fe483e
AS
415322011-03-14 Andreas Schwab <schwab@redhat.com>
41533
41534 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41535 rpath element also skip the following colon.
41536 (expand_dynamic_string_token): Add is_path parameter and pass
41537 down to DL_DST_REQUIRED and _dl_dst_substitute.
41538 (decompose_rpath): Call expand_dynamic_string_token with
41539 non-zero is_path. Ignore empty rpaths.
41540 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41541 with zero is_path.
41542
f12a32e6
AS
415432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41544
41545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41546 Make cancelable.
41547
38a7d692
UD
415482011-04-09 Ulrich Drepper <drepper@gmail.com>
41549
41550 [BZ #12655]
41551 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41552 Patch by Filipe David Manana <fdmanana@apache.org>.
41553
e451d22b
AS
415542011-04-07 Andreas Schwab <schwab@redhat.com>
41555
41556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41557 Maintain aligned stack.
41558 (CHECK_RSP): Remove unused macro.
41559
dedc7c7b
UD
415602011-04-03 Ulrich Drepper <drepper@gmail.com>
41561
41562 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41563 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41564
94521213
UD
415652011-04-02 Ulrich Drepper <drepper@gmail.com>
41566
41567 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41568
8cb700c0 41569 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41570
0354e355
L
415712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41572
41573 [BZ #12518]
41574 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41575 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41576 * sysdeps/x86_64/memmove.c: New file.
41577 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41578 (memcpy): Renamed to ...
41579 (__new_memcpy): This.
41580 (memcpy): Provide GLIBC_2_14 memcpy.
41581 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41582 (memcpy): Provide GLIBC_2_2_5 memcpy.
41583
8593482f
UD
415842011-04-01 Ulrich Drepper <drepper@gmail.com>
41585
41586 [BZ #12631]
41587 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41588
81a5726b
AS
415892011-03-30 Andreas Schwab <schwab@redhat.com>
41590
41591 * misc/syncfs.c: New file.
41592 * misc/Makefile (routines): Add syncfs.
41593 * posix/unistd.h: Declare syncfs.
41594 * sysdeps/unix/syscalls.list: Add syncfs.
41595
00e5419f
AS
415962011-04-01 Andreas Schwab <schwab@redhat.com>
41597
41598 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41599 open_by_handle_at.
41600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41605 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41607
748876bf
UD
416082011-04-01 Ulrich Drepper <drepper@gmail.com>
41609
658e451d
UD
41610 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41617
748876bf
UD
41618 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41619 sync_file_range.c with -fexceptions.
41620 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41621 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41622 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41623 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41624 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41625 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41627 sync_file_range as cancellation point
41628 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41629 now a wrapper around __call_sync_file_range with cancellation handling.
41630 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41631 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41632 function name to __call_sync_file_range.
41633 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41634 Add call_sync_file_range.
748876bf 41635
6e63d5e1
AS
416362011-04-01 Andreas Schwab <schwab@redhat.com>
41637
41638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41639 bits/timex.h.
6e63d5e1 41640
46998f74
UD
416412011-04-01 Ulrich Drepper <drepper@gmail.com>
41642
4c1423ed
UD
41643 * iconv/iconv.h: Fix typo in comment.
41644 * io/fcntl.h: Likewise.
41645 * libio/stdio.h: Likewise.
41646 * posix/spawn.h: Likewise.
41647 * posix/unistd.h: Likewise.
41648 * stdlib/stdlib.h: Likewise.
41649 * time/time.h: Likewise.
41650 * wcsmbs/wchar.h: Likewise.
41651
158648c0
UD
41652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41653 open_by_handle): Add.
41654 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41655 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41656 Augment a few comments.
41657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41662 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41663 open_by_handle.
41664
46998f74
UD
41665 * io/fcntl.h (AT_EMPTY_PATH): Define.
41666
83fe108b
UD
416672011-03-30 Ulrich Drepper <drepper@gmail.com>
41668
41669 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41670 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41671 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41672 to...
41673 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41674 * Versions.def: Add GLIBC_2.14.
41675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41676 Export.
83fe108b 41677
bb242059
UD
416782011-03-22 Ulrich Drepper <drepper@gmail.com>
41679
41680 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41681 round counter.
41682 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41683
c97a1282
L
416842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41685
41686 [BZ #12597]
41687 * string/test-strncmp.c (do_page_test): New function.
41688 (check2): Likewise.
41689 (test_main): Call check2.
41690 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41691
2a115601
UD
416922011-03-20 Ulrich Drepper <drepper@gmail.com>
41693
41694 [BZ #12587]
41695 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41696 Handle cache information in CPU leaf 4.
41697 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41698
8126d904
UD
416992011-03-18 Ulrich Drepper <drepper@gmail.com>
41700
042c49c6 41701 [BZ #12583]
8126d904
UD
41702 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41703 character representation.
41704 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41705
ccfe366e
RA
417062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41707
41708 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41709 END(__isnan) to END(__isnanf) to match function entry point/label
41710 EALIGN(__isnanf,...).
41711
c6e13027
JJ
417122011-03-10 Jakub Jelinek <jakub@redhat.com>
41713
41714 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41715
33f85a3f
UD
417162011-03-10 Ulrich Drepper <drepper@gmail.com>
41717
028478fa
UD
41718 [BZ #12510]
41719 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41720 copy from the symbol referenced in the relocation to initialize the
41721 used variable.
41722 Patch by Piotr Bury <pbury@goahead.com>.
41723 * elf/Makefile: Add rules to build and tst-unique3.
41724 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41725 * elf/tst-unique3.cc: New file.
41726 * elf/tst-unique3.h: New file.
41727 * elf/tst-unique3lib.cc: New file.
41728 * elf/tst-unique3lib2.cc: New file.
41729
33f85a3f
UD
41730 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41731
03592fc7
MF
417322011-03-10 Mike Frysinger <vapier@gentoo.org>
41733
41734 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41735 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41736 to _start.
03592fc7 41737
6a5ee102
UD
417382011-03-06 Ulrich Drepper <drepper@gmail.com>
41739
41740 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41741 to-be-loaded object along a path to loader is ld.so.
41742
7e4ba49c
HJ
417432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41744 Ulrich Drepper <drepper@gmail.com>
41745
41746 * sysdeps/x86_64/memset.S: After aligning destination, code
41747 branches to different locations depending on the value of
41748 misalignment, when multiarch is enabled. Fix this.
41749
417502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41751
41752 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41753 Set _x86_64_preferred_memory_instruction for AMD processsors.
41754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41755 Set bit_Prefer_SSE_for_memop for AMD processors.
41756
13a804de
UD
417572011-03-04 Ulrich Drepper <drepper@gmail.com>
41758
41759 * libio/fmemopen.c (fmemopen): Optimize a bit.
41760
9d25c392
AS
417612011-03-03 Andreas Schwab <schwab@redhat.com>
41762
41763 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41764
a5543c6a
RM
417652011-03-03 Roland McGrath <roland@redhat.com>
41766
41767 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41768
012d35f7
DM
417692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41770
7e4ba49c 41771 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41772 __bzero_ultra1 instead of __memset_ultra1.
41773
4bff6e01
AS
417742011-02-23 Andreas Schwab <schwab@redhat.com>
41775 Ulrich Drepper <drepper@gmail.com>
41776
41777 [BZ #12509]
41778 * include/link.h (struct link_map): Add l_orig_initfini.
41779 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41780 returning unsuccessfully.
41781 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41782 close of a file loaded at startup, restore the original l_initfini
41783 list.
41784 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41785 list, store the pointer.
41786 * elf/Makefile ($(objpfx)noload-mem): New rule.
41787 (noload-ENV): Define.
41788 (tests): Add $(objpfx)noload-mem.
41789 * elf/noload.c: Include <memcheck.h>.
41790 (main): Call mtrace. Close all opened handles.
41791
f2092faf
AS
417922011-02-17 Andreas Schwab <schwab@redhat.com>
41793
41794 [BZ #12454]
41795 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41796 dependencies are missing.
41797
6c8a2e88
ST
417982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41799
f2092faf 41800 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41801 Hurd needs munmap.
41802 * sysdeps/mach/hurd/ifreq.h: New file.
41803
84a42118
PB
418042011-01-27 Petr Baudis <pasky@suse.cz>
41805 Ulrich Drepper <drepper@gmail.com>
41806
071f805e 41807 [BZ 12445]#
84a42118
PB
41808 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41809 to extend_alloca().
41810 * stdio-common/bug23.c: New file.
41811 * stdio-common/Makefile (tests): Add bug23.
41812
e23fe25b
AS
418132010-09-28 Andreas Schwab <schwab@redhat.com>
41814 Ulrich Drepper <drepper@gmail.com>
41815
41816 [BZ #12489]
41817 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41818 before performing relro protection. At old place add assertion
41819 to make sure nothing changed.
41820
d3f02e10
NS
418212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41822 Glauber de Oliveira Costa <glommer@gmail.com>
41823
41824 * elf/elf.h: Add new ARM TLS relocs.
41825
d55fd7a5
RA
418262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41827
41828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41829 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41830 cast from r3.
41831 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41832 'tests' variable.
41833 * sysdeps/wordsize-64/tst-writev.c: New file.
41834
2206397e
RA
418352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41836
41837 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41838 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41839 insns in _dl_start to prevent a TOC reference before relocs are
41840 resolved.
41841
e9433893
UD
418422011-02-15 Ulrich Drepper <drepper@gmail.com>
41843
41844 [BZ #12469]
41845 * Makeconfig: Remove RANLIB definition.
41846 * Makerules: Don't use RANLIB.
41847 * aclocal.m4: Remove ranlib test.
41848 * configure.in: No need to check for ranlib.
41849 * elf/rtld-Rules: Don't use RANLIB.
41850
f75286c6
ST
418512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41852
8e31c82d
ST
41853 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41854 protection macro.
41855 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41856 inclusion protection macro.
41857
f75286c6
ST
41858 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41859 SIGRTMIN and SIGRTMAX and print information in that case only when
41860 SIGRTMIN is defined.
41861
c1d0e639
JJ
418622011-02-11 Jakub Jelinek <jakub@redhat.com>
41863
41864 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41865 arginfo fn returning -1.
41866
41867 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41868 and thousands string is zero terminated.
41869
edf9294e
AS
418702011-02-03 Andreas Schwab <schwab@redhat.com>
41871
41872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41873 sysdeps/unix/sysv/linux/bits/socket.h.
41874
2b7e92df
ST
418752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41876
edf9294e
AS
41877 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41878 (__CPU_COUNT): Remove old macros.
41879 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41880 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41881 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41882 (__sched_cpualloc, __sched_cpufree): Add declarations.
41883
a4c7ea7b
UD
418842011-02-05 Ulrich Drepper <drepper@gmail.com>
41885
41886 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41887 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41888 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41889 (readdhstai): Return value of addhstaiX call.
41890 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41891 (addgrbyX): Return value returned by cache_addgr.
41892 (readdgrbyname): Return value returned by addgrbyX.
41893 (readdgrbygid): Likewise.
41894 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41895 (addpwbyX): Return value returned by cache_addpw.
41896 (readdpwbyname): Return value returned by addhstbyX.
41897 (readdpwbyuid): Likewise.
41898 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41899 (addservbyX): Return value returned by cache_addserv.
41900 (readdservbyname): Return value returned by addservbyX:
41901 (readdservbyport): Likewise.
41902 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41903 (addhstbyX): Return value returned by cache_addhst.
41904 (readdhstbyname): Return value returned by addhstbyX.
41905 (readdhstbyaddr): Likewise.
41906 (readdhstbynamev6): Likewise.
41907 (readdhstbyaddrv6): Likewise.
41908 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41909 (readdinitgroups): Return value returned by addinitgroupsX.
41910 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41911 (prune_cache): Keep track of timeout value of re-added entries.
41912 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41913 * nscd/nscd.h: Adjust prototypes of readd* functions.
41914
a0bf67cc
RM
419152011-02-04 Roland McGrath <roland@redhat.com>
41916
41917 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41918 (nis_stats): Likewise.
41919 * nis/nis_modify.c (nis_modify): Likewise.
41920 * nis/nis_remove.c (nis_remove): Likewise.
41921 * nis/nis_add.c (nis_add): Likewise.
41922
41923 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41924
41925 * posix/fnmatch_loop.c: Add some consts.
41926
41927 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41928
435b95eb
L
419292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41930
41931 [BZ #12460]
41932 * config.make.in (config-cflags-novzeroupper): Define.
41933 * configure.in: Substitute libc_cv_cc_novzeroupper.
41934 * elf/Makefile (AVX-CFLAGS): Define.
41935 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41936 (CFLAGS-tst-auditmod4a.c): Likewise.
41937 (CFLAGS-tst-auditmod4b.c): Likewise.
41938 (CFLAGS-tst-auditmod6b.c): Likewise.
41939 (CFLAGS-tst-auditmod6c.c): Likewise.
41940 (CFLAGS-tst-auditmod7b.c): Likewise.
41941 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41942
8517b15e
UD
419432011-02-02 Ulrich Drepper <drepper@gmail.com>
41944
41945 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41946 function to the callback.
41947 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41948
10a656fe
AS
419492011-02-02 Andreas Schwab <schwab@redhat.com>
41950
41951 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41952 of errno.
41953
968dad0a
UD
419542011-01-19 Ulrich Drepper <drepper@gmail.com>
41955
9f94d2ea 41956 [BZ #11724]
968dad0a
UD
41957 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41958 of constructors.
41959 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41960 of destructors.
41961 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41962
41963 [BZ #11724]
41964 * elf/Makefile: Add rules to build and run new test.
41965 * elf/tst-initorder.c: New file.
41966 * elf/tst-initorder.exp: New file.
41967 * elf/tst-initordera1.c: New file.
41968 * elf/tst-initordera2.c: New file.
41969 * elf/tst-initordera3.c: New file.
41970 * elf/tst-initordera4.c: New file.
41971 * elf/tst-initorderb1.c: New file.
41972 * elf/tst-initorderb2.c: New file.
41973 * elf/tst-order-a1.c: New file.
41974 * elf/tst-order-a2.c: New file.
41975 * elf/tst-order-a3.c: New file.
41976 * elf/tst-order-a4.c: New file.
41977 * elf/tst-order-b1.c: New file.
41978 * elf/tst-order-b2.c: New file.
41979 * elf/tst-order-main.c: New file.
41980 New test case by George Gensure <werkt0@gmail.com>.
41981
86e92359
UD
419822010-10-01 Andreas Schwab <schwab@redhat.com>
41983
41984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41985 decoding ACE if AI_CANONIDN.
41986
5d5732b0
UD
419872011-01-18 Ulrich Drepper <drepper@gmail.com>
41988
41989 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41990
a77e8cbc
UD
419912011-01-17 Ulrich Drepper <drepper@gmail.com>
41992
6392473f
UD
41993 * version.h (RELEASE): Bump for 2.13 release.
41994 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41995
620a0529
UD
41996 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41997
18ba70a5
UD
41998 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41999 MADV_NOHUGEPAGE.
32465c3e
UD
42000 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42002 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42006
c0dafcf1
UD
42007 * posix/getconf.c: Update copyright year.
42008 * catgets/gencat.c: Likewise.
42009 * csu/version.c: Likewise.
42010 * debug/catchsegv.sh: Likewise.
42011 * debug/xtrace.sh: Likewise.
42012 * elf/ldconfig.c: Likewise.
42013 * elf/ldd.bash.in: Likewise.
42014 * elf/sprof.c (print_version): Likewise.
42015 * iconv/iconv_prog.c: Likewise.
42016 * iconv/iconvconfig.c: Likewise.
42017 * locale/programs/locale.c: Likewise.
42018 * locale/programs/localedef.c: Likewise.
42019 * malloc/memusage.sh: Likewise.
42020 * malloc/mtrace.pl: Likewise.
42021 * nscd/nscd.c (print_version): Likewise.
42022 * nss/getent.c: Likewise.
42023
a77e8cbc
UD
42024 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42025 PF_CAIF, and PF_ALG.
42026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42027
77e8bddf
AS
420282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42029
1f20b93a
AS
42030 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42031 (modules-names): Use them.
42032 (ifunc-test-modules, ifunc-pie-tests): Define.
42033 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42034 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42035 (test-extras): Likewise.
42036 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42037 $(compile-command.c).
42038 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42039 (all-built-dso): Define.
42040 (check-textrel.out, check-execstack.out): Depend on it.
42041
77e8bddf
AS
42042 * configure.in: Don't override --enable-multi-arch.
42043
bc425b33
UD
420442011-01-15 Ulrich Drepper <drepper@gmail.com>
42045
42046 [BZ #6812]
42047 * nscd/hstcache.c (tryagain): Define.
42048 (cache_addhst): Return tryagain not notfound for temporary errors.
42049 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42050 failed.
42051
794c3ad3
UD
420522011-01-14 Ulrich Drepper <drepper@gmail.com>
42053
70181fdd
UD
42054 [BZ #10563]
42055 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42056 to make the syscall.
42057 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42058
794c3ad3
UD
42059 [BZ #12378]
42060 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42061 and fall back to matching as normal character if the string ends before
42062 the matching ']' is found. This is what POSIX requires.
42063 * posix/testfnm.c: Adjust test result.
42064 * posix/globtest.sh: Adjust test result. Add new test.
42065 * posix/tst-fnmatch.input: Likewise.
42066 * posix/tst-fnmatch2.c: Add new test.
42067
68dc9497
AS
420682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42069
42070 * elf/Makefile (check-execstack): Revert last change. Depend on
42071 check-execstack.h.
42072 (check-execstack.h): New target.
42073 (generated): Add check-execstack.h.
42074 * elf/check-execstack.c: Include "check-execstack.h".
42075 (main): Revert last change.
42076 (handle_file): Return zero if GNU_STACK is absent and
42077 DEFAULT_STACK_PERMS doesn't include PF_X.
42078
451f001b
UD
420792011-01-13 Ulrich Drepper <drepper@gmail.com>
42080
cfa28e56
UD
42081 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42082 in child fails because the descriptor is already closed.
8cf8ce17
UD
42083 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42084 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42085 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42086
1086d70d
UD
42087 [BZ #12397]
42088 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42089 syscall.
42090
451f001b
UD
42091 [BZ #10484]
42092 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42093 temporary buffer used to handle multi lookups locally.
a85b5cb4 42094 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42095
08769175
UD
420962011-01-12 Ulrich Drepper <drepper@gmail.com>
42097
42098 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42099 loader is ld.so.
42100
5e49c52e
UD
421012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42102
42103 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42104 alignment for SSE2.
42105
60522a5f
UD
421062011-01-12 Ulrich Drepper <drepper@gmail.com>
42107
42108 [BZ #12394]
42109 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42110 characters. When rounding increased number of integer digits recompute
42111 number of groups.
42112 * stdio-common/tst-grouping.c: New file.
42113 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42114
f257bbd7
UD
421152011-01-09 Ulrich Drepper <drepper@gmail.com>
42116
42117 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42118 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42119
42120 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42121 void.
42122 * bits/select.h: Likewise.
42123
fa9c15cb
UD
421242011-01-08 Ulrich Drepper <drepper@gmail.com>
42125
42126 * po/ja.po: Update from translation team.
42127
16c2895f
DM
421282011-01-04 David S. Miller <davem@sunset.davemloft.net>
42129
42130 [BZ #11155]
42131 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42132 implementation just like for lxstat, fxstatat, et al.
42133
2543fef2
JM
421342010-12-27 Jim Meyering <meyering@redhat.com>
42135
42136 [BZ #12348]
42137 * posix/regexec.c (build_trtable): Return failure indication upon
42138 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42139
98727dbe
UD
421402010-12-25 Ulrich Drepper <drepper@gmail.com>
42141
5bd6dc5c
UD
42142 [BZ #12201]
42143 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42144 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42145 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42146 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42147
97983464
UD
42148 [BZ #12207]
42149 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42150
98727dbe
UD
42151 [BZ #12204]
42152 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42153 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42154
4a531bb0
L
421552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42156
42157 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42158 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42159 script has SORT_BY_INIT_PRIORITY.
42160 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42161 NO_CTORS_DTORS_SECTIONS is defined.
42162 * elf/soinit.c: Likewise.
42163 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42164 NO_CTORS_DTORS_SECTIONS is defined.
42165 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42166 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42167 * sysdeps/sh/init-first.c: Likewise.
42168 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42169
07eb4b71
UD
421702010-12-24 Ulrich Drepper <drepper@gmail.com>
42171
42172 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42173 always use the slow path.
42174
30950a5f
RA
421752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42176
42177 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42178 similar rule which adds the sysdep directories to the header search in
42179 order to pick up the correct platform stackinfo.h.
42180 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42181 perform test if it is, otherwise return successfully without testing.
42182 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42183 DEFAULT_STACK_PERMS define in stackinfo.h.
42184 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42185 defined in stackinfo.h.
42186 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42187 DEFAULT_STACK_PERMS defined in stackinfo.h.
42188 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42189 * sysdeps/ia64/stackinfo.h: Likewise.
42190 * sysdeps/s390/stackinfo.h: Likewise.
42191 * sysdeps/sh/stackinfo.h: Likewise.
42192 * sysdeps/sparc/stackinfo.h: Likewise.
42193 * sysdeps/x86_64/stackinfo.h: Likewise.
42194 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42195 PF_X for powerpc64. Retain PF_X for powerpc32.
42196
db753e2c
UD
421972010-12-19 Ulrich Drepper <drepper@gmail.com>
42198
14b697f7
UD
42199 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42200 accurately.
db753e2c
UD
42201 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42202 GETDENTS_64BIT_ALIGNED.
42203
28300719
UD
422042010-12-14 Ulrich Drepper <dreper@gmail.com>
42205
14b697f7 42206 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42207
4f197237
AS
422082010-12-10 Andreas Schwab <schwab@redhat.com>
42209
dbb0472f
AS
42210 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42211 _GNU_SOURCE.
42212
4f197237
AS
42213 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42214 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42215 Remove __restrict.
42216 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42217 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42218
fb88ac72
UD
422192010-12-09 Ulrich Drepper <drepper@gmail.com>
42220
42221 [BZ #11655]
42222 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42223 are initialized.
42224
42acbb92
JJ
422252010-12-09 Jakub Jelinek <jakub@redhat.com>
42226
42227 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42228
c038d98d
UD
422292010-12-03 Ulrich Drepper <drepper@gmail.com>
42230
42231 * po/it.po: Update from translation team.
42232
3a4a2499
L
422332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42234
42235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42236 unused codes.
42237
1e24cf6e
UD
422382010-11-30 Ulrich Drepper <drepper@gmail.com>
42239
42240 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42241
a7690819
AS
422422010-11-24 Andreas Schwab <schwab@redhat.com>
42243
42244 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42245 specially.
42246 (gaih_getanswer_slice): Likewise.
42247
3bf8d1b1
JJ
422482010-10-20 Jakub Jelinek <jakub@redhat.com>
42249
42250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42251
6db52fbb
PB
422522010-05-31 Petr Baudis <pasky@suse.cz>
42253
42254 [BZ #11149]
42255 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42256 silently even in the chroot mode.
42257
eaca7569
UD
422582010-11-22 Ulrich Drepper <drepper@gmail.com>
42259
42260 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42261 last patch a bit. Pretty printing
42262
3056dcdb
UD
422632010-05-31 Petr Baudis <pasky@suse.cz>
42264
42265 [BZ #10085]
42266 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42267 initialization of skip_initgroups_dyn.
42268
cf7c9078
UD
422692010-11-19 Ulrich Drepper <drepper@gmail.com>
42270
42271 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42272 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42273
a1fb5e3e
UD
422742010-11-16 Ulrich Drepper <drepper@gmail.com>
42275
42276 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42277
3540d66b
AS
422782010-11-11 Andreas Schwab <schwab@redhat.com>
42279
42280 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42281 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42282 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42283 ($(objpfx)tst-fnmatch-mem): New rule.
42284 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42285 * posix/tst-fnmatch.c (main): Call mtrace.
42286
13b69574
L
422872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42288
42289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42290 Support Intel processor model 6 and model 0x2c.
42291
da93d214
LM
422922010-11-10 Luis Machado <luisgpm@br.ibm.com>
42293
42294 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42295 signed comparison.
42296
8ca52c6e
L
422972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42298
42299 [BZ #12205]
42300 * string/test-strncasecmp.c (check_result): New function.
42301 (do_one_test): Use it.
42302 (check1): New function.
42303 (test_main): Use it.
42304 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42305 Support strcasecmp and strncasecmp.
42306
69da074d
UD
423072010-11-08 Ulrich Drepper <drepper@gmail.com>
42308
42309 [BZ #12194]
42310 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42312
ff02d528
L
423132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42314
42315 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42316 IFUNC support.
42317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42318 memset-x86-64.
42319 * sysdeps/x86_64/multiarch/bzero.S: New file.
42320 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42321 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42322 * sysdeps/x86_64/multiarch/memset.S: New file.
42323 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42325 Set bit_Prefer_SSE_for_memop for Intel processors.
42326 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42327 Define.
42328 (index_Prefer_SSE_for_memop): Define.
42329 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42330
344d0b54
LM
423312010-11-04 Luis Machado <luisgpm@br.ibm.com>
42332
42333 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42334 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42335
c0dde15b
UD
423362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42337
42338 [BZ #12191]
42339 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42340 (__x86_64_raw_data_cache_size_half): Likewise.
42341 (__x86_64_raw_shared_cache_size): Likewise.
42342 (__x86_64_raw_shared_cache_size_half): Likewise.
42343
42344 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42345 (__x86_64_raw_data_cache_size_half): Likewise.
42346 (__x86_64_raw_shared_cache_size): Likewise.
42347 (__x86_64_raw_shared_cache_size_half): Likewise.
42348 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42349 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42350 and __x86_64_raw_shared_cache_size_half. Round
42351 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42352 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42353 to multiple of 256 bytes.
42354
0e516e0e
MS
423552010-11-03 Ulrich Drepper <drepper@gmail.com>
42356
42357 [BZ #12167]
42358 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42359 of inacessible symlinks. Verify result of symlink before returning it.
42360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42361 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42362
0e012e87
ER
423632010-10-28 Erich Ritz <erichritz@gmail.com>
42364
42365 * math/math.h (isinf): Fix typo in comment.
42366
de0ff7bc
UD
423672010-11-01 Ulrich Drepper <drepper@gmail.com>
42368
42369 * po/da.po: Update from translation team.
42370
fa41c84d
UD
423712010-10-26 Ulrich Drepper <drepper@gmail.com>
42372
42373 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42374 is added to the list.
42375
f0967738
AK
423762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42377 Ulrich Drepper <drepper@gmail.com>
42378
42379 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42380 the global list here. Move code to...
42381 (_dl_add_to_namespace_list): ...here. New function.
42382 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42383 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42384 * elf/dl-load.c (lose): Don't remove the element from the list.
42385 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42386 (_dl_map_object): Likewise.
42387
423882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42389
42390 [BZ #12159]
42391 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42392 into all bytes of SSE register.
42393 Patch by Richard Li <richardpku@gmail.com>.
42394
f0967738 423952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42396
42397 [BZ #12140]
42398 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42399 perturbing.
42400
d0b9e94f
MB
424012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42402
42403 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42404 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42405 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42406 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42408 submachine.
42409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42410
8e9f92e9
AS
424112010-10-22 Andreas Schwab <schwab@redhat.com>
42412
42413 * include/dlfcn.h (__RTLD_SECURE): Define.
42414 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42415 mode & __RTLD_SECURE instead.
42416 (open_path): Rename preloaded parameter to secure.
42417 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42418 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42419 * elf/dl-deps.c (openaux): Likewise.
42420 * elf/rtld.c (struct map_args): Remove is_preloaded.
42421 (map_doit): Don't use it.
42422 (dl_main): Likewise.
42423 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42424 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42425
bc96fbda
AS
424262010-09-09 Andreas Schwab <schwab@redhat.com>
42427
42428 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42429 (sysd-rules-targets): Remove duplicates.
42430 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42431 rtld-%.$o dependency.
42432
22cd1c9b
AS
424332010-10-18 Andreas Schwab <schwab@redhat.com>
42434
42435 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42436 _dl_map_object do it.
42437
18edac48
UD
424382010-10-19 Ulrich Drepper <drepper@gmail.com>
42439
42440 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42441 fast fma builtins, define the macros in the C99 standard.
42442 (FP_FAST_FMAF): Likewise.
42443 (FP_FAST_FMAL): Likewise.
42444 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42445
42446 * bits/mathdef.h: Update copyright year.
42447 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42448
d2050124
MM
424492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42450
42451 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42452 builtins, define the macros in the C99 standard.
42453 (FP_FAST_FMAF): Likewise.
42454 (FP_FAST_FMAL): Likewise.
42455 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42456 multiply/add.
42457 (FP_FAST_FMAF): Likewise.
42458
475facd1
JJ
424592010-10-15 Jakub Jelinek <jakub@redhat.com>
42460
42461 [BZ #3268]
42462 * math/libm-test.inc (fma_test): Some new testcases.
42463 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42464 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42465 y and infinite z. Do multiplication by C already in long double.
42466 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42468 y and infinite z. Do bitwise or of inexact bit into u.d.
42469 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42470 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42471 * sysdeps/i386/fpu/s_fma.S: Removed.
42472 * sysdeps/i386/fpu/s_fmal.S: Removed.
42473
7c08a05c
JJ
424742010-10-16 Jakub Jelinek <jakub@redhat.com>
42475
42476 [BZ #3268]
42477 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42479 computation is not scheduled after fetestexcept. Fix value
42480 of minimum denormal long double.
42481
f3f7372d
JJ
424822010-10-14 Jakub Jelinek <jakub@redhat.com>
42483
42484 [BZ #3268]
42485 * math/libm-test.inc (fma_test): Add some more tests.
42486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42487 correctly.
42488
14d43591
AS
424892010-10-15 Andreas Schwab <schwab@redhat.com>
42490
42491 * scripts/data/localplt-s390-linux-gnu.data: New file.
42492 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42493
5e908464
JJ
424942010-10-13 Jakub Jelinek <jakub@redhat.com>
42495
42496 [BZ #3268]
42497 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42498 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42499 instead of dbl-64.
42500 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42501 inlines.
42502 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42504 if one of x and y is very large and the other is subnormal.
42505 * sysdeps/s390/fpu/s_fmaf.c: New file.
42506 * sysdeps/s390/fpu/s_fma.c: New file.
42507 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42508 * sysdeps/powerpc/fpu/s_fma.S: New file.
42509 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42510 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42511 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42512
425132010-10-12 Jakub Jelinek <jakub@redhat.com>
42514
42515 [BZ #3268]
42516 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42517 fma tests.
42518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42519 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42520 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42521 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42522 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42523 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42525
b833d51f
UD
425262010-10-12 Ulrich Drepper <drepper@redhat.com>
42527
42528 [BZ #12078]
42529 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42530 * posix/bug-regex31.input: Add test case.
42531
1751705d
UD
425322010-10-11 Ulrich Drepper <drepper@gmail.com>
42533
e9b9cbf5
UD
42534 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42535 * posix/bug-regex31.input: New file.
42536
42537 [BZ #12078]
42538 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42539 (parse_sub_exp): Fix last change, use postorder.
42540
ef06edbe
UD
42541 * posix/bug-regex31.c: New file.
42542 * posix/Makefile: Add rules to build and run bug-regex31.
42543
a129c80d
UD
42544 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42545
42546 [BZ #12078]
42547 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42548
b76b818e
UD
42549 [BZ #12108]
42550 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42551 to have entries in sys_siglist.
42552
1751705d
UD
42553 [BZ #12093]
42554 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42555 be NULL.
42556
9ff8d36f
JJ
425572010-10-07 Jakub Jelinek <jakub@redhat.com>
42558
42559 [BZ #3268]
42560 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42561 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42562 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42563 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42564 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42565 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42566 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42567 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42568 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42569 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42570 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42571 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42572 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42573 * math/ftestexcept.c (fetestexcept): Likewise.
42574 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42575 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42576 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42577 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42578 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42579 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42580 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42581
af325969
UD
425822010-10-11 Ulrich Drepper <drepper@gmail.com>
42583
c579b202 42584 [BZ #12107]
af325969
UD
42585 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42586 newline.
42587
67a67b95
UD
425882010-10-06 Ulrich Drepper <drepper@gmail.com>
42589
42590 * string/bug-strstr1.c: New file.
42591 * string/Makefile: Add rules to build and run bug-strstr1.
42592
5fb308bc
EB
425932010-10-05 Eric Blake <eblake@redhat.com>
42594
42595 [BZ #12092]
42596 * string/str-two-way.h (two_way_long_needle): Always clear memory
42597 when skipping input due to the shift table.
42598
45db99c7
UD
425992010-10-03 Ulrich Drepper <drepper@gmail.com>
42600
3b111893
UD
42601 [BZ #12005]
42602 * malloc/mcheck.c: Handle large requests.
42603
45db99c7
UD
42604 [BZ #12077]
42605 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42606 for strncmp and strncasecmp.
42607 * string/stratcliff.c: Add tests for strcmp and strncmp.
42608 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42609
cf7a1eb8
NI
426102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42611
42612 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42613 __set_fpscr.
42614
6484ba5e
AJ
426152010-09-30 Andreas Jaeger <aj@suse.de>
42616
42617 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42618 (CGROUP_SUPER_MAGIC): Define.
42619 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42620 Handle btrfs and cgroup file systems.
42621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42622 Likewise.
42623
91c42559
LM
426242010-09-27 Luis Machado <luisgpm@br.ibm.com>
42625
42626 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42627 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42628
87a97932
AK
426292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42630
42631 [BZ #12067]
42632 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42633 trying to locate the ELF header.
42634
c21cc9bc
AS
426352010-09-27 Andreas Schwab <schwab@redhat.com>
42636
42637 [BZ #11611]
42638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42639 Mask out sign-bit copies when constructing f_fsid.
42640
315970f6
PB
426412010-09-24 Petr Baudis <pasky@suse.cz>
42642
42643 * debug/stack_chk_fail_local.c: Add missing licence exception.
42644 * debug/warning-nop.c: Likewise.
42645
1ac7a2c7
JM
426462010-09-15 Joseph Myers <joseph@codesourcery.com>
42647
42648 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42649 implementing getdents64 using getdents syscall, set d_type if
42650 __ASSUME_GETDENTS32_D_TYPE.
42651
56801c50
AS
426522010-09-16 Andreas Schwab <schwab@redhat.com>
42653
42654 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42655 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42656
dda51327
UD
426572010-09-21 Ulrich Drepper <drepper@redhat.com>
42658
42659 [BZ #12037]
42660 * posix/unistd.h: Undo change of feature selection for ftruncate from
42661 2010-01-11.
42662
8ffcee4a
UD
426632010-09-20 Ulrich Drepper <drepper@redhat.com>
42664
a545ecd9 42665 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42666 detection.
42667
e24f0a8b
AS
426682010-09-20 Andreas Schwab <schwab@redhat.com>
42669
42670 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42671 fanotify_mark.
42672 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42673
7291c56f
AS
426742010-09-14 Andreas Schwab <schwab@redhat.com>
42675
42676 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42677 variables after CHECK_SP call.
42678 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42679
bc5fb037
AS
426802010-09-13 Andreas Schwab <schwab@redhat.com>
42681 Ulrich Drepper <drepper@redhat.com>
42682
42683 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42684 re-relocationg ld.so.
42685 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42686 _dl_init_paths call.
42687 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42688 here anymore.
42689
e66e7419
UD
426902010-09-14 Ulrich Drepper <drepper@redhat.com>
42691
42692 * resolv/res_init.c (__res_vinit): Count the default server we added.
42693
c044aa75
CLT
426942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42695 Ulrich Drepper <drepper@redhat.com>
42696
42697 [BZ #11968]
42698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42699 (____longjmp_chk): Use %ebx for saving value across system call.
42700 Add unwind info.
42701
32cf4069
AS
427022010-09-06 Andreas Schwab <schwab@redhat.com>
42703
42704 * manual/Makefile: Don't mix pattern rules with normal rules.
42705
817328ee
AS
427062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42707
42708 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42709 operation.
42710 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42711 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42712 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42713 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42715 Likewise.
42716
29fddf61
UD
427172010-09-04 Ulrich Drepper <drepper@redhat.com>
42718
42719 [BZ #11979]
42720 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42721 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42722
0959ffc9
UD
427232010-09-02 Ulrich Drepper <drepper@redhat.com>
42724
42725 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42726 * sysdeps/x86_64/addmul_1.S: Likewise.
42727 * sysdeps/x86_64/lshift.S: Likewise.
42728 * sysdeps/x86_64/mul_1.S: Likewise.
42729 * sysdeps/x86_64/rshift.S: Likewise.
42730 * sysdeps/x86_64/sub_n.S: Likewise.
42731 * sysdeps/x86_64/submul_1.S: Likewise.
42732
ece29840
ST
427332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42734
0959ffc9
UD
42735 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42736 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42737 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42738 * bits/sched.h [__need_schedparam]
ece29840 42739 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42740 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42741 (__defined_schedparam): Define to 1.
ece29840
ST
42742 (__sched_param): New structure, identical to sched_param.
42743 (__need_schedparam): Undefine.
42744
e53a31fe
MF
427452010-08-31 Mike Frysinger <vapier@gentoo.org>
42746
fdc0c10d
MF
42747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42748 (epoll_create1): Declare.
42749
e53a31fe
MF
42750 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42751
a726d796
AS
427522010-08-31 Andreas Schwab <schwab@redhat.com>
42753
42754 [BZ #7066]
42755 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42756 shifting retval into place.
42757
2f3e3dc7
UD
427582010-09-01 Ulrich Drepper <drepper@redhat.com>
42759
f2933da9
UD
42760 * nis/rpcsvc/nis.h: Update copyright notice.
42761 * nis/rpcsvc/nis.x: Likewise.
42762 * nis/rpcsvc/nis_callback.h: Likewise.
42763 * nis/rpcsvc/nis_callback.x: Likewise.
42764 * nis/rpcsvc/nis_object.x: Likewise.
42765 * nis/rpcsvc/nis_tags.h: Likewise.
42766 * nis/rpcsvc/yp.h: Likewise.
42767 * nis/rpcsvc/yp.x: Likewise.
42768 * nis/rpcsvc/ypupd.h: Likewise.
42769 * nis/yp_xdr.c: Likewise.
42770 * nis/ypupdate_xdr.c: Likewise.
42771
2f3e3dc7
UD
42772 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42773 mainly the body of pmap_getport. Add parameters to specify timeouts.
42774 (pmap_getport): Use __libc_rpc_getport.
42775 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42776 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42777 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42778
f3dcc2f9
AS
427792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42780
42781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42782 fanotify_mark.
42783
6d34eb5b
RM
427842010-08-27 Roland McGrath <roland@redhat.com>
42785
42786 * sysdeps/i386/i686/multiarch/Makefile
42787 (CFLAGS-varshift.c): New variable.
42788
9ea3de11
UD
427892010-08-27 Ulrich Drepper <drepper@redhat.com>
42790
c96d23fc
UD
42791 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42792 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42793
9ea3de11
UD
42794 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42795
42796 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42797
623aac7f
L
427982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42799
42800 * sysdeps/x86_64/strlen.S: Unroll the loop.
42801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42802 strlen-sse2 strlen-sse2-bsf.
42803 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42804 __strlen_no_bsf if bit_Slow_BSF is set.
42805 (__strlen_sse42): Removed.
42806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42807 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42808
8b2b7715
RM
428092010-08-25 Roland McGrath <roland@redhat.com>
42810
42811 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42812 * sysdeps/x86_64/multiarch/varshift.c: New file.
42813 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42814 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42815 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42816 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42817
e73015f2
L
428182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42819
42820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42821 strlen-sse2 strlen-sse2-bsf.
42822 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42823 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42824 (__strlen_sse2): Removed.
42825 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42826 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42828 bit_Slow_BSF for Atom.
42829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42830 (index_Slow_BSF): Define.
42831 (HAS_SLOW_BSF): Define.
42832
df24a73e
UD
428332010-08-25 Ulrich Drepper <drepper@redhat.com>
42834
42835 [BZ #10851]
42836 * resolv/res_init.c (__res_vinit): When no server address at all
42837 is given default to loopback.
42838
f2ac4868
RM
428392010-08-24 Roland McGrath <roland@redhat.com>
42840
09055553
RM
42841 * configure.in: Remove config-name.h generation.
42842 * configure: Regenerated.
42843 * config-name.in: File removed.
42844 * scripts/config-uname.sh: New file.
42845 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42846 ($(objdir)config-name.h): New target.
42847
f2ac4868
RM
42848 * sunrpc/rpc_parse.h: Avoid nested comment.
42849
73f27d5e
RH
428502010-08-24 Richard Henderson <rth@redhat.com>
42851 Ulrich Drepper <drepper@redhat.com>
42852 H.J. Lu <hongjiu.lu@intel.com>
42853
42854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42856 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42857 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42858 _mm_alignr_epi8 with _mm_loadu_si128.
42859 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42860 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42861 (__m128i_shift_right): Removed.
42862 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42863 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42864 * sysdeps/x86_64/multiarch/varshift.h: New file.
42865 * sysdeps/x86_64/multiarch/varshift.S: New file.
42866
84b9230c
MF
428672010-08-21 Mike Frysinger <vapier@gentoo.org>
42868
42869 * configure.in: Move assembler checks to before sysdep dir checking.
42870
9bbd0ddc
PB
428712010-08-20 Petr Baudis <pasky@suse.cz>
42872
42873 * LICENSES: Sync the sunrpc license.
42874
9da4bb31
UD
428752010-08-19 Ulrich Drepper <drepper@redhat.com>
42876
a7ab6ec8
UD
42877 * sunrpc/auth_des.c: Update copyright notice once again.
42878 * sunrpc/auth_none.c: Likewise.
42879 * sunrpc/auth_unix.c: Likewise.
42880 * sunrpc/authdes_prot.c: Likewise.
42881 * sunrpc/authuxprot.c: Likewise.
42882 * sunrpc/bindrsvprt.c: Likewise.
42883 * sunrpc/clnt_gen.c: Likewise.
42884 * sunrpc/clnt_perr.c: Likewise.
42885 * sunrpc/clnt_raw.c: Likewise.
42886 * sunrpc/clnt_simp.c: Likewise.
42887 * sunrpc/clnt_tcp.c: Likewise.
42888 * sunrpc/clnt_udp.c: Likewise.
42889 * sunrpc/clnt_unix.c: Likewise.
42890 * sunrpc/des_crypt.c: Likewise.
42891 * sunrpc/des_soft.c: Likewise.
42892 * sunrpc/get_myaddr.c: Likewise.
42893 * sunrpc/getrpcport.c: Likewise.
42894 * sunrpc/key_call.c: Likewise.
42895 * sunrpc/key_prot.c: Likewise.
42896 * sunrpc/openchild.c: Likewise.
42897 * sunrpc/pm_getmaps.c: Likewise.
42898 * sunrpc/pm_getport.c: Likewise.
42899 * sunrpc/pmap_clnt.c: Likewise.
42900 * sunrpc/pmap_prot.c: Likewise.
42901 * sunrpc/pmap_prot2.c: Likewise.
42902 * sunrpc/pmap_rmt.c: Likewise.
42903 * sunrpc/rpc/auth.h: Likewise.
42904 * sunrpc/rpc/auth_unix.h: Likewise.
42905 * sunrpc/rpc/clnt.h: Likewise.
42906 * sunrpc/rpc/des_crypt.h: Likewise.
42907 * sunrpc/rpc/key_prot.h: Likewise.
42908 * sunrpc/rpc/netdb.h: Likewise.
42909 * sunrpc/rpc/pmap_clnt.h: Likewise.
42910 * sunrpc/rpc/pmap_prot.h: Likewise.
42911 * sunrpc/rpc/pmap_rmt.h: Likewise.
42912 * sunrpc/rpc/rpc.h: Likewise.
42913 * sunrpc/rpc/rpc_des.h: Likewise.
42914 * sunrpc/rpc/rpc_msg.h: Likewise.
42915 * sunrpc/rpc/svc.h: Likewise.
42916 * sunrpc/rpc/svc_auth.h: Likewise.
42917 * sunrpc/rpc/types.h: Likewise.
42918 * sunrpc/rpc/xdr.h: Likewise.
42919 * sunrpc/rpc_clntout.c: Likewise.
42920 * sunrpc/rpc_cmsg.c: Likewise.
42921 * sunrpc/rpc_common.c: Likewise.
42922 * sunrpc/rpc_cout.c: Likewise.
42923 * sunrpc/rpc_dtable.c: Likewise.
42924 * sunrpc/rpc_hout.c: Likewise.
42925 * sunrpc/rpc_main.c: Likewise.
42926 * sunrpc/rpc_parse.c: Likewise.
42927 * sunrpc/rpc_parse.h: Likewise.
42928 * sunrpc/rpc_prot.c: Likewise.
42929 * sunrpc/rpc_sample.c: Likewise.
42930 * sunrpc/rpc_scan.c: Likewise.
42931 * sunrpc/rpc_scan.h: Likewise.
42932 * sunrpc/rpc_svcout.c: Likewise.
42933 * sunrpc/rpc_tblout.c: Likewise.
42934 * sunrpc/rpc_util.c: Likewise.
42935 * sunrpc/rpc_util.h: Likewise.
42936 * sunrpc/rpcinfo.c: Likewise.
42937 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42938 * sunrpc/rpcsvc/key_prot.x: Likewise.
42939 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42940 * sunrpc/rpcsvc/mount.x: Likewise.
42941 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42942 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42943 * sunrpc/rpcsvc/rex.x: Likewise.
42944 * sunrpc/rpcsvc/rstat.x: Likewise.
42945 * sunrpc/rpcsvc/rusers.x: Likewise.
42946 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42947 * sunrpc/rpcsvc/spray.x: Likewise.
42948 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42949 * sunrpc/rtime.c: Likewise.
42950 * sunrpc/svc.c: Likewise.
42951 * sunrpc/svc_auth.c: Likewise.
42952 * sunrpc/svc_authux.c: Likewise.
42953 * sunrpc/svc_raw.c: Likewise.
42954 * sunrpc/svc_run.c: Likewise.
42955 * sunrpc/svc_simple.c: Likewise.
42956 * sunrpc/svc_tcp.c: Likewise.
42957 * sunrpc/svc_udp.c: Likewise.
42958 * sunrpc/svc_unix.c: Likewise.
42959 * sunrpc/svcauth_des.c: Likewise.
42960 * sunrpc/xcrypt.c: Likewise.
42961 * sunrpc/xdr.c: Likewise.
42962 * sunrpc/xdr_array.c: Likewise.
42963 * sunrpc/xdr_float.c: Likewise.
42964 * sunrpc/xdr_mem.c: Likewise.
42965 * sunrpc/xdr_rec.c: Likewise.
42966 * sunrpc/xdr_ref.c: Likewise.
42967 * sunrpc/xdr_sizeof.c: Likewise.
42968 * sunrpc/xdr_stdio.c: Likewise.
42969
9da4bb31
UD
42970 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42971 handling.
42972
bdaa77bc
AS
429732010-08-19 Andreas Schwab <schwab@redhat.com>
42974
42975 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42976
fe2f79db
LM
429772010-08-19 Luis Machado <luisgpm@br.ibm.com>
42978
42979 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42980 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42981 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42982 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42983 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42984 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42985 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42986 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42987 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42988 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42989 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42990 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42991 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42992 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42993
b9b42ee0
AB
429942010-07-26 Anton Blanchard <anton@samba.org>
42995
42996 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42997 * malloc/arena.c (heap_trim): Likewise.
42998
1c06ba31
UD
429992010-08-16 Ulrich Drepper <drepper@redhat.com>
43000
43001 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43002 here. Not...
43003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43004 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43005
f8392f40
L
430062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43007
43008 * sysdeps/i386/elf/Makefile: New file.
43009
3162f12e
AS
430102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43011
43012 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43013 from fanotify_init.
43014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43016
28c90b2c
UD
430172010-08-15 Ulrich Drepper <drepper@redhat.com>
43018
43019 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43020 of strncasecmp_l.
1feccb6c 43021 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43022
ca6bb004
UD
430232010-08-14 Ulrich Drepper <drepper@redhat.com>
43024
e9f82e0d
UD
43025 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43026 strncase_l-nonascii.
43027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43028 Add strncase_l-ssse3.
43029 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43030 * sysdeps/x86_64/strcmp.S: Likewise.
43031 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43032 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43033 * sysdeps/x86_64/strncase.S: New file.
43034 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43035 * sysdeps/x86_64/strncase_l.S: New file.
43036 * string/Makefile (strop-tests): Add strncasecmp.
43037 * string/test-strncasecmp.c: New file.
43038
43039 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43040 warning.
43041
ca6bb004
UD
43042 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43043 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43044
052fa7b3
AS
430452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43046
43047 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43048
962dba78
UD
430492010-08-12 Ulrich Drepper <drepper@redhat.com>
43050
43051 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43052 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43053 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43054
bebff237
AM
430552010-05-01 Alan Modra <amodra@gmail.com>
43056
43057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43058 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43059 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43060 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43061 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43062 tidying. Don't tail-call __sigjmp_save for static lib.
43063 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43064 save location.
43065 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43066 (CALL_MCOUNT): Add eh info, and nop after bl.
43067 (TAIL_CALL_SYSCALL_ERROR): New macro.
43068 (PSEUDO_RET): Use it.
43069 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43070 Correct save location of integer regs and cr.
43071 (_dl_profile_resolve): Correct cr save location. Delete nops
43072 after bl when SHARED. Reduce cfi size a little by better
43073 placement of cfi directives.
43074 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43075 make a stack frame. Instead use parm save area as a temp.
43076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43077 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43079 Don't make a stack frame for parent, use parm save area.
43080 Increase child stack frame to 112 bytes. Don't save unused reg,
43081 and adjust reg usage. Set up cfi on error recovery and
43082 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43084 (__makecontext): Add dummy nop after jump to exit.
43085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43086 Use correct parm save area and cr save, reduce stack frame.
43087 Correct cfi for possible PSEUDO_RET frame setup.
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43089 Branch to local label emitted by PSEUDO_RET rather than
43090 __syscall_error.
43091
02637374
AS
430922010-08-12 Andreas Schwab <schwab@redhat.com>
43093
43094 [BZ #11904]
43095 * locale/programs/locale.c (print_assignment): New function.
43096 (show_locale_vars): Use it.
43097
c3e2f19b
UD
430982010-08-11 Ulrich Drepper <drepper@redhat.com>
43099
3cdaa6ad
UD
43100 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43101 field.
43102 (struct statfs64): Likewise.
43103 (_STATFS_F_FLAGS): Define.
43104 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43105 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43106 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43107 (ST_VALID): Define locally.
43108 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43109 __statvfs_getflags, use the provided value.
43110 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43111 __ASSUME_STATFS_F_FLAGS.
43112
754f7da3
UD
43113 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43114
10b3bedc
UD
43115 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43116 Add sys/fanotify.h.
43117 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43118 fanotify_mask for GLIBC_2.13.
43119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43120 fanotify_init and fanotify_mark.
43121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43122 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43123
c08fb0d7
UD
43124 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43125 Add prlimit.
43126 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43127 prlimit64 for GLIBC_2.13.
43128 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43129 prlimit64.
43130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43131 syscall.
43132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43133 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43134 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43136 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43137 add prlimit alias.
43138 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43139
15bac72b
UD
43140 [BZ #11903]
43141 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43142 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43143
c3e2f19b
UD
43144 * nss/Makefile: Add rules to build and run tst-nss-test1.
43145 * shlib-versions: Add entry for libnss_test1.
43146 * nss/nss_test1.c: New file.
43147 * nss/tst-nss-test1.c: New file.
43148
43149 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43150 (__nss_configure_lookup): Set appropriate entry in
43151 __nss_configure_lookup to true.
43152 * nss/nsswitch.h: Define enum with indeces of databases in
43153 databases and __nss_database_custom arrays. Declare
43154 __nss_database_custom.
43155 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43156 to avoid using nscd when custom rules are installed.
43157 * nss/getXXbyYY_r.c: Likewise.
43158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43159
43160 * nss/nss_files/files-parse.c: Whitespace fixes.
43161
f15ce4d8
UD
431622010-08-09 Ulrich Drepper <drepper@redhat.com>
43163
43164 [BZ #11883]
43165 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43166 * posix/fnmatch_loop.c: Likewise.
43167
d22e4cc9
AK
431682010-07-17 Andi Kleen <ak@linux.intel.com>
43169
43170 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43171 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43172 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43173 * Versions.def [GLIBC_2.13]: Add.
43174
805bc17d
UD
431752010-08-06 Ulrich Drepper <drepper@redhat.com>
43176
43177 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43178 Also fail if tpwd after pwuid call is NULL.
43179
5a42321d
ST
431802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43181
43182 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43183 when converting to ms.
43184
fd3ebeda
ST
431852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43186
43187 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43188 EOPNOTSUPP errors with ENOTTY.
43189 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43190 EOPNOTSUPP errors with ENOTTY.
43191
73507d3a
UD
431922010-07-31 Ulrich Drepper <drepper@redhat.com>
43193
43194 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43195 Add strcasecmp_l-ssse3.
43196 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43197 strcasecmp.
43198 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43199 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43200 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43201
fe36dd02
UD
432022010-07-30 Ulrich Drepper <drepper@redhat.com>
43203
66f6765a
UD
43204 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43205
42e08a54
UD
43206 * string/Makefile (strop-tests): Add strcasecmp.
43207 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43208 strcasecmp_l-nonascii.
43209 (gen-as-const-headers): Add locale-defines.sym.
43210 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43211 * sysdeps/x86_64/strcasecmp.S: New file.
43212 * sysdeps/x86_64/strcasecmp_l.S: New file.
43213 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43214 * sysdeps/x86_64/locale-defines.sym: New file.
43215 * string/test-strcasecmp.c: New file.
43216
fe36dd02
UD
43217 * string/test-strcasestr.c: Test both ends of the range of characters.
43218 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43219
48cbc0d6
RM
432202010-07-29 Roland McGrath <roland@redhat.com>
43221
76e6d6bc 43222 [BZ #11856]
48cbc0d6
RM
43223 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43224
880113d9
UD
432252010-07-27 Ulrich Drepper <drepper@redhat.com>
43226
43227 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43228 for ld.so.
43229
deb9cabb
AS
432302010-07-27 Andreas Schwab <schwab@redhat.com>
43231
43232 * manual/memory.texi (Malloc Tunable Parameters): Document
43233 M_PERTURB.
43234
1c7570ff
RM
432352010-07-26 Roland McGrath <roland@redhat.com>
43236
43237 [BZ #11840]
43238 * configure.in (-fgnu89-inline check): Set and substitute
43239 gnu89_inline, not libc_cv_gnu89_inline.
43240 * configure: Regenerated.
43241 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43242
24fb0f88
UD
432432010-07-26 Ulrich Drepper <drepper@redhat.com>
43244
43245 * string/test-strnlen.c: New file.
43246 * string/Makefile (strop-tests): Add strnlen.
43247 * string/tester.c (test_strnlen): Add a few more test cases.
43248 * string/tst-strlen.c: Better error reporting.
43249
43250 * sysdeps/x86_64/strnlen.S: New file.
43251
8e96b93a
UD
432522010-07-24 Ulrich Drepper <drepper@redhat.com>
43253
43254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43255 lower-latency instructions.
43256
dbc676d4
UD
432572010-07-23 Ulrich Drepper <drepper@redhat.com>
43258
43259 * string/test-strcasestr.c: New file.
43260 * string/test-strstr.c: New file.
43261 * string/Makefile (strop-tests): Add strstr and strcasestr.
43262 * string/str-two-way.h: Don't undefine MAX.
43263 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43264
f6a31e0e
AS
432652010-07-21 Andreas Schwab <schwab@redhat.com>
43266
43267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43268 strcasestr-nonascii.
43269 (CFLAGS-strcasestr-nonascii.c): Define.
43270 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43271 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43272 Remove unused attribute.
43273
5dbc3b6c
RM
432742010-07-20 Roland McGrath <roland@redhat.com>
43275
43276 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43277 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43278 ld.so.cache was broken. With it, there is no way to disable dsocaps
43279 like LD_HWCAP_MASK can disable hwcaps.
43280
23d101d8
EPM
432812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43282
43283 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43284
cc9f2e47
UD
432852010-07-16 Ulrich Drepper <drepper@redhat.com>
43286
43287 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43288 call in strcasestr.
43289 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43290 __strcasestr_sse42_nonascii.
43291 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43292 strcasestr-nonascii.c.
43293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43294
77c1b069
LM
432952010-06-15 Luis Machado <luisgpm@br.ibm.com>
43296
43297 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43298 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43299 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43300 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43301
440566c3
UD
433022010-07-09 Ulrich Drepper <drepper@redhat.com>
43303
43304 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43305 fcntl.
43306
5be9d05d
AS
433072010-07-06 Andreas Schwab <schwab@redhat.com>
43308
c30b7ee2 43309 [BZ #11577]
5be9d05d
AS
43310 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43311 dl_signal_cerror.
43312
8a492a67
UD
433132010-07-06 Ulrich Drepper <drepper@redhat.com>
43314
43315 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43316 _PC_PIPE_BUF using F_GETPIPE_SZ.
43317
713df3d5
RM
433182010-07-05 Roland McGrath <roland@redhat.com>
43319
43320 * manual/arith.texi (Rounding Functions): Fix rint description
43321 implicit in round description.
43322
702e8f14
UD
433232010-07-02 Ulrich Drepper <drepper@redhat.com>
43324
43325 * elf/Makefile: Fix linking for a few tests to make recent linker
43326 happy.
43327
52ed8be9
AS
433282010-06-30 Andreas Schwab <schwab@redhat.com>
43329
43330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43331 $(common-objpfx)libc_nonshared.a.
43332
f47c9a11
LM
433332010-06-21 Luis Machado <luisgpm@br.ibm.com>
43334
43335 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43336 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43337 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43338 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43339 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43340 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43341 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43342 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43357 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43358 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43359 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43360 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43361 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43362 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43363 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43364 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43365 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43366 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43367 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43368 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43383
6fb8cbcb
L
433842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43385
43386 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43387 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43388 * string/memmove.c (memmove): Renamed to ...
43389 (MEMMOVE): ...this. Default to memmove.
43390 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43391 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43392 (END_CHK): Define.
43393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43394 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43395 mempcpy-ssse3-back memmove-ssse3-back.
43396 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43397 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43399 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43400 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43401 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43402 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43403 * sysdeps/x86_64/multiarch/memmove.c: New file.
43404 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43405 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43406 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43407 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43408 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43409 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43410 Define.
43411 (index_Fast_Copy_Backward): Define.
43412 (HAS_ARCH_FEATURE): Define.
43413 (HAS_FAST_REP_STRING): Define.
43414 (HAS_FAST_COPY_BACKWARD): Define.
43415
4e733bac 434162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43417
43418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43419 Restore proper fallback handling.
43420
63c4ed22
UD
434212010-06-19 Ulrich Drepper <drepper@redhat.com>
43422
ac2b484c
UD
43423 [BZ #11701]
43424 * posix/group_member.c (__group_member): Correct checking loop.
43425
63c4ed22
UD
43426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43427 OOM in getpwuid_r correctly. Return error number when the caller
43428 should return, otherwise -1.
43429 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43430 call returning > 0 value.
43431 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43432
765ade4b
AS
434332010-06-07 Andreas Schwab <schwab@redhat.com>
43434
43435 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43436 libc_nonshared.a from targets in modules-names.
43437
80da2e09
KS
434382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43439
43440 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43441 requires it.
43442
158db122
LM
434432010-06-10 Luis Machado <luisgpm@br.ibm.com>
43444
43445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43446 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43449
caa78cf8
AS
434502010-06-02 Andreas Schwab <schwab@redhat.com>
43451
43452 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43453
b2ef2c01
UD
434542010-06-14 Ulrich Drepper <drepper@redhat.com>
43455
43456 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43457 and F_GETPIPE_SZ.
43458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43462 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43463 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43464
fbd643b6
RM
434652010-06-14 Roland McGrath <roland@redhat.com>
43466
43467 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43468
f32f2869
JJ
434692010-06-07 Jakub Jelinek <jakub@redhat.com>
43470
43471 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43472 __REDIRECT followed by __THROW.
43473 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43474 * posix/getopt.h (getopt): Likewise.
43475
2a50c078
EPM
434762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43477
43478 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43479 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43480 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43481 in AT_FLAGS.
43482 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43483 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43484
eb5ad2eb
LM
434852010-05-28 Luis Machado <luisgpm@br.ibm.com>
43486
43487 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43488
3c88fe1e
L
434892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43490
43491 [BZ #11640]
43492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43493 Properly check family and model.
43494
d2f73151
TY
434952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43496
43497 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43498
ebd2e13d
LM
434992010-05-24 Luis Machado <luisgpm@br.ibm.com>
43500
43501 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43502
b32b8b45
UD
435032010-05-21 Ulrich Drepper <drepper@redhat.com>
43504
43505 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43506 symbol reference.
43507
9acbe24d
AS
435082010-05-19 Andreas Schwab <schwab@redhat.com>
43509
43510 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43511 symbol reference.
43512
f0ccf6ea
AS
435132010-05-21 Andreas Schwab <schwab@redhat.com>
43514
3d04ff3a
AS
43515 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43516 and internal_recvmmsg.
43517 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43518 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43519 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43520 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43521
f0ccf6ea
AS
43522 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43523 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43524 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43525
5b08ac57
AS
435262010-05-20 Andreas Schwab <schwab@redhat.com>
43527
43528 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43529
4828935d
LM
435302010-05-17 Luis Machado <luisgpm@br.ibm.com>
43531
43532 POWER7 optimizations.
43533 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43534 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43535
373d545e
UD
435362010-05-19 Ulrich Drepper <drepper@redhat.com>
43537
43538 * version.h: Update for 2.13 development version.
43539
21a2b1ae
AS
435402010-05-12 Andrew Stubbs <ams@codesourcery.com>
43541
43542 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43543 exceptions. Return 0.
43544
3f7dcb2b
RM
435452010-05-07 Roland McGrath <roland@redhat.com>
43546
43547 * elf/ldconfig.c (main): Add a const.
43548
5f24d53a 435492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43550
a160f8d8
UD
43551 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43552 (args_options): Add no-idn option.
43553 (ahosts_keys_int): Add idn_flags to ai_flags.
43554 (parse_option): Handle 'i' option to clear idn_flags.
43555
5f24d53a
UD
43556 * malloc/malloc.c (_int_free): Possible race in the most recently
43557 added check. Only act on the data if no current modification
43558 happened.
265bb1ce
UD
43559
43560See ChangeLog.17 for earlier changes.
This page took 5.98467 seconds and 5 git commands to generate.