]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make armv7 strcmp assembly compatible with ARM mode and SFI.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0a982a29
RM
12014-05-09 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5
0ded08a5
AZ
62014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7
8 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9 (tst-tlsmod6.so): Likewise.
10
55d4d550
RM
112014-05-09 Roland McGrath <roland@hack.frob.com>
12
13 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14
77d08aca
JM
152014-05-09 Joseph Myers <joseph@codesourcery.com>
16
17 [BZ #16064]
18 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19 and <dl-procinfo.h>.
20 (__fegetenv): Save SSE state in envp->__eip if supported.
21 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22 envp->__eip if supported.
23 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
24 and <dl-procinfo.h>.
25 (__fesetenv): Always set __eip, __cs_selector, __opcode,
26 __data_offset and __data_selector in environment to 0. Set SSE
27 state if supported.
28 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29 test-fenv-sse.
30 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31 -mfpmath=sse.
32 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33
28162f4d
WN
342014-05-09 Will Newton <will.newton@linaro.org>
35
36 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37 and libc_relro_required for ARM.
38 * sysdeps/arm/preconfigure: Regenerate.
39
5a414ff7
DV
402014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
41 Stefan Liebler <stli@linux.vnet.ibm.com>
42
43 * config.make.in (enable-lock-elision): New Makefile variable.
44 * configure.ac: Likewise.
45 * configure: Regenerate.
46 * sysdeps/s390/configure.ac:
47 Add check for gcc transactions support.
48 * sysdeps/s390/configure: Regenerate.
49 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
50 Build elision files if enabled.
51 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52 Add lock elision support for s390.
53 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
54 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
55 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
56 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
57 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
58 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
59 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
60 Likewise.
61 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
62 Likewise.
63 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
64 Likewise.
65 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
66 Likewise.
67 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
68 (__lll_timedlock_elision, __lll_lock_elision)
69 (__lll_unlock_elision, __lll_trylock_elision)
70 (lll_timedlock_elision, lll_lock_elision)
71 (lll_unlock_elision, lll_trylock_elision): Add.
72 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
73 (pthread_mutex_t): Add lock elision support for s390.
74
f63c86fe
WN
752014-05-09 Will Newton <will.newton@linaro.org>
76
77 * sysdeps/arm/armv7/strcmp.S: New file.
78 * NEWS: Mention addition of ARMv7 optimized strcmp.
79
7a1a51b5
RM
802014-05-08 Roland McGrath <roland@hack.frob.com>
81
95afbbe5
RM
82 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
83 look for %.ac rather than %.in.
84
85 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
86 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
87 * sysdeps/mach/hurd/configure: Regenerated.
88 * sysdeps/unix/sysv/linux/configure: Regenerated.
89
7a1a51b5
RM
90 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
91
5057ad3b
SE
922014-05-07 Steve Ellcey <sellcey@mips.com>
93
94 [BZ# 16922]
95 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
96 (LONG_SUB): Ditto.
97 (PTR_SUB): Ditto.
98
8dc97517
AS
992014-05-07 Andreas Schwab <schwab@suse.de>
100
101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
102 when skipping over non-matching result from nscd.
103
ce0c5b8f
OB
1042014-05-07 Ondřej Bílka <neleai@seznam.cz>
105
106 [BZ #16876]
107 * nptl/sockperf.c (client): Check socket return value.
8dc97517 108
a1189263
OB
109 [BZ #16877]
110 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
111 nscd security class.
ce0c5b8f 112
0f58d252
RM
1132014-05-06 Roland McGrath <roland@hack.frob.com>
114
115 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
116 * sysdeps/arm/unwind.h: ... here.
117
83df9ad0
AJ
1182014-05-06 Aurelien Jarno <aurelien@aurel32.net>
119
ce0c5b8f
OB
120 [BZ# 16916]
121 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
122 Define.
83df9ad0 123
f360f94a
VR
1242014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
125
126 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
127 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
128 multiarch strncpy for PPC64.
129 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
130 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
132 multiarch optimizations.
133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
134 (__libc_ifunc_impl_list): Likewise.
135 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
136 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
137 multiarch stpncpy for PPC64.
138 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
139 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
140
978a41c3
AS
1412014-05-06 Andreas Schwab <schwab@suse.de>
142
143 [BZ #16912]
144 * gmon/mcount.c (_MCOUNT_DECL): Use
145 atomic_compare_and_exchange_bool_acq instead of
146 catomic_compare_and_exchange_bool_acq.
147
eb1ed03d
RM
1482014-05-05 Roland McGrath <roland@hack.frob.com>
149
fe658845
RM
150 * elf/Makefile (others, install-bin): Remove pldd.
151 (pldd-modules): Variable removed.
152 ($(objpfx)pldd): Target removed.
153 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
154 (others, install-bin): Append pldd here.
155 ($(objpfx)pldd): New target.
156
eb1ed03d
RM
157 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
158 to 0, so the first #if test emitted later doesn't see it undefined.
159 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
160 * sysdeps/gnu/errlist.c: Regenerated.
161
19c4bec0
AZ
1622014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163
164 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
165 [libc_hidden_builtin_def]: Define to empty value.
166 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
167 [libc_hidden_builtin_def]: Likewise.
168 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
169 [libc_hidden_builtin_def]: Likewise.
170 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
171 [libc_hidden_builtin_def]: Likewise.
172 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
173 __redirect_memcpy and define ifunc as default hidden symbol.
174 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
175 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
176
7776e669
AC
1772014-05-04 Adam Conrad <adconrad@0c3.net>
178
179 * locale/iso-4217.def: Reintroduce XDR currency.
180
d69aeb12
AM
1812014-05-04 Allan McRae <allan@archlinux.org>
182
183 * po/eo.po: Update Esperanto translation from translation project.
184
8f1df5cf
CD
1852014-05-02 Carlos O'Donell <carlos@redhat.com>
186
187 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
188 and FEATURE_INDEX_MAX to 1.
189 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
190
13e402e7
SE
1912014-05-01 Steve Ellcey <sellcey@mips.com>
192
193 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
194 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
195 * iconvdata/big5.c (ONE_DIRECTION): Define.
196 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
197 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
198 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
199 * iconvdata/cp932.c (ONE_DIRECTION): Define.
200 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
201 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
202 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
203 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
204 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
205 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
206 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
207 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
208 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
209 * iconvdata/gbk.c (ONE_DIRECTION): Define.
210 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
211 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
212 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
213 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
214 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
215 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
216 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
217 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
218 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
219 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
220 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
221 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
222 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
223 * iconvdata/iso646.c (ONE_DIRECTION): Define.
224 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
225 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
226 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
227 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
228 * iconvdata/johab.c (ONE_DIRECTION): Define.
229 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
230 * iconvdata/sjis.c (ONE_DIRECTION): Define.
231 * iconvdata/t.61.c (ONE_DIRECTION): Define.
232 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
233 * iconvdata/tscii.c (ONE_DIRECTION): Define.
234 * iconvdata/uhc.c (ONE_DIRECTION): Define.
235 * iconvdata/unicode.c (ONE_DIRECTION): Define.
236 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
237 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
238 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
239
c727f032
RM
2402014-05-01 Roland McGrath <roland@hack.frob.com>
241
8f2f08d0
RM
242 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
243 (_IO_JUMPS_OFFSET): Define to 0.
244
c727f032
RM
245 * nptl/sysdeps/pthread/bits/libc-lock.h
246 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
247 (__libc_lock_define_initialized_recursive): Always define using
248 initializer. Modern compilers treat uninitialized (implicit zero) and
249 explicit zero initializers the same (i.e. put the datum in bss).
250
a849e800
AS
2512014-05-01 Andreas Schwab <schwab@linux-m68k.org>
252
253 * nscd/nscd-client.h: Include <string.h>.
254
5331255b
DM
2552014-05-01 David S. Miller <davem@davemloft.net>
256
257 [BZ #16885]
258 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
259 multiple zero bytes exist at the end of a string.
260 Reported by Aurelien Jarno <aurelien@aurel32.net>
261
262 * string/test-strcmp.c (check): Add explicit test for situations where
263 there are multiple zero bytes after the first.
264
4fdfe821
AS
2652014-05-01 Andreas Schwab <schwab@linux-m68k.org>
266
267 [BZ #16890]
268 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
269 when compiling wprintf.
270 * stdio-common/tstdiomisc.c (t3): New function.
271 (main): Call it.
272
0cdddc25
SE
2732014-05-01 Steve Ellcey <sellcey@mips.com>
274
275 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
276 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
277 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
278 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
279
6426d77e
SE
2802014-05-01 Steve Ellcey <sellcey@mips.com>
281
282 * stdlib/longlong.h: Updated from GCC.
283
6d96f5e4
WN
2842014-05-01 Will Newton <will.newton@linaro.org>
285 Bernard Ogden <bernie.ogden@linaro.org>
286
7470db0c
WN
287 * NEWS: Update fixed bug list.
288
6d96f5e4
WN
289 [BZ #15119]
290 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
291
211d653c
DM
2922014-04-30 David S. Miller <davem@davemloft.net>
293
4fa262fa
DM
294 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
295 (libc_feholdexcept_setround_sparc_ctx): New function.
296 (libc_fesetenv_sparc_ctx): Likewise.
297 (libc_feupdateenv_sparc_ctx): Likewise.
298 (libc_feholdsetround_sparc_ctx): Likewise.
299 (libc_feholdexcept_setround_ctx): Define.
300 (libc_feholdexcept_setroundf_ctx): Likewise.
301 (libc_feholdexcept_setroundl_ctx): Likewise.
302 (libc_fesetenv_ctx): Likewise.
303 (libc_fesetenvf_ctx): Likewise.
304 (libc_fesetenvl_ctx): Likewise.
305 (libc_feupdateenv_ctx): Likewise.
306 (libc_feupdateenvf_ctx): Likewise.
307 (libc_feupdateenvl_ctx): Likewise.
308 (libc_feresetround_ctx): Likewise.
309 (libc_feresetroundf_ctx): Likewise.
310 (libc_feresetroundl_ctx): Likewise.
311 (libc_feholdsetround_ctx): Likewise.
312 (libc_feholdsetroundf_ctx): Likewise.
313 (libc_feholdsetroundl_ctx): Likewise.
314
1d3d93ef
DM
315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
316 with __USE_GNU instead of XOPEN cpp guards.
317
8aa583c3
DM
318 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
319 0.
320
211d653c
DM
321 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
322 with XOPEN cpp guards.
323
60c8f1f6
JB
3242014-04-30 Julian Brown <julian@codesourcery.com>
325
326 [BZ #16888]
327 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
328 handling.
329
9a461d46
JM
3302014-04-30 Joseph Myers <joseph@codesourcery.com>
331
d0f5b3f8
JM
332 [BZ #9894]
333 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
334 Change to 2.6.32.
335 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
336 * sysdeps/unix/sysv/linux/configure: Regenerated.
337 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
338 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
339 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
340 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
341 * README: Update reference to required Linux kernel version.
342 * manual/install.texi (Linux): Update reference to required Linux
343 kernel headers version.
344 * INSTALL: Regenerated.
345
9a461d46
JM
346 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
347 header inclusion.
348 [POSIX] (limits.h): Likewise.
349 [POSIX] (math.h): Likewise.
350 [POSIX] (sys/wait.h): Likewise.
351 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
352 function.
353 [POSIX] (stddef.h): Do not allow header inclusion.
354
1775babf
AZ
3552014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
356
57f41c40 357 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 358
8f630cca
YY
3592014-04-30 Yang Yingliang <yangyingliang@huawei.com>
360
361 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
362 Return immediately after lll_futex_wake.
363
1cdeb237
SP
3642014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
365
bc8f194c
SP
366 [BZ #16791]
367 * nscd/nscd-client.h (datahead_init_common): Initialize entire
368 structure.
369 (datahead_init_pos): Call datahead_init_common early.
370 (datahead_init_neg): Likewise.
371
1cdeb237
SP
372 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
373 datahead_init_neg): New functions.
374 * nscd/aicache.c (addhstaiX): Use them.
375 * nscd/grpcache.c (cache_addgr): Likewise.
376 * nscd/hstcache.c (cache_addhst): Likewise.
377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
378 * nscd/netgroupcache.c (do_notfound): Likewise.
379 (addgetnetgrentX): Likewise.
380 (addinnetgrX): Likewise.
381 * nscd/pwdcache.c (cache_addpw): Likewise.
382 * nscd/servicescache.c (cache_addserv): Likewise.
383
16b293a7
SP
3842014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
385 Atsushi Onoe <atsushi@onoe.org>
386
387 [BZ #14308]
388 [BZ #12994]
389 [BZ #13651]
390 * resolv/res_query.c (__libc_res_nsearch): Return if at least
391 one response is valid.
392 * resolv/res_send.c (send_dg): Check for validity of other
393 response if the current response is a referral.
394
a28a9b94
SE
3952014-04-29 Steve Ellcey <sellcey@mips.com>
396
397 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
398
2ca180e9
SL
3992014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
400
401 [BZ #16823]
402 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
403 Always divide by positive zero when computing -Inf result.
404 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
405 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
406
18f2945a
AZ
4072014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
408
409 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
410 FPSCR if value do not change.
411 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
412 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
413 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
414 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
415 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
416 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
417 function.
418
5abebba4
CD
4192014-05-29 Carlos O'Donell <carlos@systemhalted.org>
420
421 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
422 * sysdeps/unix/sysv/linux/hppa: Move directory from
423 ports/systeps/unix/sysv/linux/hppa.
424 * README: Update listing for hppa-*-linux-gnu.
425
f7ed60c2
OB
4262014-04-28 Ondřej Bílka <neleai@seznam.cz>
427
fff763a5
OB
428 [BZ #16754]
429 * manual/stdio.texi (Hook functions): Fix types of stream hook
430 functions.
f7ed60c2
OB
431 [BZ #16854]
432 * socket/sys/socket.h: Fix typo in comment.
433
df639d73
WD
4342014-04-28 Wilco <wdijkstr@arm.com>
435
f7ed60c2 436 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
437 * sysdeps/arm/math_private.h: New file.
438 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
439
48332d82
L
4402014-04-25 H.J. Lu <hongjiu.lu@intel.com>
441
442 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
443 with __int128_t.
444 (La_x86_64_retval): Likewise.
445
e5e0d9a4
IB
4462014-04-24 Ian Bolton <ian.bolton@arm.com>
447
448 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
449 fpsr if value didn't change.
450 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
451 to fpcr if value didn't change.
452 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
453 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
454 fpsr or fpcr if value didn't change.
455 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
456 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
457 fpcr if value didn't change.
458 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
459 to fpsr if value didn't change.
460
bacc75f7
SP
4612014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
462
463 * nptl/tst-sem3.c: Use test-skeleton.c
464 (main): Rename to do_test. Use return instead of
465 exit.
466 * nptl/tst-sem4.c: Use test-skeleton.c
467 (main): Rename to do_test.
468
a059d359
DM
4692014-04-22 David S. Miller <davem@davemloft.net>
470
471 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
472 (struct sigaction): New struct member __glibc_reserved0, change
473 type of sa_flags to int.
474
ea6c92f3
YZ
4752014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
476
477 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
478 (COUNT_LEADING_ZEROS_0): Define for AArch64.
479
766c4a36
SP
4802014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
481
482 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
483 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
484
140cc7ab
VK
4852014-04-22 Will Newton <will.newton@linaro.org>
486 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
487
488 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
489 (__longjmp): Add longjmp and longjmp_target SystemTap
490 probes.
491 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
492 (__sigsetjmp): Add setjmp SystemTap probe.
493
c54e5cf7
CD
4942014-04-17 Carlos O'Donell <carlos@redhat.com>
495
496 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
497 match manual order.
498
75ffb047
AZ
4992014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
500
501 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
502
2cd925f7
AZ
503 * sysdeps/powerpc/fpu/fenv_private.h
504 (libc_feholdexcept_setroundl_ctx): Define to
505 libc_feholdexcept_setround_ppc_ctx.
506 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
507 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
508 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
509 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
510
39e6cd8d
IB
5112014-04-17 Ian Bolton <ian.bolton@arm.com>
512
513 * sysdeps/aarch64/math-tests.h: New file.
514
f9281df9
SY
5152014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
516
517 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
518 New.
519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
520 Check and set bit_AVX2_Usable.
521 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
522 macro.
523 (bit_AVX2): Likewise.
524 (index_AVX2_Usable): Likewise.
525 (CPUID_AVX2): Likewise.
526 (HAS_AVX2): Likewise.
527
37d35007
WN
5282014-04-17 Will Newton <will.newton@linaro.org>
529
7c677662
WN
530 * manual/setjmp.texi (System V contexts): Add note that
531 calling setcontext on a context created by a call to a
532 signal handler is undefined. Update text to note that
533 setcontext from a signal handler is possible but not
534 recommended.
535
37d35007 536 [BZ #16629]
e04a4e9d
WN
537 * stdlib/tst-setcontext.c: Include signal.h.
538 (main): Check that the signal stack before and
539 after swapcontext is the same.
540
37d35007
WN
541 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
542 Re-implement to restore registers in user code and avoid
543 rt_sigreturn system call.
544
423a7160
W
5452014-04-17 Wilco <wdijkstr@arm.com>
546
547 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
548 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
549 * math/test-fenv.c: Skip exception trap tests on targets which only
550 support non-stop mode.
551
bc93ab29
IB
5522014-04-17 Ian Bolton <ian.bolton@arm.com>
553 Wilco Dijkstra <wilco.dijkstra@arm.com>
554
555 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
556 (libc_feholdsetround_aarch64_ctx)
557 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
558 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
559 (libc_feresetround_ctx, libc_feresetroundf_ctx)
560 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
561 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
562 (libc_feresetround_noexl_ctx): Define.
563
95fc5fa3
RH
5642014-04-16 Richard Henderson <rth@redhat.com>
565
ddb04724
RH
566 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
567
d77c0899
RH
568 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
569 unwind tables.
570
a3df56fc
RH
571 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
572 const from the non-libc, non-ldso copy.
573
95fc5fa3
RH
574 * sysdeps/alpha/libm-test-ulps: Regenerate.
575
7e0b6763
IB
5762014-04-16 Ian Bolton <ian.bolton@arm.com>
577 Wilco Dijkstra <wilco.dijkstra@arm.com>
578
579 * sysdeps/aarch64/fpu/math_private.h: New file.
580
a9ea2e0c
MS
5812014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
582
583 * sysdeps/aarch64/libm-test-ulps: Regenerate.
584
ea8ba7cd
IZ
5852014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
586
587 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
588 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
590 Intel MPX bound registers before _dl_profile_fixup.
591 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
592 registers after _dl_profile_fixup. Save and restore bound
593 registers bnd0/bnd1 when calling _dl_call_pltexit.
594 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
595 (LR_BND_OFFSET): Likewise.
596 (LRV_BND0_OFFSET): Likewise.
597 (LRV_BND1_OFFSET): Likewise.
598
9f2a4fbc
ST
5992014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
600
601 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
602 to...
603 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
604 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
605 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
606 fields.
9f2a4fbc 607
fd15a59b
ST
6082014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
609
610 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
611
f19dfa0a
SL
6122014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
613
614 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
615
4fa8bc3b
SL
6162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
617
618 [BZ #14770]
619 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
620 * sysdeps/s390/configure: Regenerate.
621
8ea587db
SL
622 [BZ #16824]
623 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
624 Set round-to-nearest internally to reduce error accumulation.
625
aa5f0ff1
AM
6262014-04-16 Alan Modra <amodra@gmail.com>
627
628 [BZ #16740]
629 [BZ #16619]
630 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
631 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 632 * NEWS: Update fixed bug list.
aa5f0ff1 633
bb9c256f
SP
6342014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
635
636 * benchtests/Makefile: Depend on libraries in build directory.
637 (bench-math): Separate out math tests.
638 (bench-pthread): Separate out pthread tests.
639 (bench): Include math and pthread tests.
640
f737dfd0
CD
6412014-04-14 Carlos O'Donell <carlos@redhat.com>
642
643 [BZ #16831]
644 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
645 _dl_debug_initialize.
646
0699f766
CD
647 * configure.ac: Remove SELinux header check.
648 * configure: Regenerate.
649 * nscd/selinux.c (perms): Array of const char* to permission names.
650 (nscd_request_avc_has_perm): Call security_deny_unknown to find
651 default policy. Call string_to_security_class and string_to_av_perm to
652 translate strings. Enforce default policy and call avs_has_perm with
653 results of translated strings.
654
809bd45f
DM
6552014-04-13 David S. Miller <davem@davemloft.net>
656
657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
658
89e691f2
AM
6592014-04-12 Allan McRae <allan@archlinux.org>
660
661 [BZ #16838]
662 * manual/string.texi (Collation Functions): Fix qsort argument
663 order in example.
664 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
665
9c9daaeb
CM
6662014-04-11 Chris Metcalf <cmetcalf@tilera.com>
667
668 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
669 Make the test a no-op if there are no exceptions defined.
670
95561fb9
PP
6712014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
672
fe8d072c 673 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
674 enable-hardcoded-path-in-tests
675
970c602a
WN
6762014-04-11 Will Newton <will.newton@linaro.org>
677
678 * benchtests/Makefile (extra-objs): Add json-lib.o.
679 (bench-func): Tidy up JSON output.
680 * benchtests/bench-skeleton.c: Include json-lib.h.
681 (main): Use JSON library functions to do output of
682 benchmark results.
683 * benchtests/bench-timing-type.c (main): Output the
684 timing type simply, leaving formatting to the user.
685 * benchtests/json-lib.c: New file.
686 * benchtests/json-lib.h: Likewise.
687
36875b06
TR
6882014-04-11 Torvald Riegel <triegel@redhat.com>
689
690 [BZ #15215]
691 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
692 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
693 memory barriers. Add comments.
694 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
695 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
696 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
697 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
698 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
699 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
700
579db35a
SL
7012014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
702
703 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
704 * sysdeps/s390/s390-64/configure.ac: ... this ...
705 * sysdeps/s390/configure.ac: ... to here.
706 * sysdeps/s390/s390-32/configure: Delete file.
707 * sysdeps/s390/s390-64/configure: Delete file.
708 * sysdeps/s390/configure: Regenerate.
709
c12e9f37
JAPH
7102014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
711
712 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
713
439bda32
WN
7142014-04-11 Will Newton <will.newton@linaro.org>
715
716 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
717 to zero if it is not defined elsewhere. (mtrim): Test
718 the value of MALLOC_DEBUG with #if rather than #ifdef.
719
6a5d6ea1
TR
7202014-04-10 Torvald Riegel <triegel@redhat.com>
721
722 * benchtests/pthread_once-inputs: New file.
723 * benchtests/pthread_once-source.c: New file.
724 * benchtests/README: Update documentation.
725
a4c75cfd
IZ
7262014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
727 H.J. Lu <hongjiu.lu@intel.com>
728
729 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
730 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
731 * sysdeps/x86_64/configure: Regenerated.
732 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
733 macro.
734 (REGISTER_SAVE_RAX): Likewise.
735 (REGISTER_SAVE_RCX): Likewise.
736 (REGISTER_SAVE_RDX): Likewise.
737 (REGISTER_SAVE_RSI): Likewise.
738 (REGISTER_SAVE_RDI): Likewise.
739 (REGISTER_SAVE_R8): Likewise.
740 (REGISTER_SAVE_R9): Likewise.
741 (REGISTER_SAVE_BND0): Likewise.
742 (REGISTER_SAVE_BND1): Likewise.
743 (REGISTER_SAVE_BND2): Likewise.
744 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
745 bound registers when calling _dl_fixup.
746
27822ce6
AZ
7472014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748
749 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
750 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
751 of its definition.
27822ce6
AZ
752 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
753 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
754 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
755 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
756 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
757 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
758 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
759
a88ddc90
PTB
7602014-04-09 Peter Brett <peter@peter-b.co.uk>
761
762 [BZ #15514]
763 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
764 pathconf(_PC_NAME_MAX).
765
01f8eac2
AZ
7662014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767
768 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
769 Remove macro usage.
770 (__PTHREAD_SPINS): Move definition to ...
771 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
772 (__PTHREAD_SPINS): ... here.
773 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
774 (__PTHREAD_SPIN): Likewise.
775 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
776 (__PTHREAD_SPIN): Likewise.
777 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
778 (__PTHREAD_SPIN): Likewise.
779 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
780 (__PTHREAD_SPIN): Likewise.
781 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
782 (__PTHREAD_SPIN): Likewise.
783 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
784 (__PTHREAD_SPIN): Likewise.
785 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
786 (__PTHREAD_SPIN): Likewise.
787 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
788 (__PTHREAD_SPIN): Likewise.
789 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
790 (__PTHREAD_SPIN): Likewise.
791 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
792 (__PTHREAD_SPIN): Likewise.
793 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
794 (__PTHREAD_SPIN): Likewise.
795 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
796 (__PTHREAD_SPIN): Likewise.
797
de21c33c
AZ
798 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
799 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
800 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
801 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
802 imply folder.
803 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
804 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
805 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
806 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
807 correct imply path.
808 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
809 strlen symbol for non multi-arch builds.
810 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
811 missing hidden_def and weak_alias.
812
862c472e
CD
8132014-04-08 Carlos O'Donell <carlos@redhat.com>
814
815 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
816
8667f90e
WN
8172014-04-07 Will Newton <will.newton@linaro.org>
818
819 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
820 and contents. [!_LIBC] Remove #ifndef and contents.
821 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
822 * string/memccpy.c (__memccpy): Use ANSI prototype.
823 * string/memfrob.c (memfrob): Likewise.
824 * string/strcoll.c (STRCOLL): Likewise.
825 * string/strlen.c (strlen): Likewise.
826 * string/strtok.c (STRTOK): Likewise.
827 * string/strcat.c: Remove unused #include of memcopy.h.
828 (strcat): Use ANSI prototype.
829 * string/strchr.c: Remove unused #include of memcopy.h.
830 (strchr): Use ANSI prototype.
831 * string/strcmp.c: Remove unused #include of memcopy.h.
832 (strcmp): Use ANSI prototype.
833 * string/strcpy.c: Remove unused #include of memcopy.h.
834 (strcpy): Use ANSI prototype.
835
7ffa9423
AZ
8362014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837
838 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
839 * config.make.in (config-extra-cppflags): Set it from
840 libc_extra_cppflags.
841 * configure.ac (libc_extra_cflags): Make it accumulate over
842 configure fragments.
843 (libc_extra_cppflags): New flag.
844 * configure. Regenerate.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
846 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
847 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
849
8bd70862
AZ
850 [BZ #16815]
851 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
852 result for FE_DOWNWARD rounding mode.
853 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
854 Likewise.
855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
856
d42f3448
CM
8572014-04-04 Chris Metcalf <cmetcalf@tilera.com>
858
859 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
860 in function argument name.
861
1c21d115
DS
8622014-04-03 David Svoboda <svoboda@cert.org>
863
864 [BZ #5666]
865 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
866 explicitly.
867
fcccd512
RM
8682014-04-03 Roland McGrath <roland@hack.frob.com>
869
870 * elf/dl-unmap-segments.h: New file.
871 * sysdeps/generic/ldsodefs.h
872 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
873 * elf/dl-close.c: Include <dl-unmap-segments.h>.
874 * elf/dl-fptr.c: Likewise.
875 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
876 * sysdeps/aarch64/tlsdesc.c: Likewise.
877 * sysdeps/arm/tlsdesc.c: Likewise.
878 * sysdeps/i386/tlsdesc.c: Likewise.
879 * sysdeps/tile/dl-runtime.c: Likewise.
880 * sysdeps/x86_64/tlsdesc.c: Likewise.
881 * elf/dl-load.h: New file.
882 * elf/dl-load.c: Include it.
883 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
884 Macros moved to dl-load.h.
885 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
886 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
887 Use _dl_unmap_segments in place of __munmap.
888 Break out segment-mapping loop into ...
889 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
890
f6488e2b
WN
8912014-04-03 Will Newton <will.newton@linaro.org>
892
893 * elf/dl-lookup.c (do_lookup_x): Remove comment
894 referring to nested function and move variable
895 declarations down to before first use.
896
6f05bafe
JM
8972014-04-02 Joseph Myers <joseph@codesourcery.com>
898
a84e78c8
JM
899 [BZ #16799]
900 [BZ #16800]
901 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
902 with 0 numerator.
903 * math/s_catanf.c (__catanf): Likewise.
904 * math/s_catanh.c (__catanh): Likewise.
905 * math/s_catanhf.c (__catanhf): Likewise.
906 * math/s_catanhl.c (__catanhl): Likewise.
907 * math/s_catanl.c (__catanl): Likewise.
908 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
909 by positive zero when computing -Inf result.
910 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
911 (catanh_test): Likewise.
912 * sysdeps/i386/fpu/libm-test-ulps: Update.
913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
914
6f05bafe
JM
915 [BZ #16789]
916 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
917 instead of using underflowing value in computing result.
918 * math/s_clog10.c (__clog10): Likewise.
919 * math/s_clog10f.c (__clog10f): Likewise.
920 * math/s_clog10l.c (__clog10l): Likewise.
921 * math/s_clogf.c (__clogf): Likewise.
922 * math/s_clogl.c (__clogl): Likewise.
923 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
924 (clog10_test): Likewise.
925 * sysdeps/i386/fpu/libm-test-ulps: Update.
926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
927
b0abbc21
AM
9282014-04-02 Alan Modra <amodra@gmail.com>
929
930 [BZ #16739]
931 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
932 output when value is near a power of two. Use int64_t for lx and
933 remove casts. Use decimal rather than hex exponent constants.
934 Don't use long double multiplication when double will suffice.
935 * math/libm-test.inc (nextafter_test_data): Add tests.
936 * NEWS: Add 16739 and 16786 to bug list.
937
af6b1797
AM
938 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
939
483818d7
AM
940 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
941
f6c55796
WN
9422014-04-01 Will Newton <will.newton@linaro.org>
943
944 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
945 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
946
13f7fe35
FW
9472014-04-01 Florian Weimer <fweimer@redhat.com>
948
949 [BZ #13347]
950 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
951 * nptl/tst-setuid2.c: New file.
952 * nptl/Makefile (xtests): Add tst-setuid2.
953
c859b32e
AM
9542014-04-01 Alan Modra <amodra@gmail.com>
955
956 [BZ #16786]
957 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
958
54fa2475
JM
9592014-03-31 Joseph Myers <joseph@codesourcery.com>
960
8795b4a4
JM
961 [BZ #6803]
962 [BZ #6804]
963 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
964 set errno as appropriate.
965 * math/w_scalbf.c (__scalbf): Likewise.
966 * math/w_scalbl.c (__scalbl): Likewise.
967 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
968 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
969 * math/libm-test.inc (scalb_test_data): Add errno expectations.
970 Add more NaN tests.
971
54fa2475
JM
972 [BZ #16349]
973 * math/w_atan2.c: Include <errno.h>.
974 (__atan2): Set errno for result underflowing to zero.
975 * math/w_atan2f.c: Include <errno.h>.
976 (__atan2f): Set errno for result underflowing to zero.
977 * math/w_atan2l.c: Include <errno.h>.
978 (__atan2l): Set errno for result underflowing to zero.
979 * math/auto-libm-test-in: Don't allow missing errno for some atan2
980 tests.
981 * math/auto-libm-test-out: Regenerated.
982
757d9dd5
AZ
9832014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984
985 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
986 Encode instruction correctly in little endian.
987 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
988 Likewise.
989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
990 Likewise.
991 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
992 Likewise.
993 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
994 Likewise.
995
d7a68734
JM
9962014-03-31 Joseph Myers <joseph@codesourcery.com>
997
47c5adeb
JM
998 [BZ #9894]
999 * sysdeps/unix/sysv/linux/kernel-features.h
1000 [__sparc__ && !__arch64__ && !__sparc_v9__]
1001 (__ASSUME_SET_ROBUST_LIST): Do not define.
1002 [__sparc__ && !__arch64__ && !__sparc_v9__]
1003 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1004 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1005 Likewise.
1006 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1007 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1008 (__ASSUME_REQUEUE_PI): Likewise.
1009 (__ASSUME_SET_ROBUST_LIST): Likewise.
1010 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1011 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1012 Undefine.
1013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1014 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1015 Likewise.
1016 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1017 Likewise.
1018 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1019 Likewise.
1020 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1021 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1022 Undefine.
1023 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1024 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1025 Likewise.
1026
d7a68734
JM
1027 [BZ #16648]
1028 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1029 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1030 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1031
c760f5c2
WN
10322014-03-31 Will Newton <will.newton@linaro.org>
1033
1034 * benchtests/Makefile (bench): Add ffs and ffsll to list
1035 of tests.
1036 * benchtests/ffs-inputs: New file.
1037 * benchtests/ffsll-inputs: Likewise.
1038
ea6029b1
JM
10392014-03-29 Joseph Myers <joseph@codesourcery.com>
1040
1041 [BZ #16770]
1042 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1043 too large before casting to int.
1044 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1045 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1046 * math/libm-test.inc (scalb_test_data): Add more tests.
1047
cf806aff
SP
10482014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1049
56737508
SP
1050 * benchtests/Makefile (DETAILED_OPT): New make option.
1051 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1052 set.
1053 * benchtests/bench-skeleton.c: Include stdbool.h.
1054 (main): Store and print timings per input.
1055 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1056 member to each argument value.
1057 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1058 (_print_arg_data): Initialize per-input timing to 0.
1059
cb5e4aad
SP
1060 * benchtests/Makefile (timing-type): New binary.
1061 (bench-clean): Also remove bench-timing-type.
1062 (bench): New target for timing-type.
1063 (bench-func): Print output in JSON format.
1064 * benchtests/bench-skeleton.c (main): Print output in JSON
1065 format.
1066 * benchtests/bench-timing-type.c: New file.
1067 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1068 (TIMING_PRINT_STATS): Remove.
1069 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1070 name separately.
1071
cf806aff
SP
1072 * benchtests/bench-modf.c: Remove.
1073 * benchtests/modf-inputs: New inputs file.
1074
289e0779
JM
10752014-03-28 Joseph Myers <joseph@codesourcery.com>
1076
1077 [BZ #16362]
1078 * math/s_clog10.c (M_PI_LOG10E): New macro.
1079 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1080 imaginary parts are 0.
1081 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1082 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1083 imaginary parts are 0.
1084 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1085 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1086 imaginary parts are 0.
1087 * math/libm-test.inc (clog10_test_data): Update expected results
1088 for when real and imaginary parts are 0.
1089
277ae3f1
PP
10902014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1091
1092 * elf/dl-load.c: Finish conversion of __builtin_expect into
1093 __glibc_{un}likely.
1094
03a7091f
JM
10952014-03-27 Joseph Myers <joseph@codesourcery.com>
1096
1097 [BZ #16348]
1098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1099 1+x for argument with exponent below -67.
1100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1101 Likewise.
1102 * math/auto-libm-test-in: Add more tests of exp.
1103 * math/auto-libm-test-out: Regenerated.
1104
ea7d8b95
SP
11052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1106
dd3022d7
SP
1107 [BZ #16759]
1108 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1109 (nscd_getnetgrent): Use it.
1110
ea7d8b95
SP
1111 [BZ #16760]
1112 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1113 of stpcpy.
1114
df5b85da
AK
11152014-03-27 Andi Kleen <ak@linux.intel.com>
1116
57f41c40
AS
1117 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1118 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1119 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1120 (lll_robust_unlock): Remove out of line section. Use cfi
1121 intrinsics.
df5b85da 1122 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1123 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1124 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1125 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1126 (lll_robust_unlock): Remove out of line section. Use cfi
1127 intrinsics.
df5b85da
AK
1128 (LLL_STUB_UNWIND_INFO*): Remove.
1129
fbd6b5a4
SP
11302014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1131
1132 [BZ #16758]
1133 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1134 blank values.
1135
1b26b855
PP
11362014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1137
1138 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1139
9be36fb8
JM
11402014-03-26 Joseph Myers <joseph@codesourcery.com>
1141
1142 [BZ #16198]
1143 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1144 fnstenv.
1145 * math/test-fenv-preserve.c: New file.
1146 * math/Makefile (tests): Add test-fenv-preserve.
1147
60a2f3c1
WN
11482014-03-26 Will Newton <will.newton@linaro.org>
1149
1150 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1151
a5e5f1e2
RM
11522014-03-25 Roland McGrath <roland@hack.frob.com>
1153
1154 * scripts/versionlist.awk: Partition the version sets and emit all
1155 GLIBC_* (sorted) before all others (sorted).
1156
00f4012a
JM
11572014-03-25 Joseph Myers <joseph@codesourcery.com>
1158
1159 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1160 GLIBC_2.2.5 version.
1161
7bc5a741
AZ
11622014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1163
1164 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1165 calls.
1166
7578473b
AZ
1167 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1168 previous change.
1169
f3f1dab3
AZ
1170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1171
6da36183
AS
11722014-03-25 Andreas Schwab <schwab@suse.de>
1173
1174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1175 label to be used after in6ailist is initialized.
1176
f3f1dab3 11772014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1178
7578473b 1179 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1180 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1181
046651c1
JM
11822014-03-25 Joseph Myers <joseph@codesourcery.com>
1183
1184 [BZ #16357]
1185 [BZ #16599]
1186 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1187 min_plus_half.
1188 (fp_formats): Update initializers.
1189 (init_fp_formats): Initialize new field.
1190 (output_for_one_input_case): Allow underflow for results up to
1191 min_plus_half.
1192 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1193 * math/auto-libm-test-in: Don't mark some underflows from asin and
1194 atanh as spurious.
1195 * math/auto-libm-test-out: Regenerated.
1196 * sysdeps/i386/fpu/libm-test-ulps: Update.
1197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1198
003e49ed
AS
11992014-03-25 Andreas Schwab <schwab@suse.de>
1200
1201 * libio/Makefile (tst-ftell-partial-wide-ENV)
1202 (tst-ftell-active-handler-ENV): Define.
1203
de031874
SL
12042014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1205
1206 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1207
55a81e3b
PP
12082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1209
1210 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1211
f3426898
JM
12122014-03-24 Joseph Myers <joseph@codesourcery.com>
1213
1214 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1215 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1216 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1217
a42faf59
PP
12182014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1219
1220 [BZ #16634]
a42faf59 1221 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1222 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1223 (open_path): Change from boolean 'secure' to complete flag 'mode'
1224 (_dl_map_object): Adjust.
a42faf59
PP
1225 * elf/Makefile (tests): Add tst-dlopen-aout.
1226 * elf/tst-dlopen-aout.c: New test.
1227
50936127
SL
12282014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1229
1230 [BZ #16714]
1231 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1232 (struct stat): Rename member pad0 to __glibc_reserved0.
1233
26011b5c
SL
1234 [BZ #16712]
1235 * sysdeps/s390/s390-32/bits/wordsize.h
1236 (__WORDSIZE32_SIZE_ULONG): New define.
1237 * sysdeps/s390/s390-64/bits/wordsize.h
1238 (__WORDSIZE32_SIZE_ULONG): Likewise.
1239 * sysdeps/generic/stdint.h (SIZE_MAX):
1240 Define as UL if __WORDSIZE32_SIZE_ULONG.
1241
a2d86bf1
SL
1242 [BZ #16713]
1243 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1244 (__glibc_reserved0): New variable.
1245 (sa_flags): Change type to int.
1246
78b6eebc
SL
1247 * posix/Makefile (before-compile): Use += before-compile instead
1248 of a :=.
1249
f1399b5a
SL
1250 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1251 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1252
a071766e
AS
12532014-03-20 Andreas Schwab <schwab@suse.de>
1254
1255 [BZ #16743]
1256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1257 non-matching result from nscd.
1258
27c673b8
SP
12592014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1260
1261 * scripts/bench.py: Moved to ...
1262 * benchtests/scripts/bench.py: ... here.
1263 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1264
44152e4b
AS
12652014-03-24 Andreas Schwab <schwab@suse.de>
1266
1267 [BZ #16002]
1268 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1269 alloca_account and account alloca use for struct in6ailist.
1270
b376a11a
JM
12712014-03-24 Joseph Myers <joseph@codesourcery.com>
1272
1273 [BZ #16284]
1274 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1275 rounding mode to recompute results that overflow to infinity or
1276 underflow to zero.
1277 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1278 bug 16284.
1279 * math/auto-libm-test-out: Regenerated.
1280 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1281 (ccosh_test): Likewise.
1282 (csin_test_data): Use plus_oflow.
1283 (csin_test): Use ALL_RM_TEST.
1284 (csinh_test_data): Use plus_oflow.
1285 (csinh_test): Use ALL_RM_TEST.
1286 * sysdeps/i386/fpu/libm-test-ulps: Update.
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1288
f7be7376
JM
12892014-03-21 Joseph Myers <joseph@codesourcery.com>
1290
1ca2d03e
JM
1291 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1292 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1293 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1294
f7be7376
JM
1295 [BZ #16731]
1296 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1297 when x - 1 is zero.
1298 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1299 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1300 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1301 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1302 argument is 1.
1303 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1304 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1305 zero.
1306 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1307 * sysdeps/i386/fpu/libm-test-ulps: Update.
1308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1309
fdf4534d
SP
13102014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1311
df26ea53
SP
1312 * scripts/bench.pl: Remove file.
1313 * scripts/bench.py: New benchmark script.
1314 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1315 * benchtests/README: Mention python dependency.
1316 * scripts/pylintrc: New file.
1317 * scripts/pylint: New file.
1318
fdf4534d
SP
1319 * bits/mathdef.h: Use #ifdef instead of #if.
1320 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1321 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1322 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1323 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1324 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1325 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1326
6f23d093
AZ
13272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1329
1330 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1332 and strpbrk-ppc64 objects.
1333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1334 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1335 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1336 multiarch strpbrk for POWER7.
1337 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1338 multiarch strpbrk for PPC64.
1339 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1340 ifunc selector.
1341 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1342 strpbrk for POWER7.
1343
8c92dfff
JM
13442014-03-20 Joseph Myers <joseph@codesourcery.com>
1345
1346 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1347 (atan_test): Likewise.
1348 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1349 (atanh_test): Use ALL_RM_TEST.
1350 (atan2_test_data): Likewise.
1351 (cabs_test): Likewise.
1352 (cacosh_test): Likewise.
1353 (carg_test): Likewise.
1354 (casin_test): Likewise.
1355 (casinh_test): Likewise.
1356 (cbrt_test): Likewise.
1357 (csqrt_test): Likewise.
1358 (erf_test): Likewise.
1359 (erfc_test): Likewise.
1360 (pow10_test): Likewise.
1361 (exp2_test): Likewise.
1362 (hypot_test): Likewise.
1363 (j0_test): Likewise.
1364 (j1_test): Likewise.
1365 (lgamma_test): Likewise.
1366 (gamma_test): Likewise.
1367 (sincos_test): Likewise.
1368 (tanh_test): Likewise.
1369 (y0_test): Likewise.
1370 (y1_test): Likewise.
1371 * sysdeps/i386/fpu/libm-test-ulps: Update.
1372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1373
6eaf95cb
AZ
13742014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375
a387428c
SP
1376 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1378 and strcspn-ppc64 objects.
1379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1380 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1381 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1382 multiarch strcspn for POWER7.
1383 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1384 multiarch strcspn for PPC64.
1385 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1386 ifunc selector.
1387 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1388 strcspn for POWER7.
1389
ae3a5dff
JM
13902014-03-20 Joseph Myers <joseph@codesourcery.com>
1391
1392 * math/gen-libm-test.pl (generate_testfile): Expect only function
1393 name as argument to AUTO_TESTS_* and pass results for all rounding
1394 modes to parse_args.
1395 (parse_auto_input): Separate inputs of automatic tests from
1396 outputs before storing in %auto_tests.
1397 * math/libm-test.inc (acos_test_data): Update call to
1398 AUTO_TESTS_f_f.
1399 (acos_test): Use ALL_RM_TEST.
1400 (acos_tonearest_test_data): Remove.
1401 (acos_test_tonearest): Likewise.
1402 (acos_towardzero_test_data): Likewise.
1403 (acos_test_towardzero): Likewise.
1404 (acos_downward_test_data): Likewise.
1405 (acos_test_downward): Likewise.
1406 (acos_upward_test_data): Likewise.
1407 (acos_test_upward): Likewise.
1408 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1409 (asin_test_data): Likewise.
1410 (asin_test): Use ALL_RM_TEST.
1411 (asin_tonearest_test_data): Remove.
1412 (asin_test_tonearest): Likewise.
1413 (asin_towardzero_test_data): Likewise.
1414 (asin_test_towardzero): Likewise.
1415 (asin_downward_test_data): Likewise.
1416 (asin_test_downward): Likewise.
1417 (asin_upward_test_data): Likewise.
1418 (asin_test_upward): Likewise.
1419 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1420 (atan_test_data): Likewise.
1421 (atanh_test_data): Likewise.
1422 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1423 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1424 (carg_test_data): Likewise.
1425 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1426 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1427 (ccosh_test_data): Likewise.
1428 (cexp_test_data): Likewise.
1429 (clog_test_data): Likewise.
1430 (clog10_test_data): Likewise.
1431 (cos_test_data): Update call to AUTO_TESTS_f_f.
1432 (cos_test): Use ALL_RM_TEST.
1433 (cos_tonearest_test_data): Remove.
1434 (cos_test_tonearest): Likewise.
1435 (cos_towardzero_test_data): Likewise.
1436 (cos_test_towardzero): Likewise.
1437 (cos_downward_test_data): Likewise.
1438 (cos_test_downward): Likewise.
1439 (cos_upward_test_data): Likewise.
1440 (cos_test_upward): Likewise.
1441 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1442 (cosh_test): Use ALL_RM_TEST.
1443 (cosh_tonearest_test_data): Remove.
1444 (cosh_test_tonearest): Likewise.
1445 (cosh_towardzero_test_data): Likewise.
1446 (cosh_test_towardzero): Likewise.
1447 (cosh_downward_test_data): Likewise.
1448 (cosh_test_downward): Likewise.
1449 (cosh_upward_test_data): Likewise.
1450 (cosh_test_upward): Likewise.
1451 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1452 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1453 (ctan_test_data): Likewise.
1454 (ctan_test): Use ALL_RM_TEST.
1455 (ctan_tonearest_test_data): Remove.
1456 (ctan_test_tonearest): Likewise.
1457 (ctan_towardzero_test_data): Likewise.
1458 (ctan_test_towardzero): Likewise.
1459 (ctan_downward_test_data): Likewise.
1460 (ctan_test_downward): Likewise.
1461 (ctan_upward_test_data): Likewise.
1462 (ctan_test_upward): Likewise.
1463 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1464 (ctanh_test): Use ALL_RM_TEST.
1465 (ctanh_tonearest_test_data): Remove.
1466 (ctanh_test_tonearest): Likewise.
1467 (ctanh_towardzero_test_data): Likewise.
1468 (ctanh_test_towardzero): Likewise.
1469 (ctanh_downward_test_data): Likewise.
1470 (ctanh_test_downward): Likewise.
1471 (ctanh_upward_test_data): Likewise.
1472 (ctanh_test_upward): Likewise.
1473 (erf_test_data): Update call to AUTO_TESTS_f_f.
1474 (erfc_test_data): Likewise.
1475 (exp_test_data): Likewise.
1476 (exp_test): Use ALL_RM_TEST.
1477 (exp_tonearest_test_data): Remove.
1478 (exp_test_tonearest): Likewise.
1479 (exp_towardzero_test_data): Likewise.
1480 (exp_test_towardzero): Likewise.
1481 (exp_downward_test_data): Likewise.
1482 (exp_test_downward): Likewise.
1483 (exp_upward_test_data): Likewise.
1484 (exp_test_upward): Likewise.
1485 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1486 (exp10_test): Use ALL_RM_TEST.
1487 (exp10_tonearest_test_data): Remove.
1488 (exp10_test_tonearest): Likewise.
1489 (exp10_towardzero_test_data): Likewise.
1490 (exp10_test_towardzero): Likewise.
1491 (exp10_downward_test_data): Likewise.
1492 (exp10_test_downward): Likewise.
1493 (exp10_upward_test_data): Likewise.
1494 (exp10_test_upward): Likewise.
1495 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1496 (expm1_test_data): Likewise.
1497 (expm1_test): Use ALL_RM_TEST.
1498 (expm1_tonearest_test_data): Remove.
1499 (expm1_test_tonearest): Likewise.
1500 (expm1_towardzero_test_data): Likewise.
1501 (expm1_test_towardzero): Likewise.
1502 (expm1_downward_test_data): Likewise.
1503 (expm1_test_downward): Likewise.
1504 (expm1_upward_test_data): Likewise.
1505 (expm1_test_upward): Likewise.
1506 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1507 (fma_test): Use ALL_RM_TEST.
1508 (fma_towardzero_test_data): Remove.
1509 (fma_test_towardzero): Likewise.
1510 (fma_downward_test_data): Likewise.
1511 (fma_test_downward): Likewise.
1512 (fma_upward_test_data): Likewise.
1513 (fma_test_upward): Likewise.
1514 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1515 (j0_test_data): Update call to AUTO_TESTS_f_f.
1516 (j1_test_data): Likewise.
1517 (jn_test_data): Update call to AUTO_TESTS_if_f.
1518 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1519 (log_test_data): Update call to AUTO_TESTS_f_f.
1520 (log10_test_data): Likewise.
1521 (log1p_test_data): Likewise.
1522 (log2_test_data): Likewise.
1523 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1524 (pow_tonearest_test_data): Likewise.
1525 (sin_test_data): Update call to AUTO_TESTS_f_f.
1526 (sin_test): Use ALL_RM_TEST.
1527 (sin_tonearest_test_data): Remove.
1528 (sin_test_tonearest): Likewise.
1529 (sin_towardzero_test_data): Likewise.
1530 (sin_test_towardzero): Likewise.
1531 (sin_downward_test_data): Likewise.
1532 (sin_test_downward): Likewise.
1533 (sin_upward_test_data): Likewise.
1534 (sin_test_upward): Likewise.
1535 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1536 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1537 (sinh_test): Use ALL_RM_TEST.
1538 (sinh_tonearest_test_data): Remove.
1539 (sinh_test_tonearest): Likewise.
1540 (sinh_towardzero_test_data): Likewise.
1541 (sinh_test_towardzero): Likewise.
1542 (sinh_downward_test_data): Likewise.
1543 (sinh_test_downward): Likewise.
1544 (sinh_upward_test_data): Likewise.
1545 (sinh_test_upward): Likewise.
1546 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1547 (sqrt_test): Use ALL_RM_TEST.
1548 (sqrt_tonearest_test_data): Remove.
1549 (sqrt_test_tonearest): Likewise.
1550 (sqrt_towardzero_test_data): Likewise.
1551 (sqrt_test_towardzero): Likewise.
1552 (sqrt_downward_test_data): Likewise.
1553 (sqrt_test_downward): Likewise.
1554 (sqrt_upward_test_data): Likewise.
1555 (sqrt_test_upward): Likewise.
1556 (tan_test_data): Update call to AUTO_TESTS_f_f.
1557 (tan_test): Use ALL_RM_TEST.
1558 (tan_tonearest_test_data): Remove.
1559 (tan_test_tonearest): Likewise.
1560 (tan_towardzero_test_data): Likewise.
1561 (tan_test_towardzero): Likewise.
1562 (tan_downward_test_data): Likewise.
1563 (tan_test_downward): Likewise.
1564 (tan_upward_test_data): Likewise.
1565 (tan_test_upward): Likewise.
1566 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1567 (tgamma_test_data): Likewise.
1568 (y0_test_data): Likewise.
1569 (y1_test_data): Likewise.
1570 (yn_test_data): Update call to AUTO_TESTS_if_f.
1571 (main): Do not call removed functions.
1572
d71aeee8
JM
15732014-03-19 Joseph Myers <joseph@codesourcery.com>
1574
1575 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1576 (ldexp_test_data): Remove.
1577 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1578 scalbn_test_data.
1579 (scalb_test): Use ALL_RM_TEST.
1580
baaf1ded
AS
15812014-03-19 Andreas Schwab <schwab@suse.de>
1582
1583 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1584
b1115e91
JM
15852014-03-19 Joseph Myers <joseph@codesourcery.com>
1586
1587 [BZ #16649]
1588 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1589 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1590 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1591 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1592 (__ASSUME_PREADV): Undefine.
1593 (__ASSUME_PWRITEV): Likewise.
1594
0283ecca
RM
15952014-03-18 Roland McGrath <roland@hack.frob.com>
1596
7d375303
RM
1597 * bits/mman-linux.h: Add comment about non-Linux use.
1598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1599 bits/mman-linux.h resting place.
1600
0283ecca
RM
1601 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1602 * bits/mman-linux.h: ... here.
1603
aebe1003
AZ
16042014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605
1606 * conform/conformtest.pl: Add standard definition when calling C
1607 preprocessor on data files.
1608 (checknamespace): Remove unused variable.
1609
b29b6bb8
JM
16102014-03-18 Joseph Myers <joseph@codesourcery.com>
1611
1612 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1613 minus_oflow, plus_uflow and minus_uflow in expected results.
1614 * math/libm-test.inc (scalbn_test_data): Add more tests of
1615 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1616 minus_uflow.
1617 (scalbn_test): Use ALL_RM_TEST.
1618 (scalbln_test_data): Add more tests of negative arguments. Use
1619 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1620 (scalbln_test): Use ALL_RM_TEST.
1621
c8f8fa15
RM
16222014-03-18 Roland McGrath <roland@hack.frob.com>
1623
1624 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1625
fede7a5f
WN
16262014-03-18 Will Newton <will.newton@linaro.org>
1627
1628 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1629 inaccurate comment.
1630
80cf0a58
JM
16312014-03-18 Joseph Myers <joseph@codesourcery.com>
1632
1633 * Makerules [!subdir] (check-abi): Exit with error status if a
1634 test failed.
1635
b3620862
JM
16362014-03-17 Joseph Myers <joseph@codesourcery.com>
1637
1638 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1639 for rint. Include results for all rounding modes.
1640 (nearbyint_test): Use ALL_RM_TEST.
1641 (rint_test_data): Include all tests used for nearbyint.
1642
788bba36
WN
16432014-03-17 Will Newton <will.newton@linaro.org>
1644
04ec140a
WN
1645 * nptl/sysdeps/pthread/pthread.h: Revert previous
1646 change.
1647
7579d8d5
WN
1648 * sysdeps/generic/ldsodefs.h: Revert previous
1649 change.
1650
c15cf13a
WN
1651 * libio/genops.c: Revert previous change.
1652 * libio/libioP.h: Likewise.
1653 * stdio-common/vfprintf.c: Likewise.
1654
d0ac1324
WN
1655 * sysdeps/generic/math_private.h: Revert previous
1656 change.
1657
9290130a
WN
1658 * sysdeps/generic/math_private.h: Check whether
1659 HAVE_RM_CTX is defined with #ifdef rather
1660 than #if.
1661
afb466fc
WN
1662 * argp/argp-fmtstream.h: Check whether
1663 __STRICT_ANSI__ is defined with #ifdef rather
1664 than #if.
1665 * argp/argp.h: Likewise.
1666
f7efd7c3
WN
1667 * libio/genops.c: Check whether
1668 _IO_JUMPS_OFFSET is defined with #ifdef rather
1669 than #if.
1670 * libio/libioP.h: Likewise.
1671 * stdio-common/vfprintf.c: Likewise.
1672
53f1bed3
WN
1673 * sysdeps/generic/ldsodefs.h: Check whether
1674 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1675 than #if.
1676
788bba36
WN
1677 * nptl/sysdeps/pthread/pthread.h: Check
1678 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1679 its value.
1680
fcd89ebe
SP
16812014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1682
ae42bbc5
SP
1683 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1684 setting O_APPEND.
1685 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1686 test case.
1687
ea33158c
SP
1688 [BZ #16680]
1689 * libio/fileops.c (_IO_file_open): Seek to end of file but
1690 don't cache the offset.
1691 (get_file_offset): Remove function.
1692 (do_ftell): Use cached offset when available.
1693 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1694 don't cache the offset.
1695 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1696 case.
1697 (do_one_test): Call it.
1698 (do_ftell_test): Fix up expected old offset for a+ mode.
1699 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1700 available.
1701
b1dbb426
SP
1702 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1703 up test status with function return status.
1704 (do_write_test): Likewise.
1705 (do_append_test): Likewise.
1706
fcd89ebe
SP
1707 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1708 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1709 Remove.
1710
9962a2d3
JM
17112014-03-17 Joseph Myers <joseph@codesourcery.com>
1712
1713 * math/gen-libm-test.pl (parse_args): Handle results specified for
1714 each rounding mode separately.
1715 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1716 tests and results from lrint_tonearest_test_data,
1717 lrint_towardzero_test_data, lrint_downward_test_data and
1718 lrint_upward_test_data.
1719 (lrint_test): Use ALL_RM_TEST.
1720 (lrint_tonearest_test_data): Remove.
1721 (lrint_test_tonearest): Likewise.
1722 (lrint_towardzero_test_data): Likewise.
1723 (lrint_test_towardzero): Likewise.
1724 (lrint_downward_test_data): Likewise.
1725 (lrint_test_downward): Likewise.
1726 (lrint_upward_test_data): Likewise.
1727 (lrint_test_upward): Likewise.
1728 (llrint_test_data): Merge in per-rounding-mode tests and results
1729 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1730 llrint_downward_test_data and llrint_upward_test_data.
1731 (llrint_test): Use ALL_RM_TEST.
1732 (llrint_tonearest_test_data): Remove.
1733 (llrint_test_tonearest): Likewise.
1734 (llrint_towardzero_test_data): Likewise.
1735 (llrint_test_towardzero): Likewise.
1736 (llrint_downward_test_data): Likewise.
1737 (llrint_test_downward): Likewise.
1738 (llrint_upward_test_data): Likewise.
1739 (llrint_test_upward): Likewise.
1740 (rint_test_data): Merge in per-rounding-mode tests and results
1741 from rint_tonearest_test_data, rint_towardzero_test_data,
1742 rint_downward_test_data and rint_upward_test_data. Add
1743 per-rounding-mode results for tests not in those arrays.
1744 (rint_test): Use ALL_RM_TEST.
1745 (rint_tonearest_test_data): Remove.
1746 (rint_test_tonearest): Likewise.
1747 (rint_towardzero_test_data): Likewise.
1748 (rint_test_towardzero): Likewise.
1749 (rint_downward_test_data): Likewise.
1750 (rint_test_downward): Likewise.
1751 (rint_upward_test_data): Likewise.
1752 (rint_test_upward): Likewise.
1753 (main): Don't call removed functions.
1754
5006148e
RM
17552014-03-14 Roland McGrath <roland@hack.frob.com>
1756
1757 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1758 "Compiled on ..." crapola. It is anti-useful.
1759
d6fe5e58
JM
17602014-03-14 Joseph Myers <joseph@codesourcery.com>
1761
1762 * scripts/evaluate-test.sh: Handle fourth argument to determine
1763 whether test run should stop on failure.
1764 * Makeconfig (stop-on-test-failure): New variable.
1765 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1766 $(stop-on-test-failure).
1767 * Makefile (tests): Give a summary of results from testing and
1768 exit with failure status if they include an ERROR or FAIL.
1769 (xtests): Likewise.
1770 * manual/install.texi (Configuring and compiling): Mention
1771 stop-on-test-failure=y.
1772 * INSTALL: Regenerated.
1773
498a2233
RM
17742014-03-14 Roland McGrath <roland@hack.frob.com>
1775
22dbc19d
RM
1776 * scripts/versionlist.awk: New file.
1777 * Makerules [$(build-shared) = yes]
1778 (postclean-generated): Add Versions.def, not Versions.def.v and
1779 Versions.def.v.i.
1780 ($(common-objpfx)Versions.def.v.i): Target removed.
1781 ($(common-objpfx)Versions.def): New target.
1782 ($(common-objpfx)Versions.all): Depend on that rather that
1783 $(common-objpfx)Versions.def.v.
1784 * Versions.def: File removed.
1785
498a2233
RM
1786 * Makeconfig (+gccwarn): Add -Wundef.
1787 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1788 a dl-sysdep.h breaking its contract.
1789 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1790 * include/stackinfo.h: New file.
1791 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1792 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1793 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1794 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1795 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1796 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1797 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1798 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1799 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1800 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1801 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1802 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1803 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1804 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1805 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1806
c7de5025
AZ
18072014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 [BZ #16707]
1810 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1811 implementation.
1812 * math/libm-test.inc (round_test_data): Add more tests.
1813
98fb27a3
AZ
1814 [BZ #16706]
1815 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1816 implementation.
1817 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1818
374f7f61
AZ
1819 [BZ #16701]
1820 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1821 implementation.
1822 * math/libm-test.inc (ceil_test_data): Add more tests.
1823
4655c291
AZ
1824 * math/libm-test.inc (trunc_test_data): Add more tests related to
1825 BZ#16414.
1826
d7329d4b
RM
18272014-03-14 Roland McGrath <roland@hack.frob.com>
1828
1829 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1830 with #if rather than #ifdef.
1831 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1832
aa4de9ce
L
18332014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1834
1835 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1836 first. Disable AVX-512 GCC support if assembler doesn't support
1837 it.
1838 * sysdeps/x86_64/configure: Regenerated.
1839
2e03fae7
CD
18402014-03-13 Carlos O'Donell <carlos@redhat.com>
1841
1842 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1843 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1844 (__old_pthread_attr_setstack): Likewise.
1845 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1846 [!_STACK_GROWS_DOWN]: Likewise.
1847
43ca83ec
MF
18482014-03-13 Mike Frysinger <vapier@gentoo.org>
1849
1850 * config.make.in (have-bash2): Delete.
1851 * configure.ac (libc_cv_have_bash2): Delete.
1852 * configure: Regenerate.
1853 * elf/Makefile (common-ldd-rewrite): Rename to ...
1854 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1855 (sh-ldd-rewrite): Delete.
1856 (bash-ldd-rewrite): Delete.
1857 (have-bash2): Delete checks.
57f41c40
AS
1858 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1859 ldd-rewrite.
c66e48b4
MF
1860
1861 * config.make.in (have-ksh): Delete.
1862 (KSH): Delete.
1863 * configure.ac (libc_cv_have_ksh): Delete.
1864 * configure: Regenerate.
1865
b93834ef
MF
1866 * elf/Makefile: Delete $(have-ksh) check.
1867 ($(objpfx)sotruss): Change KSH to BASH.
1868 * elf/sotruss.ksh: Rename to ...
1869 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1870 function style to match POSIX. Drop ksh vim mode setting.
1871
f3a4632a
MF
1872 * manual/time.texi (Specifying the Time Zone with TZ): Change
1873 Tuesday to Thursday.
1874
5896c8bd
MF
1875 * debug/tst-longjmp_chk2.c: Update header comment.
1876 (stackoverflow_handler): Add comment. Call assert on pass value.
1877
2d63a517
IZ
18782014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1879
1880 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1881 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1882 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1883 (La_x86_64_vector): Add zmm.
1884 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1885 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1886 ($(objpfx)tst-audit10): New target.
1887 ($(objpfx)tst-audit10.out): Likewise.
1888 (tst-audit10-ENV): New.
1889 (AVX512-CFLAGS): Likewise.
1890 (CFLAGS-tst-audit10.c): Likewise.
1891 (CFLAGS-tst-auditmod10a.c): Likewise.
1892 (CFLAGS-tst-auditmod10b.c): Likewise.
1893 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1894 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1895 * sysdeps/x86_64/configure: Regenerated.
1896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1897 AVX-512 zmm register support.
1898 (_dl_x86_64_save_sse): Likewise.
1899 (_dl_x86_64_restore_sse): Likewise.
1900 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1901 size vector registers.
1902 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1903 (ZMM_SIZE): Likewise.
1904 * sysdeps/x86_64/tst-audit10.c: New file.
1905 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1906 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1907
44c4e5d5
RM
19082014-03-13 Roland McGrath <roland@hack.frob.com>
1909
1910 * configure.ac (HAVE_EHDR_START): New check.
1911 * configure: Regenerated.
1912 * config.h.in (HAVE_EHDR_START): New #undef.
1913 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1914 assuming the lowest-addressed segment maps the start of the file.
1915
acd6e389
JM
19162014-03-13 Joseph Myers <joseph@codesourcery.com>
1917
1918 * INSTALL: Regenerated.
1919
6f918f36
WN
19202014-03-13 Will Newton <will.newton@linaro.org>
1921
1922 * manual/setjmp.texi (System V contexts): Improve
1923 clarity and grammar of documentation.
1924
798212a0
PP
19252014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1926
1927 [BZ #16381]
798212a0 1928 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1929 (tests-pie): Add tst-pie2.
798212a0
PP
1930 * elf/tst-pie2.c: New file.
1931 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1932 for ET_EXEC.
1933 * elf/rtld.c (map_doit): Load executable as lt_executable.
1934 (dl_main): Likewise.
1935
abe6d90c
JM
19362014-03-12 Joseph Myers <joseph@codesourcery.com>
1937
1938 [BZ #16642]
1939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1940 (__ASSUME_PSELECT): Undefine.
1941
dd3946c6
AZ
19422014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1943
1944 [BZ #16689]
1945 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1946 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1947 static build.
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1949 selector for static builds.
1950
c44496df
SP
19512014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1952
1953 [BZ #16695]
1954 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1955 key in the buffer.
1956
27c7220a
AZ
19572014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1958
57f41c40
AS
1959 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1960 IFUNC selector for static builds.
27c7220a 1961
600fa361
JM
19622014-03-11 Joseph Myers <joseph@codesourcery.com>
1963
76c96cf7
JM
1964 * sysdeps/mips/math_private.h [__mips_hard_float]
1965 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1966 libc_feresetround_mips_ctx.
1967 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1968 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1969 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1970
600fa361
JM
1971 [BZ #16677]
1972 * math/s_nextafter.c (__nextafter): Do not return value from
1973 overflowing computation.
1974 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1975 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1976 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1977 Likewise.
1978 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1979 Likewise.
1980 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1981 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1982
d7706c32
RM
19832014-03-11 Roland McGrath <roland@hack.frob.com>
1984
1985 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1986 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1987 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1988 the new mov targetting sp.
1989
4facea47
AZ
19902014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991
1992 [BZ #16683]
1993 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1994 Define it for static builds as well.
1995 (NO_BZERO_IMPL): Likewise.
1996
e65caf1f
VR
19972014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1998
1999 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2000 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2001 multiarch strspn for PPC64.
2002 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2003 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2005 (__libc_ifunc_impl_list): Likewise.
2006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2007 multiarch optimizations
2008 * string/strspn.c (strspn): Using macro to redefine symbol name.
2009
ba9cc071
AZ
20102014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2011 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2012
2013 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2014 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2015 multiarch strncat for PPC64.
2016 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2017 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2019 (__libc_ifunc_impl_list): Likewise.
2020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2021 multiarch optimizations
2022
8b4ff974
SP
20232014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2024
2025 [BZ #16639]
2026 * nscd/nscd.service: Make service type forking.
2027
54b46a4b
AZ
20282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2029
2030 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2031 sign in non default rounding modes.
2032 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2033
e9996ef7
JM
20342014-03-08 Joseph Myers <joseph@codesourcery.com>
2035
2036 * math/libm-test.inc (ALL_RM_TEST): New macro.
2037 (ceil_test): Use ALL_RM_TEST.
2038 (cimag_test): Likewise.
2039 (conj_test): Likewise.
2040 (copysign_test): Likewise.
2041 (cproj_test): Likewise.
2042 (creal_test): Likewise.
2043 (fabs_test): Likewise.
2044 (floor_test): Likewise.
2045 (fmax_test): Likewise.
2046 (fmin_test): Likewise.
2047 (fmod_test): Likewise.
2048 (fpclassify_test): Likewise.
2049 (frexp_test): Likewise.
2050 (ilogb_test): Likewise.
2051 (isfinite_test): Likewise.
2052 (finite_test): Likewise.
2053 (isgreater_test): Likewise.
2054 (isgreaterequal_test): Likewise.
2055 (isinf_test): Likewise.
2056 (isless_test): Likewise.
2057 (islessequal_test): Likewise.
2058 (islessgreater_test): Likewise.
2059 (isnan_test): Likewise.
2060 (isnormal_test): Likewise.
2061 (issignaling_test): Likewise.
2062 (isunordered_test): Likewise.
2063 (logb_test): Likewise.
2064 (logb_downward_test_data): Remove.
2065 (logb_test_downward): Likewise.
2066 (lround_test): Use ALL_RM_TEST.
2067 (llround_test): Likewise.
2068 (modf_test): Likewise.
2069 (nexttoward_test): Likewise.
2070 (remainder_test): Likewise.
2071 (drem_test): Likewise.
2072 (remainder_tonearest_test_data): Likewise.
2073 (remainder_test_tonearest): Likewise.
2074 (drem_test_tonearest): Likewise.
2075 (remainder_towardzero_test_data): Likewise.
2076 (remainder_test_towardzero): Likewise.
2077 (drem_test_towardzero): Likewise.
2078 (remainder_downward_test_data): Likewise.
2079 (remainder_test_downward): Likewise.
2080 (drem_test_downward): Likewise.
2081 (remainder_upward_test_data): Likewise.
2082 (remainder_test_upward): Likewise.
2083 (drem_test_upward): Likewise.
2084 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2085 (round_test): Use ALL_RM_TEST.
2086 (signbit_test): Likewise.
2087 (trunc_test): Likewise.
2088 (significand_test): Likewise.
2089 (main): Don't call removed functions.
2090
bc61d27c
JM
20912014-03-07 Joseph Myers <joseph@codesourcery.com>
2092
5c780849
JM
2093 [BZ #16674]
2094 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2095 || __USE_XOPEN2K8].
2096 (ILL_ILLOPN): Likewise.
2097 (ILL_ILLADR): Likewise.
2098 (ILL_ILLTRP): Likewise.
2099 (ILL_PRVOPC): Likewise.
2100 (ILL_PRVREG): Likewise.
2101 (ILL_COPROC): Likewise.
2102 (ILL_BADSTK): Likewise.
2103 (FPE_INTDIV): Likewise.
2104 (FPE_INTOVF): Likewise.
2105 (FPE_FLTDIV): Likewise.
2106 (FPE_FLTOVF): Likewise.
2107 (FPE_FLTUND): Likewise.
2108 (FPE_FLTRES): Likewise.
2109 (FPE_FLTINV): Likewise.
2110 (FPE_FLTSUB): Likewise.
2111 (SEGV_MAPERR): Likewise.
2112 (SEGV_ACCERR): Likewise.
2113 (BUS_ADRALN): Likewise.
2114 (BUS_ADRERR): Likewise.
2115 (BUS_OBJERR): Likewise.
2116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2117 (TRAP_TRACE): Likewise.
2118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2119 __USE_XOPEN2K8].
2120 (CLD_KILLED): Likewise.
2121 (CLD_DUMPED): Likewise.
2122 (CLD_TRAPPED): Likewise.
2123 (CLD_STOPPED): Likewise.
2124 (CLD_CONTINUED): Likewise.
2125 (POLL_IN): Likewise.
2126 (POLL_OUT): Likewise.
2127 (POLL_MSG): Likewise.
2128 (POLL_ERR): Likewise.
2129 (POLL_PRI): Likewise.
2130 (POLL_HUP): Likewise.
2131 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2132 Likewise.
2133 (ILL_ILLOPN): Likewise.
2134 (ILL_ILLADR): Likewise.
2135 (ILL_ILLTRP): Likewise.
2136 (ILL_PRVOPC): Likewise.
2137 (ILL_PRVREG): Likewise.
2138 (ILL_COPROC): Likewise.
2139 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
2149 (SEGV_ACCERR): Likewise.
2150 (BUS_ADRALN): Likewise.
2151 (BUS_ADRERR): Likewise.
2152 (BUS_OBJERR): Likewise.
2153 (BUS_MCEERR_AR): Likewise.
2154 (BUS_MCEERR_AO): Likewise.
2155 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2156 (TRAP_TRACE): Likewise.
2157 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2158 __USE_XOPEN2K8].
2159 (CLD_KILLED): Likewise.
2160 (CLD_DUMPED): Likewise.
2161 (CLD_TRAPPED): Likewise.
2162 (CLD_STOPPED): Likewise.
2163 (CLD_CONTINUED): Likewise.
2164 (POLL_IN): Likewise.
2165 (POLL_OUT): Likewise.
2166 (POLL_MSG): Likewise.
2167 (POLL_ERR): Likewise.
2168 (POLL_PRI): Likewise.
2169 (POLL_HUP): Likewise.
2170 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2171 (ILL_ILLOPN): Likewise.
2172 (ILL_ILLADR): Likewise.
2173 (ILL_ILLTRP): Likewise.
2174 (ILL_PRVOPC): Likewise.
2175 (ILL_PRVREG): Likewise.
2176 (ILL_COPROC): Likewise.
2177 (ILL_BADSTK): Likewise.
2178 (FPE_INTDIV): Likewise.
2179 (FPE_INTOVF): Likewise.
2180 (FPE_FLTDIV): Likewise.
2181 (FPE_FLTOVF): Likewise.
2182 (FPE_FLTUND): Likewise.
2183 (FPE_FLTRES): Likewise.
2184 (FPE_FLTINV): Likewise.
2185 (FPE_FLTSUB): Likewise.
2186 (SEGV_MAPERR): Likewise.
2187 (SEGV_ACCERR): Likewise.
2188 (BUS_ADRALN): Likewise.
2189 (BUS_ADRERR): Likewise.
2190 (BUS_OBJERR): Likewise.
2191 (BUS_MCEERR_AR): Likewise.
2192 (BUS_MCEERR_AO): Likewise.
2193 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2194 (TRAP_TRACE): Likewise.
2195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2196 __USE_XOPEN2K8].
2197 (CLD_KILLED): Likewise.
2198 (CLD_DUMPED): Likewise.
2199 (CLD_TRAPPED): Likewise.
2200 (CLD_STOPPED): Likewise.
2201 (CLD_CONTINUED): Likewise.
2202 (POLL_IN): Likewise.
2203 (POLL_OUT): Likewise.
2204 (POLL_MSG): Likewise.
2205 (POLL_ERR): Likewise.
2206 (POLL_PRI): Likewise.
2207 (POLL_HUP): Likewise.
2208 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2209 Likewise.
2210 (ILL_ILLOPN): Likewise.
2211 (ILL_ILLADR): Likewise.
2212 (ILL_ILLTRP): Likewise.
2213 (ILL_PRVOPC): Likewise.
2214 (ILL_PRVREG): Likewise.
2215 (ILL_COPROC): Likewise.
2216 (ILL_BADSTK): Likewise.
2217 (ILL_BADIADDR): Likewise.
2218 (ILL_BREAK): Likewise.
2219 (FPE_INTDIV): Likewise.
2220 (FPE_INTOVF): Likewise.
2221 (FPE_FLTDIV): Likewise.
2222 (FPE_FLTOVF): Likewise.
2223 (FPE_FLTUND): Likewise.
2224 (FPE_FLTRES): Likewise.
2225 (FPE_FLTINV): Likewise.
2226 (FPE_FLTSUB): Likewise.
2227 (FPE_DECOVF): Likewise.
2228 (FPE_DECDIV): Likewise.
2229 (FPE_DECERR): Likewise.
2230 (FPE_INVASC): Likewise.
2231 (FPE_INVDEC): Likewise.
2232 (SEGV_MAPERR): Likewise.
2233 (SEGV_ACCERR): Likewise.
2234 (SEGV_PSTKOVF): Likewise.
2235 (BUS_ADRALN): Likewise.
2236 (BUS_ADRERR): Likewise.
2237 (BUS_OBJERR): Likewise.
2238 (BUS_MCEERR_AR): Likewise.
2239 (BUS_MCEERR_AO): Likewise.
2240 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2241 (TRAP_TRACE): Likewise.
2242 (TRAP_BRANCH): Likewise.
2243 (TRAP_HWBKPT): Likewise.
2244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2245 __USE_XOPEN2K8].
2246 (CLD_KILLED): Likewise.
2247 (CLD_DUMPED): Likewise.
2248 (CLD_TRAPPED): Likewise.
2249 (CLD_STOPPED): Likewise.
2250 (CLD_CONTINUED): Likewise.
2251 (POLL_IN): Likewise.
2252 (POLL_OUT): Likewise.
2253 (POLL_MSG): Likewise.
2254 (POLL_ERR): Likewise.
2255 (POLL_PRI): Likewise.
2256 (POLL_HUP): Likewise.
2257 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2258 (ILL_ILLOPN): Likewise.
2259 (ILL_ILLADR): Likewise.
2260 (ILL_ILLTRP): Likewise.
2261 (ILL_PRVOPC): Likewise.
2262 (ILL_PRVREG): Likewise.
2263 (ILL_COPROC): Likewise.
2264 (ILL_BADSTK): Likewise.
2265 (FPE_INTDIV): Likewise.
2266 (FPE_INTOVF): Likewise.
2267 (FPE_FLTDIV): Likewise.
2268 (FPE_FLTOVF): Likewise.
2269 (FPE_FLTUND): Likewise.
2270 (FPE_FLTRES): Likewise.
2271 (FPE_FLTINV): Likewise.
2272 (FPE_FLTSUB): Likewise.
2273 (SEGV_MAPERR): Likewise.
2274 (SEGV_ACCERR): Likewise.
2275 (BUS_ADRALN): Likewise.
2276 (BUS_ADRERR): Likewise.
2277 (BUS_OBJERR): Likewise.
2278 (BUS_MCEERR_AR): Likewise.
2279 (BUS_MCEERR_AO): Likewise.
2280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2281 (TRAP_TRACE): Likewise.
2282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2283 __USE_XOPEN2K8].
2284 (CLD_KILLED): Likewise.
2285 (CLD_DUMPED): Likewise.
2286 (CLD_TRAPPED): Likewise.
2287 (CLD_STOPPED): Likewise.
2288 (CLD_CONTINUED): Likewise.
2289 (POLL_IN): Likewise.
2290 (POLL_OUT): Likewise.
2291 (POLL_MSG): Likewise.
2292 (POLL_ERR): Likewise.
2293 (POLL_PRI): Likewise.
2294 (POLL_HUP): Likewise.
2295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2296 (ILL_ILLOPN): Likewise.
2297 (ILL_ILLADR): Likewise.
2298 (ILL_ILLTRP): Likewise.
2299 (ILL_PRVOPC): Likewise.
2300 (ILL_PRVREG): Likewise.
2301 (ILL_COPROC): Likewise.
2302 (ILL_BADSTK): Likewise.
2303 (FPE_INTDIV): Likewise.
2304 (FPE_INTOVF): Likewise.
2305 (FPE_FLTDIV): Likewise.
2306 (FPE_FLTOVF): Likewise.
2307 (FPE_FLTUND): Likewise.
2308 (FPE_FLTRES): Likewise.
2309 (FPE_FLTINV): Likewise.
2310 (FPE_FLTSUB): Likewise.
2311 (SEGV_MAPERR): Likewise.
2312 (SEGV_ACCERR): Likewise.
2313 (BUS_ADRALN): Likewise.
2314 (BUS_ADRERR): Likewise.
2315 (BUS_OBJERR): Likewise.
2316 (BUS_MCEERR_AR): Likewise.
2317 (BUS_MCEERR_AO): Likewise.
2318 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2319 (TRAP_TRACE): Likewise.
2320 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2321 __USE_XOPEN2K8].
2322 (CLD_KILLED): Likewise.
2323 (CLD_DUMPED): Likewise.
2324 (CLD_TRAPPED): Likewise.
2325 (CLD_STOPPED): Likewise.
2326 (CLD_CONTINUED): Likewise.
2327 (POLL_IN): Likewise.
2328 (POLL_OUT): Likewise.
2329 (POLL_MSG): Likewise.
2330 (POLL_ERR): Likewise.
2331 (POLL_PRI): Likewise.
2332 (POLL_HUP): Likewise.
2333 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2334 (ILL_ILLOPN): Likewise.
2335 (ILL_ILLADR): Likewise.
2336 (ILL_ILLTRP): Likewise.
2337 (ILL_PRVOPC): Likewise.
2338 (ILL_PRVREG): Likewise.
2339 (ILL_COPROC): Likewise.
2340 (ILL_BADSTK): Likewise.
2341 (FPE_INTDIV): Likewise.
2342 (FPE_INTOVF): Likewise.
2343 (FPE_FLTDIV): Likewise.
2344 (FPE_FLTOVF): Likewise.
2345 (FPE_FLTUND): Likewise.
2346 (FPE_FLTRES): Likewise.
2347 (FPE_FLTINV): Likewise.
2348 (FPE_FLTSUB): Likewise.
2349 (SEGV_MAPERR): Likewise.
2350 (SEGV_ACCERR): Likewise.
2351 (BUS_ADRALN): Likewise.
2352 (BUS_ADRERR): Likewise.
2353 (BUS_OBJERR): Likewise.
2354 (BUS_MCEERR_AR): Likewise.
2355 (BUS_MCEERR_AO): Likewise.
2356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2357 (TRAP_TRACE): Likewise.
2358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2359 __USE_XOPEN2K8].
2360 (CLD_KILLED): Likewise.
2361 (CLD_DUMPED): Likewise.
2362 (CLD_TRAPPED): Likewise.
2363 (CLD_STOPPED): Likewise.
2364 (CLD_CONTINUED): Likewise.
2365 (POLL_IN): Likewise.
2366 (POLL_OUT): Likewise.
2367 (POLL_MSG): Likewise.
2368 (POLL_ERR): Likewise.
2369 (POLL_PRI): Likewise.
2370 (POLL_HUP): Likewise.
2371 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2372 (ILL_ILLOPN): Likewise.
2373 (ILL_ILLADR): Likewise.
2374 (ILL_ILLTRP): Likewise.
2375 (ILL_PRVOPC): Likewise.
2376 (ILL_PRVREG): Likewise.
2377 (ILL_COPROC): Likewise.
2378 (ILL_BADSTK): Likewise.
2379 (ILL_DBLFLT): Likewise.
2380 (ILL_HARDWALL): Likewise.
2381 (FPE_INTDIV): Likewise.
2382 (FPE_INTOVF): Likewise.
2383 (FPE_FLTDIV): Likewise.
2384 (FPE_FLTOVF): Likewise.
2385 (FPE_FLTUND): Likewise.
2386 (FPE_FLTRES): Likewise.
2387 (FPE_FLTINV): Likewise.
2388 (FPE_FLTSUB): Likewise.
2389 (SEGV_MAPERR): Likewise.
2390 (SEGV_ACCERR): Likewise.
2391 (BUS_ADRALN): Likewise.
2392 (BUS_ADRERR): Likewise.
2393 (BUS_OBJERR): Likewise.
2394 (BUS_MCEERR_AR): Likewise.
2395 (BUS_MCEERR_AO): Likewise.
2396 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2397 (TRAP_TRACE): Likewise.
2398 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2399 __USE_XOPEN2K8].
2400 (CLD_KILLED): Likewise.
2401 (CLD_DUMPED): Likewise.
2402 (CLD_TRAPPED): Likewise.
2403 (CLD_STOPPED): Likewise.
2404 (CLD_CONTINUED): Likewise.
2405 (POLL_IN): Likewise.
2406 (POLL_OUT): Likewise.
2407 (POLL_MSG): Likewise.
2408 (POLL_ERR): Likewise.
2409 (POLL_PRI): Likewise.
2410 (POLL_HUP): Likewise.
2411 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2412 (ILL_ILLOPN): Likewise.
2413 (ILL_ILLADR): Likewise.
2414 (ILL_ILLTRP): Likewise.
2415 (ILL_PRVOPC): Likewise.
2416 (ILL_PRVREG): Likewise.
2417 (ILL_COPROC): Likewise.
2418 (ILL_BADSTK): Likewise.
2419 (FPE_INTDIV): Likewise.
2420 (FPE_INTOVF): Likewise.
2421 (FPE_FLTDIV): Likewise.
2422 (FPE_FLTOVF): Likewise.
2423 (FPE_FLTUND): Likewise.
2424 (FPE_FLTRES): Likewise.
2425 (FPE_FLTINV): Likewise.
2426 (FPE_FLTSUB): Likewise.
2427 (SEGV_MAPERR): Likewise.
2428 (SEGV_ACCERR): Likewise.
2429 (BUS_ADRALN): Likewise.
2430 (BUS_ADRERR): Likewise.
2431 (BUS_OBJERR): Likewise.
2432 (BUS_MCEERR_AR): Likewise.
2433 (BUS_MCEERR_AO): Likewise.
2434 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2435 (TRAP_TRACE): Likewise.
2436 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2437 __USE_XOPEN2K8].
2438 (CLD_KILLED): Likewise.
2439 (CLD_DUMPED): Likewise.
2440 (CLD_TRAPPED): Likewise.
2441 (CLD_STOPPED): Likewise.
2442 (CLD_CONTINUED): Likewise.
2443 (POLL_IN): Likewise.
2444 (POLL_OUT): Likewise.
2445 (POLL_MSG): Likewise.
2446 (POLL_ERR): Likewise.
2447 (POLL_PRI): Likewise.
2448 (POLL_HUP): Likewise.
2449 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2450 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2451
bc61d27c
JM
2452 [BZ #16670]
2453 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2454 before #include of <time.h>.
2455 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2456 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2457 (test-xfail-UNIX98/sched.h/conform): Likewise.
2458
302949e2
MS
24592014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2460
2461 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2462 error absence of trapping exception support.
2463 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2464
a00f522a
JM
24652014-03-07 Joseph Myers <joseph@codesourcery.com>
2466
6f99f280
JM
2467 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2468 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2469 * timezone/Makefile (testdata): Move definition above include of
2470 Rules.
2471 (test-zones): New variable.
2472 (tests-special): Add zone files.
2473 (build-testdata): Use $(evaluate-test).
2474
0b20a9e8
JM
2475 * elf/Makefile (tests-special): Rename tests to end with .out.
2476 ($(objpfx)noload-mem): Likewise.
2477 ($(objpfx)tst-leaks1-mem): Likewise.
2478 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2479 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2480 $(objpfx)test-iconvconfig.out.
2481 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2482 set -e inside subshell and redirect output to file.
2483 * iconvdata/Makefile (generated): Rename tests to end with .out.
2484 Correct type.
2485 (tests-special): Rename tests to end with .out.
2486 ($(objpfx)mtrace-tst-loading): Likewise.
2487 * intl/Makefile (generated): Likewise.
2488 (tests-special): Likewise.
2489 ($(objpfx)mtrace-tst-gettext): Likewise.
2490 * misc/Makefile (generated): Likewise.
2491 (tests-special): Likewise.
2492 ($(objpfx)tst-error1-mem): Likewise.
2493 * nptl/Makefile (tests-special): Likewise.
2494 ($(objpfx)tst-stack3-mem): Likewise.
2495 (generated): Likewise.
2496 * posix/Makefile (generated): Likewise.
2497 (tests-special): Likewise.
2498 (xtests-special): Likewise.
2499 ($(objpfx)tst-fnmatch-mem): Likewise.
2500 ($(objpfx)bug-regex2-mem): Likewise.
2501 ($(objpfx)bug-regex14-mem): Likewise.
2502 ($(objpfx)bug-regex21-mem): Likewise.
2503 ($(objpfx)bug-regex31-mem): Likewise.
2504 ($(objpfx)tst-vfork3-mem): Likewise.
2505 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2506 ($(objpfx)tst-pcre-mem): Likewise.
2507 ($(objpfx)tst-boost-mem): Likewise.
2508 ($(objpfx)bug-ga2-mem): Likewise.
2509 ($(objpfx)bug-glob2-mem): Likewise.
2510 * resolv/Makefile (generate): Likewise.
2511 (tests-special): Likewise.
2512 (xtests-special): Likewise.
2513 (generated): Likewise.
2514 ($(objpfx)mtrace-tst-leaks): Likewise.
2515 ($(objpfx)mtrace-tst-leaks2): Likewise.
2516
265d52ab
JM
2517 * scripts/merge-test-results.sh: New file.
2518 * Makefile (tests-special-notdir): New variable.
2519 (tests): Run merge-test-results.sh.
2520 (xtests): Likewise.
2521 * Rules (tests-special-notdir): New variable.
2522 (xtests-special-notdir): Likewise.
2523 (tests): Run merge-test-results.sh
2524 (xtests): Likewise.
2525
54ee292d
JM
2526 * Makeconfig (test-xfail-name): New variable.
2527 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2528 compute variable name for expected failures.
2529 * conform/Makefile (conformtest-headers-data): New variable.
2530 (conformtest-standards): Likewise.
2531 (conformtest-headers-ISO): Likewise.
2532 (conformtest-headers-ISO99): Likewise.
2533 (conformtest-headers-ISO11): Likewise.
2534 (conformtest-headers-POSIX): Likewise.
2535 (conformtest-headers-XPG3): Likewise.
2536 (conformtest-headers-XPG4): Likewise.
2537 (conformtest-headers-UNIX98): Likewise.
2538 (conformtest-headers-XOPEN2K): Likewise.
2539 (conformtest-headers-POSIX2008): Likewise.
2540 (conformtest-headers-XOPEN2K8): Likewise.
2541 (conformtest-header-list-base): Likewise.
2542 (conformtest-header-list-tests): Likewise.
2543 (conformtest-header-base): Likewise.
2544 (conformtest-header-tests): Likewise.
2545 (tests-special): Add $(conformtest-header-list-tests). If
2546 [$(fast-check) && !$(cross-compiling)], add
2547 $(conformtest-header-tests) instead of
2548 $(objpfx)run-conformtest.out.
2549 (generated): Add $(conformtest-header-list-base). If
2550 [$(fast-check) && !$(cross-compiling)], add
2551 $(conformtest-header-base). Remove previous setting.
2552 ($(conformtest-header-list-tests)): New target.
2553 (test-xfail-run-conformtest): Remove variable.
2554 ($(objpfx)run-conformtest.out): Remove target.
2555 (test-xfail-ISO11/complex.h/conform): New variable.
2556 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2557 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2558 (test-xfail-XPG3/varargs.h/conform): Likewise.
2559 (test-xfail-XPG4/varargs.h/conform): Likewise.
2560 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2561 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2562 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2563 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2564 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2565 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2566 (test-xfail-XPG3/ftw.h/conform): Likewise.
2567 (test-xfail-XPG3/grp.h/conform): Likewise.
2568 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2569 (test-xfail-XPG3/limits.h/conform): Likewise.
2570 (test-xfail-XPG3/pwd.h/conform): Likewise.
2571 (test-xfail-XPG3/search.h/conform): Likewise.
2572 (test-xfail-XPG3/signal.h/conform): Likewise.
2573 (test-xfail-XPG3/stdio.h/conform): Likewise.
2574 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2575 (test-xfail-XPG3/string.h/conform): Likewise.
2576 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2577 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2578 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2579 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2580 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2581 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2582 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2583 (test-xfail-XPG3/termios.h/conform): Likewise.
2584 (test-xfail-XPG3/time.h/conform): Likewise.
2585 (test-xfail-XPG3/unistd.h/conform): Likewise.
2586 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2587 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2588 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2589 (test-xfail-XPG4/netdb.h/conform): Likewise.
2590 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2591 (test-xfail-XPG4/signal.h/conform): Likewise.
2592 (test-xfail-XPG4/stdio.h/conform): Likewise.
2593 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2594 (test-xfail-XPG4/stropts.h/conform): Likewise.
2595 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2596 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2597 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2598 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2599 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2600 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2601 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2602 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2603 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2604 (test-xfail-XPG4/termios.h/conform): Likewise.
2605 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2606 (test-xfail-XPG4/unistd.h/conform): Likewise.
2607 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2608 (test-xfail-POSIX/sched.h/conform): Likewise.
2609 (test-xfail-POSIX/signal.h/conform): Likewise.
2610 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2611 (test-xfail-POSIX/tar.h/conform): Likewise.
2612 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2613 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2614 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2615 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2616 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2617 (test-xfail-UNIX98/sched.h/conform): Likewise.
2618 (test-xfail-UNIX98/signal.h/conform): Likewise.
2619 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2620 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2621 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2622 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2623 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2624 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2625 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2626 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2627 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2628 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2629 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2630 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2631 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2632 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2633 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2634 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2635 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2636 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2637 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2638 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2639 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2640 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2641 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2642 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2643 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2644 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2645 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2646 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2647 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2648 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2649 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2650 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2651 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2652 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2653 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2654 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2655 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2656 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2657 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2658 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2659 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2660 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2661 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2662 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2663 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2664 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2665 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2666 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2667 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2668 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2669 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2670 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2671 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2672 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2673 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2674 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2675 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2676 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2677 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2678 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2679 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2680 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2681 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2682 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2683 (conformtest-cc-flags): Likewise.
2684 ($(conformtest-header-tests): New target.
2685 * conform/check-header-lists.sh: New file.
2686 * conform/run-conformtest.sh: Remove.
2687
a00f522a
JM
2688 * conform/conformtest.pl: Allow ' and \ in values given for
2689 constants.
2690 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2691 inclusion.
2692 [POSIX] (sys/types.h): Likewise.
2693 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2694 inclusion.
2695 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2696 inclusion.
2697 * conform/data/signal.h-data (SIGIO): Remove expectation.
2698 [XPG3] (SIGBUS): Do not expect.
2699 [POSIX || XPG3] (SIGPOLL): Likewise.
2700 [POSIX || XPG3] (SIGPROF): Likewise.
2701 [POSIX || XPG3] (SIGSYS): Likewise.
2702 [XPG3] (SIGTRAP): Likewise.
2703 [POSIX || XPG3] (SIGURG): Likewise.
2704 [POSIX || XPG3] (SIGVTALRM): Likewise.
2705 [POSIX || XPG3] (SIGXCPU): Likewise.
2706 [POSIX || XPG3] (SIGXFSZ): Likewise.
2707 [POSIX] (SA_SIGINFO): Expect.
2708 [XPG3] (siginfo_t): Do not expect type or contents.
2709 [POSIX] (si_pid): Do not expect element.
2710 [POSIX] (si_uid): Likewise.
2711 [POSIX] (si_addr): Likewise.
2712 [POSIX] (si_status): Likewise.
2713 [POSIX] (si_band): Likewise.
2714 [XPG4] (si_value): Likewise.
2715 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2716 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2717 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2718 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2719 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2720 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2721 [POSIX || XPG3] (ILL_COPROC): Likewise.
2722 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2723 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2724 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2725 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2726 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2727 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2728 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2729 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2730 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2731 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2732 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2733 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2734 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2735 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2736 [POSIX || XPG3] (CLD_EXITED): Likewise.
2737 [POSIX || XPG3] (CLD_KILLED): Likewise.
2738 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2739 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2740 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2741 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2742 [POSIX || XPG3] (POLL_IN): Likewise.
2743 [POSIX || XPG3] (POLL_OUT): Likewise.
2744 [POSIX || XPG3] (POLL_MSG): Likewise.
2745 [POSIX || XPG3] (POLL_ERR): Likewise.
2746 [POSIX || XPG3] (POLL_PRI): Likewise.
2747 [POSIX || XPG3] (POLL_HUP): Likewise.
2748 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2749 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2750 (SIG*): Do not allow.
2751 [XPG3] (si_*): Likewise.
2752 [XPG3] (SI_*): Likewise.
2753 [XPG3 || XPG4] (sigev_*): Likewise.
2754 [XPG3 || XPG4] (SIGEV_*): Likewise.
2755 [XPG3 || XPG4] (sival_*): Likewise.
2756 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2757 [POSIX || XPG3] (BUS_*): Likewise.
2758 [POSIX || XPG3] (CLD_*): Likewise.
2759 [POSIX || XPG3] (FPE_*): Likewise.
2760 [POSIX || XPG3] (ILL_*): Likewise.
2761 [POSIX || XPG3] (POLL_*): Likewise.
2762 [POSIX || XPG3] (SEGV_*): Likewise.
2763 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2764 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2765 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2766 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2767 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2768 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2769 Specify type and value.
2770 (TVERSLEN): Likewise.
2771 (REGTYPE): Likewise.
2772 (AREGTYPE): Likewise.
2773 (LNKTYPE): Likewise.
2774 (SYMTYPE): Likewise.
2775 (CHRTYPE): Likewise.
2776 (BLKTYPE): Likewise.
2777 (DIRTYPE): Likewise.
2778 (FIFOTYPE): Likewise.
2779 (CONTTYPE): Likewise.
2780 (TSUID): Likewise.
2781 (TSGID): Likewise.
2782 (TSVTX): Likewise.
2783 (TUREAD): Likewise.
2784 (TUWRITE): Likewise.
2785 (TUEXEC): Likewise.
2786 (TGREAD): Likewise.
2787 (TGWRITE): Likewise.
2788 (TGEXEC): Likewise.
2789 (TOREAD): Likewise.
2790 (TOWRITE): Likewise.
2791 (TOEXEC): Likewise.
2792 [POSIX] (TSVTX): Expect constant.
2793
aa97dee1
JM
27942014-03-06 Joseph Myers <joseph@codesourcery.com>
2795
f214606a
JM
2796 * Makefile (tests): Change dependencies to ....
2797 (tests-special): ... additions to this variable.
2798 (tests): Depend on $(tests-special).
2799 * Makerules (check-abi-list): New variable.
2800 (check-abi): Depend on $(check-abi-list).
2801 [$(subdir) = elf] (tests-special): Add
2802 $(objpfx)check-abi-libc.out.
2803 [$(build-shared) = yes && subdir] (tests-special): Add
2804 $(check-abi-list).
2805 [$(build-shared) = yes && subdir] (tests): Do not depend on
2806 check-abi.
2807 * Rules (tests): Depend on $(tests-special).
2808 (xtests): Depend on $(xtests-special).
2809 * catgets/Makefile (tests): Change dependencies to ....
2810 (tests-special): ... additions to this variable.
2811 * conform/Makefile (tests): Change dependencies to ....
2812 (tests-special): ... additions to this variable.
2813 * elf/Makefile (tests): Change dependencies to ....
2814 (tests-special): ... additions to this variable.
2815 * grp/Makefile (tests): Change dependencies to ....
2816 (tests-special): ... additions to this variable.
2817 * iconv/Makefile (xtests): Change dependencies to ....
2818 (xtests-special): ... additions to this variable.
2819 * iconvdata/Makefile (tests): Change dependencies to ....
2820 (tests-special): ... additions to this variable.
2821 * intl/Makefile (tests): Change dependencies to ....
2822 (tests-special): ... additions to this variable. Also add
2823 $(objpfx)tst-gettext.out.
2824 * io/Makefile (tests): Change dependencies to ....
2825 (tests-special): ... additions to this variable.
2826 * libio/Makefile (tests): Change dependencies to ....
2827 (tests-special): ... additions to this variable.
2828 * malloc/Makefile (tests): Change dependencies to ....
2829 (tests-special): ... additions to this variable.
2830 * misc/Makefile (tests): Change dependencies to ....
2831 (tests-special): ... additions to this variable.
2832 * nptl/Makefile (tests): Change dependencies to ....
2833 (tests-special): ... additions to this variable.
2834 * nptl_db/Makefile (tests): Change dependencies to ....
2835 (tests-special): ... additions to this variable.
2836 * posix/Makefile (tests): Change dependencies to ....
2837 (tests-special): ... additions to this variable.
2838 (xtests): Change dependencies to ....
2839 (xtests-special): ... additions to this variable.
2840 * resolv/Makefile (tests): Change dependencies to ....
2841 (tests-special): ... additions to this variable.
2842 (xtests): Change dependencies to ....
2843 (xtests-special): ... additions to this variable.
2844 * stdio-common/Makefile (tests): Change dependencies to ....
2845 (tests-special): ... additions to this variable.
2846 (do-tst-unbputc): Remove target.
2847 (do-tst-printf): Likewise.
2848 * stdlib/Makefile (tests): Change dependencies to ....
2849 (tests-special): ... additions to this variable.
2850 * string/Makefile (tests): Change dependencies to ....
2851 (tests-special): ... additions to this variable.
2852 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2853 (tests-special): ... additions to this variable.
2854
81700b53
JM
2855 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2856 whole file.
2857 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2858 whole file.
2859 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2860 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2861
2ea18461
JM
2862 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2863 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2864 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2865 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2866 * conform/data/libgen.h-data [XPG3]: Likewise.
2867 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2868 * conform/data/ndbm.h-data [XPG3]: Likewise.
2869 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2870 * conform/data/netdb.h-data [XPG3]: Likewise.
2871 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2872 * conform/data/poll.h-data [XPG3]: Likewise.
2873 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2874 * conform/data/strings.h-data [XPG3]: Likewise.
2875 * conform/data/stropts.h-data [XPG3]: Likewise.
2876 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2877 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2878 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2879 Likewise.
2880 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2881 * conform/data/sys/time.h-data [XPG3]: Likewise.
2882 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2883 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2884 * conform/data/sys/un.h-data [XPG3]: Likewise.
2885 * conform/data/syslog.h-data [XPG3]: Likewise.
2886 * conform/data/ucontext.h-data [XPG3]: Likewise.
2887 * conform/data/utmpx.h-data [XPG3]: Likewise.
2888 * conform/data/varargs.h-data [UNIX98]: Enable file.
2889
355bc986
JM
2890 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2891
215db402
JM
2892 * math/libm-test.inc (struct test_f_f_data): Move expected results
2893 into structure for each rounding mode.
2894 (struct test_ff_f_data): Likewise.
2895 (struct test_ff_f_data_nexttoward): Likewise.
2896 (struct test_fi_f_data): Likewise.
2897 (struct test_fl_f_data): Likewise.
2898 (struct test_if_f_data): Likewise.
2899 (struct test_fff_f_data): Likewise.
2900 (struct test_c_f_data): Likewise.
2901 (struct test_f_f1_data): Likewise.
2902 (struct test_fF_f1_data): Likewise.
2903 (struct test_ffI_f1_data): Likewise.
2904 (struct test_c_c_data): Likewise.
2905 (struct test_cc_c_data): Likewise.
2906 (struct test_f_i_data): Likewise.
2907 (struct test_ff_i_data): Likewise.
2908 (struct test_f_l_data): Likewise.
2909 (struct test_f_L_data): Likewise.
2910 (struct test_fFF_11_data): Likewise.
2911 (RM_): New macro.
2912 (RM_FE_DOWNWARD): Likewise.
2913 (RM_FE_TONEAREST): Likewise.
2914 (RM_FE_TOWARDZERO): Likewise.
2915 (RM_FE_UPWARD): Likewise.
2916 (RUN_TEST_LOOP_f_f): Update references to expected results.
2917 (RUN_TEST_LOOP_2_f): Likewise.
2918 (RUN_TEST_LOOP_fff_f): Likewise.
2919 (RUN_TEST_LOOP_c_f): Likewise.
2920 (RUN_TEST_LOOP_f_f1): Likewise.
2921 (RUN_TEST_LOOP_fF_f1): Likewise.
2922 (RUN_TEST_LOOP_fI_f1): Likewise.
2923 (RUN_TEST_LOOP_ffI_f1): Likewise.
2924 (RUN_TEST_LOOP_c_c): Likewise.
2925 (RUN_TEST_LOOP_cc_c): Likewise.
2926 (RUN_TEST_LOOP_f_i): Likewise.
2927 (RUN_TEST_LOOP_f_i_tg): Likewise.
2928 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2929 (RUN_TEST_LOOP_f_b): Likewise.
2930 (RUN_TEST_LOOP_f_b_tg): Likewise.
2931 (RUN_TEST_LOOP_f_l): Likewise.
2932 (RUN_TEST_LOOP_f_L): Likewise.
2933 (RUN_TEST_LOOP_fFF_11): Likewise.
2934 * math/gen-libm-test.pl (parse_args): Output four copies of
2935 expected results for each test.
2936
67737b8f
JM
2937 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2938 (__ASSUME_UTIMES): Remove.
2939 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2940 (__ASSUME_UTIMES): Likewise.
2941
aa97dee1
JM
2942 * math/gen-auto-libm-tests.c: Update comment on output format.
2943 (output_for_one_input_case): Generate before-rounding and
2944 after-rounding information as conditions on output flags not
2945 floating-point format.
2946 * math/auto-libm-test-out: Regenerated.
2947 * math/gen-libm-test.pl (cond_value): New function.
2948 (or_cond_value): Use cond_value.
2949 (generate_testfile): Handle conditional exceptions.
2950
e6b6a857
JM
29512014-03-05 Joseph Myers <joseph@codesourcery.com>
2952
2f0a0f44
JM
2953 * math/libm-test.inc (max_valid_error): New variable.
2954 (init_max_error): Take new argument specifying whether function
2955 results are exactly determined. Set max_valid_error and bound
2956 other variables for errors based on this argument.
2957 (set_max_error): Do not record results above max_valid_error.
2958 (check_float_internal): Only accept errors of up to 0.5ulps if
2959 also at most max_valid_error.
2960 (START): Take new argument EXACT and pass it to init_max_error.
2961 (acos_test): Update call to START.
2962 (acos_test_tonearest): Likewise.
2963 (acos_test_towardzero): Likewise.
2964 (acos_test_downward): Likewise.
2965 (acos_test_upward): Likewise.
2966 (acosh_test): Likewise.
2967 (asin_test): Likewise.
2968 (asin_test_tonearest): Likewise.
2969 (asin_test_towardzero): Likewise.
2970 (asin_test_downward): Likewise.
2971 (asin_test_upward): Likewise.
2972 (asinh_test): Likewise.
2973 (atan_test): Likewise.
2974 (atanh_test): Likewise.
2975 (atan2_test): Likewise.
2976 (cabs_test): Likewise.
2977 (cacos_test): Likewise.
2978 (cacosh_test): Likewise.
2979 (carg_test): Likewise.
2980 (casin_test): Likewise.
2981 (casinh_test): Likewise.
2982 (catan_test): Likewise.
2983 (catanh_test): Likewise.
2984 (cbrt_test): Likewise.
2985 (ccos_test): Likewise.
2986 (ccosh_test): Likewise.
2987 (ceil_test): Likewise.
2988 (cexp_test): Likewise.
2989 (cimag_test): Likewise.
2990 (clog_test): Likewise.
2991 (clog10_test): Likewise.
2992 (conj_test): Likewise.
2993 (copysign_test): Likewise.
2994 (cos_test): Likewise.
2995 (cos_test_tonearest): Likewise.
2996 (cos_test_towardzero): Likewise.
2997 (cos_test_downward): Likewise.
2998 (cos_test_upward): Likewise.
2999 (cosh_test): Likewise.
3000 (cosh_test_tonearest): Likewise.
3001 (cosh_test_towardzero): Likewise.
3002 (cosh_test_downward): Likewise.
3003 (cosh_test_upward): Likewise.
3004 (cpow_test): Likewise.
3005 (cproj_test): Likewise.
3006 (creal_test): Likewise.
3007 (csin_test): Likewise.
3008 (csinh_test): Likewise.
3009 (csqrt_test): Likewise.
3010 (ctan_test): Likewise.
3011 (ctan_test_tonearest): Likewise.
3012 (ctan_test_towardzero): Likewise.
3013 (ctan_test_downward): Likewise.
3014 (ctan_test_upward): Likewise.
3015 (ctanh_test): Likewise.
3016 (ctanh_test_tonearest): Likewise.
3017 (ctanh_test_towardzero): Likewise.
3018 (ctanh_test_downward): Likewise.
3019 (ctanh_test_upward): Likewise.
3020 (erf_test): Likewise.
3021 (erfc_test): Likewise.
3022 (exp_test): Likewise.
3023 (exp_test_tonearest): Likewise.
3024 (exp_test_towardzero): Likewise.
3025 (exp_test_downward): Likewise.
3026 (exp_test_upward): Likewise.
3027 (exp10_test): Likewise.
3028 (exp10_test_tonearest): Likewise.
3029 (exp10_test_towardzero): Likewise.
3030 (exp10_test_downward): Likewise.
3031 (exp10_test_upward): Likewise.
3032 (pow10_test): Likewise.
3033 (exp2_test): Likewise.
3034 (expm1_test): Likewise.
3035 (expm1_test_tonearest): Likewise.
3036 (expm1_test_towardzero): Likewise.
3037 (expm1_test_downward): Likewise.
3038 (expm1_test_upward): Likewise.
3039 (fabs_test): Likewise.
3040 (fdim_test): Likewise.
3041 (floor_test): Likewise.
3042 (fma_test): Likewise.
3043 (fma_test_towardzero): Likewise.
3044 (fma_test_downward): Likewise.
3045 (fma_test_upward): Likewise.
3046 (fmax_test): Likewise.
3047 (fmin_test): Likewise.
3048 (fmod_test): Likewise.
3049 (fpclassify_test): Likewise.
3050 (frexp_test): Likewise.
3051 (hypot_test): Likewise.
3052 (ilogb_test): Likewise.
3053 (isfinite_test): Likewise.
3054 (finite_test): Likewise.
3055 (isgreater_test): Likewise.
3056 (isgreaterequal_test): Likewise.
3057 (isinf_test): Likewise.
3058 (isless_test): Likewise.
3059 (islessequal_test): Likewise.
3060 (islessgreater_test): Likewise.
3061 (isnan_test): Likewise.
3062 (isnormal_test): Likewise.
3063 (issignaling_test): Likewise.
3064 (isunordered_test): Likewise.
3065 (j0_test): Likewise.
3066 (j1_test): Likewise.
3067 (jn_test): Likewise.
3068 (ldexp_test): Likewise.
3069 (lgamma_test): Likewise.
3070 (gamma_test): Likewise.
3071 (lrint_test): Likewise.
3072 (lrint_test_tonearest): Likewise.
3073 (lrint_test_towardzero): Likewise.
3074 (lrint_test_downward): Likewise.
3075 (lrint_test_upward): Likewise.
3076 (llrint_test): Likewise.
3077 (llrint_test_tonearest): Likewise.
3078 (llrint_test_towardzero): Likewise.
3079 (llrint_test_downward): Likewise.
3080 (llrint_test_upward): Likewise.
3081 (log_test): Likewise.
3082 (log10_test): Likewise.
3083 (log1p_test): Likewise.
3084 (log2_test): Likewise.
3085 (logb_test): Likewise.
3086 (logb_test_downward): Likewise.
3087 (lround_test): Likewise.
3088 (llround_test): Likewise.
3089 (modf_test): Likewise.
3090 (nearbyint_test): Likewise.
3091 (nextafter_test): Likewise.
3092 (nexttoward_test): Likewise.
3093 (pow_test): Likewise.
3094 (pow_test_tonearest): Likewise.
3095 (pow_test_towardzero): Likewise.
3096 (pow_test_downward): Likewise.
3097 (pow_test_upward): Likewise.
3098 (remainder_test): Likewise.
3099 (drem_test): Likewise.
3100 (remainder_test_tonearest): Likewise.
3101 (drem_test_tonearest): Likewise.
3102 (remainder_test_towardzero): Likewise.
3103 (drem_test_towardzero): Likewise.
3104 (remainder_test_downward): Likewise.
3105 (drem_test_downward): Likewise.
3106 (remainder_test_upward): Likewise.
3107 (drem_test_upward): Likewise.
3108 (remquo_test): Likewise.
3109 (rint_test): Likewise.
3110 (rint_test_tonearest): Likewise.
3111 (rint_test_towardzero): Likewise.
3112 (rint_test_downward): Likewise.
3113 (rint_test_upward): Likewise.
3114 (round_test): Likewise.
3115 (scalb_test): Likewise.
3116 (scalbn_test): Likewise.
3117 (scalbln_test): Likewise.
3118 (signbit_test): Likewise.
3119 (sin_test): Likewise.
3120 (sin_test_tonearest): Likewise.
3121 (sin_test_towardzero): Likewise.
3122 (sin_test_downward): Likewise.
3123 (sin_test_upward): Likewise.
3124 (sincos_test): Likewise.
3125 (sinh_test): Likewise.
3126 (sinh_test_tonearest): Likewise.
3127 (sinh_test_towardzero): Likewise.
3128 (sinh_test_downward): Likewise.
3129 (sinh_test_upward): Likewise.
3130 (sqrt_test): Likewise.
3131 (sqrt_test_tonearest): Likewise.
3132 (sqrt_test_towardzero): Likewise.
3133 (sqrt_test_downward): Likewise.
3134 (sqrt_test_upward): Likewise.
3135 (tan_test): Likewise.
3136 (tan_test_tonearest): Likewise.
3137 (tan_test_towardzero): Likewise.
3138 (tan_test_downward): Likewise.
3139 (tan_test_upward): Likewise.
3140 (tanh_test): Likewise.
3141 (tgamma_test): Likewise.
3142 (trunc_test): Likewise.
3143 (y0_test): Likewise.
3144 (y1_test): Likewise.
3145 (yn_test): Likewise.
3146 (significand_test): Likewise.
3147
e6b6a857
JM
3148 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3149 individual tests in comment.
3150 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3151 (prev_max_error): New variable.
3152 (prev_real_max_error): Likewise.
3153 (prev_imag_max_error): Likewise.
3154 (compare_ulp_data): Don't refer to test names in comment.
3155 (find_test_ulps): Remove function.
3156 (find_function_ulps): Likewise.
3157 (find_complex_function_ulps): Likewise.
3158 (init_max_error): Take function name as argument. Look up ulps
3159 for that function.
3160 (print_ulps): Remove function.
3161 (print_max_error): Use prev_max_error instead of calling
3162 find_function_ulps.
3163 (print_complex_max_error): Use prev_real_max_error and
3164 prev_imag_max_error instead of calling find_complex_function_ulps.
3165 (check_float_internal): Take max_ulp parameter instead of calling
3166 find_test_ulps. Don't call print_ulps.
3167 (check_float): Update call to check_float_internal.
3168 (check_complex): Update calls to check_float_internal.
3169 (START): Pass argument to init_max_error.
3170 * math/gen-libm-test.pl (%results): Don't include "kind"
3171 information.
3172 (parse_ulps): Don't handle ulps of individual tests.
3173 (print_ulps_file): Likewise.
3174 (output_ulps): Likewise.
3175 * math/README.libm-test: Update.
3176 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3177 individual tests.
3178 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3179 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3180 * sysdeps/arm/libm-test-ulps: Likewise.
3181 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3182 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3183 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3184 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3185 * sysdeps/microblaze/libm-test-ulps: Likewise.
3186 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3187 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3188 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3189 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3190 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3191 * sysdeps/sh/libm-test-ulps: Likewise.
3192 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3193 * sysdeps/tile/libm-test-ulps: Likewise.
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3195
45adef3c
JM
31962014-03-04 Joseph Myers <joseph@codesourcery.com>
3197
3198 * math/libm-test.inc (print_complex_max_error): Check separately
3199 whether real and imaginary errors are within allowed range and
3200 pass 0 to print_complex_function_ulps instead of value within
3201 allowed range.
3202
000232b9
SP
32032014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
d4b17258
SP
3205 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3206 formatting.
3207 (get_handles_fopen): Likewise.
3208 (do_write_test): Likewise.
3209
091eff71
SP
3210 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3211
fa3cd248
SP
3212 * libio/fileops.c (do_ftell): Use cached offset when
3213 available.
3214 * libio/iofwide.c (do_ftell_wide): Likewise.
3215 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3216 _IO_file_attach.
3217 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3218
000232b9
SP
3219 [BZ #16532]
3220 * libio/libioP.h (get_file_offset): New function.
3221 * libio/fileops.c (get_file_offset): Likewise.
3222 (do_ftell): Likewise.
3223 (_IO_new_file_seekoff): Split out ftell logic.
3224 * libio/wfileops.c (do_ftell_wide): Likewise.
3225 (_IO_wfile_seekoff): Split out ftell logic.
3226 * libio/tst-ftell-active-handler.c: New test case.
3227 * libio/Makefile (tests): Add it.
3228
116f4d1a
RM
32292014-03-03 Roland McGrath <roland@hack.frob.com>
3230
3231 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3232 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3233
532a6035
SP
32342014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3235
3236 [BZ #16639]
3237 * nscd/connections.c (nscd_init): Call do_exit.
3238 (start_threads): Call do_exit and notify_parent.
3239 (begin_drop_privileges): Call do_exit.
3240 (finish_drop_privileges): Likewise.
3241 * nscd/selinux.c (preserve_capabilities): Likewise.
3242 (install_real_capabilities): Likewise.
3243 (nscd_selinux_enabled): Likewise.
3244 (avc_create_thread): Likewise.
3245 (avc_alloc_lock): Likewise.
3246 (nscd_avc_init): Likewise.
3247 * nscd/nscd.c (parent_fd): New static variable.
3248 (main): Create a pipe between parent and child processes.
3249 Skip closing parent_fd.
3250 (monitor_child): New function.
3251 (do_exit): Likewise.
3252 (notify_parent): Likewise.
3253 * nscd/nscd.h (notify_parent): Likewise.
3254 (do_exit): Likewise.
3255
d6285c9f
CD
32562014-03-03 Carlos O'Donell <carlos@redhat.com>
3257
3258 * malloc/malloc.c (__libc_calloc): Revert last change.
3259
2b85d2a0
AZ
32602014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3261
3262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3263
c7debbdf
RS
32642014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3265
3266 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3268 implementation.
3269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3270 (__libc_ifunc_impl_list): Likewise.
3271 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3272 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3273 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3274 * string/strrchr.c: Define STRRCHR.
3275
235eed86
OB
32762014-02-28 Ondřej Bílka <neleai@seznam.cz>
3277
3278 * benchtest/bench-strtok.c (simple_strtok): Delete.
3279 (strtok_string): Use as benchmark.
3280 * string/strtok (STRTOK): New macro.
3281
8e25d1e7
CD
32822014-02-28 Carlos O'Donell <carlos@redhat.com>
3283
ef563f92
CD
3284 * manual/threads.texi: Add header and standard comments to all
3285 functions.
3286
8e25d1e7
CD
3287 * elf/dl-lookup.c (check_match): New function.
3288 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3289 (do_lookup_x): Remove nested function check_match. Use non-nested
3290 function check_match.
3291
ff71cc37
RM
32922014-02-28 Roland McGrath <roland@hack.frob.com>
3293
f08e9a26
RM
3294 * csu/Makefile (generated, before-compile): Use += rather than =.
3295 * catgets/Makefile (generated, generated-dirs): Likewise.
3296 * debug/Makefile (generated): Likewise.
3297 * dlfcn/Makefile (generated): Likewise.
3298 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3299 * iconvdata/Makefile (before-compile, generated): Likewise.
3300 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3301 * libio/Makefile (generated): Likewise.
3302 * malloc/Makefile (generated): Likewise.
3303 * manual/Makefile (generated, generated-dirs): Likewise.
3304 * misc/Makefile (generated): Likewise.
3305 * posix/Makefile (generated): Likewise.
3306 * resolv/Makefile (generated): Likewise.
3307 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3308 * timezone/Makefile (generated, generated-dirs): Likewise.
3309
ff71cc37
RM
3310 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3311
fe13a20c
AZ
33122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3313
57f41c40
AS
3314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3315 power8 implementation.
3316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3317 file: POWER8 llround ifunc implementation.
3318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3319 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3320 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3321 POWER8 llround implementation.
3322
57f41c40
AS
3323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3324 power8 implementation.
3325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3326 file: POWER8 llrint ifunc implementation.
3327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3328 Add POWER8 implementation.
1ad8950a
AZ
3329 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3330 POWER8 llrint implementation.
3331
57f41c40
AS
3332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3333 power8 implementation.
3334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3335 file: POWER8 finite ifunc implementation.
3336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3337 Add POWER8 implementation.
cac626d6
AZ
3338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3339 Likewise.
3340 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3341 POWER8 finite implementation.
3342 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3343
57f41c40
AS
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3345 power8 implementation.
3346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3347 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3349 POWER8 implementation.
3350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3351 Likewise.
57f41c40
AS
3352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3353 isinf implementation.
4393fc11
AZ
3354 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3355
57f41c40
AS
3356 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3357 (INIT_ARCH): Add hwcap2 initialization.
3358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3359 power8 implementation.
3360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3361 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3363 POWER8 implementation.
3364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3365 Likewise.
57f41c40
AS
3366 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3367 isnan implementation.
487972ae
AZ
3368 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3369
7d92b787
JY
33702014-02-27 Joey Ye <joey.ye@arm.com>
3371
3372 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3373 (_FP_NANFRAC_Q): Set to zero.
3374
1cadc858
SP
33752014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3376
3377 [BZ #16623]
3378 * math/auto-libm-test-in: New test inputs.
3379 * math/auto-libm-test-out: Regenerate.
3380 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3381 and DA.
3382 (__cos): Likewise.
3383 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3384
f8c17e79
JM
33852014-02-27 Joseph Myers <joseph@codesourcery.com>
3386
3387 * scripts/evaluate-test.sh: Take new argument indicating whether
3388 failure is expected.
3389 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3390 indicating whether failure is expected.
3391 * conform/Makefile (test-xfail-run-conformtest): New variable.
3392 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3393 level.
3394 * posix/Makefile (test-xfail-annexc): New variable.
3395 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3396
a5f891ac
JM
33972014-02-26 Joseph Myers <joseph@codesourcery.com>
3398
3399 * argp/Makefile: Include Makeconfig immediately after defining
3400 subdir.
3401 * assert/Makefile: Likewise.
3402 * benchtests/Makefile: Likewise.
3403 * catgets/Makefile: Likewise.
3404 * conform/Makefile: Likewise.
3405 * crypt/Makefile: Likewise.
3406 * csu/Makefile: Likewise.
3407 (all): Remove target.
3408 * ctype/Makefile: Include Makeconfig immediately after defining
3409 subdir.
3410 * debug/Makefile: Likewise.
3411 * dirent/Makefile: Likewise.
3412 * dlfcn/Makefile: Likewise.
3413 * gmon/Makefile: Likewise.
3414 * gnulib/Makefile: Likewise.
3415 * grp/Makefile: Likewise.
3416 * gshadow/Makefile: Likewise.
3417 * hesiod/Makefile: Likewise.
3418 * hurd/Makefile: Likewise.
3419 (all): Remove target.
3420 * iconvdata/Makefile: Include Makeconfig immediately after
3421 defining subdir.
3422 * inet/Makefile: Likewise.
3423 * intl/Makefile: Likewise.
3424 * io/Makefile: Likewise.
3425 * libio/Makefile: Likewise.
3426 (all): Remove target.
3427 * locale/Makefile: Include Makeconfig immediately after defining
3428 subdir.
3429 * login/Makefile: Likewise.
3430 * mach/Makefile: Likewise.
3431 (all): Remove target.
3432 * malloc/Makefile: Include Makeconfig immediately after defining
3433 subdir.
3434 (all): Remove target.
3435 * manual/Makefile: Include Makeconfig immediately after defining
3436 subdir.
3437 * math/Makefile: Likewise.
3438 * misc/Makefile: Likewise.
3439 * nis/Makefile: Likewise.
3440 * nss/Makefile: Likewise.
3441 * po/Makefile: Likewise.
3442 (all): Remove target.
3443 * posix/Makefile: Include Makeconfig immediately after defining
3444 subdir.
3445 * pwd/Makefile: Likewise.
3446 * resolv/Makefile: Likewise.
3447 * resource/Makefile: Likewise.
3448 * rt/Makefile: Likewise.
3449 * setjmp/Makefile: Likewise.
3450 * shadow/Makefile: Likewise.
3451 * signal/Makefile: Likewise.
3452 * socket/Makefile: Likewise.
3453 * soft-fp/Makefile: Likewise.
3454 * stdio-common/Makefile: Likewise.
3455 * stdlib/Makefile: Likewise.
3456 * streams/Makefile: Likewise.
3457 * string/Makefile: Likewise.
3458 * sunrpc/Makefile: Likewise.
3459 (all): Remove target.
3460 * sysvipc/Makefile: Include Makeconfig immediately after defining
3461 subdir.
3462 * termios/Makefile: Likewise.
3463 * time/Makefile: Likewise.
3464 * timezone/Makefile: Likewise.
3465 (all): Remove target.
3466 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3467 subdir.
3468 * wctype/Makefile: Likewise.
3469
5b456e9d
SE
34702014-02-26 Steve Ellcey <sellcey@mips.com>
3471
3472 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3473 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3474 (libc_feholdexcept_setround_mips): Ditto.
3475 (libc_feholdsetround): New.
3476 (libc_feholdsetroundf): New.
3477 (libc_feholdsetroundl): New.
3478 (libc_feupdateenv_test_mips): New.
3479 (libc_feupdateenv_test): New.
3480 (libc_feupdateenv_testf): New.
3481 (libc_feupdateenv_testl): New.
3482 (libc_feresetround): New.
3483 (libc_feresetroundf): New.
3484 (libc_feresetroundl): New.
3485 (libc_fetestexcept_mips): New.
3486 (libc_fetestexcept): New.
3487 (libc_fetestexceptf): New.
3488 (libc_fetestexceptl): New.
3489 (HAVE_RM_CTX): New.
3490 (libc_feholdexcept_setround_mips_ctx): New.
3491 (libc_feholdexcept_setround_ctx): New.
3492 (libc_feholdexcept_setroundf_ctx): New.
3493 (libc_feholdexcept_setroundl_ctx): New.
3494 (libc_fesetenv_mips_ctx): New.
3495 (libc_fesetenv_ctx): New.
3496 (libc_fesetenv_ctxf): New.
3497 (libc_fesetenv_ctxl): New.
3498 (libc_feupdateenv_mips_ctx): New.
3499 (libc_feupdateenv_ctx): New.
3500 (libc_feupdateenvf_ctx): New.
3501 (libc_feupdateenvl_ctx): New.
3502 (libc_feholdsetround_mips_ctx): New.
3503 (libc_feholdsetround_ctx): New.
3504 (libc_feholdsetroundf_ctx): New.
3505 (libc_feholdsetroundl_ctx): New.
3506 (libc_feresetround_mips_ctx): New.
3507 (libc_feresetround_ctx): New.
3508 (libc_feresetroundf_ctx): New.
3509 (libc_feresetroundl_ctx): New.
3510
085d0e35
CD
35112014-02-26 Carlos O'Donell <carlos@redhat.com>
3512
f067bf1f
CD
3513 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3514
085d0e35
CD
3515 * manual/ipc.texi: New file.
3516 * manual/Makefile (chapters): Add ipc.
3517 * manual/job.texi: Add "Inter-Process Communication" to next.
3518 * manual/process.texi: Add "Inter-Process Communication" to prev.
3519
86e58c08
AZ
35202014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3521
3522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3523
4248f0da
OB
35242014-02-26 Ondřej Bílka <neleai@seznam.cz>
3525
3526 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3527
cf822e3c
OB
3528 * manual/arith.texi: Fix spaces after sentences.
3529 * manual/charset.texi: Likewise.
3530 * manual/errno.texi: Likewise.
3531 * manual/install.texi: Likewise.
3532 * manual/llio.texi: Likewise.
3533 * manual/locale.texi: Likewise.
3534 * manual/maint.texi: Likewise.
3535 * manual/math.texi: Likewise.
3536 * manual/memory.texi: Likewise.
3537 * manual/message.texi: Likewise.
3538 * manual/probes.texi: Likewise.
3539 * manual/resource.texi: Likewise.
3540 * manual/signal.texi: Likewise.
3541 * manual/socket.texi: Likewise.
3542 * manual/stdio.texi: Likewise.
3543 * manual/string.texi: Likewise.
3544 * manual/time.texi: Likewise.
3545 * manual/users.texi: Likewise.
3546
ade40b10
CD
35472014-02-25 Carlos O'Donell <carlos@redhat.com>
3548
3549 [BZ #16632]
3550 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3551 _DEFAULT_SOURCE is defined.
3552
d0503676
CD
35532014-02-25 Ulrich Drepper <drepper@gmail.com>
3554 Carlos O'Donell <carlos@redhat.com>
3555
3556 [BZ #16613]
3557 * elf/dl-tls.c (_dl_count_modids): New function.
3558 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3559 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3560 audit library and increment generation counter.
3561 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3562 * elf/tst-audit9.c: New file.
3563 * elf/tst-auditmod9a.c: New file.
3564 * elf/tst-auditmod9b.c: New file.
3565 * elf/Makefile: Add rules to build and run tst-audit9.
3566
4cbf380c
FW
35672014-02-25 Florian Weimer <fweimer@redhat.com>
3568
3569 [BZ #15347]
3570 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3571
80a56cc3
WN
35722014-02-25 Will Newton <will.newton@linaro.org>
3573
3574 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3575 (__longjmp): Restore sp and lr before restoring callee
3576 saved registers. Add longjmp and longjmp_target
3577 SystemTap probe point.
3578 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3579 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3580 Define to zero to match jmpbuf layout.
3581 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3582 (__sigsetjmp): Save sp and lr before saving callee
3583 saved registers. Add setjmp SystemTap probe point.
3584
3ea0f74e
SL
35852014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3586
3587 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3588
b04acb26
AS
35892014-02-24 Andreas Schwab <schwab@suse.de>
3590
3591 [BZ #15804]
3592 * elf/pldd.c (wait_for_ptrace_stop): New function.
3593 (main): Call it after attaching.
3594
098ad55c
RM
35952014-02-22 Roland McGrath <roland@hack.frob.com>
3596
d4ec6ae1
RM
3597 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3598 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3599 Versions files is now verboten.
3600 * hurd/Versions (libc: GLIBC_2.0):
3601 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3602 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3603 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3604 * mach/Versions: Likewise.
3605
098ad55c
RM
3606 * csu/Versions: Remove unused %include.
3607 * resolv/Versions: Likewise.
3608
acd7f096
JM
36092014-02-21 Joseph Myers <joseph@codesourcery.com>
3610
f0881698
JM
3611 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3612 ($(objpfx)check-local-headers.out): Likewise.
3613 ($(objpfx)begin-end-check.out): Likewise.
3614 * Makerules (check-abi-%.out): Likewise.
3615 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3616 ($(objpfx)test2.cat): Likewise.
3617 ($(objpfx)de/libc.cat): Likewise.
3618 ($(objpfx)test-gencat.out): Likewise.
3619 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3620 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3621 ($(objpfx)noload-mem): Likewise.
3622 ($(objpfx)tst-pathopt.out): Likewise.
3623 ($(objpfx)tst-rtld-load-self.out): Likewise.
3624 ($(objpfx)tst-array1-cmp.out): Likewise.
3625 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3626 ($(objpfx)tst-array2-cmp.out): Likewise.
3627 ($(objpfx)tst-array3-cmp.out): Likewise.
3628 ($(objpfx)tst-array4-cmp.out): Likewise.
3629 ($(objpfx)tst-array5-cmp.out): Likewise.
3630 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3631 ($(objpfx)check-textrel.out): Likewise.
3632 ($(objpfx)check-execstack.out): Likewise.
3633 ($(objpfx)check-localplt.out): Likewise.
3634 ($(objpfx)order2-cmp.out): Likewise.
3635 ($(objpfx)tst-leaks1-mem): Likewise.
3636 ($(objpfx)tst-leaks1-static-mem): Likewise.
3637 ($(objpfx)tst-initorder-cmp.out): Likewise.
3638 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3639 ($(objpfx)tst-unused-dep.out): Likewise.
3640 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3641 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3642 * iconv/Makefile (test-iconvconfig): Likewise.
3643 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3644 ($(objpfx)iconv-test.out): Likewise.
3645 ($(objpfx)tst-tables.out): Likewise.
3646 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3647 ($(objpfx)tst-gettext.out): Likewise.
3648 ($(objpfx)tst-translit.out): Likewise.
3649 ($(objpfx)tst-gettext2.out): Likewise.
3650 ($(objpfx)tst-gettext4.out): Likewise.
3651 ($(objpfx)tst-gettext6.out): Likewise.
3652 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3653 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3654 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3655 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3656 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3657 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3658 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3659 ($(objpfx)wordexp-tst.out): Likewise.
3660 ($(objpfx)annexc.out): Likewise.
3661 ($(objpfx)tst-fnmatch-mem): Likewise.
3662 ($(objpfx)bug-regex2-mem): Likewise.
3663 ($(objpfx)bug-regex14-mem): Likewise.
3664 ($(objpfx)bug-regex21-mem): Likewise.
3665 ($(objpfx)bug-regex31-mem): Likewise.
3666 ($(objpfx)tst-vfork3-mem): Likewise.
3667 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3668 ($(objpfx)tst-pcre-mem): Likewise.
3669 ($(objpfx)tst-boost-mem): Likewise.
3670 ($(objpfx)tst-getconf.out): Likewise.
3671 ($(objpfx)bug-ga2-mem): Likewise.
3672 ($(objpfx)bug-glob2-mem): Likewise.
3673 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3674 ($(objpfx)mtrace-tst-leaks2): Likewise.
3675 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3676 ($(objpfx)tst-printf.out): Likewise.
3677 ($(objpfx)tst-setvbuf1.out): Likewise.
3678 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3679 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3680 ($(objpfx)tst-fmtmsg.out): Likewise.
3681 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3682 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3683
acd7f096
JM
3684 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3685 * bits/sigaction.h [__USE_MISC]: Likewise.
3686 * bits/waitstatus.h: Update #endif comments.
3687 * ctype/ctype.h: Likewise.
3688 * dirent/dirent.h: Likewise.
3689 [__USE_MISC]: Remove redundant conditionals.
3690 * grp/grp.h: Update #endif comments.
3691 [__USE_GNU]: Remove redundant conditionals.
3692 [__USE_MISC]: Likewise.
3693 * inet/netinet/in.h [__USE_GNU]: Likewise.
3694 * io/sys/stat.h [__USE_MISC]: Likewise.
3695 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3696 * libio/bits/stdio.h: Update #endif comments.
3697 [__USE_MISC]: Remove redundant conditionals.
3698 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3699 * libio/stdio.h: Update #endif comments.
3700 [__USE_MISC]: Remove redundant conditionals.
3701 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3702 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3703 * math/math.h: Update #else and #endif comments.
3704 [__USE_MISC]: Remove redundant conditionals.
3705 * misc/sys/uio.h: Update #endif comments.
3706 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3707 * posix/glob.h [__USE_MISC]: Likewise.
3708 * posix/sys/types.h: Update #endif comments.
3709 [__USE_MISC]: Remove redundant conditionals.
3710 * posix/sys/wait.h: Update #endif comments.
3711 [__USE_MISC]: Remove redundant conditionals.
3712 * posix/unistd.h: Update #endif comments.
3713 [__USE_MISC]: Remove redundant conditionals.
3714 * pwd/pwd.h [__USE_GNU]: Likewise.
3715 [__USE_MISC]: Likewise.
3716 * resolv/netdb.h [__USE_GNU]: Likewise.
3717 * signal/signal.h: Update #endif comments.
3718 [__USE_MISC]: Remove redundant conditionals.
3719 * stdlib/stdlib.h: Update #else and #endif comments.
3720 [__USE_MISC]: Remove redundant conditionals.
3721 [__USE_GNU]: Likewise.
3722 * string/bits/string2.h [__USE_MISC]: Likewise.
3723 * string/string.h: Update #endif comments.
3724 [__USE_MISC]: Remove redundant conditionals.
3725 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3726 Likewise.
3727 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3728 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3729 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3730 Likewise.
3731 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3734 comments.
3735 [__USE_MISC]: Remove redundant conditionals.
3736 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3737 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3738 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3739 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3740 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3741 Likewise.
3742 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3743 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3746 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3747 Likewise.
3748 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3749 Likewise.
3750 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3751 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3752 Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3754 Likewise.
3755 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3756 * sysdeps/x86/bits/string.h: Update #endif comments.
3757 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3758 conditionals.
3759 * time/sys/time.h: Update #endif comments.
3760 * time/time.h: Likewise.
3761 [__USE_MISC]: Remove redundant conditionals.
3762
a5d82e4e
YG
37632014-02-21 Yury Gribov <y.gribov@samsung.com>
3764
3765 [BZ #16600]
3766 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3767
9a80491d
AS
37682014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3769
3770 * Versions.def (librt): Add GLIBC_2.17.
3771
105fa381
AC
37722014-02-21 Adam Conrad <adconrad@0c3.net>
3773
3774 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3775 synonym for _SYS_AUXV_H to allow direct inclusion.
3776 * sysdeps/sparc/bits/hwcap.h: Likewise.
3777 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3778 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3779 * sysdeps/sparc/sysdep.h: Likewise.
3780
b8cd1c4e
SP
37812014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3782
3783 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3784
bd939d23
RS
37852014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3786
3787 * benchtests/bench-strrchr.c: Print length instead of position.
3788
5d7b57ca
JM
37892014-02-20 Joseph Myers <joseph@codesourcery.com>
3790
bc688c10
JM
3791 [BZ #16611]
3792 * sysdeps/unix/sysv/linux/kernel-features.h
3793 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3794 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3795 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3796 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3797 Likewise.
3798 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3799 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3800 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3801 (__ASSUME_SENDMMSG): Define instead of using previous
3802 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3803 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3804 (__ASSUME_SENDMMSG_SYSCALL): Define.
3805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3806 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3807 Likewise.
3808 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3809 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3810 Likewise.
3811 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3812 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3813 Likewise.
3814 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3815 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3816 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3817 [__ASSUME_SENDMMSG]: Change conditionals to
3818 [__ASSUME_SENDMMSG_SOCKETCALL].
3819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3820 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3821 Define.
3822 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3823 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3824 Likewise.
3825 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3826 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3827 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3828 [!__ASSUME_SENDMMSG]: Change conditional to
3829 [!__ASSUME_SENDMMSG_SOCKETCALL].
3830 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3831 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3832 Define.
3833
0e31b18c
JM
3834 [BZ #16610]
3835 * sysdeps/unix/sysv/linux/kernel-features.h
3836 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3837 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3838 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3839 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3840 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3841 [__i386__ || __sparc__]
3842 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3843 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3844 (__ASSUME_RECVMMSG): Define instead of using previous
3845 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3846 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3847 (__ASSUME_RECVMMSG_SYSCALL): Define.
3848 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3849 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3850 Likewise.
3851 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3852 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3853 Likewise.
3854 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3855 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3856 Likewise.
3857 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3858 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3859 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3860 [__ASSUME_RECVMMSG]: Change condition to
3861 [__ASSUME_RECVMMSG_SOCKETCALL].
3862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3863 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3864 Define.
3865 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3866 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3867 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3868 Likewise.
3869 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3870 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3871 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3872 [!__ASSUME_RECVMMSG]: Change condition to
3873 [!__ASSUME_RECVMMSG_SOCKETCALL].
3874 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3875 (__ASSUME_RECVMMSG_SYSCALL): Define.
3876
dd481ccf
JM
3877 [BZ #16609]
3878 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3879 __powerpc__ || __s390__ || __sh__ || __sparc__]
3880 (__ASSUME_SOCKETCALL): Define.
3881 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3882 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3883 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3884 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3885 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3886 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3887 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3888 (__ASSUME_ACCEPT4): Define instead of using previous
3889 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3890 __powerpc__ || __sparc__ || __s390__)] condition.
3891 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3892 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3893 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3894 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3895 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3896 [!__ASSUME_ACCEPT4]: Change condition to
3897 [!__ASSUME_ACCEPT4_SOCKETCALL].
3898 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3899 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3900 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3901 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3902 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3903 __ASSUME_ACCEPT4_SYSCALL.
3904 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3905 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3906 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3907 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3908 __ASSUME_ACCEPT4_SYSCALL.
3909 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3910 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3911 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3912 [__ASSUME_ACCEPT4]: Change condition to
3913 [__ASSUME_ACCEPT4_SOCKETCALL].
3914 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3915 (__ASSUME_SOCKETCALL): Define.
3916 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3917 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3918 (__ASSUME_SOCKETCALL): Define.
3919 (__ASSUME_ACCEPT4): Remove.
3920 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3921 Define.
3922 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3923 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3926 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3927
5d7b57ca
JM
3928 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3929 macro.
3930 (HWCAP_ARM_LPAE): Likewise.
3931 (HWCAP_ARM_EVTSTRM): Likewise.
3932 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3933 Add vpfd32, lpae and evtstrm.
3934 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3935 Increase to 22.
3936
63689d61
JM
39372014-02-19 Joseph Myers <joseph@codesourcery.com>
3938
3939 * math/auto-libm-test-in: Add tests of clog10.
3940 * math/auto-libm-test-out: Regenerated.
3941 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3942 * sysdeps/i386/fpu/libm-test-ulps: Update.
3943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944
ab09bf61
AS
39452014-02-18 Andreas Schwab <schwab@suse.de>
3946
3947 [BZ #16574]
3948 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3949 Store non-zero if the second buffer was newly allocated.
3950 (send_dg): Likewise.
3951 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3952 to send_vc and send_dg.
3953 (res_nsend): Pass NULL for ansp2_malloced.
3954 * resolv/res_query.c (__libc_res_nquery): Add parameter
3955 answerp2_malloced and pass it down to __libc_res_nsend.
3956 (res_nquery): Pass additional NULL to __libc_res_nquery.
3957 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3958 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3959 second answer buffer if answerp2_malloced was set.
3960 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3961 (__libc_res_nquerydomain): Add parameter
3962 answerp2_malloced and pass it down to __libc_res_nquery.
3963 (res_nquerydomain): Pass additional NULL to
3964 __libc_res_nquerydomain.
3965 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3966 additional NULL to __libc_res_nsend and __libc_res_nquery.
3967 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3968 additional NULL to __libc_res_nsearch.
3969 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3970 parameter of __libc_res_nsearch to check for separately allocated
3971 second buffer.
3972 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3973 __libc_res_nquery.
3974 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3975 additional NULL to __libc_res_nquery.
3976 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3977 __libc_res_nsearch.
3978 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3979 * include/resolv.h: Update prototypes of __libc_res_nquery,
3980 __libc_res_nsearch, __libc_res_nsend.
3981
a4fb7861
JM
39822014-02-18 Joseph Myers <joseph@codesourcery.com>
3983
c6af2d89
JM
3984 * math/auto-libm-test-in: Add tests of fma.
3985 * math/auto-libm-test-out: Regenerated.
3986 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3987 (fma_towardzero_test_data): Likewise.
3988 (fma_downward_test_data): Likewise.
3989 (fma_upward_test_data): Likewise.
3990 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3991 mpc_mode.
3992 (rounding_modes): Add values for new field.
3993 (func_calc_method): Add value mpfr_fff_f.
3994 (func_calc_desc): Add mpfr_fff_f union field.
3995 (test_function): Add field exact_args.
3996 (FUNC): Add macro argument EXACT_ARGS.
3997 (FUNC_mpfr_f_f): Update call to FUNC.
3998 (FUNC_mpfr_f_f): Likewise.
3999 (FUNC_mpfr_ff_f): Likewise.
4000 (FUNC_mpfr_if_f): Likewise.
4001 (FUNC_mpc_c_f): Likewise.
4002 (FUNC_mpc_c_c): Likewise.
4003 (test_functions): Add fma. Update calls to FUNC.
4004 (handle_input_arg): Add argument exact_args.
4005 (add_test): Update call to handle_input_arg.
4006 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4007 (output_for_one_input_case): Update call to calc_generic_results.
4008 Recalculate exact zero results in each rounding mode.
4009
a4fb7861
JM
4010 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4011 non-negative before setting low bit.
4012 * math/auto-libm-test-in: Mark one asin test possibly having
4013 spurious underflow.
4014 * math/auto-libm-test-out: Regenerated.
4015 * sysdeps/i386/fpu/libm-test-ulps: Update.
4016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4017
ef114eaf
DH
40182014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4019
2b7f4f2c
SP
4020 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4021 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4022 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4023 * README: Add missing listing for microblaze*-*-linux-gnu.
4024
c70a4b1d
MF
40252014-02-16 Mike Frysinger <vapier@gentoo.org>
4026
4027 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4028 * sysdeps/unix/sysv/linux/ia64: Move directory from
4029 ports/sysdeps/unix/sysv/linux/ia64.
4030 * README: Update listing for ia64-*-linux-gnu.
4031
591aeaf7
TD
40322014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4033 Joseph Myers <joseph@codesourcery.com>
4034
4035 * Makeconfig (test-name): New variable.
4036 (evaluate-test): Likewise.
4037 * Makerules (do-test-clean): Remove .test-result files.
4038 (common-mostlyclean): Likewise.
4039 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4040 * scripts/evaluate-test.sh: New file.
4041
6e89caf1
JM
40422014-02-14 Joseph Myers <joseph@codesourcery.com>
4043
7f98f180
JM
4044 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4045 separate $(objpfx)tst-fopenloc-cmp.out and
4046 $(objpfx)tst-fopenloc-mem.out targets.
4047 (tests): Update dependencies.
4048 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4049 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4050 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4051 (tst-rxspencer-no-utf8-ARGS): New variable.
4052 (tst-rxspencer-no-utf8-ENV): Likewise.
4053 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4054 instead of $(objpfx)tst-rxspencer-mem.
4055 ($(objpfx)tst-rxspencer-mem): Change target to
4056 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4057 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4058 * posix/tst-rxspencer-no-utf8.c: New file.
4059
6e89caf1
JM
4060 * elf/Makefile ($(objpfx)order.out): Remove rule.
4061 [$(run-built-tests) = yes] (tests): Depend on
4062 $(objpfx)order-cmp.out.
4063 ($(objpfx)order-cmp.out): New rule.
4064 [$(run-built-tests) = yes] (tests): Depend on
4065 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4066 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4067 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4068 $(objpfx)tst-array5-static-cmp.out.
4069 ($(objpfx)tst-array1.out): Remove rule.
4070 ($(objpfx)tst-array1-cmp.out): New rule.
4071 ($(objpfx)tst-array1-static.out): Remove rule.
4072 ($(objpfx)tst-array1-static-cmp.out): New rule.
4073 ($(objpfx)tst-array2.out): Remove rule.
4074 ($(objpfx)tst-array2-cmp.out): New rule.
4075 ($(objpfx)tst-array3.out): Remove rule.
4076 ($(objpfx)tst-array3-cmp.out): New rule.
4077 ($(objpfx)tst-array4.out): Remove rule.
4078 ($(objpfx)tst-array4-cmp.out): New rule.
4079 ($(objpfx)tst-array5.out): Remove rule.
4080 ($(objpfx)tst-array5-cmp.out): New rule.
4081 ($(objpfx)tst-array5-static.out): Remove rule.
4082 ($(objpfx)tst-array5-static-cmp.out): New rule.
4083 [$(run-built-tests) = yes] (tests): Depend on
4084 $(objpfx)order2-cmp.out.
4085 ($(objpfx)order2.out): Remove rule.
4086 ($(objpfx)order2-cmp.out): New rule.
4087 ($(objpfx)tst-initorder.out): Remove rule.
4088 [$(run-built-tests) = yes] (tests): Depend on
4089 $(objpfx)tst-initorder-cmp.out.
4090 ($(objpfx)tst-initorder-cmp.out): New rule.
4091 ($(objpfx)tst-initorder2.out): Remove rule.
4092 [$(run-built-tests) = yes] (tests): Depend on
4093 $(objpfx)tst-initorder2-cmp.out.
4094 ($(objpfx)tst-initorder2-cmp.out): New rule.
4095 [$(run-built-tests) = yes] (tests): Depend on
4096 $(objpfx)tst-unused-dep-cmp.out.
4097 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4098 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4099 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4100 on $(objpfx)tst-setvbuf1-cmp.out.
4101 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4102 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4103 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4104 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4105 ($(objpfx)tst-svc.out): Remove rule.
4106 ($(objpfx)tst-svc-cmp.out): New rule.
4107
ed9a38e2
JM
41082014-02-13 Joseph Myers <joseph@codesourcery.com>
4109
4110 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4111 * ctype/ctype.h [__USE_MISC]: Likewise.
4112 * dirent/dirent.h [__USE_MISC]: Likewise.
4113 * grp/grp.h [__USE_MISC]: Likewise.
4114 * io/fcntl.h [__USE_MISC]: Likewise.
4115 * io/sys/stat.h [__USE_MISC]: Likewise.
4116 * libio/stdio.h [__USE_MISC]: Likewise.
4117 * posix/unistd.h [__USE_MISC]: Likewise.
4118 * pwd/pwd.h [__USE_MISC]: Likewise.
4119 * stdlib.h [__USE_MISC]: Likewise.
4120 * string/bits/string2.h [__USE_MISC]: Likewise.
4121 * string/string.h [__USE_MISC]: Likewise.
4122 * time/time.h [__USE_MISC]: Likewise.
4123
d6680619
AS
41242014-02-13 Andreas Schwab <schwab@suse.de>
4125
4126 [BZ #16574]
4127 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4128 second answer buffer if it was separately allocated.
4129
ace614b8
JM
41302014-02-12 Joseph Myers <joseph@codesourcery.com>
4131
743151ae
JM
4132 * sysdeps/mips/math-tests.h: Include <features.h>.
4133 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4134 (ROUNDING_TESTS_long_double): Do not define.
4135 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4136 (EXCEPTION_TESTS_long_double): Likewise.
4137 * sysdeps/mips/mips64/libm-test-ulps: Update.
4138
498afc54
JM
4139 * include/features.h (__USE_BSD): Remove macro definitions.
4140 (__USE_SVID): Likewise.
4141 (_BSD_SOURCE): Likewise.
4142 (_SVID_SOURCE): Likewise.
4143 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4144 from definition of _DEFAULT_SOURCE.
4145 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4146 [_DEFAULT_SOURCE].
4147 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4148 * bits/mman.h [__USE_BSD]: Likewise.
4149 * bits/termios.h [__USE_BSD]: Likewise.
4150 * bits/waitstatus.h [__USE_BSD]: Likewise.
4151 * ctype/ctype.h [__USE_SVID]: Likewise.
4152 * dirent/dirent.h [__USE_BSD]: Likewise.
4153 * grp/grp.h [__USE_SVID]: Likewise.
4154 [__USE_BSD]: Likewise.
4155 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4156 * io/fcntl.h [__USE_BSD]: Likewise.
4157 * io/ftw.h [__USE_BSD]: Likewise.
4158 * io/sys/stat.h [__USE_BSD]: Likewise.
4159 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4160 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4161 * libio/stdio.h [__USE_SVID]: Likewise.
4162 [__USE_BSD]: Likewise.
4163 * math/math.h [__USE_SVID]: Likewise.
4164 [__USE_BSD]: Likewise.
4165 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4166 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4167 * misc/search.h [__USE_SVID]: Likewise.
4168 * misc/sys/mman.h [__USE_BSD]: Likewise.
4169 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4170 * misc/sys/uio.h [__USE_BSD]: Likewise.
4171 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4172 * posix/glob.h [__USE_BSD]: Likewise.
4173 * posix/regex.h [__USE_BSD]: Likewise.
4174 * posix/sys/types.h [__USE_BSD]: Likewise.
4175 [__USE_SVID]: Likewise.
4176 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4177 * posix/sys/wait.h [__USE_BSD]: Likewise.
4178 [__USE_SVID]: Likewise.
4179 * posix/unistd.h [__USE_BSD]: Likewise.
4180 [__USE_SVID]: Likewise.
4181 * pwd/pwd.h [__USE_SVID]: Likewise.
4182 * resolv/netdb.h [__USE_BSD]: Likewise.
4183 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4184 * signal/signal.h [__USE_BSD]: Likewise.
4185 [__USE_SVID]: Likewise.
4186 * socket/sys/socket.h [__USE_BSD]: Likewise.
4187 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4188 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4189 [__USE_SVID]: Likewise.
4190 * string/bits/string2.h [__USE_BSD]: Likewise.
4191 [__USE_SVID]: Likewise.
4192 * string/bits/string3.h [__USE_BSD]: Likewise.
4193 * string/endian.h [__USE_BSD]: Likewise.
4194 * string/string.h [__USE_SVID]: Likewise.
4195 [__USE_BSD]: Likewise.
4196 * string/strings.h [__USE_BSD]: Likewise.
4197 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4198 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4199 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4200 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4201 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4202 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4203 Likewise.
4204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4205 Likewise.
4206 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4207 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4210 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4211 Likewise.
4212 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4213 Likewise.
4214 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4215 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4216 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4217 Likewise.
4218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4219 Likewise.
4220 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4221 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4222 * termios/termios.h [__USE_BSD]: Likewise.
4223 * time/sys/time.h [__USE_BSD]: Likewise.
4224 * time/time.h [__USE_BSD]: Likewise.
4225 [__USE_SVID]: Likewise.
4226
dd7b064c
JM
4227 * Makefile (subdir_targets): Remove subdir_lint.out.
4228
a2c4c199
JM
4229 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4230 (do-tst-printf): Likewise.
4231 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4232 $(objpfx)tst-printf.out.
4233
8756f740
JM
4234 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4235
1b6dd3f1
JM
4236 * Makerules (check-abi-%): Change target to
4237 $(objpfx)check-abi-%.out.
4238 (check-abi target): Update dependencies.
4239 (check-abi-pattern variable): Redirect output of diff to $@.
4240 (check-abi variable): Likewise.
4241 * elf/Makefile (check-abi): Update dependencies.
4242
ace614b8
JM
4243 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4244 unused.
4245 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4246 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4247 subnormal range.
4248 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4249 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4250 value has largest subnormal exponent.
4251 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4252 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4253 * sysdeps/aarch64/soft-fp/sfp-machine.h
4254 (_FP_TININESS_AFTER_ROUNDING): New macro.
4255 * sysdeps/alpha/soft-fp/sfp-machine.h
4256 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4257 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4258 Likewise.
4259 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4260 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4261 * sysdeps/mips/soft-fp/sfp-machine.h
4262 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4263 * sysdeps/powerpc/soft-fp/sfp-machine.h
4264 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4265 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4266 Likewise.
4267 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4268 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4270 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4271 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4272 Likewise.
4273
fbfdf9cb
DAS
42742014-02-12 Dylan Alex Simon <dylan@dylex.net>
4275
4276 [BZ #16545]
4277 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4278 model 1.
4279
68b7efaa
RH
42802014-02-12 Richard Henderson <rth@redhat.com>
4281
c70a4b1d 4282 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4283 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4284 * sysdeps/unix/sysv/linux/alpha: Move directory from
4285 ports/sysdeps/unix/sysv/linux/alpha.
4286 * README: Update listing for alpha-*-linux-gnu.
4287
cb4a2928
JM
42882014-02-11 Joseph Myers <joseph@codesourcery.com>
4289
c941736c
JM
4290 * include/features.h: Update comment documenting feature test
4291 macros.
4292 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4293 _DEFAULT_SOURCE.
4294 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4295 (_SVID_SOURCE): Likewise.
4296 (_DEFAULT_SOURCE): Update description of default features.
4297 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4298 with _GNU_SOURCE.
4299 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4300 (S_ISVTX): Likewise.
4301 * manual/math.texi (Mathematical Constants): Likewise.
4302 * manual/signal.texi (Interrupted Primitives): Likewise.
4303 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4304 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4305 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4306 Don't refer to _SVID_SOURCE in warning text.
4307
e8d8d7ec
JM
4308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4309
cb4a2928
JM
4310 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4311 already defined.
4312 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4313 * sysdeps/mips/dl-lookup.c: Remove.
4314 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4315
7e6424e3
AK
43162014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4317
4318 [BZ #16447]
4319 * math/auto-libm-test-in: Add testcase for expl.
4320 * math/auto-libm-test-out: Regenerate.
4321 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4322 calculation of unsafe.
4323 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4324
75eff3fe
MS
43252014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4326
4327 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4328 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4329 ports/sysdeps/unix/sysv/linux/aarch64.
4330 * README: Update listing for aarch64*-*-linux-gnu.
4331
d35f1e80
WN
43322014-02-11 Will Newton <will.newton@linaro.org>
4333
4334 * manual/probes.texi (Mathematical Function Probes): Use
4335 "triggered" instead of "hit".
4336
7b3436d4
WN
4337 * manual/probes.texi (Internal Probes): Add documentation
4338 of setjmp, longjmp and longjmp_target probes.
4339
b4f12ca3
WN
4340 * include/stap-probe.h: Add comment about probe argument
4341 format.
4342
c13a72b7
WN
4343 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4344 definition. (tr_where, tr_freehook, tr_mallochook,
4345 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4346
195b8165
DM
43472014-02-11 David S. Miller <davem@davemloft.net>
4348
4349 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4350 processing int_tests.
4351
2ad7600b
JM
43522014-02-10 Joseph Myers <joseph@codesourcery.com>
4353
4354 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4355 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4356 * sysdeps/unix/sysv/linux/mips: Move directory from
4357 ports/sysdeps/unix/sysv/linux/mips.
4358 * README: Update listing for mips-*-linux-gnu and
4359 mips64-*-linux-gnu.
4360
73588a72
AS
43612014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4362
4363 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4364 * sysdeps/unix/sysv/linux/m68k: Move directory from
4365 ports/sysdeps/unix/sysv/linux/m68k.
4366 * README: Update listing for m68k-*-linux-gnu.
4367
4372980f
CM
43682014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4369
4370 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4371 * sysdeps/unix/sysv/linux/generic: Move directory from
4372 ports/sysdeps/unix/sysv/linux/generic.
4373 * sysdeps/unix/sysv/linux/tile: Move directory from
4374 ports/sysdeps/unix/sysv/linux/tile.
4375 * README: Update listing for tile*-*-linux-gnu.
4376
a1ffb40e
OB
43772014-02-10 Ondřej Bílka <neleai@seznam.cz>
4378
57f41c40
AS
4379 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4380 __builtin_expect.
a1ffb40e
OB
4381 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4382 * catgets/open_catalog.c (__open_catalog): Likewise.
4383 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4384 * debug/confstr_chk.c: Likewise.
4385 * debug/fread_chk.c (__fread_chk): Likewise.
4386 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4387 * debug/getgroups_chk.c: Likewise.
4388 * debug/mbsnrtowcs_chk.c: Likewise.
4389 * debug/mbsrtowcs_chk.c: Likewise.
4390 * debug/mbstowcs_chk.c: Likewise.
4391 * debug/memcpy_chk.c: Likewise.
4392 * debug/memmove_chk.c: Likewise.
4393 * debug/mempcpy_chk.c: Likewise.
4394 * debug/memset_chk.c: Likewise.
4395 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4396 * debug/strcat_chk.c (__strcat_chk): Likewise.
4397 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4398 * debug/strncat_chk.c (__strncat_chk): Likewise.
4399 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4400 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4401 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4402 * debug/wcpncpy_chk.c: Likewise.
4403 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4404 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4405 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4406 * debug/wcsncpy_chk.c: Likewise.
4407 * debug/wcsnrtombs_chk.c: Likewise.
4408 * debug/wcsrtombs_chk.c: Likewise.
4409 * debug/wcstombs_chk.c: Likewise.
4410 * debug/wmemcpy_chk.c: Likewise.
4411 * debug/wmemmove_chk.c: Likewise.
4412 * debug/wmempcpy_chk.c: Likewise.
4413 * debug/wmemset_chk.c: Likewise.
4414 * dirent/scandirat.c (SCANDIRAT): Likewise.
4415 * dlfcn/dladdr1.c (dladdr1): Likewise.
4416 * dlfcn/dladdr.c (dladdr): Likewise.
4417 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4418 * dlfcn/dlerror.c (__dlerror): Likewise.
4419 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4420 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4421 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4422 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4423 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4424 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4425 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4426 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4427 Likewise.
4428 * elf/dl-conflict.c: Likewise.
4429 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4430 * elf/dl-dst.h: Likewise.
4431 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4432 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4433 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4434 * elf/dl-init.c (call_init, _dl_init): Likewise.
4435 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4436 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4437 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4438 Likewise.
a1ffb40e
OB
4439 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4440 Likewise.
4441 * elf/dl-minimal.c (__libc_memalign): Likewise.
4442 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4443 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4444 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4445 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4446 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4447 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4448 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4449 * elf/dl-writev.h (_dl_writev): Likewise.
4450 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4451 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4452 (dl_main): Likewise.
a1ffb40e
OB
4453 * elf/setup-vdso.h (setup_vdso): Likewise.
4454 * grp/compat-initgroups.c (compat_call): Likewise.
4455 * grp/fgetgrent.c (fgetgrent): Likewise.
4456 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4457 * grp/putgrent.c (putgrent): Likewise.
4458 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4459 Likewise.
4460 * hurd/hurdinit.c: Likewise.
4461 * iconvdata/8bit-gap.c (struct): Likewise.
4462 * iconvdata/ansi_x3.110.c : Likewise.
4463 * iconvdata/big5.c : Likewise.
4464 * iconvdata/big5hkscs.c : Likewise.
4465 * iconvdata/cp1255.c: Likewise.
4466 * iconvdata/cp1258.c : Likewise.
4467 * iconvdata/cp932.c : Likewise.
4468 * iconvdata/euc-cn.c: Likewise.
4469 * iconvdata/euc-jisx0213.c : Likewise.
4470 * iconvdata/euc-jp.c: Likewise.
4471 * iconvdata/euc-jp-ms.c : Likewise.
4472 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4473 * iconvdata/gb18030.c : Likewise.
4474 * iconvdata/gbbig5.c (const): Likewise.
4475 * iconvdata/gbgbk.c: Likewise.
4476 * iconvdata/gbk.c : Likewise.
4477 * iconvdata/ibm1364.c : Likewise.
4478 * iconvdata/ibm930.c : Likewise.
4479 * iconvdata/ibm932.c: Likewise.
4480 * iconvdata/ibm933.c : Likewise.
4481 * iconvdata/ibm935.c : Likewise.
4482 * iconvdata/ibm937.c : Likewise.
4483 * iconvdata/ibm939.c : Likewise.
4484 * iconvdata/ibm943.c: Likewise.
4485 * iconvdata/iso_11548-1.c: Likewise.
4486 * iconvdata/iso-2022-cn.c : Likewise.
4487 * iconvdata/iso-2022-cn-ext.c : Likewise.
4488 * iconvdata/iso-2022-jp-3.c: Likewise.
4489 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4490 * iconvdata/iso-2022-kr.c : Likewise.
4491 * iconvdata/iso646.c (gconv_end): Likewise.
4492 * iconvdata/iso_6937-2.c : Likewise.
4493 * iconvdata/iso_6937.c : Likewise.
4494 * iconvdata/iso8859-1.c: Likewise.
4495 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4496 * iconvdata/shift_jisx0213.c : Likewise.
4497 * iconvdata/sjis.c : Likewise.
4498 * iconvdata/t.61.c : Likewise.
4499 * iconvdata/tcvn5712-1.c : Likewise.
4500 * iconvdata/tscii.c: Likewise.
4501 * iconvdata/uhc.c : Likewise.
4502 * iconvdata/unicode.c (gconv_end): Likewise.
4503 * iconvdata/utf-16.c (gconv_end): Likewise.
4504 * iconvdata/utf-32.c (gconv_end): Likewise.
4505 * iconvdata/utf-7.c (base64): Likewise.
4506 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4507 * iconv/gconv_close.c (__gconv_close): Likewise.
4508 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4509 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4510 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4511 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4512 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4513 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4514 * iconv/iconv.c (iconv): Likewise.
4515 * iconv/iconv_close.c: Likewise.
4516 * iconv/loop.c (SINGLE): Likewise.
4517 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4518 * include/atomic.h: Likewise.
4519 * inet/inet6_option.c (option_alloc): Likewise.
4520 * intl/bindtextdom.c (set_binding_values): Likewise.
4521 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4522 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4523 * intl/localealias.c (read_alias_file): Likewise.
4524 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4525 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4526 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4527 * libio/fmemopen.c (fmemopen): Likewise.
4528 * libio/iofgets.c (_IO_fgets): Likewise.
4529 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4530 * libio/iofgetws.c (fgetws): Likewise.
4531 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4532 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4533 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4534 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4535 * locale/findlocale.c (_nl_find_locale): Likewise.
4536 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4537 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4538 Likewise.
4539 * locale/setlocale.c (setlocale): Likewise.
4540 * login/programs/pt_chown.c (main): Likewise.
4541 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4542 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4543 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4544 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4545 * math/e_exp2l.c: Likewise.
4546 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4547 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4548 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4549 * math/s_catan.c (__catan): Likewise.
4550 * math/s_catanf.c (__catanf): Likewise.
4551 * math/s_catanh.c (__catanh): Likewise.
4552 * math/s_catanhf.c (__catanhf): Likewise.
4553 * math/s_catanhl.c (__catanhl): Likewise.
4554 * math/s_catanl.c (__catanl): Likewise.
4555 * math/s_ccosh.c (__ccosh): Likewise.
4556 * math/s_ccoshf.c (__ccoshf): Likewise.
4557 * math/s_ccoshl.c (__ccoshl): Likewise.
4558 * math/s_cexp.c (__cexp): Likewise.
4559 * math/s_cexpf.c (__cexpf): Likewise.
4560 * math/s_cexpl.c (__cexpl): Likewise.
4561 * math/s_clog10.c (__clog10): Likewise.
4562 * math/s_clog10f.c (__clog10f): Likewise.
4563 * math/s_clog10l.c (__clog10l): Likewise.
4564 * math/s_clog.c (__clog): Likewise.
4565 * math/s_clogf.c (__clogf): Likewise.
4566 * math/s_clogl.c (__clogl): Likewise.
4567 * math/s_csin.c (__csin): Likewise.
4568 * math/s_csinf.c (__csinf): Likewise.
4569 * math/s_csinh.c (__csinh): Likewise.
4570 * math/s_csinhf.c (__csinhf): Likewise.
4571 * math/s_csinhl.c (__csinhl): Likewise.
4572 * math/s_csinl.c (__csinl): Likewise.
4573 * math/s_csqrt.c (__csqrt): Likewise.
4574 * math/s_csqrtf.c (__csqrtf): Likewise.
4575 * math/s_csqrtl.c (__csqrtl): Likewise.
4576 * math/s_ctan.c (__ctan): Likewise.
4577 * math/s_ctanf.c (__ctanf): Likewise.
4578 * math/s_ctanh.c (__ctanh): Likewise.
4579 * math/s_ctanhf.c (__ctanhf): Likewise.
4580 * math/s_ctanhl.c (__ctanhl): Likewise.
4581 * math/s_ctanl.c (__ctanl): Likewise.
4582 * math/w_pow.c: Likewise.
4583 * math/w_powf.c: Likewise.
4584 * math/w_powl.c: Likewise.
4585 * math/w_scalb.c (sysv_scalb): Likewise.
4586 * math/w_scalbf.c (sysv_scalbf): Likewise.
4587 * math/w_scalbl.c (sysv_scalbl): Likewise.
4588 * misc/error.c (error_tail): Likewise.
4589 * misc/pselect.c (__pselect): Likewise.
4590 * nis/nis_callback.c (__nis_create_callback): Likewise.
4591 * nis/nis_call.c (__nisfind_server): Likewise.
4592 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4593 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4594 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4595 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4596 * nis/nis_lookup.c (nis_lookup): Likewise.
4597 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4598 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4599 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4600 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4601 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4602 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4603 * nis/nss_compat/compat-initgroups.c (add_group)
4604 (internal_getgrent_r): Likewise.
4605 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4606 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4607 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4608 (internal_getspnam_r): Likewise.
4609 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4610 (_nss_nis_getaliasbyname_r): Likewise.
4611 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4612 (_nss_nis_getntohost_r): Likewise.
4613 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4614 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4615 (_nss_nis_getgrgid_r): Likewise.
4616 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4617 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4618 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4619 (_nss_nis_gethostbyname4_r): Likewise.
4620 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4621 (initgroups_netid): Likewise.
a1ffb40e 4622 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4623 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4624 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4625 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4626 (_nss_nis_getprotobynumber_r): Likewise.
4627 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4628 (_nss_nis_getsecretkey): Likewise.
4629 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4630 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4631 (_nss_nis_getpwuid_r): Likewise.
4632 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4633 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4634 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4635 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4636 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4637 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4638 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4639 Likewise.
57f41c40
AS
4640 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4641 (_nss_nisplus_getntohost_r): Likewise.
4642 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4643 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4644 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4645 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4646 Likewise.
57f41c40
AS
4647 * nis/nss_nisplus/nisplus-initgroups.c
4648 (_nss_nisplus_initgroups_dyn): Likewise.
4649 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4650 (_nss_nisplus_getnetbyaddr_r): Likewise.
4651 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4652 (_nss_nisplus_getprotobynumber_r): Likewise.
4653 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4654 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4655 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4656 Likewise.
57f41c40
AS
4657 * nis/nss_nisplus/nisplus-service.c
4658 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4659 (_nss_nisplus_getservbyport_r): Likewise.
4660 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4661 (_nss_nisplus_getspnam_r): Likewise.
4662 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4663 Likewise.
a1ffb40e
OB
4664 * nscd/aicache.c (addhstaiX): Likewise.
4665 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4666 * nscd/connections.c (register_traced_file, send_ro_fd)
4667 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4668 (main_loop_epoll): Likewise.
a1ffb40e
OB
4669 * nscd/grpcache.c (addgrbyX): Likewise.
4670 * nscd/hstcache.c (addhstbyX): Likewise.
4671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4672 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4673 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4674 (addinnetgrX): Likewise.
4675 * nscd/nscd-client.h (__nscd_acquire_maplock)
4676 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4677 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4678 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4679 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4680 Likewise.
4681 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4682 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4683 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4684 (__nscd_get_map_ref): Likewise.
a1ffb40e 4685 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4686 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4687 Likewise.
a1ffb40e
OB
4688 * nscd/pwdcache.c (addpwbyX): Likewise.
4689 * nscd/selinux.c (preserve_capabilities): Likewise.
4690 * nscd/servicescache.c (addservbyX): Likewise.
4691 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4692 * posix/fnmatch.c (fnmatch): Likewise.
4693 * posix/getopt.c (_getopt_internal_r): Likewise.
4694 * posix/glob.c (glob, glob_in_dir): Likewise.
4695 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4696 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4697 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4698 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4699 * resolv/res_init.c: Likewise.
4700 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4701 * resolv/res_query.c (__libc_res_nquery): Likewise.
4702 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4703 Likewise.
4704 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4705 * stdio-common/perror.c (perror): Likewise.
4706 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4707 * stdio-common/tmpnam.c (tmpnam): Likewise.
4708 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4709 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4710 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4711 Likewise.
a1ffb40e
OB
4712 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4713 * stdlib/putenv.c (putenv): Likewise.
4714 * stdlib/setenv.c (__add_to_environ): Likewise.
4715 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4716 * stdlib/strtol_l.c (INTERNAL): Likewise.
4717 * string/memmem.c (memmem): Likewise.
4718 * string/strerror.c (strerror): Likewise.
4719 * string/strnlen.c (__strnlen): Likewise.
4720 * string/test-memmem.c (simple_memmem): Likewise.
4721 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4722 * sunrpc/pm_getport.c (__get_socket): Likewise.
4723 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4724 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4725 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4726 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4727 Likewise.
4728 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4729 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4730 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4731 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4732 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4733 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4734 Likewise.
4735 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4736 Likewise.
a1ffb40e
OB
4737 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4738 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4740 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4741 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4743 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4745 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4746 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4747 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4748 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4749 Likewise.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4751 Likewise.
4752 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4753 Likewise.
4754 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4756 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4758 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4759 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4760 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4763 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4765 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4769 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4770 Likewise.
a1ffb40e
OB
4771 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4772 Likewise.
4773 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4774 Likewise.
4775 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4776 Likewise.
4777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4779 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4780 Likewise.
4781 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4782 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4783 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4784 * sysdeps/posix/sleep.c: Likewise.
4785 * sysdeps/posix/tempname.c: Likewise.
4786 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4787 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4788 Likewise.
57f41c40
AS
4789 * sysdeps/powerpc/powerpc32/dl-machine.h
4790 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4791 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4792 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4793 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4794 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4795 Likewise.
4796 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4797 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4798 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4799 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4800 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4801 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4802 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4803 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4804 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4805 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4807 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4808 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4810 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4811 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4812 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4813 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4814 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4815 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4816 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4819 Likewise.
4820 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4821 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4822 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4823 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4824 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4825 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4826 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4827 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4828 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4829 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4830 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4833 (__posix_fallocate64_l64): Likewise.
4834 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4835 (posix_fallocate): Likewise.
57f41c40
AS
4836 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4837 Likewise.
a1ffb40e 4838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4839 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4840 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4841 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4842 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4843 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4844 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4845 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4846 (__posix_fallocate64_l64): Likewise.
4847 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4848 Likewise.
4849 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4850 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4851 (__get_clockfreq): Likewise.
a1ffb40e
OB
4852 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4853 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4854 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4857 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4858 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4859 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4860 Likewise.
4861 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4862 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4863 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4864 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4865 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4866 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4867 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4868 Likewise.
4869 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4870 (posix_fallocate): Likewise.
4871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4872 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4873 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4874 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4875 (elf_machine_rela, elf_machine_rela_relative)
4876 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4877 * time/asctime.c (asctime_internal): Likewise.
4878 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4879 * time/tzset.c (__tzset_parse_tz): Likewise.
4880 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4881 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4882 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4883 * wcsmbs/wcsmbsload.h: Likewise.
4884
f3d338c9
OB
4885 [BZ #15894]
4886 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4887
57f41c40
AS
4888 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4889 (arena_get2): Remove THREAD_STATS conditionals.
4890 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4891 (__malloc_stats, int): Likewise.
bdfe308a 4892
d674667c
MF
48932014-02-08 Mike Frysinger <vapier@gentoo.org>
4894
4895 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4896 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4897
6349768c
MF
4898 * manual/setjmp.texi: Fix typos/grammar errors.
4899
0b7c7473
MF
4900 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4901 Only return early when n is <= 0. Delete unused return statement.
4902
ac8cc9e3
MF
4903 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4904 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4905 * debug/tst-longjmp_chk3.c: New file.
4906
c5bb8e23
MF
4907 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4908 (test_main): Replace code with set_fortify_handler call.
4909 * debug/test-strcpy_chk.c: Likewise.
4910 * debug/tst-chk1.c: Likewise.
4911 * debug/tst-longjmp_chk.c: Likewise.
4912 * test-skeleton.c: Include fcntl.h & paths.h
4913 (set_fortify_handler): Define.
4914
10444e42
MF
4915 * debug/tst-longjmp_chk.c: Add header comment and include
4916 ../test-skeleton.c.
4917 (do_test): Mark static.
4918 (TEST_FUNCTION): Define.
4919
1e805e8d
MF
4920 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4921 (IP_PMTUDISC_INTERFACE): Likewise.
4922 (IP_MULTICAST_IF): Likewise.
4923 (IP_MULTICAST_TTL): Likewise.
4924 (IP_MULTICAST_LOOP): Likewise.
4925 (IP_ADD_MEMBERSHIP): Likewise.
4926 (IP_DROP_MEMBERSHIP): Likewise.
4927 (IP_UNBLOCK_SOURCE): Likewise.
4928 (IP_BLOCK_SOURCE): Likewise.
4929 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4930 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4931 (IP_MSFILTER): Likewise.
4932 (MCAST_JOIN_GROUP): Likewise.
4933 (MCAST_BLOCK_SOURCE): Likewise.
4934 (MCAST_UNBLOCK_SOURCE): Likewise.
4935 (MCAST_LEAVE_GROUP): Likewise.
4936 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4937 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4938 (MCAST_MSFILTER): Likewise.
4939 (IP_MULTICAST_ALL): Likewise.
4940 (IP_UNICAST_IF): Likewise.
4941
73f79bb7
MF
4942 * timezone/Makefile: Delete $(have-ksh) check.
4943 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4944 * timezone/tzselect.ksh: Add +x mode bits.
4945
8da79b60
MF
4946 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4947 (ANON_INODE_FS_MAGIC): Likewise.
4948 (BDEVFS_MAGIC): Likewise.
4949 (BINFMTFS_MAGIC): Likewise.
4950 (BTRFS_TEST_MAGIC): Likewise.
4951 (CRAMFS_MAGIC_WEND): Likewise.
4952 (DEBUGFS_MAGIC): Likewise.
4953 (ECRYPTFS_SUPER_MAGIC): Likewise.
4954 (EXT3_SUPER_MAGIC): Likewise.
4955 (EXT4_SUPER_MAGIC): Likewise.
4956 (FUTEXFS_SUPER_MAGIC): Likewise.
4957 (HOSTFS_SUPER_MAGIC): Likewise.
4958 (HUGETLBFS_MAGIC): Likewise.
4959 (MINIX3_SUPER_MAGIC): Likewise.
4960 (MTD_INODE_FS_MAGIC): Likewise.
4961 (NILFS_SUPER_MAGIC): Likewise.
4962 (OPENPROM_SUPER_MAGIC): Likewise.
4963 (PIPEFS_MAGIC): Likewise.
4964 (PSTOREFS_MAGIC): Likewise.
4965 (QNX6_SUPER_MAGIC): Likewise.
4966 (RAMFS_MAGIC): Likewise.
4967 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4968 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4969 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4970 (SECURITYFS_MAGIC): Likewise.
4971 (SELINUX_MAGIC): Likewise.
4972 (SMACK_MAGIC): Likewise.
4973 (SOCKFS_MAGIC): Likewise.
4974 (SQUASHFS_MAGIC): Likewise.
4975 (STACK_END_MAGIC): Likewise.
4976 (TMPFS_MAGIC): Likewise.
4977 (USBDEVICE_SUPER_MAGIC): Likewise.
4978 (V9FS_MAGIC): Likewise.
4979 (XENFS_SUPER_MAGIC): Likewise.
4980 (CRAMFS_MAGIC): Fix typo in comment.
4981 (EXT2_SUPER_MAGIC): Update comment.
4982 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4983
464263cc
JM
49842014-02-08 Joseph Myers <joseph@codesourcery.com>
4985
c6bfe5c4
JM
4986 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4987 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4988 * sysdeps/unix/sysv/linux/arm: Move directory from
4989 ports/sysdeps/unix/sysv/linux/arm.
4990 * README: Update listing for arm-*-linux-gnueabi.
4991
464263cc
JM
4992 * README: Remove mention of am33.
4993
32749f6c
RM
49942014-02-07 Roland McGrath <roland@hack.frob.com>
4995
4996 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4997 than the comma operator, to avoid "rhs of comma has no effect"
4998 compiler warnings.
4999 (__sigfillset, __sigandset, __sigorset): Likewise.
5000 * include/signal.h (__sigemptyset): Likewise.
5001 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5002
d5b396c1
AM
50032014-02-07 Allan McRae <allan@archlinux.org>
5004
5005 * version.h (RELEASE): Set to "development".
5006 (VERSION): Set to "2.19.90"
5007 * NEWS: Add 2.20 section.
5008
3bfff2ed
CD
50092014-02-06 Carlos O'Donell <carlos@redhat.com>
5010
5011 [BZ #16529]
5012 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5013
ee7cc385
SP
50142014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5015
5016 * manual/contrib.texi: Update entry for Carlos O'Donell,
5017 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5018
f877c4f2
CD
50192014-02-05 Carlos O'Donell <carlos@rehdat.com>
5020
27e839f6
CD
5021 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5022
f877c4f2
CD
5023 * sysdeps/unix/sysv/linux/kernel-features.h
5024 [__LINUX_KERNEL_VERSION >= 0x020621]
5025 (__ASSUME_PROC_PID_TASK_COMM): Define.
5026
68159946
SP
50272014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5028
ba17cdbd
SP
5029 [BZ #16398]
5030 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5031 conversion when destination buffer does not have enough space.
5032 * libio/tst-ftell-partial-wide.c: New test case.
5033 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5034
68159946
SP
5035 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5036 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5037 Leonard and Allan McRae.
5038
2b528732
DM
50392014-02-04 David S. Miller <davem@davemloft.net>
5040
5041 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5042 32-bit.
5043
0ff82463
AZ
50442014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5045
57f41c40
AS
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5047 New file
c01603f7
AZ
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5049 New file
57f41c40
AS
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5051 New file.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5053 New file.
c01603f7
AZ
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5055 New file.
57f41c40
AS
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5057 New file.
5058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5059 New file.
c01603f7
AZ
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5061 New file.
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5063 New file.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5065 New file.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5067 New file.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5069 New file.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5071 New file.
5072
50732014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5074
0ff82463
AZ
5075 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5076 * shlib-versions: Likewise.
5077
1695c773
AZ
50782014-02-04 Roland McGrath <roland@hack.frob.com>
5079 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080
5081 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5082 (abilist-pattern): New variable, set to %-le.abilist.
5083
5084 * Makerules (abilist-pattern): New variable.
5085 (vpath): Use $(abilist-pattern) in place of %.abilist.
5086 (check-abi-% pattern rule): Likewise.
5087 (check-abi, update-abi): Likewise.
5088
6c0ce4b4
EW
50892014-02-04 Eric Wong <normalperson@yhbt.net>
5090
5091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5092
481e3524
CD
50932014-02-03 Carlos O'Donell <carlos@redhat.com>
5094
5095 * manual/startup.texi: Add next, previous, and top entries for
5096 the `Program Arguments' and `Environment Variables' nodes.
5097
375592d3
AO
50982014-02-03 Alexandre Oliva <aoliva@redhat.com>
5099
5100 * manual/macros.texi: Add comments before MTASC-safety macros.
5101
f54838ba
AO
5102 * manual/users.texi: Document MTASC-safety properties.
5103
57f41c40
AS
5104 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5105 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5106 @deftypefun, and add @safety note.
5107 * manual/signal.texi: Move comments that analyze the above
5108 functions to their home place.
5109
fd3daba4
AM
51102014-02-03 Allan McRae <allan@archlinux.org>
5111
5112 * po/sl.po: Update Slovenian translation from translation project.
5113
597636d7
AO
51142014-02-02 Alexandre Oliva <aoliva@redhat.com>
5115
5116 * manual/time.texi (timegm): Add missing blank after @c.
5117 Reported by Joseph Myers <joseph@codesourcery.com>.
5118
ee196e3c
AO
51192014-02-01 Alexandre Oliva <aoliva@redhat.com>
5120
5121 * manual/check-safety.sh: New.
5122 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5123
f8d529d5
AO
5124 * manual/terminal.texi: Document MTASC-safety properties.
5125
de55fdf4
AO
5126 * manual/filesys.texi: Document MTASC-safety properties.
5127
c3299c08
AO
5128 * manual/errno.texi: Document MTASC-safety properties.
5129
06e90b14
AO
5130 * manual/intro.texi: Document safety identifiers and
5131 conditionals.
5132
1acd4371
AO
5133 * manual/string.texi (wcstok): Fix prototype.
5134 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5135
23e5b8cb
AO
5136 * manual/time.texi: Document MTASC-safety properties.
5137
11087373
AO
5138 * manual/string.texi: Document MTASC-safety properties.
5139
5da2c93d
AO
5140 * manual/threads.texi: Document MTASC-safety properties.
5141
171e9210
AO
5142 * manual/stdio.texi: Document MTASC-safety properties.
5143
d9e02532
AO
5144 * manual/syslog.texi: Document MTASC-safety properties.
5145
6af8bab7
AO
5146 * manual/sysinfo.texi: Document MTASC-safety properties.
5147
663b02d7
AO
5148 * manual/startup.texi: Document MTASC-safety properties.
5149
973f180b
AO
5150 * manual/socket.texi: Document MTASC-safety properties.
5151
8f3c25c8
AO
5152 * manual/signal.texi: Document MTASC-safety properties.
5153
542210fb
AO
51542014-01-31 Alexandre Oliva <aoliva@redhat.com>
5155
5156 * manual/setjmp.texi: Document MTASC-safety properties.
5157
433c45a2
AO
5158 * manual/search.texi: Document MTASC-safety properties.
5159
c8ce789c
AO
5160 * manual/resource.texi: Document MTASC-safety properties.
5161
19f5d29c
AO
5162 * manual/process.texi: Document MTASC-safety properties.
5163
e2dfb7f4
AO
5164 * manual/platform.texi: Document MTASC-safety properties.
5165
8c1413f5
AO
5166 * manual/pipe.texi: Document MTASC-safety properties.
5167
03483ada
AO
5168 * manual/pattern.texi: Document MTASC-safety properties.
5169
29e7e2df
AO
5170 * manual/message.texi: Document MTASC-safety properties.
5171
9f529d7c
AO
5172 [BZ #12751]
5173 * manual/memory.texi: Document MTASC-safety properties.
5174
27aaa791
AO
5175 * manual/math.texi: Document MTASC-safety properties.
5176
f2d58726
AO
5177 * manual/locale.texi: Document MTASC-safety properties.
5178
2cc3615c
AO
5179 * manual/llio.texi: Document MTASC-safety properties.
5180
d9f0ec97
AO
5181 * manual/libdl.texi: New.
5182
e7c4409a
AO
5183 * manual/lang.texi: Document MTASC-safety properties.
5184
27bdc63c
AO
5185 * manual/job.texi: Document MTASC-safety properties.
5186
a7b90ea9
AO
5187 * manual/getopt.texi: Document MTASC-safety properties.
5188
c49130e3
AO
5189 * manual/ctype.texi: Document MTASC-safety properties.
5190
0d23a5c1
MR
51912014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5192
5193 [BZ #16046]
5194 * csu/libc-tls.c (static_map): Remove variable.
5195 (__libc_setup_tls): Use main executable's link map for TLS data.
5196 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5197 casing for LM_ID_BASE and GL(dl_nns).
5198 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5199 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5200 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5201 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5202 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5203 member.
5204 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5205 l_phnum members.
5206
0037bb60
AO
52072014-01-30 Alexandre Oliva <aoliva@redhat.com>
5208
5209 * manual/debug.texi: Document MTASC-safety properties.
5210
409e00bd
L
52112014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5212
5213 [BZ #16510]
5214 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5215 of __x86_64__ when disabling x87 inline functions.
5216
86e60666
AO
52172014-01-29 Alexandre Oliva <aoliva@redhat.com>
5218
5219 * manual/charset.texi: Document MTASC-safety properties.
5220
76167637
AO
5221 * manual/crypt.texi: Document MTASC-safety properties.
5222
e567f2a0
AO
5223 * manual/conf.texi: Document MTASC-safety properties.
5224
b719dafd
AO
5225 * manual/arith.texi: Document MTASC-safety properties.
5226
4a16c662
AO
5227 * manual/argp.texi: Document MTASC-safety properties.
5228
0a57b83e
AO
5229 * manual/macros.texi: Introduce macros to document multi
5230 thread, asynchronous signal and asynchronous cancellation
5231 safety properties.
5232 * manual/intro.texi: Introduce the properties themselves.
5233
feab2397
KK
52342014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5235
5236 * sysdeps/sh/sh4/Makefile: New file.
5237
1c0d11bc
AS
52382014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5239
5240 * math/gen-libm-test.pl ($srcdir): New variable.
5241 ($auto_input): Use it.
5242
af37a8a3
SP
52432014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5244
d7b00f98
SP
5245 [BZ #16506]
5246 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5247 access beyond array bounds when parsing netgroups file.
5248
af37a8a3
SP
5249 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5250 the old buffer before realloc.
5251
0c00f062
AM
52522014-01-27 Allan McRae <allan@archlinux.org>
5253
5254 * po/fr.po: Update French translation from translation project.
5255
7d69a1b0
KK
52562014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5257
5258 * sysdeps/sh/libm-test-ulps: Regenerate.
5259
6e697ff7
DM
52602014-01-24 David S. Miller <davem@davemloft.net>
5261
5262 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5263
9cadb35c
KK
52642014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5265
5266 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5267 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5268
5d41dadf
SP
52692013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5270
5271 [BZ #16474]
5272 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5273 string pointers after reallocation.
5274
0bad441c
KK
52752014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5276
5277 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5278 __SH4A__ instead of __SH_FPU_ANY__.
5279
7007c661
KK
52802014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5281
5282 * sysdeps/sh/fpu_control.h: New file.
5283 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5284 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5285 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5286 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5287 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5288 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5289 * sysdeps/sh/sys/ucontext.h: Remove.
5290 * sysdeps/sh/sys: Remove directory.
5291
0f0c35e4
AK
52922014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5293
5294 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5295 s390/sys/ucontext.h.
5296 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5297 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5298
4959e284
L
52992014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5300
5301 [BZ #15605]
5302 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5303
d98720e0
AZ
53042014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5305
5306 [BZ#16431]
5307 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5308 Adjust the vDSO correctly for internal calls.
5309 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5310
91cbd0bc
AM
53112014-01-20 Allan McRae <allan@archlinux.org>
5312
5313 * po/ca.po: Update Catalan translation from translation project.
5314
7a02cfad
MF
53152014-01-16 Mike Frysinger <vapier@gentoo.org>
5316
5317 * sysdeps/s390/sotruss-lib.c: New file.
5318
736c304a
AZ
53192014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5320
5321 [BZ#16430]
6e077ee5 5322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5323 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5324 local calls issues by not having a PLT stub required for IFUNC calls.
5325 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5326
94d0cea0
JM
53272014-01-16 Joseph Myers <joseph@codesourcery.com>
5328
5329 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5330 * math/test-fpucw-static.c: Likewise.
5331
980cb518
SP
53322013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5333
5334 [BZ #16453]
5335 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5336
2393fc01
AZ
53372014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5338
5339 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5340 implementation for powerpc.
5341
d359bcc2
OB
53422014-01-15 Ondřej Bílka <neleai@seznam.cz>
5343
5344 [BZ #14782]
5345 * sysdeps/posix/system.c (__libc_system): Do not enable
5346 asynchronous cancellation.
5347
7beb48cb
AK
53482014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5349
5350 [BZ #16427]
5351 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5352 handling only for numbers special also in the IEEE case.
5353
c20d5bf5
AK
53542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5355
5356 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5357
e83bd4ee
AM
53582014-01-11 Allan McRae <allan@archlinux.org>
5359
76d0ea69
AM
5360 * po/bg.po: Update Bulgarian translation from translation project.
5361
e83bd4ee
AM
5362 * po/de.po: Update German translation from translation project.
5363
bc2ba20a
RM
53642014-01-10 Roland McGrath <roland@hack.frob.com>
5365
5366 * sysdeps/generic/gcc-compat.h: New file.
5367
649ecea2
SP
53682014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5369
5370 * benchtests/asin-inputs: Correct slow inputs.
5371 * benchtests/acos-inputs: Likewise.
5372
1b19c006
AM
53732014-01-10 Allan McRae <allan@archlinux.org>
5374
a46dab08
AM
5375 * po:sv.po: Update Swedish translation from translation project.
5376
421df74a
AM
5377 * po/vi.po: Update Vietnamese translation from translation project.
5378
d61c51a7
AM
5379 * po/eo.po: Update Esperanto translation from translation project.
5380
0339a319
AM
5381 * po/cs.po: Update Czech translation from translation project.
5382
94ad3e99
AM
5383 * po/nl.po: Update Dutch translation from translation project.
5384
e349ca71
AM
5385 * po/pl.po: Update Polish translation from translation project.
5386
ddf930c1
AM
5387 * po/ru.po: Update Russian translation from translation project.
5388
1b19c006
AM
5389 * po/uk.po: Update Ukrainian translation from translation project.
5390
9f236c49
BM
53912014-01-08 Brooks Moses <bmoses@google.com>
5392
5393 * elf/dl-load.c: Fix comment typo.
5394
cd6701cf
CD
53952014-01-08 Carlos O'Donell <carlos@redhat.com>
5396
5397 * po/header.pot: Rename to...
5398 * po/pot.header: ... this.
5399 * po/Makefile: Use pot.header.
5400
66671c84
YK
54012014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5402 Maxim Kuvyrkov <maxim@kugelworks.com>
5403
5404 [BZ #16394]
cd6701cf
CD
5405 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5406 SRC and DEST against LEN.
66671c84 5407
38f34581
AZ
54082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 [BZ #16414]
5411 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5412 implementation.
5413 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5414
54152014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5416
5417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5418
4c327f2a
JM
54192014-01-08 Joseph Myers <joseph@codesourcery.com>
5420
5421 [BZ #16408]
5422 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5423 for large positive arguments.
5424
b821f414
JM
54252014-01-07 Joseph Myers <joseph@codesourcery.com>
5426
1f0f2067
JM
5427 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5428
a5a326f6
JM
5429 * math/auto-libm-test-in: Mark various tests with
5430 xfail-rounding:ldbl-128ibm.
5431 * math/auto-libm-test-out: Regenerated.
5432
b821f414
JM
5433 [BZ #16407]
5434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5435 Increase overflow threshold.
5436
94c8a4bc
OB
54372014-01-07 Ondřej Bílka <neleai@seznam.cz>
5438
5439 [BZ #14286]
5440 * stdio-common/vfprintf.c: Check for integer overflow.
5441
87ded0c3
AK
54422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5443
5444 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5445 the first argument and return value of __tls_get_addr_internal.
5446
c5eebdd0
AK
54472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5448
5449 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5450 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5451
05d138ef
AK
54522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5453
5454 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5455 * sysdeps/s390/rtld-global-offsets.sym: New file.
5456 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5457 GLIBC_2.19 symbol.
5458 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5459 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5460 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5461 ... this.
5462 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5463 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5464 ... this.
5465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5466 Regenerate.
5467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5468 Regenerate.
5469 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5470 halfs of GPRs for high_gprs contexts.
5471 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5472 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5473 field.
5474 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5475 uc_flags field.
5476 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5477 64 bit versions:
5478 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5479 for high GPRs (uc_high_gprs) and for future extensions
5480 (__reserved).
5481 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5482 for future extensions (__reserved).
5483 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5484 64 bit versions:
5485 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5486 SC_HIGHGPRS offset definition.
5487 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5488 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5489
93a45ff1
AK
5490 * Versions.def: Add GLIBC_2.19 for libpthread.
5491 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5492 siglongjmp for libpthread with GLIBC_2.19 symver.
5493 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5494 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5495 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5496 * sysdeps/s390/__longjmp.c: New file.
5497 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5498 * sysdeps/s390/longjmp.c: New file.
5499 * sysdeps/s390/setjmp.S: New file.
5500 * sysdeps/s390/sigjmp.S: New file.
5501 * sysdeps/s390/v1-longjmp.c: New file.
5502 * sysdeps/s390/v1-setjmp.h: New file.
5503 * sysdeps/s390/v1-sigjmp.c: New file.
5504 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5505 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5506 GLIBC_2.19 version.
5507 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5508 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5509 versioned symbols for ____longjmp_chk.
5510 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5511 Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5513 Regenerate.
5514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5515 Regenerate.
5516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5517 Regenerate.
5518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5519 Regenerate.
5520 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5521 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5522 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5523 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5524 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5525 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5526 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5527 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5528 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5529 * sysdeps/s390/rtld-__longjmp.c: New file.
5530 * sysdeps/s390/rtld-setjmp.S: New file.
5531
eb3fc44b
JM
55322014-01-06 Joseph Myers <joseph@codesourcery.com>
5533
5534 [BZ #16400]
5535 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5536 Return -__logl (x) for small positive arguments without evaluating
5537 a polynomial.
5538
9341dde4
MF
55392014-01-06 Mike Frysinger <vapier@gentoo.org>
5540
5541 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5542 Rename to ...
5543 (__ptrace_peeksiginfo_args): ... this.
5544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5547
4cff0293
AM
55482014-01-06 Allan McRae <allan@archlinux.org>
5549
5550 * inet/netinet/in.h: Fix typo in comment.
5551
75595dcf
AJ
55522014-01-05 Andreas Jaeger <aj@suse.de>
5553
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555
79c1e109
AM
55562014-01-05 Allan McRae <allan@archlinux.org>
5557
dd804818
AM
5558 * po/libc.pot: Regenerated.
5559
79c1e109
AM
5560 * malloc/memusagestat.c: Fix gettext call formatting.
5561
0c813d1f
SK
55622014-01-04 Sami Kerola <kerolasa@iki.fi>
5563
5564 * nscd/nscd.c: Improve usage() output.
5565
20f4a8d9
MF
55662014-01-04 Mike Frysinger <vapier@gentoo.org>
5567
5568 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5569 * sysdeps/unix/sysv/linux/configure: Regenerated.
5570 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5571 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5572
22562bb2
JM
55732014-01-03 Joseph Myers <joseph@codesourcery.com>
5574
5575 [BZ #16390]
5576 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5577 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5578
d7ad2d9b
AZ
55792014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5580
5581 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5582 extra tokens at end of #undef directive.
5583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5584 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5585 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5586
7dd009d8
JM
55872014-01-03 Joseph Myers <joseph@codesourcery.com>
5588
24db925a
JM
5589 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5590
7dd009d8
JM
5591 * math/auto-libm-test-in: Mark various tests with
5592 xfail-rounding:ldbl-128ibm.
5593 * math/auto-libm-test-out: Regenerated.
5594
396e3ecf
JM
55952014-01-02 Joseph Myers <joseph@codesourcery.com>
5596
819e5d50
JM
5597 [BZ #16386]
5598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5599 numbers with subnormal high part when calculating exponent.
5600
90b6a1e5
JM
5601 [BZ #16385]
5602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5603 fabs.
5604
396e3ecf
JM
5605 [BZ #16384]
5606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5607 M_LN2l.
5608 (__ieee754_acoshl): Use __log1pl not __log1p.
5609
6c8dbf00
OB
56102013-01-02 Ondřej Bílka <neleai@seznam.cz>
5611
57f41c40
AS
5612 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5613 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5614 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5615 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5616 (reused_arena, arena_get2): Convert to GNU style.
5617 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5618 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5619 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5620 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5621 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5622 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5623 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5624 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5625 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5626 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5627 * malloc/malloc.h: Likewise.
57f41c40
AS
5628 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5629 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5630 * malloc/mcheck.h: Likewise.
57f41c40
AS
5631 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5632 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5633 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5634 * malloc/morecore.c (__default_morecore): Likewise.
5635 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5636 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5637 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5638 (print_and_abort): Likewise.
6c8dbf00
OB
5639 * malloc/obstack.h: Likewise.
5640 * malloc/set-freeres.c (__libc_freeres): Likewise.
5641 * malloc/tst-mallocstate.c (main): Likewise.
5642 * malloc/tst-mtrace.c (main): Likewise.
5643 * malloc/tst-realloc.c (do_test): Likewise.
5644
d4124212
SP
56452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5646
9a3c6a6f
SP
5647 [BZ #16366]
5648 * nscd/netgroupcache.c (do_notfound): New function.
5649 (addgetnetgrentX): Use it.
5650
d4124212
SP
5651 [BZ # 16365]
5652 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5653 NSS_STATUS_NOTFOUND.
5654
97b9a009
JM
56552014-01-01 Joseph Myers <joseph@codesourcery.com>
5656
5657 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5659
d4697bc9
AM
56602014-01-01 Allan McRae <allan@archlinux.org>
5661
ddb3687f
AM
5662 * scripts/update-copyrights: Update configure input file suffix.
5663
88726d48
AM
5664 * NEWS: Update copyright year.
5665 * catgets/gencat.c: Likewise.
5666 * csu/version.c: Likewise.
5667 * debug/catchsegv.sh: Likewise.
5668 * debug/pcprofiledump.c: Likewise.
5669 * debug/xtrace.sh: Likewise.
5670 * elf/ldconfig.c: Likewise.
5671 * elf/ldd.bash.in: Likewise.
5672 * elf/pldd.c: Likewise.
5673 * elf/sotruss.ksh: Likewise.
5674 * elf/sprof.c: Likewise.
5675 * iconv/iconv_prog.c: Likewise.
5676 * iconv/iconvconfig.c: Likewise.
5677 * locale/programs/locale.c: Likewise.
5678 * locale/programs/localedef.c: Likewise.
5679 * login/programs/pt_chown.c: Likewise.
5680 * malloc/memusage.sh: Likewise.
5681 * malloc/memusagestat.c: Likewise.
5682 * malloc/mtrace.pl: Likewise.
5683 * manual/libc.texinfo: Likewise.
5684 * nscd/nscd.c: Likewise.
5685 * nss/getent.c: Likewise.
5686 * nss/makedb.c: Likewise.
5687 * posix/getconf.c: Likewise.
5688 * scripts/test-installation.pl: Likewise.
5689
d4697bc9
AM
5690 * All files with FSF copyright notices: Update copyright dates
5691 using scripts/update-copyrights.
5692 * intl/plural.c: Regenerated.
5693 * locale/programs/charmap-kw.h: Likewise.
5694 * locale/programs/locfile-kw.h: Likewise.
5695
c8590f9d
MF
56962013-12-31 Mike Frysinger <vapier@gentoo.org>
5697
5698 * sysdeps/unix/sysv/linux/configure: Regenerated.
5699 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5700 the linux/fanotify.h header.
5701 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5702 HAVE_LINUX_FANOTIFY_H is defined.
5703
b19221b9
SP
57042013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
dd1d85e5
SP
5706 * benchtests/cos-inputs: New inputs.
5707 * benchtests/sin-inputs: Likewise.
5708
1acbb90f
SP
5709 * benchtests/atan-inputs: New inputs. Fix name of multiple
5710 precision fallback inputs.
5711
4c012ed3
SP
5712 * benchtests/atanh-inputs: New inputs.
5713 * benchtests/tanh-inputs: Likewise.
5714
eff98324
SP
5715 * benchtests/acosh-inputs: New inputs.
5716 * benchtests/asinh-inputs: Likewise.
5717
ce641152
SP
5718 * benchtests/cosh-inputs: New inputs.
5719 * benchtests/sinh-inputs: Likewise.
5720
b19221b9
SP
5721 * benchtests/acos-inputs: Add more inputs.
5722 * benchtests/asin-inputs: Likewise.
5723
030a4976 57242013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5725
030a4976 5726 [BZ #16375]
9dcc8f11
VS
5727 * manual/arith.texi: Fix spelling.
5728 * manual/charset.texi: Likewise.
5729 * manual/errno.texi: Likewise.
5730 * manual/filesys.texi: Likewise.
5731 * manual/lang.texi: Likewise.
5732 * manual/llio.texi: Likewise.
5733 * manual/locale.texi: Likewise.
5734 * manual/message.texi: Likewise.
5735 * manual/resource.texi: Likewise.
5736 * manual/search.texi: Likewise.
5737 * manual/setjmp.texi: Likewise.
5738 * manual/stdio.texi: Likewise.
5739 * manual/string.texi: Likewise.
5740 * manual/sysinfo.texi: Likewise.
5741 * manual/time.texi: Likewise.
5742
11520a57
CD
57432013-12-27 Carlos O'Donell <carlos@redhat.com>
5744
5745 * po/sl.po: New file.
5746
471103ae
MF
57472013-12-27 Mike Frysinger <vapier@gentoo.org>
5748
5749 * .gitignore: Add core/.gdbinit/.gdb_history.
5750
6c9642ed
AM
57512013-12-27 Allan McRae <allan@archlinux.org>
5752
5753 [BZ #16369]
5754 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5755 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5756
3f637079
BM
57572013-12-24 Brooks Moses <bmoses@google.com>
5758
5759 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5760 all compilers that claim C++98 compliance, not just GCC.
5761 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5762 Likewise.
5763
abc26e99
MK
57642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5765
5766 * NEWS: Restore accidentally deleted bug-fix entries.
5767
362b47fe
MK
57682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5769 Ondřej Bílka <neleai@seznam.cz>
5770
5771 [BZ #15073]
5772 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5773 have_lock.
362b47fe 5774
b9bcbbcb
OB
57752013-12-23 Ondřej Bílka <neleai@seznam.cz>
5776
5777 [BZ #12986]
5778 * manual/stdio.texi (String Input Conversions): Clarify that character
5779 classes are not supported.
5780
fb55fcd2
AZ
57812013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782
5783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5784
ef7344f0
JM
57852013-12-22 Joseph Myers <joseph@codesourcery.com>
5786
4f40e4b3
JM
5787 [BZ #16337]
5788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5789 Calculate results for small negative arguments directly rather
5790 than using reflection formula with special underflow handling.
5791
ef7344f0
JM
5792 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5793 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5794 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5795 (fchflags): Likewise.
5796 (revoke): Likewise.
5797 (setlogin): Likewise.
5798 (sigaltstack): Likewise.
5799 (wait4): Likewise.
5800 (sigblock): Remove.
5801 (sigsetmask): Likewise.
5802 (wait3): Likewise.
5803 (waitpid): Likewise.
5804 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5805 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5806 file.
5807 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5808 * sysdeps/unix/bsd/Makefile: ... here.
5809 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5810 * sysdeps/unix/bsd/Versions: ... here.
5811 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5812 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5813 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5814 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5815 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5816 * sysdeps/unix/bsd/sigblock.c: ... here.
5817 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5818 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5819 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5820 * sysdeps/unix/bsd/sigvec.c: ... here.
5821 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5822 * sysdeps/unix/bsd/tcdrain.c: ... here.
5823 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5824 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5825 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5826 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5827 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5828 * sysdeps/unix/bsd/wait.c: ... here.
5829 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5830 * sysdeps/unix/bsd/wait3.c: ... here.
5831 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5832 * sysdeps/unix/bsd/waitpid.c: ... here.
5833
5b0626b9
JM
58342013-12-21 Joseph Myers <joseph@codesourcery.com>
5835
5836 [BZ #16356]
5837 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5838 round-to-nearest for [!USE_AS_EXPM1L].
5839 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5840 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5841 more tests of exp and exp10. Expect some exp10 tests to miss
5842 exceptions or fail in directed rounding modes.
5843 * math/auto-libm-test-out: Regenerated.
5844 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5845 (exp10_test_tonearest): New function.
5846 (exp10_towardzero_test_data): New array.
5847 (exp10_test_towardzero): New function.
5848 (exp10_downward_test_data): New array.
5849 (exp10_test_downward): New function.
5850 (exp10_upward_test_data): New array.
5851 (exp10_test_upward): New function.
5852 (main): Call the new functions.
5853 * sysdeps/i386/fpu/libm-test-ulps: Update.
5854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5855
7fda5682
JM
58562013-12-20 Joseph Myers <joseph@codesourcery.com>
5857
31e3a405
JM
5858 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5859 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5860 * math/auto-libm-test-out: Regenerated.
5861 * math/libm-test.inc (acosh_test_data): Add more tests.
5862 (atanh_test_data): Likewise.
5863 (ceil_test_data): Likewise.
5864 (copysign_test_data): Likewise.
5865 * sysdeps/i386/fpu/libm-test-ulps: Update.
5866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5867
85bff96a
JM
5868 * timezone/checktab.awk: Update from tzcode 2013i.
5869 * timezone/private.h: Likewise.
5870 * timezone/scheck.c: Likewise.
5871 * timezone/tzfile.h: Likewise.
5872 * timezone/tzselect.ksh: Likewise.
5873 * timezone/zdump.c: Likewise.
5874 * timezone/zic.c: Likewise.
5875
b7867a3b
JM
5876 * math/auto-libm-test-in: Add tests of cpow.
5877 * math/auto-libm-test-out: Regenerated.
5878 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5879 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5880 mpc_cc_c.
5881 (func_calc_desc): Add mpc_cc_c union field.
5882 (test_functions): Add cpow.
5883 (special_fill_2pi): New function.
5884 (special_real_inputs): Add 2pi.
5885 (calc_generic_results): Handle mpc_cc_c.
5886 * sysdeps/i386/fpu/libm-test-ulps: Update.
5887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5888
7fda5682
JM
5889 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5890 csqrt, ctan and ctanh.
5891 * math/auto-libm-test-out: Regenerated.
5892 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5893 (TEST_COND_x86): Likewise.
5894 (ccos_test_data): Use AUTO_TESTS_c_c.
5895 (ccosh_test_data): Likewise.
5896 (cexp_test_data): Likewise.
5897 (clog_test_data): Likewise.
5898 (csqrt_test_data): Likewise.
5899 (ctan_test_data): Likewise.
5900 (ctan_tonearest_test_data): Likewise.
5901 (ctan_towardzero_test_data): Likewise.
5902 (ctan_downward_test_data): Likewise.
5903 (ctan_upward_test_data): Likewise.
5904 (ctanh_test_data): Likewise.
5905 (ctanh_tonearest_test_data): Likewise.
5906 (ctanh_towardzero_test_data): Likewise.
5907 (ctanh_downward_test_data): Likewise.
5908 (ctanh_upward_test_data): Likewise.
5909 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5910 mpc_c_c.
5911 (func_calc_desc): Add mpc_c_c union field.
5912 (FUNC_mpc_c_c): New macro.
5913 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5914 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5915 ctanh.
5916 (special_fill_min_subnorm_p120): New function.
5917 (special_real_inputs): Add min_subnorm_p120.
5918 (calc_generic_results): Handle mpc_c_c.
5919 * sysdeps/i386/fpu/libm-test-ulps: Update.
5920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5921
5ff8d60e
SP
59222013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5923
57f41c40
AS
5924 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5925 (do_sin_slow): New functions.
5926 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5927 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5928
84ba214c
SP
5929 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5930 Use M to change sign of result instead of X. Assume X is
5931 positive.
5932 (csloww1): Likewise.
5933 (__sin): Adjust.
5934 (__cos): Adjust.
5935
975195e4
SP
5936 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5937 arguments A and DA.
5938 (__sin): Adjust.
5939 (__cos): Likewise.
5940
5ff8d60e
SP
5941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5942 (__cos): Likewise.
5943 (sloww1): Don't adjust sign of DX.
5944 (csloww1): Likewise.
5945 (sloww2): Use X directly and don't adjust sign of DX.
5946 (csloww2): Likewise.
5947
eb983568
JM
59482013-12-19 Joseph Myers <joseph@codesourcery.com>
5949
64a17f1a
JM
5950 * math/auto-libm-test-in: Add tests of cabs and carg.
5951 * math/auto-libm-test-out: Regenerated.
5952 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5953 (carg_test_data): Likewise.
5954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5955 mpc_c_f.
5956 (func_calc_desc): Add mpc_c_f union field.
5957 (test_functions): Add cabs and carg.
5958 (calc_generic_results): Handle mpc_c_f.
5959
eb983568
JM
5960 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5961 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5962 as a macro and a compat symbol.
5963 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5964 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5965 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5966 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5967 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5968 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5969 not use .hidden.
5970 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5971 Likewise.
5972 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5973 Likewise.
5974 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5975 Likewise.
5976 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5977 Likewise.
5978 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5979 Likewise.
5980 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5981 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5982 from GLIBC_2.3.2.
5983
6eeb678a
AZ
59842013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5985
5986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5987
6f6fc482
JM
59882013-12-19 Joseph Myers <joseph@codesourcery.com>
5989
21fea2e2
JM
5990 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5991 trailing whitespace removed.
5992 * scripts/config.guess: Update to version 2013-11-29.
5993 * scripts/config.sub: Update to version 2013-10-01.
5994
6f6fc482
JM
5995 * math/auto-libm-test-in: Add tests of sincos.
5996 * math/auto-libm-test-out: Regenerated.
5997 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5998 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5999 mpfr_f_11.
6000 (func_calc_desc): Add mpfr_f_11 union field.
6001 (test_functions): Add sincos.
6002 (calc_generic_results): Handle mpfr_f_11.
6003 * sysdeps/i386/fpu/libm-test-ulps: Update.
6004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005
83f5c32d
AS
60062013-12-19 Andreas Schwab <schwab@suse.de>
6007
6008 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6009 CALL_MCOUNT.
6010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6011 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6012 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6013
c688b419
JM
60142013-12-19 Joseph Myers <joseph@codesourcery.com>
6015
335ee092
JM
6016 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6017 * sysdeps/i386/fpu/libm-test-ulps: Update.
6018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6019
f88acd39
JM
6020 [BZ #16293]
6021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6022 round-to-nearest mode when using frndint.
6023 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6024 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6025 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6026 Likewise.
6027 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6028 sinh test to fail.
6029 * math/auto-libm-test-out: Regenerated.
6030 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6031 (TEST_COND_x86): Likewise.
6032 (expm1_tonearest_test_data): New array.
6033 (expm1_test_tonearest): New function.
6034 (expm1_towardzero_test_data): New array.
6035 (expm1_test_towardzero): New function.
6036 (expm1_downward_test_data): New array.
6037 (expm1_test_downward): New function.
6038 (expm1_upward_test_data): New array.
6039 (expm1_test_upward): New function.
6040 (main): Run the new test functions.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6043
c688b419
JM
6044 * include/features.h: Update comment documenting feature test
6045 macros. Mention _DEFAULT_SOURCE in comment.
6046 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6047 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6048 _BSD_SOURCE and _SVID_SOURCE.
6049 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6050 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6051 !_SVID_SOURCE]: Likewise.
6052 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6053 (__USE_POSIX_IMPLICITLY): Define.
6054 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6055 (_POSIX_SOURCE): Undefine and redefine.
6056 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6057 (_POSIX_C_SOURCE): Likewise.
6058 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6059 (Feature Test Macros): Update documentation of default features.
6060
9f6e964c
RS
60612013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6062
6063 * benchtests/Makefile: Add bench-strtok.
6064 * benchtests/bench-strtok.c: New file: strtok benchtest.
6065
ee0a148a
AM
60662013-12-19 Allan McRae <allan@archlinux.org>
6067
6068 * manual/install.texi: Suppress menu for plain text output.
6069 * INSTALL: Regenerated.
6070
b9ab448f
BM
60712013-12-18 Brooks Moses <bmoses@google.com>
6072
6073 [BZ #15846]
6074 * misc/getauxval.c: Include errno.h.
6075 (__getauxval): Set errno to ENOENT if the requested type is not
6076 found.
6077 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6078 don't declare with __attribute_const__.
6079 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6080 * manual/startup.texi: Document that getauxval sets errno.
6081
23776487
JM
60822013-12-18 Joseph Myers <joseph@codesourcery.com>
6083
f889953b
JM
6084 * math/auto-libm-test-in: Add tests of jn and yn.
6085 * math/auto-libm-test-out: Regenerated.
6086 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6087 (yn_test_data): Likewise.
6088 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6089 mpfr_if_f.
6090 (func_calc_desc): Add mpfr_if_f union field.
6091 (FUNC_mpfr_if_f): New macro.
6092 (test_functions): Add jn and yn.
6093 (calc_generic_results): Assert type of second input for
6094 mpfr_ff_f. Handle mpfr_if_f.
6095 (output_for_one_input_case): Disable all checking for arguments
6096 fitting floating-point types in case of an integer argument.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099
23776487
JM
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6101 Don't expect fegetround reference in libm.so.
6102
cb756c6d
MS
61032013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6104
6105 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6106 $(config-cflags-nofma).
6107
2dec468f
JM
61082013-12-18 Joseph Myers <joseph@codesourcery.com>
6109
5953eb3a
JM
6110 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6111 * math/auto-libm-test-out: Regenerated.
6112
2dec468f
JM
6113 [BZ #16338]
6114 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6115 to determine exponent and adjust argument to have exponent of -1.
6116 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6117 log2.
6118 * math/auto-libm-test-out: Regenerated.
6119 * sysdeps/i386/fpu/libm-test-ulps: Update.
6120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6121
4d84e6ad
OB
61222013-12-18 Ondřej Bílka <neleai@seznam.cz>
6123
6124 * manual/probes.texi: Remove cases when per-thread arenas are
6125 disabled.
6126
1818483b
AS
61272013-12-18 Andreas Schwab <schwab@suse.de>
6128
6129 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6130 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6131 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6132 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6133 * sysdeps/i386/i686/multiarch/Makefile: Update.
6134 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6135
25de95bf
JM
61362013-12-17 Joseph Myers <joseph@codesourcery.com>
6137
6138 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6139 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6140
674762d9
PE
61412013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6142
ed27ed83 6143 [BZ #15968]
0748546f
PE
6144 Support TZ transition times < 00:00:00.
6145 This is needed for version-3 tz-format files; it supports time
6146 stamps past 2037 for America/Godthab (the only entry in the tz
6147 database for which this change is relevant).
6148 * manual/time.texi (TZ Variable): Document transition times
6149 from -167:59:59 through -00:00:01.
6150 * time/tzset.c (tz_rule): Time of day is now signed.
6151 (__tzset_parse_tz): Parse negative time of day.
6152
4480e934
PE
6153 Document TZ transition times >= 25:00:00.
6154 * manual/time.texi (TZ Variable): Document transition times from
6155 25:00:00 through 167:59:59. These are already supported, and this
6156 support will help with version-3 tz-format files.
6157
69947401
PE
6158 * manual/time.texi (TZ Variable): Modernize North America example
6159 to reflect current (i.e., 2007-and-later) daylight saving rules.
6160
674762d9
PE
6161 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6162
7011c262
JM
61632013-12-17 Joseph Myers <joseph@codesourcery.com>
6164
2fc6557e
JM
6165 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6166 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6169 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6170 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6171 * sysdeps/unix/bsd/clock.c: Likewise.
6172 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6173 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6174 * sysdeps/unix/bsd/init-posix.c: Likewise.
6175 * sysdeps/unix/bsd/poll.c: Likewise.
6176 * sysdeps/unix/bsd/ptsname.c: Likewise.
6177 * sysdeps/unix/bsd/seekdir.c: Likewise.
6178 * sysdeps/unix/bsd/setegid.c: Likewise.
6179 * sysdeps/unix/bsd/seteuid.c: Likewise.
6180 * sysdeps/unix/bsd/setgid.c: Likewise.
6181 * sysdeps/unix/bsd/setrgid.c: Likewise.
6182 * sysdeps/unix/bsd/setruid.c: Likewise.
6183 * sysdeps/unix/bsd/setsid.c: Likewise.
6184 * sysdeps/unix/bsd/setuid.c: Likewise.
6185 * sysdeps/unix/bsd/sigaction.c: Likewise.
6186 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6187 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6188 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6189 * sysdeps/unix/bsd/telldir.c: Likewise.
6190 * sysdeps/unix/bsd/times.c: Likewise.
6191 * sysdeps/unix/bsd/usleep.c: Likewise.
6192
029c7b25
JM
6193 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6194 ($(objpfx)libbsd-compat.a): Remove rule.
6195
7011c262
JM
6196 * include/features.h (__FAVOR_BSD): Do not define.
6197 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6198 features conflicting with POSIX.
6199 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6200 (_BSD_SOURCE): Remove description of not being a subset of other
6201 feature test macros.
6202 * manual/job.texi (getpgrp): Do not document BSD version.
6203 (getpgid): Do not document by reference to BSD getpgrp.
6204 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6205 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6206 * signal/signal.h [__FAVOR_BSD]: Likewise.
6207 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6208 instead of making contents conditional on [__FAVOR_BSD].
6209 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6210
affb6f78
AZ
62112013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6212
6213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6214
c88769dd
JM
62152013-12-17 Joseph Myers <joseph@codesourcery.com>
6216
6432a540
JM
6217 [BZ #16314]
6218 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6219 values below 2**-450, not 2**-500.
6220 * math/auto-libm-test-in: Don't allow spurious underflow from
6221 hypot.
6222 * math/auto-libm-test-out: Regenerated.
6223
c88769dd
JM
6224 [BZ #16316]
6225 [BZ #16330]
6226 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6227 values of ha and hb and sort them after adjusting subnormal
6228 arguments.
6229 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6230 Likewise.
6231 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6232 values of ea and eb and sort them after adjusting subnormal
6233 arguments.
6234 * math/auto-libm-test-in: Do not expect some hypot tests of
6235 subnormals to fail. Add more hypot tests.
6236 * math/auto-libm-test-out: Regenerated.
6237
29618f6b
KK
62382013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6239
6240 [BZ #13304]
6241 * sysdeps/sh/s_fma.c: New file.
6242 * sysdeps/sh/s_fmaf.c: New file.
6243 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6244 version.
6245 * sysdeps/sh/Implies: Add sh/soft-fp.
6246
eacfdfbf
RM
62472013-12-16 Roland McGrath <roland@hack.frob.com>
6248
6249 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6250 level of indirection to members `objname', `errstring', `malloced'.
6251 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6252 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6253 it as the __longjmp argument (just pass 1 instead).
6254 (_dl_catch_error): Initialize C with argument pointers and address of
6255 volatile local ERRCODE rather than copying values out of C at return.
6256
ff362e5b
JM
62572013-12-16 Joseph Myers <joseph@codesourcery.com>
6258
6259 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6260 * math/auto-libm-test-out: Regenerated.
6261 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6262 (hypot_test_data): Likewise.
6263 (pow_test_data): Likewise.
6264 (pow_tonearest_test_data): Likewise.
6265 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6266 mpfr_ff_f.
6267 (func_calc_desc): Add mpfr_ff_f union field.
6268 (FUNC_mpfr_ff_f): New macro.
6269 (test_functions): Add atan2, hypot and pow.
6270 (special_fill_min): New function.
6271 (special_fill_minus_min): Likewise.
6272 (special_fill_min_subnorm): Likewise.
6273 (special_fill_minus_min_subnorm): Likewise.
6274 (special_real_inputs): Add min, -min, min_subnorm and
6275 -min_subnorm.
6276 (calc_generic_results): Handle mpfr_ff_f.
6277 * sysdeps/i386/fpu/libm-test-ulps: Update.
6278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6279
5764c27f
WN
62802013-12-16 Will Newton <will.newton@linaro.org>
6281
6282 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6283 (Aligned Memory Blocks): Add documentation for aligned_alloc
6284 and suggest it as an alternative to posix_memalign.
6285 (Hooks for Malloc): Document __memalign_hook is also called
6286 for aligned_alloc. (Summary of Malloc): Add summary for
6287 aligned alloc. Document __memalign_hook is also called
6288 for aligned_alloc.
6289
0a096e44
WN
62902013-12-16 Will Newton <will.newton@linaro.org>
6291
6292 * manual/memory.texi (Malloc Examples): Clarify default
6293 alignment documentation. Suggest posix_memalign rather
6294 than memalign or valloc.
6295 (Aligned Memory Blocks): Remove suggestion to use memalign
6296 or valloc. Remove obsolete comment about BSD.
6297 Document memalign errno values and mark the function obsolete.
6298 Document posix_memalign returned error codes. Mark valloc
6299 as obsolete. (Hooks for Malloc): __memalign_hook is also
6300 called for posix_memalign and valloc.
6301 (Summary of Malloc): Add posix_memalign to function summary.
6302 __memalign_hook is also called for posix_memalign and valloc.
6303
8d561986
SP
63042013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6305
6306 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6307 TAYLOR_SIN.
6308 (__sin): Adjust.
6309 (__cos): Likewise.
6310 (sloww): Use mynumber union. Expand ternary operator into
6311 if-else statements.
6312 (cslow): use mynumber union.
6313
73616a74
AM
63142013-12-16 Allan McRae <allan@archlinux.org>
6315
9e8ac24b
AM
6316 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6317 * configure: Regenerated.
6318
6f8e37eb
AM
6319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6320
8894bad3
AM
6321 [BZ #14120]
6322 * configure.ac: Added --enable-maintainer-mode. Check for
6323 autoconf when enabled.
6324 * configure: Regenerated.
6325
73616a74
AM
6326 * nscd/nscd.service: New file.
6327 * nscd/nscd.tmpfiles: New file.
6328
584b18eb
OB
63292013-12-14 Ondřej Bílka <neleai@seznam.cz>
6330
6331 [BZ #12100]
6332 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6333 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6334 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6335 (strstr): Add __strstr_sse2_unaligned ifunc.
6336 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6337 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6338 (strcasestr): Remove __strcasestr_sse42 ifunc.
6339 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6342
8a5c7897
KK
63432013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6344
6345 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6346 * sysdeps/sh/bits/fenv.h: ... here.
6347 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6348
fd712ef3
AZ
63492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6350
6351 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6352
42fcb46c
AZ
6353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6354 hypotf multiarch implementations.
6355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6357 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6358 multiarch hypot for PPC64.
6359 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6361 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6362 multiarch hypotf for PPC64.
6363
83efded4
AZ
6364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6365 modff multiarch implementations.
6366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6369 multiarch modf for PPC64.
6370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6373 multiarch modff for PPC64.
6374
43e246d2
AZ
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6376 and logl multiarch implementations.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6380 multiarch logb for PPC64.
6381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6384 multiarch logb for PPC64.
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6388 multiarch logb for PPC64.
6389
8fdad123
AZ
6390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6391 isinff multiarch implementation.
6392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6393 file.
6394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6396 multiarch isinf for PPC64.
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6398 file.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6400 multiarch isinff for PPC64.
6401
1481d706
AZ
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6403 finitef multiarch implementation.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6405 file.
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6408 multiarch finite for PPC64.
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6410 file.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6412 multiarch finitef for PPC64.
6413
5ccd5fc8
AZ
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6415 lrint multiarch implementation.
6416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6417 file.
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6420 multiarch llrint for PPC64.
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6422 multiarch lrint for PPC64.
6423
2568f3fa
AZ
6424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6425 copysignf multiarch implementation.
6426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6427 file.
6428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6429 file.
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6431 multiarch copysign for PPC64.
6432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6433 multiarch copysignf for PPC64.
6434
1cb341fd
AZ
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6436 multiarch implementation.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6438 file.
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6440 file.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6442 file.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6444 file.
6445 multiarch llround for PPC64.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6447 multiarch trunc for PPC64.
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6449 multiarch truncf for PPC64.
6450
59a3e194
AZ
6451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6452 multiarch implementation.
6453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6454 file.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6456 file.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6458 file.
6459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6460 file.
6461 multiarch llround for PPC64.
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6463 multiarch round for PPC64.
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6465 multiarch roundf for PPC64.
6466
357fd3b4
AZ
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6468 multiarch implementation.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6470 file.
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6472 file.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6474 file.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6476 file.
6477 multiarch llround for PPC64.
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6479 multiarch floor for PPC64.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6481 multiarch floorf for PPC64.
6482
96770f12
AZ
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6484 multiarch implementation.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6486 file.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6488 file.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6490 file.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6492 file.
6493 multiarch llround for PPC64.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6495 multiarch ceil for PPC64.
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6497 multiarch ceilf for PPC64.
6498
c3627f6e
AZ
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6500 multiarch implementation.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6502 file.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6504 file.
6505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6506 file.
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6508 multiarch llround for PPC64.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6510 multiarch lround for PPC64.
6511
b2284ad7
AZ
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6513 multiarch implementation.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6517 file.
6518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6521 multiarch isnan for PPC64.
6522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6523 multiarch isnanf for PPC64.
6524
69bbc63d
AZ
6525 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6526 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6527 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6528 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6529 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6531
c24517c9
AZ
6532 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6533 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6536
a52374e8
AZ
6537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6538 multiarch implementations.
6539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6540 (__libc_ifunc_impl_list): Likewise.
6541 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6542 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6543 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6544 multiarch stpcpy for PPC64.
6545
7f5ec113
AZ
6546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6547 multiarch implementations.
6548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6549 (__libc_ifunc_impl_list): Likewise.
6550 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6551 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6552 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6553 multiarch strcpy for PPC64.
6554
e28bcd42
AZ
6555 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6556 redefine function name.
6557 (_wordcopy_fwd_dest_aligned): Likewise.
6558 (_wordcopy_bwd_aligned): Likewise.
6559 (_wordcopy_bwd_dest_aligned): Likewise.
6560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6561 multiarch implementations.
6562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6563 (__libc_ifunc_impl_list): Likewise.
6564 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6565 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6566 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6567 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6568 multiarch wcscpy for PPC64.
6569
92cacfce
AZ
6570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6571 multiarch implementations.
6572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6573 (__libc_ifunc_impl_list): Likewise.
6574 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6575 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6577 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6578 multiarch wcscpy for PPC64.
6579
7b714620
AZ
6580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6581 multiarch implementations.
6582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6583 (__libc_ifunc_impl_list): Likewise.
6584 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6585 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6586 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6587 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6588 multiarch wcsrchr for PPC64.
6589
16fd2ae3
AZ
6590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6591 multiarch implementations.
6592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6593 (__libc_ifunc_impl_list): Likewise.
6594 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6595 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6596 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6597 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6598 multiarch wcschr for PPC64.
6599
9ee2969b
AZ
6600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6601 multiarch implementations.
6602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6603 (__libc_ifunc_impl_list): Likewise.
6604 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6605 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6607 multiarch strchrnul for PPC64.
6608
372dc060
AZ
6609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6610 implementations.
6611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6612 (__libc_ifunc_impl_list): Likewise.
6613 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6614 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6615 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6616 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6617 strchr for PPC64.
6618
24c2c3b9
AZ
6619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6620 implementations.
6621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6622 (__libc_ifunc_impl_list): Likewise.
6623 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6624 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6625 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6626 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6627 strncmp for PPC64.
6628
1c92d9a0
AZ
6629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6630 multiarch implementations.
6631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6632 (__libc_ifunc_impl_list): Likewise.
6633 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6634 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6635 strncasecmp for PPC64.
6636 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6637 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6638 multiarch strncasecmp_l for PPC64.
6639
17de3ee3
AZ
6640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6641 multiarch implementations.
6642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6643 (__libc_ifunc_impl_list): Likewise.
6644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6646 multiarch strcasecmp for PPC64.
6647 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6648 file.
6649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6650 multiarch strcasecmp_l for PPC64.
6651
62982bf9
AZ
6652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6653 implementations.
6654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6655 (__libc_ifunc_impl_list): Likewise.
6656 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6657 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6658 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6659 strnlen for PPC64.
6660
a65f4904
AZ
6661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6662 implementations.
6663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6664 (__libc_ifunc_impl_list): Likewise.
6665 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6666 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6667 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6668 strlen for PPC64.
6669
1fd005ad
AZ
6670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6671 implementations.
6672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6673 (__libc_ifunc_impl_list): Likewise.
6674 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6675 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6676 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6677 rawmemrchr for PPC64.
6678
cd05ba91
AZ
6679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6680 implementation.
6681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6682 (__libc_ifunc_impl_list): Likewise.
6683 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6684 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6685 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6686 memrchr for PPC64.
6687
870f8676
AZ
6688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6689 implementation.
6690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6691 (__libc_ifunc_impl_list): Likewise.
6692 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6693 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6694 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6695 memchr for PPC64.
6696
f00be62b
AZ
6697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6698 implementation.
6699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6700 (__libc_ifunc_impl_list): Likewise.
6701 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6702 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6703 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6704 mempcpy for PPC64.
6705
8a29a3d0
AZ
6706 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6707 avoid cretion of __bzero symbol.
6708 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6709 Likewise.
6710 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6711 Likewise.
6712 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6713 Likewise.
6714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6715 multiarch implementations.
6716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6717 (__libc_ifunc_impl_list): Likewise.
6718 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6719 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6720 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6721 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6722 bzero for PPC32.
6723 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6724 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6725 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6726 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6727 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6728 memset for PPC64.
6729 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6730
07253fcf
AZ
6731 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6733 implementations.
6734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6735 (__libc_ifunc_impl_list): Likewise.
6736 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6737 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6738 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6739 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6740 memcmp for PPC64.
6741
b5beafbc
AZ
6742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6743 multiarch for POWER/PPC64.
6744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6745 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6749 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6750 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6752 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6753 memcpy for PPC64.
6754
5e6a4d4b
AZ
6755 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6756 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6757 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6758 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6759 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6760 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6761 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6762 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6763 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6764 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6765 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6766 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6767 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6768 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6769 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6777
ddfab6dc
KK
67782013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6779
6780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6781
19b5525e
SP
67822013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6783
6784 * benchtests/Makefile (bench): Add exp2 and log2.
6785 (LDLIBS-bench-exp2): Add -lm.
6786 (LDLIBS-bench-log2): Likewise.
6787 * benchtests/exp2-inputs: New inputs file.
6788 * benchtests/log2-inputs: New inputs file.
6789 * benchtests/log-inputs: Add new inputs.
6790 * benchtests/tan-inputs: Likewise.
6791
196f7f5d
SP
67922013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6793
7a74607f
SP
6794 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6795 definition...
57f41c40
AS
6796 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6797 (csloww2): ... from here.
7a74607f 6798
196f7f5d
SP
6799 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6800 instead of structures.
6801 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6802 (POLYNOMIAL): Likewise.
6803 (TAYLOR_SLOW): Likewise.
6804 (__sin): Likewise.
6805 (__cos): Likewise.
6806 (slow1): Likewise.
6807 (slow2): Likewise.
6808 (sloww): Likewise.
6809 (sloww1); Likewise.
6810 (sloww2): Likewise.
6811 (bsloww1): Likewise.
6812 (bsloww2): Likewise.
6813 (cslow2): Likewise.
6814 (csloww): Likewise.
6815 (csloww1): Likewise.
6816 (csloww2): Likewise.
6817
0dfa665c
OB
68182013-12-10 Ondřej Bílka <neleai@seznam.cz>
6819
6820 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6821 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6822 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6823 * malloc/hooks.c (realloc_check): Likewise.
6824
5782a80f
OB
6825 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6826 * malloc/arena.c: Remove PER_THREAD conditional.
6827 [!PER_THREAD]: Remove code.
6828 (ptmalloc_unlock_all2): Likewise.
6829 (ptmalloc_init): Likewise.
6830 (_int_new_arena): Likewise.
6831 (arena_get2): Likewise.
6832 * malloc/hooks.c (__malloc_get_state): Likewise.
6833 (__malloc_set_state): Likewise.
6834 * malloc/malloc.c: Likewise.
6835 (struct malloc_state): Likewise.
6836 (struct malloc_par): Likewise.
6837 (__libc_realloc): Likewise.
6838 (__libc_mallopt): Likewise.
6839
aeb95445
AZ
68402013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841
6842 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6843
e8349efd
OB
68442013-12-09 Ondřej Bílka <neleai@seznam.cz>
6845
6846 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6847 macro to a function. Check for zero perturb_byte.
6848 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6849
f3eeb3fc 6850 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6851 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6852 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6853 force_reg by atomic_forced_read.
6854 * malloc/arena.c (ptmalloc_init): Likewise.
6855 * malloc/hooks.c (top_check): Likewise.
6856
be2f9009
AZ
68572013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6858
6859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6860
e7b914bd
MT
68612013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6862
6863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6864
9f0be4f8
JM
68652013-12-08 Joseph Myers <joseph@codesourcery.com>
6866
6867 * math/auto-libm-test-in: Add tests of lgamma.
6868 * math/auto-libm-test-out: Regenerated.
6869 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6870 (M_LOG_2_SQRT_PIl): Likewise.
6871 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6872 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6873 mpfr_f_f1.
6874 (func_calc_desc): Add mpfr_f_f1 union field.
6875 (ARGS1): New macro.
6876 (ARGS2): Likewise.
6877 (ARGS3): Likewise.
6878 (ARGS4): Likewise.
6879 (RET1): Likewise.
6880 (RET2): Likewise.
6881 (CALC): Likewise.
6882 (FUNC): Likewise.
6883 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6884 (test_functions): Add lgamma.
6885 (calc_generic_results): Handle mpfr_f_f1.
6886 * sysdeps/i386/fpu/libm-test-ulps: Update.
6887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6888
24eeafdb
AZ
68892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890
6891 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6892 __mpn_add_n for PowerPC64/POWER7.
6893 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6894 __mpn_sub_n for PowerPC64/POWER7.
6895
4a2c0fd4
AZ
6896 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6897 __mpn_addmul_1 for PowerPC64.
6898 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6899 __mpn_submul_1 for PowerPC64.
6900 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6901 for PowerPC64.
6902 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6903 for PowerPC64.
6904
4b5b548c
FS
69052013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6906
6907 [BZ #15089]
6908 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6909
0a3ac0aa
AZ
69102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6911
6912 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6913
ccdc8438
AZ
6914 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6915 add multiarch folders.
6916 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6917 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6918 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6919 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6920 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6921 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6922 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6923 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6924 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6925 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6926 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6933
2e973d99
AZ
6934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6935 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6937 New file.
6938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6939 New file.
6940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6941 multiarch __ieee754_hypot for PowerPC32.
6942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6943 New file.
6944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6945 New file.
6946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6947 multiarch __ieee754_hypotf for PowerPC32.
6948
2d9470b2
AZ
6949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6950 long_double_symbol only if __logbl is defined.
6951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6952 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6954 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6956 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6958 path for implementation.
6959 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6962 logb, and logbl multiarch implementations for PowerPC32.
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6964 file.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6966 file.
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6968 multiarch logb for PowerPC32.
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6970 file.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6972 file.
6973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6974 multiarch logbf for PowerPC32.
6975 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6977 file.
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6979 multiarch logbl implementation for PowerPC32.
6980
5212ffce
AZ
6981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6982 and modff multiarch implementations.
6983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6984 New file.
6985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6986 New file.
6987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6988 multiarch modf for PowerPC32.
6989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6990 New file.
6991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6992 New file.
6993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6994 multiarch modff for PowerPC32.
6995
79dccf31
AZ
6996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6997 and lrintf multiarch implementations.
6998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6999 New file.
7000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7001 New file.
7002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7003 multiarch lrint for PowerPC32.
7004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7005 file: multiarch lrintf for PowerPC32.
7006
deb66480
AZ
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7008 and lroundf multiarch implementations.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7010 New file.
7011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7012 New file.
7013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7014 New file.
7015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7016 multiarch lround for PowerPC32.
7017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7018 file: multiarch lroundf for PowerPC32.
7019
264b036b
AZ
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7021 copysign and copysignf multiarch implementations.
7022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7023 New file.
7024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7025 New file.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7027 file: multiarch copysign for PowerPC32.
7028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7029 file: multiarch copysignf for PowerPC32.
7030
d47db6c9
AZ
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7032 and truncf multiarch implementations.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7034 New file.
7035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7036 file.
7037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7038 multiarch trunc for PowerPC32.
7039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7040 New file.
7041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7042 New file.
7043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7044 multiarch truncf for PowerPC32.
7045
ddb60b5a
AZ
7046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7047 and roundf multiarch implementations.
7048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7049 New file.
7050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7051 file.
7052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7053 multiarch round for PowerPC32.
7054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7055 New file.
7056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7057 New file.
7058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7059 multiarch roundf for PowerPC32.
7060
bedcf49b
AZ
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7062 and floorf multiarch implementations.
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7064 New file.
7065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7066 file.
7067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7068 multiarch floor for PowerPC32.
7069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7070 New file.
7071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7072 New file.
7073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7074 multiarch floorf for PowerPC32.
7075
35ae5b40
AZ
7076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7077 and ceilf multiarch implementations.
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7079 New file.
7080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7081 file.
7082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7083 multiarch ceil for PowerPC32.
7084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7085 New file.
7086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7087 file.
7088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7089 multiarch ceilf for PowerPC32.
7090
ae1a4cd9
AZ
7091 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7092 is defined.
7093 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7094 FINITEF is defined.
7095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7096 and finitef multiarch implementations.
7097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7098 New file.
7099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7100 file.
7101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7102 multiarch finite for PowerPC32.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7104 New file.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7106 file: multiarch finitef for PowerPC32.
7107
64fffd65
AZ
7108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7109 and isinff multiarch implementations.
7110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7111 file.
7112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7113 file.
7114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7115 multiarch isinf for PowerPC32.
7116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7117 New file.
7118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7119 multiarch isinff for PowerPC32.
7120
8e4e7ba2
AZ
7121 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7122 alias when __isnan is defined.
7123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7124 and isnanf multiarch implementations.
7125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7126 file.
7127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7128 file.
7129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7130 file.
7131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7132 file.
7133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7134 multiarch isnan for PowerPC32.
7135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7136 New file.
7137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7138 New file.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7140 multiarch isnanf for PowerPC32.
7141
ddba588e
AZ
7142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7143 and sqrtf multiarch implementations.
7144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7145 file.
7146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7147 file.
7148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7149 multiarch sqrt for PowerPC32.
7150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7151 file.
7152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7153 file.
7154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7155 multiarch sqrtf for PowerPC32.
7156
0f96a2f0
AZ
7157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7158 and llroundf multiarch implementations.
7159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7160 New file.
7161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7162 New file.
7163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7164 New file.
7165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7166 file: multiarch llround for PowerPC32.
7167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7168 file: multiarch llroundf for PowerPC32.
7169
c9b5d79e
AZ
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7171 multiarch PowerPC32 fpu implementations.
7172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7173 New file.
7174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7175 New file.
7176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7177 multiarch llrint for PowerPC32.
7178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7179 New file.
7180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7181 New file.
7182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7183 file.
7184
9cbb3aab
AZ
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7186
ea5a72f8
AZ
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7188 file.
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7190 file.
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7192 file.
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7194 multiarch wordcopy for PPC32.
7195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7196 wordcopy objects.
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7198 (__libc_ifunc_impl_list): Likewise.
7199 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7200 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7201 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7202 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7204 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7205
93be09e7
AZ
7206 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7208 file.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7210 file.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7212 file.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7214 multiarch wcscpy for PPC32.
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7216 multiarch objects.
7217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7218 (__libc_ifunc_impl_list): Likewise.
7219 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7220 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7221 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7222 sysdeps/powerpc/power6/wcscpy.c.
7223
bb04e529
AZ
7224 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7226 file.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7228 file.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7230 file.
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7232 multiarch wcsrchr for PPC32.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7234 multiarch objects.
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7236 (__libc_ifunc_impl_list): Likewise.
7237 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7238 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7239 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7240 sysdeps/powerpc/power6/wcsrchr.c.
7241
05b5cd1c
AZ
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7243 file.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7245 file.
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7248 multiarch wcschr for PPc32.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7250 multiarch objects.
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7252 (__libc_ifunc_impl_list): Likewise.
7253 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7254 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7255 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7256 sysdeps/powerpc/power6/wcschr.c.
7257
ba964147
AZ
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7259 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7260 file.
7261 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7262 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7263 file: multiarch strchr for PPC32.
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7265 multiarch objects.
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7267 (__libc_ifunc_impl_list): Likewise.
7268
31c81aaa
AZ
7269 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7270 name.
7271 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7272 file.
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7274 file.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7276 multiarch strchrnul for PPC32.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7278 multiarch objects.
7279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7280 (__libc_ifunc_impl_list): Likewise.
7281
0d0607d9
AZ
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7283 file.
7284 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7285 multiarch strncasecmp for PPC32.
7286 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7287 file.
7288 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7289 multiarch strncasecmp_l for PPC32.
7290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7291 strncasecmp multiarch objects.
7292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7293 (__libc_ifunc_impl_list): Likewise.
7294
4dfd5c86
AZ
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7296 file.
7297 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7298 multiarch strncasecmp for PPC32.
7299 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7300 New file.
7301 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7302 multiarch strcasecmp_l for PPC32.
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7304 multiarch objects.
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7306 (__libc_ifunc_impl_list): Likewise.
7307
a19e01a3
AZ
7308 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7309 file.
7310 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7311 file.
7312 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7313 multiarch strncmp for PPC32.
7314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7315 multiarch objects.
7316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7317 (__libc_ifunc_impl_list): Likewise.
7318
ae9cf7a2
AZ
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7320 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7321 file.
7322 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7325 multiarch objects.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7327 (__libc_ifunc_impl_list): Likewise.
7328
3148bb7d
AZ
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7330 file.
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7332 file.
7333 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7335 multiarch objects.
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7337 (__libc_ifunc_impl_list): Likewise.
7338
7af8b946
AZ
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7340 file.
7341 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7342 file.
7343 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7344 multiarch rawmemchr for PPC32.
7345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7346 multiarch objects.
7347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7348 (__libc_ifunc_impl_list): Likewise.
7349
03a6aa6a
AZ
7350 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7351 file.
7352 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7353 file.
7354 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7355 file: memrchr multiarch for PPC32.
7356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7357 multiarch objects.
7358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7359 (__libc_ifunc_impl_list): Likewise.
7360
1c62e6d9
AZ
7361 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7362 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7363 file.
7364 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7365 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7366 multiarch memchr for PPC32.
7367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7368 multiarch objects.
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7370 (__libc_ifunc_impl_list): Likewise.
7371
87da8bdb
AZ
7372 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7373 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7374 file.
7375 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7376 file.
7377 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7378 file: multiarch mempcpy for PPC32.
7379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7380 multiarch objects.
7381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7382 (__libc_ifunc_impl_list): Likewise.
7383
20ed4714
AZ
7384 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7385 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7387 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7388 multiarch bzero for PPC32.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7390 file.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7392 file.
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7394 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7395 file: multiarch memset for PPC32.
7396 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7398 memset multiarch objects.
7399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7400 (__libc_ifunc_impl_list): Likewise.
7401
ab3e3a46
AZ
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7403 file.
7404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7406 memcmp for PPC32.
7407 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7409 multiarch objects.
7410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7411 (__libc_ifunc_impl_list): Likewise.
7412
930de6f0
AZ
7413 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7416 file.
7417 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7418 file.
7419 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7420 file.
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7422 multiarch memcpy for PPC32.
7423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7424 multiarch objects.
7425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7426 (__libc_ifunc_impl_list): Likewise.
7427
4c628e00
AZ
7428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7429 support multiarch for POWER/PPC32.
7430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7431 Likewise.
7432 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7434 Implies file to make multiarch folder appers before the fpu and
7435 default folder for power4 configuration.
7436
f4479220
SP
74372013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7438
7439 * scripts/bench.pl: Append volatile keyword to type.
7440
8517800f
KK
74412013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7442
7443 * sysdeps/sh/sotruss-lib.c: New file.
7444 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7445
180138f1
AZ
74462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7447
7448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7449
bbf37bdc
JM
74502013-12-05 Joseph Myers <joseph@codesourcery.com>
7451
e47cc4e0
JM
7452 [BZ #6810]
7453 * math/w_tgamma.c: Include <errno.h>.
7454 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7455 * math/w_tgammaf.c: Include <errno.h>.
7456 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7457 * math/w_tgammal.c: Include <errno.h>.
7458 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7459 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7460 underflow. Add more tgamma tests.
7461 * math/auto-libm-test-out: Regenerated.
7462 * sysdeps/i386/fpu/libm-test-ulps: Update.
7463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7464
bbf37bdc
JM
7465 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7466 sin, sinh, tan, tanh, tgamma, y0 and y1.
7467 * math/auto-libm-test-out: Regenerated.
7468 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7469 (TEST_COND_x86): Likewise.
7470 (M_E2l): Remove macro.
7471 (M_E3l): Likewise.
7472 (M_2_SQRT_PIl): Likewise.
7473 (M_SQRT_PIl): Likewise.
7474 (M_1_DIV_El): Likewise.
7475 (log_test_data): Use AUTO_TESTS_f_f.
7476 (log10_test_data): Likewise.
7477 (log1p_test_data): Likewise.
7478 (log2_test_data): Likewise.
7479 (sin_test_data): Likewise.
7480 (sin_tonearest_test_data): Likewise.
7481 (sin_towardzero_test_data): Likewise.
7482 (sin_downward_test_data): Likewise.
7483 (sin_upward_test_data): Likewise.
7484 (sinh_test_data): Likewise.
7485 (sinh_tonearest_test_data): Likewise.
7486 (sinh_towardzero_test_data): Likewise.
7487 (sinh_downward_test_data): Likewise.
7488 (sinh_upward_test_data): Likewise.
7489 (tan_test_data): Likewise.
7490 (tan_tonearest_test_data): Likewise.
7491 (tan_towardzero_test_data): Likewise.
7492 (tan_downward_test_data): Likewise.
7493 (tan_upward_test_data): Likewise.
7494 (tanh_test_data): Likewise.
7495 (tgamma_test_data): Likewise.
7496 (y0_test_data): Likewise.
7497 (y1_test_data): Likewise.
7498 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7499 (special_real_inputs): Add pi/4.
7500 * sysdeps/i386/fpu/libm-test-ulps: Update.
7501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7502
eb5ad6b9
AZ
75032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7504
7505 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7506 "longjmp_target" static probes.
7507 (__longjmp): Rename to __longjmp_symbol.
7508 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7509 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7510 on which longjmp to generate.
7511 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7512 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7513 probe.
7514 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7515 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7516 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7517 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7518 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7519 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7521 __longjmp_symbol based on which __longjmp to generate.
7522 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7523 probe.
7524 (setjmp): Rename to setjmp_symbol.
7525 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7526 (_setjmp): Rename to _setjmp_symbol.
7527 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7528 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7529 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7530 which setjmp to generate.
7531 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7532 "longjmp_target" static probes.
7533
d136c6dc
SP
75342013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7535
9298ecba
SP
7536 * benchtests/README: Add note about output arguments.
7537 * benchtests/bench-sincos.c: Remove file.
7538 * benchtests/sincos-inputs: New file.
7539 * scripts/bench.pl: Identify output arguments and define
7540 static variables for them.
7541
232983e9
SP
7542 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7543
d136c6dc
SP
7544 [BZ #15941]
7545 * Makefile (INSTALL): Add install-plain.texi as the primary
7546 dependency.
7547 * manual/install-plain.texi: New file.
7548 * manual/install.texi: Include node directive only for
7549 non-plaintext output.
7550
699ff837
JM
75512013-12-04 Joseph Myers <joseph@codesourcery.com>
7552
ab07cea8
JM
7553 * stdlib/longlong.h: Update from GCC.
7554
699ff837
JM
7555 [BZ #6807]
7556 [BZ #15901]
7557 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7558 * math/w_j0f.c (y0f): Likewise.
7559 * math/w_j0l.c (__y0l): Likewise.
7560 * math/w_j1.c (y1): Likewise.
7561 * math/w_j1f.c (y1f): Likewise.
7562 * math/w_j1l.c (__y1l): Likewise
7563 * math/w_jn.c (yn): Likewise.
7564 * math/w_jnf.c (ynf): Likewise.
7565 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7566 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7567 value for Bessel function domain errors outside _SVID_ mode.
7568 Adjust sign of return value for yn (negative integer, 0).
7569 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7570 by zero in return for negative x and set sign appropriately for
7571 negative n.
7572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7573 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7574 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7575 expectations in error cases.
7576 (y1_test_data): Likewise.
7577 (yn_test_data): Likewise.
7578 * sysdeps/i386/fpu/libm-test-ulps: Update.
7579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7580
5b118558
UW
75812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7582
7583 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7584 "64" to "64-v1". Add "64-v2".
7585 (abi-64-options): Rename to ...
7586 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7587 (abi-64-condition): Rename to ...
7588 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7589 (abi-64-ld-soname): Rename to ...
7590 (abi-64-v1-ld-soname): ... this.
7591 (abi-64-v2-options): Define.
7592 (abi-64-v2-condition): Likewise.
7593 (abi-64-v2-ld-soname): Likewise.
7594 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7595 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7599
61cd8fe4
UW
76002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7601 Alan Modra <amodra@gmail.com>
7602
7603 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7604 New versions for use with the ELFv2 ABI.
7605 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7606 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7607 declaration.
7608 (struct La_ppc64v2_retval): Likewise.
7609 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7610 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7611 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7612 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7613 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7614 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7615 Do not save or restore CR.
7616 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7617 (_dl_profile_resolve): Do no save or restore CR. Support extended
7618 return values for ELFv2 ABI. Fix location of FPR return registers.
7619 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7620 updated values for _CALL_ELF == 2.
7621 (La_regs, La_retval, int_retval): Likewise.
7622
8b8a692c
UW
76232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7624
7625 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7626 (FRAME_MIN_SIZE_PARM): Likewise.
7627 (FRAME_BACKCHAIN): Likewise.
7628 (FRAME_CR_SAVE): Likewise.
7629 (FRAME_LR_SAVE): Likewise.
7630 (FRAME_TOC_SAVE): Likewise.
7631 (FRAME_PARM_SAVE): Likewise.
7632 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7633 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7634 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7635 (call_mcount_parm_offset): New macro.
7636 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7637 (PROF): Use symbolic stack frame offsets.
7638 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7639 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7640 Redefine in terms of FRAME_MIN_SIZE.
7641 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7642 (_dl_profile_resolve): Likewise. Update comment.
7643 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7644 symbols stack frame offsets.
7645 (__sigsetjmp): Likewise.
7646 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7647 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7648 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7649 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7650
7651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7652 (FRAME_BACKCHAIN): Remove.
7653 (FRAME_CR_SAVE): Likewise.
7654 (FRAME_LR_SAVE): Likewise.
7655 (FRAME_COMPILER_DW): Likewise.
7656 (FRAME_LINKER_DW): Likewise.
7657 (FRAME_TOC_SAVE): Likewise.
7658 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7659 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7660 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7661 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7663 (CHECK_SP): Use symbolic stack frame offsets.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7665 zone" instead of caller's parameter save area for temp storage.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7667 Likewise. Also, use symbolic stack frame offsets.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7669 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7670 our own stack frame instead of the caller's.
7671 (__socket): Use symbolic stack frame offsets.
7672
122b66de
UW
76732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7674 Alan Modra <amodra@gmail.com>
7675
7676 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7677 Define.
57f41c40
AS
7678 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7679 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7680 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7681 New function.
7682 (elf_machine_fixup_plt): Call it.
7683 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7684 reloc arguments.
7685 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7686 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7687 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7688 r2 before calling target.
7689
696caf1d
UW
76902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7691 Alan Modra <amodra@gmail.com>
7692
7693 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7694 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7695 versions of macros to support ELFv2 ABI.
7696 (LOCALENTRY): New macro.
7697 (ENTRY, EALIGN): Use it.
7698 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7699 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7700 fall through into ENTRY entry point.
7701 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7702 Only define if _CALL_ELF != 2.
7703
7704 (elf_machine_matches_host): Verify ABI version matches.
7705 (RTLD_START): Use LOCALENTRY.
7706 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7707 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7708 (PLT_ENTRY_WORDS): New macro.
7709 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7710 (elf_machine_runtime_setup): Support ELFv2 ABI.
7711 (elf_machine_fixup_plt): Likewise.
7712 (elf_machine_plt_conflict): Likewise.
7713 (resolve_ifunc): Likewise.
7714 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7716 Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7718 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7720 (makecontext): Support ELFv2 ABI.
7721 * elf/elf.h (EF_PPC64_ABI): Define.
7722
d31beafa
UW
77232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7724
57f41c40
AS
7725 * sysdeps/powerpc/powerpc64/sysdep.h
7726 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7727 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7728 (ENTRY) [ASSEMBLER]: ... but instead here ...
7729 (EALIGN) [ASSEMBLER]: ... and here.
7730 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7731 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7732 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7733 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7734 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7735 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7736 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7737 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7739 Use PPC64_LOAD_FUNCPTR.
7740
b525166b
UW
7741 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7742
7ec07d9a
AM
77432013-12-04 Alan Modra <amodra@gmail.com>
7744
7745 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7746 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7747 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7748 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7749
7750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7751 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7752 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7753 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7754 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7755 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7756
5162e7dd
UW
77572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7758
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7760 (__makecontext): Fix incorrect CFI when backtracing out of
7761 context created via makecontext.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7763 (__setcontext): Fix incorrect CFI during switch to new context.
7764 (__novec_setcontext): Likewise.
7765
19e3372b
OB
77662013-12-04 Ondřej Bílka <neleai@seznam.cz>
7767
7768 [BZ #4772]
7769 * time/strptime_l.c (__strptime_internal): Allow modifiers
7770 in strptime.
7771 * time/tst-strptime.c (day_tests): Add testcase.
7772
ecaf142d
SP
77732013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7774
7775 * scripts/bench.pl: Skip over blank lines.
7776
fbf964ae
PE
77772013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7778
7779 [BZ #926]
7780 * manual/time.texi (Calendar Time): Clarify what timezone functions
7781 use.
7782
fa60a674
AZ
77832013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7784
7785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7786
d674f0ef
OB
77872013-12-04 Ondřej Bílka <neleai@seznam.cz>
7788
7789 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7790 implementation.
7791 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7792 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7793 * debug/memset_chk.c (__memset_chk): Likewise.
7794 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7795 * debug/strncpy_chk.c: Likewise.
7796
17dea188
JM
77972013-12-03 Joseph Myers <joseph@codesourcery.com>
7798
749008ff
JM
7799 [BZ #15268]
7800 [BZ #15425]
7801 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7802 (__ieee754_exp): For possibly underflowing results, check size of
7803 result and force underflow exception if required.
7804 * math/auto-libm-test-in: Add more tests of exp.
7805 * math/auto-libm-test-out: Regenerated.
7806 * sysdeps/i386/fpu/libm-test-ulps: Update.
7807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7808
17dea188
JM
7809 [BZ #16283]
7810 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7811 * math/w_exp2f.c (__exp2f): Likewise.
7812 * math/w_exp2l.c (__exp2l): Likewise.
7813 * math/auto-libm-test-in: Do not allow missing errno on exp2
7814 underflow.
7815 * math/auto-libm-test-out: Regenerated.
7816
b20de2c3
OB
78172013-12-03 Ondřej Bílka <neleai@seznam.cz>
7818
7819 [BZ #16274]
7820 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7821 handle filename validation.
7822 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7823 (do_open): Delete.
7824
d8e2dbe3
JM
78252013-12-03 Joseph Myers <joseph@codesourcery.com>
7826
34e16df5
JM
7827 [BZ #6786]
7828 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7829 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7830 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7831 <float.h>.
7832 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7833 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7834 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7836 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7838 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7839 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7840 Add more erfc tests.
7841 * math/auto-libm-test-out: Regenerated.
7842 * sysdeps/i386/fpu/libm-test-ulps: Update.
7843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7844
d8e2dbe3
JM
7845 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7846 exp2, expm1, j0 and j1.
7847 * math/auto-libm-test-out: Regenerated.
7848 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7849 (erfc_test_data): Likewise.
7850 (exp_test_data): Likewise.
7851 (exp_tonearest_test_data): Likewise.
7852 (exp_towardzero_test_data): Likewise.
7853 (exp_downward_test_data): Likewise.
7854 (exp_upward_test_data): Likewise.
7855 (exp10_test_data): Likewise.
7856 (exp2_test_data): Likewise.
7857 (expm1_test_data): Likewise.
7858 (j0_test_data): Likewise.
7859 (j1_test_data): Likewise.
7860 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7861 (input_flag_type): Add flag_xfail_rounding.
7862 (input_flags): Add xfail-rounding.
7863 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7864 (output_for_one_input_case): Handle flag_xfail_rounding.
7865 * sysdeps/i386/fpu/libm-test-ulps: Update.
7866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7867
18d14251
AJ
78682013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7869
3d2e6075 7870 [BZ #16289]
18d14251
AJ
7871 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7872 division by 0.
7873
520d437b
SP
78742013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7875
7876 [BZ #16195]
7877 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7878 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7879 (STAP_PROBE0): New macro.
7880 (STAP_PROBE1): Likewise.
7881 (STAP_PROBE2): Likewise.
7882 (STAP_PROBE3): Likewise.
7883 (STAP_PROBE4): Likewise.
7884
416e0145
OB
78852013-12-02 Ondřej Bílka <neleai@seznam.cz>
7886
7887 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7888
9d17796a
SE
78892013-12-02 Steve Ellcey <sellcey@mips.com>
7890
7891 * benchtests/Makefile (bench): Add sqrt.
7892 (LDLIBS-bench-sqrt): New.
7893 * benchtests/sqrt-input: New.
7894
f524d6a8
PS
78952013-12-02 Pavel Simerda <psimerda@redhat.com>
7896
639a0ef8
PS
7897 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7898 (GAIH_EAI): Likewise.
7899 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7900 (gaih_inet): Likewise.
7901 (getaddrinfo): Don't use GAIH_EAI.
7902
f524d6a8
PS
7903 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7904 (struct gaih): Remove definition.
7905
df3aedaf
SP
79062013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7907
7908 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7909 Use HERRNOP directly.
7910
1ab19dec
AZ
79112013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7912
b42ad38d 7913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7914
176b0c79
JM
79152013-11-30 Joseph Myers <joseph@codesourcery.com>
7916
7917 * math/gen-auto-libm-tests.c (test_functions): Add more
7918 single-argument functions.
7919 (special_fill_pi_2): New function.
7920 (special_fill_minus_pi_2): Likewise.
7921 (special_fill_pi_6): Likewise.
7922 (special_fill_minus_pi_6): Likewise.
7923 (special_fill_pi_3): Likewise.
7924 (special_fill_2pi_3): Likewise.
7925 (special_fill_e): Likewise.
7926 (special_fill_1_e): Likewise.
7927 (special_fill_e_minus_1): Likewise.
7928 (special_real_inputs): Add more special inputs.
7929 (output_for_one_input_case): Do not require ERANGE on underflow to
7930 zero if round-to-nearest result does not underflow to zero, unless
7931 exact results required.
7932 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7933 atan, atanh, cbrt, cos and cosh.
7934 * math/auto-libm-test-out: Regenerated.
7935 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7936 (acos_tonearest_test_data): Likewise.
7937 (acos_towardzero_test_data): Likewise.
7938 (acos_downward_test_data): Likewise.
7939 (acos_upward_test_data): Likewise.
7940 (acosh_test_data): Likewise.
7941 (asin_test_data): Likewise.
7942 (asin_tonearest_test_data): Likewise.
7943 (asin_towardzero_test_data): Likewise.
7944 (asin_upward_test_data): Likewise.
7945 (asinh_test_data): Likewise.
7946 (atan_test_data): Likewise.
7947 (atanh_test_data): Likewise.
7948 (cbrt_test_data): Likewise.
7949 (cos_test_data): Likewise.
7950 (cos_tonearest_test_data): Likewise.
7951 (cos_towardzero_test_data): Likewise.
7952 (cos_downward_test_data): Likewise.
7953 (cos_upward_test_data): Likewise.
7954 (cosh_test_data): Likewise.
7955 (cosh_tonearest_test_data): Likewise.
7956 (cosh_towardzero_test_data): Likewise.
7957 (cosh_downward_test_data): Likewise.
7958 (cosh_upward_test_data): Likewise.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7961
ffb536d0
JM
79622013-11-29 Joseph Myers <joseph@codesourcery.com>
7963
2a77a467
JM
7964 [BZ #6787]
7965 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7966 * math/w_exp10f.c (__exp10f): Likewise.
7967 * math/w_exp10l.c (__exp10l): Likewise.
7968 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7969 errno settings in existing tests.
7970
ea3bc4e8
JM
7971 [BZ #14032]
7972 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7973 precision control set to double precision.
7974 * sysdeps/i386/fpu/w_sqrt.c: New file.
7975 * math/auto-libm-test-in: Add more tests.
7976 * math/auto-libm-test-out: Update.
7977
0712c9d8
JM
7978 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7979 (sqrt_test_tonearest): New function.
7980 (sqrt_towardzero_test_data): New variable.
7981 (sqrt_test_towardzero): New function.
7982 (sqrt_downward_test_data): New variable.
7983 (sqrt_test_downward): New function.
7984 (sqrt_upward_test_data): New variable.
7985 (sqrt_test_upward): New function.
7986 (main): Call the new functions.
7987
ffb536d0
JM
7988 * math/gen-auto-libm-tests.c: New file.
7989 * math/auto-libm-test-in: Likewise.
7990 * math/auto-libm-test-out: New generated file.
7991 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7992 variables.
7993 (%beautify): Add generated representations of zero.
7994 (top level): Set $auto_input and call parse_auto_input.
7995 (beautify): Remove trailing "f" from hex float constants.
7996 (parse_args): Handle XFAIL_TEST.
7997 (convert_condition): New function.
7998 (or_value): Likewise.
7999 (or_cond_value): Likewise.
8000 (generate_testfile): Handle AUTO_TESTS_* lines.
8001 (parse_auto_input): New function.
8002 * math/libm-test.inc (XFAIL_TEST): New macro.
8003 (ERRNO_UNCHANGED): Update value.
8004 (ERRNO_EDOM): Likewise.
8005 (ERRNO_ERANGE): Likewise.
8006 (IGNORE_RESULT): Likewise.
8007 (TEST_COND_flt_32): New macro.
8008 (TEST_COND_dbl_64): Likewise.
8009 (TEST_COND_ldbl_96_intel): Likewise.
8010 (TEST_COND_ldbl_96_m68k): Likewise.
8011 (TEST_COND_ldbl_128): Likewise.
8012 (TEST_COND_ldbl_128ibm): Likewise.
8013 (TEST_COND_long32): Likewise.
8014 (TEST_COND_long64): Likewise.
8015 (TEST_COND_before_rounding): Likewise.
8016 (TEST_COND_after_rounding): Likewise.
8017 (enable_test): Handle XFAIL_TEST flag.
8018 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8019 with finite results.
8020 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8021 auto-libm-test-out.
8022
acd98a8e
AK
80232013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8024 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8025
8026 [BZ #16214]
8027 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8028 __tls_get_addr_internal instead of __tls_get_offset in order to
8029 avoid GOT pointer dependency. Make rtld export
8030 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8031 __tls_get_addr since we are a __tls_get_offset platform.
8032 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8033 GOT pointer being set up before.
8034 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8035
3c1c46a6
JM
80362013-11-28 Joseph Myers <joseph@codesourcery.com>
8037
7475aef5
JM
8038 * manual/math.texi (Errors in Math Functions): Document accuracy
8039 goals.
8040
8bca7cd8
JM
8041 [BZ #15004]
8042 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8043 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8045 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8046 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8048 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8049 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8051 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8054 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8055 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8058
91a1f3fe
JM
8059 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8060 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8061 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8062 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8063 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8064 Likewise.
8065 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8066 Likewise.
8067 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8068 Likewise.
8069 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8070 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8071 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8072 atomic-feupdateenv and flt-rounds.
8073 * sysdeps/powerpc/nofpu/Versions (libc): Add
8074 __atomic_feholdexcept, __atomic_feclearexcept,
8075 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8076 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8077 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8078 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8079 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8080 here.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8082 Update.
8083
c5df7609
JM
8084 * manual/arith.texi (FP Exceptions): Document that exceptions may
8085 not be raised when matherr is used.
8086 (Math Error Reporting): Document overflow in directed rounding
8087 modes. Document that errno may not be set when finite values are
8088 returned on overflow. Document intent to set errno on underflow
8089 only for underflow to zero.
8090
3c1c46a6
JM
8091 [BZ #16271]
8092 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8093 round-to-nearest then adjust result for other rounding modes.
8094 * include/fenv.h (fegetround): Use libm_hidden_proto.
8095 * math/fegetround.c (fegetround): Use libm_hidden_def.
8096 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8097 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8098 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8100 Likewise.
8101 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8102 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8103 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8104 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8105
5a4c6d53
SP
81062013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8107
8108 [BZ #16077]
8109 * nss/Versions (libnss_files): Add
8110 _nss_files_gethostbyname3_r.
8111 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8112 New function.
8113 (HOST_DB_LOOKUP): Remove macro.
8114 (_nss_files_gethostbyname_r): Implement function without the
8115 HOST_DB_LOOKUP macro.
8116 (_nss_files_gethostbyname2_r): Likewise.
8117
897b98ba
OB
81182013-11-28 Ondřej Bílka <neleai@seznam.cz>
8119
8120 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8121
6f476861
UB
81222013-11-26 Uros Bizjak <ubizjak@gmail.com>
8123
8124 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8125 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8126 warning.
8127
bd12ab55
AZ
81282013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8129
8130 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8131 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8132 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8133 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8134 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8135 __fe_nomask_env_priv and attribute_hidden.
8136 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8137 (libc_feupdateenv_test_ppc): Likewise.
8138 (libc_feresetround_ppc): Likewise.
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8140 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8141 compat_symbol macro.
8142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8143 (__fe_nomask_env): Likewise.
8144 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8145
52bb6543
OB
81462013-11-26 Ondřej Bílka <neleai@seznam.cz>
8147
8148 * string/Makefile: Remove ifunc tests.
8149 * string/test-string.h: Define TEST_IFUNC.
8150 * string/test-bcopy-ifunc.c: Remove.
8151 * string/test-bzero-ifunc.c: Likewise.
8152 * string/test-memccpy-ifunc.c: Likewise.
8153 * string/test-memchr-ifunc.c: Likewise.
8154 * string/test-memcmp-ifunc.c: Likewise.
8155 * string/test-memcpy-ifunc.c: Likewise.
8156 * string/test-memmem-ifunc.c: Likewise.
8157 * string/test-memmove-ifunc.c: Likewise.
8158 * string/test-mempcpy-ifunc.c: Likewise.
8159 * string/test-memrchr-ifunc.c: Likewise.
8160 * string/test-memset-ifunc.c: Likewise.
8161 * string/test-rawmemchr-ifunc.c: Likewise.
8162 * string/test-stpcpy-ifunc.c: Likewise.
8163 * string/test-stpncpy-ifunc.c: Likewise.
8164 * string/test-strcasecmp-ifunc.c: Likewise.
8165 * string/test-strcasestr-ifunc.c: Likewise.
8166 * string/test-strcat-ifunc.c: Likewise.
8167 * string/test-strchr-ifunc.c: Likewise.
8168 * string/test-strchrnul-ifunc.c: Likewise.
8169 * string/test-strcmp-ifunc.c: Likewise.
8170 * string/test-strcpy-ifunc.c: Likewise.
8171 * string/test-strcspn-ifunc.c: Likewise.
8172 * string/test-strlen-ifunc.c: Likewise.
8173 * string/test-strncasecmp-ifunc.c: Likewise.
8174 * string/test-strncat-ifunc.c: Likewise.
8175 * string/test-strncmp-ifunc.c: Likewise.
8176 * string/test-strncpy-ifunc.c: Likewise.
8177 * string/test-strnlen-ifunc.c: Likewise.
8178 * string/test-strpbrk-ifunc.c: Likewise.
8179 * string/test-strrchr-ifunc.c: Likewise.
8180 * string/test-strspn-ifunc.c: Likewise.
8181 * string/test-strstr-ifunc.c: Likewise.
8182
ab260039 81832013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8184
8185 * benchtests/Makefile: Remove ifunc tests.
8186 * benchtests/bench-string.h: Define TEST_IFUNC.
8187 * benchtests/bench-bcopy-ifunc.c: Remove.
8188 * benchtests/bench-bzero-ifunc.c: Likewise.
8189 * benchtests/bench-memccpy-ifunc.c: Likewise.
8190 * benchtests/bench-memchr-ifunc.c: Likewise.
8191 * benchtests/bench-memcmp-ifunc.c: Likewise.
8192 * benchtests/bench-memcpy-ifunc.c: Likewise.
8193 * benchtests/bench-memmem-ifunc.c: Likewise.
8194 * benchtests/bench-memmove-ifunc.c: Likewise.
8195 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8196 * benchtests/bench-memrchr-ifunc.c: Likewise.
8197 * benchtests/bench-memset-ifunc.c: Likewise.
8198 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8199 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8200 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8201 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8202 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8203 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8204 * benchtests/bench-strcat-ifunc.c: Likewise.
8205 * benchtests/bench-strchr-ifunc.c: Likewise.
8206 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8207 * benchtests/bench-strcmp-ifunc.c: Likewise.
8208 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8209 * benchtests/bench-strcpy-ifunc.c: Likewise.
8210 * benchtests/bench-strcspn-ifunc.c: Likewise.
8211 * benchtests/bench-strlen-ifunc.c: Likewise.
8212 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8213 * benchtests/bench-strncat-ifunc.c: Likewise.
8214 * benchtests/bench-strncmp-ifunc.c: Likewise.
8215 * benchtests/bench-strncpy-ifunc.c: Likewise.
8216 * benchtests/bench-strnlen-ifunc.c: Likewise.
8217 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8218 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8219 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8220 * benchtests/bench-strspn-ifunc.c: Likewise.
8221 * benchtests/bench-strstr-ifunc.c: Likewise.
8222
82232013-11-26 Ondřej Bílka <neleai@seznam.cz>
8224
ab260039
OB
8225 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8226
d1d9eaf4 82272013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8228
d1d9eaf4
OB
8229 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8230 * rt/aio.h: Likewise.
8231 * sysdeps/gnu/bits/utmp.h: Likewise.
8232 * sysdeps/gnu/bits/utmpx.h: Likewise.
8233 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8234 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8235 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8236 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8237 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8238 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8239 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8240 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8241 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8242 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8243 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8244 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8245 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8247 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8248 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8249 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8250 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8251 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8252 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8253 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8254 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8255 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8256 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8257 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8259 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8260 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8261 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8262 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8263 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8264 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8265 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8267 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8268 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8269 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8270 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8271 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8272 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8273 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8274 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8275
a7624ed9
CD
82762013-11-25 Carlos O'Donell <carlos@redhat.com>
8277
8278 [BZ #16245]
8279 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8280 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8281
63cfe52b
JM
82822013-11-25 Joseph Myers <joseph@codesourcery.com>
8283
8284 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8285 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8286 Likewise.
8287
41e8926a
AZ
82882013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8289
8290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8291 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8292 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8293 (__fesetround): Remove define.
8294 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8295 rounding and exceptions handling.
8296 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8297 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8298 (__fe_nomask_env): Likewise.
8299 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8300 __fegetround instead of fegetround.
8301 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8302 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8303
6851bd4d
RM
83042013-11-21 Roland McGrath <roland@hack.frob.com>
8305
070906ff
RM
8306 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8307 it's there.
8308
6851bd4d
RM
8309 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8310
84ae135d
MI
83112013-11-21 Meador Inge <meadori@codesourcery.com>
8312
8313 [BZ #11157]
8314 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8315 (encrypt_r): Likewise.
8316 * malloc/obstack.h (obstack_free): Likewise.
8317 * posix/unistd.h (encrypt): Likewise.
8318
daf75146
GM
83192013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8320
8321 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8322 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8323 DL_CALL_DT_FINI() that call the functions directly.
8324 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8325 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8326 * elf/dl-fini.c: Likewise.
8327
10ad46bc
OB
83282013-11-20 Ondřej Bílka <neleai@seznam.cz>
8329
8330 * malloc/hooks.c (memalign_check): Add alignment rounding.
8331 * malloc/malloc.c (_mid_memalign): New function.
8332 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8333 Implement by calling _mid_memalign.
8334 * manual/probes.texi (Memory Allocation Probes): Remove
8335 memory_valloc_retry and memory_pvalloc_retry.
8336
f3fd2628
SP
83372013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
4712799f
SP
8339 * locale/programs/locarchive.c (open_archive): Add const
8340 qualifier to ARCHIVEFNAME and copy default fname to
8341 DEFAULT_FNAME.
8342
0417b20f
SP
8343 [BZ #15601]
8344 * libio/tst-widetext.input: Rename Oriya to Odia.
8345 * locale/iso-639.def: Likewise.
8346
f3fd2628
SP
8347 * manual/probes.texi (Mathematical Function Probes): Add
8348 documentation for sin, cos, asin and acos probes.
8349 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8350 (__sin32): Add slowasin probe.
8351 (__cos32): Add slowacos probe.
8352 (__mpsin): Add slowsin probe.
8353 (__mpcos): Add slowcos probe.
8354
73c1ce4f
JM
83552013-11-19 Joseph Myers <joseph@codesourcery.com>
8356
8357 [BZ #15483]
8358 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8359 thread-local __sim_exceptions_thread and global
8360 __sim_exceptions_global.
8361 (__sim_disabled_exceptions): Change to thread-local
8362 __sim_disabled_exceptions_thread and global
8363 __sim_disabled_exceptions_global.
8364 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8365 and global __sim_round_mode_global.
8366 (__simulate_exceptions): Use thread-local floating-point state and
8367 set global state from it as needed.
8368 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8369 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8370 __sim_round_mode_thread.
8371 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8372 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8373 and global __sim_exceptions_global.
8374 (__sim_disabled_exceptions): Change to thread-local
8375 __sim_disabled_exceptions_thread and global
8376 __sim_disabled_exceptions_global.
8377 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8378 and global __sim_round_mode_global.
8379 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8380 (SIM_SET_GLOBAL): Likewise.
8381 * sysdeps/powerpc/soft-fp/sfp-machine.h
8382 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8383 __sim_round_mode_thread.
8384 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8385 __sim_disabled_exceptions_thread.
8386 (__sim_exceptions): Change to __sim_exceptions_thread.
8387 (__sim_disabled_exceptions): Change to
8388 __sim_disabled_exceptions_thread.
8389 (__sim_round_mode): Change to __sim_round_mode_thread.
8390 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8391 thread-local floating-point state and set global state from it as
8392 needed.
8393 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8394 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8395 (__sim_disabled_exceptions): Remove extern declaration.
8396 (feenableexcept): Use thread-local floating-point state and set
8397 global state from it as needed.
8398 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8399 extern declaration.
8400 (__sim_disabled_exceptions): Likewise.
8401 (__sim_round_mode): Likewise.
8402 (__fegetenv): Use thread-local floating-point state.
8403 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8404 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8405 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8406 floating-point state and set global state from it as needed.
8407 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8408 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8409 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8410 Likewise.
8411 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8412 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8413 Likewise.
8414 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8415 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8416 Use __sim_round_mode_thread.
8417 * math/test-fenv-tls.c: New file.
8418 * math/Makefile (tests): Add test-fenv-tls.
8419 ($(objpfx)test-fenv-tls): Depend on
8420 $(common-objpfx)nptl/libpthread.so.
8421
b5449b12
AS
84222013-11-19 Andreas Schwab <schwab@suse.de>
8423
8424 * locale/programs/locale.c (show_info): Decode wordarray elements.
8425 * locale/categories.def (LC_MONETARY): Add element for
8426 _NL_MONETARY_CRNCYSTR.
8427 * locale/C-monetary.c (conversion_rate): New variable.
8428 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8429 element.
8430
e186536b
CM
84312013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8432
8433 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8434 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8435
5c349950
PP
84362013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8437
8438 * elf/Makefile (tst-auxv): New test.
8439 * elf/tst-auxv.c: New
8440 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8441
699df45b
JM
84422013-11-18 Joseph Myers <joseph@codesourcery.com>
8443
8444 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8445 (hidden_proto): Caller changed.
8446 (hidden_tls_proto): New macro.
8447 (libc_hidden_tls_proto): Likewise.
8448 (rtld_hidden_tls_proto): Likewise.
8449 (libm_hidden_tls_proto): Likewise.
8450 (libresolv_hidden_tls_proto): Likewise.
8451 (librt_hidden_tls_proto): Likewise.
8452 (libdl_hidden_tls_proto): Likewise.
8453 (libnss_files_hidden_tls_proto): Likewise.
8454 (libnsl_hidden_tls_proto): Likewise.
8455 (libnss_nisplus_hidden_tls_proto): Likewise.
8456 (libutil_hidden_tls_proto): Likewise.
8457
b7589107
OB
84582013-11-18 Ondřej Bílka <neleai@seznam.cz>
8459
8460 [BZ #10253]
8461 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8462 (decompose_rpath): Defer expansion to fillin_rpath.
8463 (_dl_init_paths): Pass linkmap to fillin_rpath.
8464
250c23bd
RS
84652013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8466
8467 * benchtests/Makefile: Add strsep.
8468 * benchtests/bench-strsep.c: New file: strsep benchtest.
8469 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8470
a7931fcf
AS
84712013-11-18 Andreas Schwab <schwab@suse.de>
8472
8473 * locale/programs/locale.c (show_info) [case byte]: Check for
8474 '\377' instead of '\177'.
8475 * locale/C-monetary.c (not_available): Always use "\377".
8476 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8477 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8478 detect unavailable sign_posn locale elements.
8479 * locale/localeconv.c (__localeconv): For grouping and
8480 mon_grouping handle "\177" and "\377" like no grouping.
8481 (INT_ELEM): New macro. Use it to set all numeric members.
8482 * locale/programs/ld-monetary.c (monetary_read)
8483 <tok_mon_grouping>: Normalize single -1 to the empty string.
8484 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8485 Likewise.
8486
728dab0e
OB
84872013-11-07 Ondřej Bílka <neleai@seznam.cz>
8488
8489 [BZ #16055]
8490 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8491 when we match (nil).
8492 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8493
66294491
JM
84942013-11-16 Joseph Myers <joseph@codesourcery.com>
8495
ce665817
JM
8496 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8497 (NO_TEST_INLINE): Update value.
8498 (ERRNO_UNCHANGED): Likewise.
8499 (ERRNO_EDOM): Likewise.
8500 (ERRNO_ERANGE): Likewise.
8501 (IGNORE_RESULT): Likewise.
8502 (check_float_internal): Check signs of NaN results if
8503 TEST_NAN_SIGN used.
8504 (check_complex): Pass TEST_NAN_SIGN flag through to second
8505 check_float_internal call.
8506 (copysign_test_data): Add tests with quiet NaNs as second
8507 argument. Use TEST_NAN_SIGN.
8508 (fabs_test_data): Add test of negative quiet NaN argument. Use
8509 TEST_NAN_SIGN.
8510 (signbit_test_data): Add tests of quiet NaN argument.
8511 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8512
ee1466a9
JM
8513 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8514 $ignore_result.
8515 (parse_args): Handle function results specified as IGNORE.
8516 * math/libm-test.inc (IGNORE_RESULT): New macro.
8517 (check_float_internal): Do not check numerical result if flag
8518 IGNORE_RESULT set.
8519 (check_complex): Pass through IGNORE_RESULT to second
8520 check_float_internal call.
8521 (check_int): Do not check numerical result if flag IGNORE_RESULT
8522 set.
8523 (check_long): Likewise.
8524 (check_bool): Likewise.
8525 (check_longlong): Likewise.
8526 (lrint_test_data): Add tests of infinite and NaN arguments.
8527 (lrint_tonearest_test_data): Likewise.
8528 (lrint_towardzero_test_data): Likewise.
8529 (lrint_downward_test_data): Likewise.
8530 (lrint_upward_test_data): Likewise.
8531 (llrint_test_data): Likewise.
8532 (llrint_tonearest_test_data): Likewise.
8533 (llrint_towardzero_test_data): Likewise.
8534 (llrint_downward_test_data): Likewise.
8535 (llrint_upward_test_data): Likewise.
8536 (lround_test_data): Likewise.
8537 (llround_test_data): Likewise.
8538
14407b7e
JM
8539 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8540 (ERRNO_UNCHANGED): Update value.
8541 (ERRNO_EDOM): Likewise.
8542 (ERRNO_ERANGE): Likewise.
8543 (NO_TEST_INLINE_FLOAT): New macro.
8544 (NO_TEST_INLINE_DOUBLE): Likewise.
8545 (enable_test): New function.
8546 (RUN_TEST_f_f): Check enable_test before running test.
8547 (RUN_TEST_2_f): Likewise.
8548 (RUN_TEST_fff_f): Likewise.
8549 (RUN_TEST_c_f): Likewise.
8550 (RUN_TEST_f_f1): Likewise.
8551 (RUN_TEST_fF_f1): Likewise.
8552 (RUN_TEST_fI_f1): Likewise.
8553 (RUN_TEST_ffI_f1): Likewise.
8554 (RUN_TEST_c_c): Likewise.
8555 (RUN_TEST_cc_c): Likewise.
8556 (RUN_TEST_f_i): Likewise.
8557 (RUN_TEST_f_i_tg): Likewise.
8558 (RUN_TEST_ff_i_tg): Likewise.
8559 (RUN_TEST_f_b): Likewise.
8560 (RUN_TEST_f_b_tg): Likewise.
8561 (RUN_TEST_f_l): Likewise.
8562 (RUN_TEST_f_L): Likewise.
8563 (RUN_TEST_fFF_11): Likewise.
8564 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8565 conditionals.
8566 (cosh_test_data): Likewise.
8567 (exp_test_data): Likewise.
8568 (expm1_test_data): Likewise.
8569 (hypot_test_data): Likewise.
8570 (pow_test_data): Likewise.
8571 (sinh_test_data): Likewise.
8572 (tanh_test_data): Likewise.
8573 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8574 flags argument.
8575
ca07f197
JM
8576 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8577 tests with quiet NaN input and output.
8578 (acosh_test_data): Likewise.
8579 (asin_test_data): Likewise.
8580 (asinh_test_data): Likewise.
8581 (atan_test_data): Likewise.
8582 (atanh_test_data): Likewise.
8583 (atan2_test_data): Likewise.
8584 (cbrt_test_data): Likewise.
8585 (cos_test_data): Likewise.
8586 (cosh_test_data): Likewise.
8587 (erf_test_data): Likewise.
8588 (erfc_test_data): Likewise.
8589 (exp_test_data): Likewise.
8590 (exp10_test_data): Likewise.
8591 (exp2_test_data): Likewise.
8592 (expm1_test_data): Likewise.
8593 (hypot_test_data): Likewise.
8594 (j0_test_data): Likewise.
8595 (j1_test_data): Likewise.
8596 (jn_test_data): Likewise.
8597 (lgamma_test_data): Likewise.
8598 (log_test_data): Likewise.
8599 (log10_test_data): Likewise.
8600 (log1p_test_data): Likewise.
8601 (log2_test_data): Likewise.
8602 (pow_test_data): Likewise.
8603 (scalb_test_data): Likewise.
8604 (sin_test_data): Likewise.
8605 (sincos_test_data): Likewise.
8606 (sinh_test_data): Likewise.
8607 (tan_test_data): Likewise.
8608 (tanh_test_data): Likewise.
8609 (tgamma_test_data): Likewise.
8610 (y0_test_data): Likewise.
8611 (y1_test_data): Likewise.
8612 (yn_test_data): Likewise.
8613
66294491
JM
8614 [BZ #16167]
8615 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8616 argument being NaN and avoid computations with second argument in
8617 that case.
8618 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8619 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8620 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8621
1820b143
CL
86222013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8623
8624 * locale/iso-639.def: Add Chitwani Tharu (the).
8625
714bd261
AS
86262013-11-14 Andreas Schwab <schwab@suse.de>
8627
8628 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8629 word instead of empty string.
8630
7ab44563
AZ
86312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8632
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8634 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8636 (__fe_nomask_env): Likewise.
8637
e8470ea2
SE
86382013-11-13 Steve Ellcey <sellcey@mips.com>
8639
8640 * benchtests/bench-timing.h: Include time.h.
8641
17c1d9f0
L
86422013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8643
8644 [BZ #15997]
8645 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8646 to 3.4.0 for x32.
8647 * sysdeps/unix/sysv/linux/configure: Regenerated.
8648
9310c284
JM
86492013-11-13 Joseph Myers <joseph@codesourcery.com>
8650
8651 [BZ #16151]
8652 * stdlib/strtod_l.c (round_and_return): Do not consider
8653 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8654 exponent one less than half the least subnormal exponent.
8655 * stdlib/test-strtod-round-data: Add more tests.
8656 * stdlib/tst-strtod-round.c (tests): Regenerated.
8657
7a2ad8cf
AZ
86582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8659
8660 [BZ #14143]
8661 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8662 (__fe_mask_env): Likewise.
8663 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8664 libm_hidden_proto and add function prototype.
8665 (__fe_mask_env): Add function prototype.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8667 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8669 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8671 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8672
50727aa7
MS
86732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8674
b2f386c1 8675 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8676 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8677
a615be46
MS
86782013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8679
8680 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8681 of htab_find_slot().
8682
7ddace62
DM
86832013-11-11 David S. Miller <davem@davemloft.net>
8684
8685 [BZ #16150]
8686 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8687 symbol in the non-vis3 case in static builds.
8688 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8689 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8690 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8691 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8692
9182aa67
JK
86932013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 [BZ #387]
8696 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8697 it is empty.
8698
450a2e2d
AZ
86992013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8700
b2f386c1
SP
8701 * benchtests/Makefile: Add bench-strtod.
8702 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8703
8ec3f656
AS
87042013-11-11 Andreas Schwab <schwab@suse.de>
8705
8706 [BZ #16153]
8707 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8708 terminating NUL in key length.
8709
76a9b998
AZ
87102013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8711
8712 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8713 Add artificial ODP entry for vDSO symbol for PPC64.
8714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8715 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8716
e4368156
OB
87172013-11-07 Ondřej Bílka <neleai@seznam.cz>
8718
8719 [BZ #15374]
8720 * nss/getent.c (services_keys): Recognize services starting with digit.
8721
8d6bb57c
DM
87222013-11-06 David S. Miller <davem@davemloft.net>
8723
8724 [BZ #15985]
8725 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8726 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8727
e256c421
WN
87282013-11-06 Will Newton <will.newton@linaro.org>
8729
8730 * manual/memory.texi (Malloc Examples): Remove register
8731 keyword from examples.
8732
f6e12daa 87332013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8734
f6e12daa 8735 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8736
9d880655
AS
87372013-11-04 Joseph Myers <joseph@codesourcery.com>
8738
fd2f9486 8739 [BZ #6981]
9d880655
AS
8740 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8741 depending on [__GCC_IEC_559 > 0].
8742 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8743 depending on [__GCC_IEC_559_COMPLEX > 0].
8744
ae129d3c
CL
87452013-11-03 Chris Leonard <cjl@sugarlabs.org>
8746
8747 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8748 to iso-639.def.
8749
4a15c2a4 87502013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8751
8752 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8753
8b35e35d
OB
87542013-11-01 Ondřej Bílka <neleai@seznam.cz>
8755
8756 [BZ #16112]
8757 * malloc/malloc (malloc_info): Do not handle first bin as
8758 special case.
8759
1d70fd6c
CL
87602013-11-01 Chris Leonard <cjl@sugarlabs.org>
8761
8762 * locale/iso-639.def: Add Central Nahuatl (nhn).
8763
8c5c2600
BH
87642013-11-01 Bruno Haible <bruno@clisp.org>
8765
8766 [BZ #7003]
8767 * manual/math.texi (BSD Random): Specify range upper bound as
8768 in POSIX.
8769
da5579c2
CL
87702013-10-31 Chris Leonard <cjl@sugarlabs.org>
8771
8772 * locale/iso-639.def: Add Meadow Mari (mhr).
8773
5d30d853
OB
87742013-10-31 Ondřej Bílka <neleai@seznam.cz>
8775
8776 [BZ #14752], [BZ #15763]
8777 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8778 Validate name.
8779 * rt/tst_shm.c: Add test for escaping directory.
8780
a4966c61
AS
87812013-10-31 Andreas Schwab <schwab@suse.de>
8782
8a43e768 8783 [BZ #15917]
a4966c61
AS
8784 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8785 followed by 'x' as part of digit sequence.
8786 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8787
28d708c4
MAP
87882013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8789
8790 [BZ #16037]
8791 * configure.ac: allow GNU Make 4.0 and greater.
8792 * configure: Regenerated.
8793
a56ee40b
WN
87942013-10-30 Will Newton <will.newton@linaro.org>
8795
8796 [BZ #16038]
8797 * malloc/hooks.c (memalign_check): Limit alignment to the
8798 maximum representable power of two.
8799 * malloc/malloc.c (__libc_memalign): Likewise.
8800 * malloc/tst-memalign.c (do_test): Add test for very
8801 large alignment values.
8802 * malloc/tst-posix_memalign.c (do_test): Likewise.
8803
c6e4925d
OB
88042013-10-30 Ondřej Bílka <neleai@seznam.cz>
8805
8806 [BZ #11087]
8807 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8808 (munmap_chunk): Likewise.
8809 (mremap_chunk): Likewise.
8810
88112013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8812
8a43e768 8813 [BZ #15799]
bbea82f7
OB
8814 * stdlib/div.c (div): Remove obsolete code.
8815 * stdlib/ldiv.c (ldiv): Likewise.
8816 * stdlib/lldiv.c (lldiv): Likewise.
8817
977f4b31
SP
88182013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8819
8820 [BZ #16071]
8821 * nss/nss_files/files-XXX.c (get_contents_ret): New
8822 enumerator.
8823 (get_contents): New function.
8824 (internal_getent): Use it. Expand size of LINEBUFLEN.
8825
cb8a6dbd
MF
88262013-10-30 Mike Frysinger <vapier@gentoo.org>
8827
8828 * configure.in: Moved to ...
8829 * configure.ac: ... here. Change reference to configure.in
8830 to configure.ac.
8831 * sysdeps/arm/preconfigure.ac: ... here.
8832 configure.in to configure.ac.
8833 * sysdeps/gnu/configure.in: Moved to ...
8834 * sysdeps/gnu/configure.ac: ... here.
8835 * sysdeps/i386/configure.in: Moved to ...
8836 * sysdeps/i386/configure.ac: ... here.
8837 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8838 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8839 * sysdeps/mach/configure.in: Moved to ...
8840 * sysdeps/mach/configure.ac: ... here.
8841 * sysdeps/mach/hurd/configure.in: Moved to ...
8842 * sysdeps/mach/hurd/configure.ac: ... here.
8843 * sysdeps/powerpc/configure.in: Moved to ...
8844 * sysdeps/powerpc/configure.ac: ... here.
8845 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8846 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8847 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8848 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8849 * sysdeps/s390/s390-32/configure.in: Moved to ...
8850 * sysdeps/s390/s390-32/configure.ac: ... here.
8851 * sysdeps/s390/s390-64/configure.in: Moved to ...
8852 * sysdeps/s390/s390-64/configure.ac: ... here.
8853 * sysdeps/sh/configure.in: Moved to ...
8854 * sysdeps/sh/configure.ac: ... here.
8855 * sysdeps/sparc/configure.in: Moved to ...
8856 * sysdeps/sparc/configure.ac: ... here.
8857 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8858 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8859 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8860 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8861 * sysdeps/x86_64/configure.in: Moved to ...
8862 * sysdeps/x86_64/configure.ac: ... here.
8863 * sysdeps/x86_64/preconfigure.in: Moved to ...
8864 * sysdeps/x86_64/preconfigure.ac: ... here.
8865 * aclocal.m4: Change reference to configure.in to configure.ac.
8866 * config.h.in: Likewise.
8867 * manual/install.texi: Likewise.
8868 * manual/maint.texi: Likewise.
8869 * Makefile: Likewise.
8870 * malloc/Makefile: Likewise.
8871 * nscd/Makefile: Likewise.
8872 * Makeconfig: Change reference to configure.in and
8873 preconfigure.in to configure.ac and preconfigure.ac
8874 respectively.
8875 * INSTALL: Regenerated.
8876 * configure: Likewise.
8877 * sysdeps/gnu/configure: Likewise.
8878 * sysdeps/i386/configure: Likewise.
8879 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8880 * sysdeps/mach/configure: Likewise.
8881 * sysdeps/mach/hurd/configure: Likewise.
8882 * sysdeps/powerpc/configure: Likewise.
8883 * sysdeps/powerpc/powerpc32/configure: Likewise.
8884 * sysdeps/powerpc/powerpc64/configure: Likewise.
8885 * sysdeps/s390/s390-32/configure: Likewise.
8886 * sysdeps/s390/s390-64/configure: Likewise.
8887 * sysdeps/sh/configure: Likewise.
8888 * sysdeps/sparc/configure: Likewise.
8889 * sysdeps/unix/sysv/linux/configure: Likewise.
8890 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8891 * sysdeps/x86_64/configure: Likewise.
8892 * sysdeps/x86_64/preconfigure: Likewise.
8893
36a4953a
AS
88942013-10-29 Andreas Schwab <schwab@suse.de>
8895
8896 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8897
c79a1204
SP
88982013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8899
dfa1b402
SP
8900 * benchtests/pow-inputs: Add new inputs.
8901
54f73d9c
SP
8902 * benchtests/exp-inputs: Add new inputs.
8903
c79a1204
SP
8904 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8905 conditional check for return value.
8906 (__cos32): Likewise.
8907
67beb545 89082013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8909
8910 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8911 to provide a boost for large inputs with word alignment.
8912 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8913 implementation based on optimized PPC64 strcpy.
8914 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8915 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8916 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8917 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8918
151659f6
OB
89192013-10-25 Ondřej Bílka <neleai@seznam.cz>
8920
482a077e 8921 [BZ #2801]
151659f6
OB
8922 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8923
10b0f26b
OB
89242013-10-25 Ondřej Bílka <neleai@seznam.cz>
8925
8926 [BZ #14876]
8927 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8928 * time/tst-strptime.c (day_tests): Add testcase.
8929
ca42d35e
OB
89302013-10-25 Ondřej Bílka <neleai@seznam.cz>
8931
482a077e 8932 [BZ #14029]
ca42d35e
OB
8933 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8934
52e6d801
FB
89352013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8936
8937 [BZ #16074]
8938 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8939 MAP_FAILED on error.
8940
7cbcdb36
SP
89412013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8942
8943 [BZ #16072]
8944 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8945 heap for large requests.
8946
894f3f10
AM
89472013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8948
8949 [BZ #9954]
8950 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8951 result if the result has no associated interface.
8952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8953 interface for all 127.X.Y.Z addresses.
8954
b85545a6
CL
89552013-10-24 Chris Leonard <cjl@sugarlabs.org>
8956
8957 * locale/iso-639.def: Add Ligurian (lij)
8958
d1f23d46
OB
89592013-10-21 Ondřej Bílka <neleai@seznam.cz>
8960
8961 [BZ #15825]
8962 * sunrpc/rpc_main.c: Document rpcgen -5.
8963
4db5b08f
MS
89642013-10-19 Michael Stahl <mstahl@redhat.com>
8965
8966 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8967
a471e96a
OB
89682013-10-19 Ondřej Bílka <neleai@seznam.cz>
8969
d1f23d46 8970 [BZ #10278]
a471e96a
OB
8971 * posix/glob.c: Match only directories when trailing slash is present.
8972 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8973 (main): Add testcase.
8974
45c30c61
OB
89752013-10-19 Ondřej Bílka <neleai@seznam.cz>
8976
8977 [BZ #15670]
8978 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8979
484c12fb
CD
89802013-10-18 Carlos O'Donell <carlos@redhat.com>
8981
3d7dc513
CD
8982 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8983 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8984 AUTH_DES and cindex for FIPS 140-2.
8985 (DES Encryption): Add cindex FIPS 46-3.
8986
484c12fb
CD
8987 * locale/locarchive.h (struct locarhandle): Add fname.
8988 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8989 if an optional argument was specified to --list-archive,
8990 otherwise NULL.
8991 * locale/programs/locarchive.c (show_archive_content): Take new
8992 argument fname and pass it via ah.fname to open_archive.
8993 * locale/programs/localedef.h: Update decl.
8994 (open_archive): If AH->fname is non-null, open that file
8995 rather than the default file name, and don't ignore ENOENT.
8996 (create_archive): Set AH.fname to NULL.
8997 (delete_locales_from_archive): Likewise.
8998 (add_locales_to_archive): Likewise.
8999 * locale/programs/locfile.c (write_all_categories): Likewise.
9000
3c8325fb
JM
90012013-10-18 Joseph Myers <joseph@codesourcery.com>
9002 Aldy Hernandez <aldyh@redhat.com>
9003
9004 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9005 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9006 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9007 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9008 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9009 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9011 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9012 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9013 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9014 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9015 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9016 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9017 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9018 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9019 Likewise.
9020 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9021 Likewise.
9022 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9023 Likewise.
9024 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9025 Likewise.
9026 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9027 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9028 Likewise.
9029 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9030 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9031 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9032 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9033 Likewise.
9034 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9035 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9036 * sysdeps/powerpc/preconfigure: Likewise.
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9038 Likewise.
9039 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9040 Replace contents of file by #include of <fenv_libc.h>.
9041 * sysdeps/powerpc/soft-fp/sfp-machine.h
9042 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9043 and <sys/prctl.h>.
9044 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9051 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9055 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9057 Allow copysignl PLT reference to be missing.
9058
5abe0682
RS
90592013-10-18 Richard Sandiford <richard@codesourcery.com>
9060 Joseph Myers <joseph@codesourcery.com
9061
9062 [BZ #15948]
9063 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9064 single character.
9065 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9066
c7738d08
SP
90672013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
9069 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9070 * elf/tst-tls1.c: Likewise.
9071 * elf/tst-tls10.h: Likewise.
9072 * elf/tst-tls14.c: Likewise.
9073 * elf/tst-tls2.c: Likewise.
9074 * elf/tst-tls3.c: Likewise.
9075 * elf/tst-tls4.c: Likewise.
9076 * elf/tst-tls5.c: Likewise.
9077 * elf/tst-tls6.c: Likewise.
9078 * elf/tst-tls7.c: Likewise.
9079 * elf/tst-tls8.c: Likewise.
9080 * elf/tst-tls9.c: Likewise.
9081 * elf/tst-tlsmod1.c: Likewise.
9082 * elf/tst-tlsmod13.c: Likewise.
9083 * elf/tst-tlsmod13a.c: Likewise.
9084 * elf/tst-tlsmod14a.c: Likewise.
9085 * elf/tst-tlsmod16a.c: Likewise.
9086 * elf/tst-tlsmod16b.c: Likewise.
9087 * elf/tst-tlsmod2.c: Likewise.
9088 * elf/tst-tlsmod3.c: Likewise.
9089 * elf/tst-tlsmod4.c: Likewise.
9090 * elf/tst-tlsmod5.c: Likewise.
9091 * elf/tst-tlsmod6.c: Likewise.
9092
0bfcf2c7
OB
90932013-10-18 Ondřej Bílka <neleai@seznam.cz>
9094
9095 [BZ #12486]
9096 * malloc/malloc.c: remove checks for statistics.
9097
264aad1e
OB
90982013-10-17 Ondřej Bílka <neleai@seznam.cz>
9099
9100 [BZ #15277]
9101 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9102 * inet/tst-network.c: Add testcase.
9103
b957ced8
AS
91042013-10-17 Andreas Schwab <schwab@suse.de>
9105
9106 [BZ #15218]
9107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9108 to determine canonical name.
9109
c5d5d574
OB
91102013-10-17 Ondřej Bílka <neleai@seznam.cz>
9111
9112 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9113 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9136 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9137 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9170
e5c2c2d0
JM
91712013-10-17 Joseph Myers <joseph@codesourcery.com>
9172
9173 [BZ #16041]
9174 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9175 make result into a quiet NaN.
9176
51ca9e29
JM
91772013-10-16 Joseph Myers <joseph@codesourcery.com>
9178
9179 * soft-fp/adddf3.c: Fix horizontal whitespace.
9180 * soft-fp/addsf3.c: Likewise.
9181 * soft-fp/addtf3.c: Likewise.
9182 * soft-fp/divdf3.c: Likewise.
9183 * soft-fp/divsf3.c: Likewise.
9184 * soft-fp/divtf3.c: Likewise.
9185 * soft-fp/double.h: Likewise.
9186 * soft-fp/eqdf2.c: Likewise.
9187 * soft-fp/eqsf2.c: Likewise.
9188 * soft-fp/eqtf2.c: Likewise.
9189 * soft-fp/extenddftf2.c: Likewise.
9190 * soft-fp/extended.h: Likewise.
9191 * soft-fp/extendsfdf2.c: Likewise.
9192 * soft-fp/extendsftf2.c: Likewise.
9193 * soft-fp/extendxftf2.c: Likewise.
9194 * soft-fp/fixdfdi.c: Likewise.
9195 * soft-fp/fixdfsi.c: Likewise.
9196 * soft-fp/fixdfti.c: Likewise.
9197 * soft-fp/fixsfdi.c: Likewise.
9198 * soft-fp/fixsfsi.c: Likewise.
9199 * soft-fp/fixsfti.c: Likewise.
9200 * soft-fp/fixtfdi.c: Likewise.
9201 * soft-fp/fixtfsi.c: Likewise.
9202 * soft-fp/fixtfti.c: Likewise.
9203 * soft-fp/fixunsdfdi.c: Likewise.
9204 * soft-fp/fixunsdfsi.c: Likewise.
9205 * soft-fp/fixunsdfti.c: Likewise.
9206 * soft-fp/fixunssfdi.c: Likewise.
9207 * soft-fp/fixunssfsi.c: Likewise.
9208 * soft-fp/fixunssfti.c: Likewise.
9209 * soft-fp/fixunstfdi.c: Likewise.
9210 * soft-fp/fixunstfsi.c: Likewise.
9211 * soft-fp/fixunstfti.c: Likewise.
9212 * soft-fp/floatdidf.c: Likewise.
9213 * soft-fp/floatdisf.c: Likewise.
9214 * soft-fp/floatditf.c: Likewise.
9215 * soft-fp/floatsidf.c: Likewise.
9216 * soft-fp/floatsisf.c: Likewise.
9217 * soft-fp/floatsitf.c: Likewise.
9218 * soft-fp/floattidf.c: Likewise.
9219 * soft-fp/floattisf.c: Likewise.
9220 * soft-fp/floattitf.c: Likewise.
9221 * soft-fp/floatundidf.c: Likewise.
9222 * soft-fp/floatundisf.c: Likewise.
9223 * soft-fp/floatunditf.c: Likewise.
9224 * soft-fp/floatunsidf.c: Likewise.
9225 * soft-fp/floatunsisf.c: Likewise.
9226 * soft-fp/floatunsitf.c: Likewise.
9227 * soft-fp/floatuntidf.c: Likewise.
9228 * soft-fp/floatuntisf.c: Likewise.
9229 * soft-fp/floatuntitf.c: Likewise.
9230 * soft-fp/fmadf4.c: Likewise.
9231 * soft-fp/fmasf4.c: Likewise.
9232 * soft-fp/fmatf4.c: Likewise.
9233 * soft-fp/gedf2.c: Likewise.
9234 * soft-fp/gesf2.c: Likewise.
9235 * soft-fp/getf2.c: Likewise.
9236 * soft-fp/ledf2.c: Likewise.
9237 * soft-fp/lesf2.c: Likewise.
9238 * soft-fp/letf2.c: Likewise.
9239 * soft-fp/muldf3.c: Likewise.
9240 * soft-fp/mulsf3.c: Likewise.
9241 * soft-fp/multf3.c: Likewise.
9242 * soft-fp/negdf2.c: Likewise.
9243 * soft-fp/negsf2.c: Likewise.
9244 * soft-fp/negtf2.c: Likewise.
9245 * soft-fp/op-1.h: Likewise.
9246 * soft-fp/op-2.h: Likewise.
9247 * soft-fp/op-4.h: Likewise.
9248 * soft-fp/op-8.h: Likewise.
9249 * soft-fp/op-common.h: Likewise.
9250 * soft-fp/quad.h: Likewise.
9251 * soft-fp/single.h: Likewise.
9252 * soft-fp/soft-fp.h: Likewise.
9253 * soft-fp/sqrtdf2.c: Likewise.
9254 * soft-fp/sqrtsf2.c: Likewise.
9255 * soft-fp/sqrttf2.c: Likewise.
9256 * soft-fp/subdf3.c: Likewise.
9257 * soft-fp/subsf3.c: Likewise.
9258 * soft-fp/subtf3.c: Likewise.
9259 * soft-fp/truncdfsf2.c: Likewise.
9260 * soft-fp/trunctfdf2.c: Likewise.
9261 * soft-fp/trunctfsf2.c: Likewise.
9262 * soft-fp/trunctfxf2.c: Likewise.
9263 * soft-fp/unorddf2.c: Likewise.
9264 * soft-fp/unordsf2.c: Likewise.
9265 * soft-fp/unordtf2.c: Likewise.
9266
9ebb0332
JM
92672013-10-15 Joseph Myers <joseph@codesourcery.com>
9268
9269 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9270 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9271
4b1a6d8b
OB
92722013-10-15 Ondřej Bílka <neleai@seznam.cz>
9273
9274 * elf/dl-libc.c: Clear initfini list after freeing.
9275
1e145589
JM
92762013-10-14 Joseph Myers <joseph@codesourcery.com>
9277
9278 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9279 * soft-fp/addsf3.c: Likewise.
9280 * soft-fp/addtf3.c: Likewise.
9281 * soft-fp/divdf3.c: Likewise.
9282 * soft-fp/divsf3.c: Likewise.
9283 * soft-fp/divtf3.c: Likewise.
9284 * soft-fp/double.h: Likewise.
9285 * soft-fp/eqdf2.c: Likewise.
9286 * soft-fp/eqsf2.c: Likewise.
9287 * soft-fp/eqtf2.c: Likewise.
9288 * soft-fp/extenddftf2.c: Likewise.
9289 * soft-fp/extended.h: Likewise.
9290 * soft-fp/extendsfdf2.c: Likewise.
9291 * soft-fp/extendsftf2.c: Likewise.
9292 * soft-fp/extendxftf2.c: Likewise.
9293 * soft-fp/fixdfdi.c: Likewise.
9294 * soft-fp/fixdfsi.c: Likewise.
9295 * soft-fp/fixdfti.c: Likewise.
9296 * soft-fp/fixsfdi.c: Likewise.
9297 * soft-fp/fixsfsi.c: Likewise.
9298 * soft-fp/fixsfti.c: Likewise.
9299 * soft-fp/fixtfdi.c: Likewise.
9300 * soft-fp/fixtfsi.c: Likewise.
9301 * soft-fp/fixtfti.c: Likewise.
9302 * soft-fp/fixunsdfdi.c: Likewise.
9303 * soft-fp/fixunsdfsi.c: Likewise.
9304 * soft-fp/fixunsdfti.c: Likewise.
9305 * soft-fp/fixunssfdi.c: Likewise.
9306 * soft-fp/fixunssfsi.c: Likewise.
9307 * soft-fp/fixunssfti.c: Likewise.
9308 * soft-fp/fixunstfdi.c: Likewise.
9309 * soft-fp/fixunstfsi.c: Likewise.
9310 * soft-fp/fixunstfti.c: Likewise.
9311 * soft-fp/floatdidf.c: Likewise.
9312 * soft-fp/floatdisf.c: Likewise.
9313 * soft-fp/floatditf.c: Likewise.
9314 * soft-fp/floatsidf.c: Likewise.
9315 * soft-fp/floatsisf.c: Likewise.
9316 * soft-fp/floatsitf.c: Likewise.
9317 * soft-fp/floattidf.c: Likewise.
9318 * soft-fp/floattisf.c: Likewise.
9319 * soft-fp/floattitf.c: Likewise.
9320 * soft-fp/floatundidf.c: Likewise.
9321 * soft-fp/floatundisf.c: Likewise.
9322 * soft-fp/floatunsidf.c: Likewise.
9323 * soft-fp/floatunsisf.c: Likewise.
9324 * soft-fp/floatuntidf.c: Likewise.
9325 * soft-fp/floatuntisf.c: Likewise.
9326 * soft-fp/floatuntitf.c: Likewise.
9327 * soft-fp/fmadf4.c: Likewise.
9328 * soft-fp/fmasf4.c: Likewise.
9329 * soft-fp/fmatf4.c: Likewise.
9330 * soft-fp/gedf2.c: Likewise.
9331 * soft-fp/gesf2.c: Likewise.
9332 * soft-fp/getf2.c: Likewise.
9333 * soft-fp/ledf2.c: Likewise.
9334 * soft-fp/lesf2.c: Likewise.
9335 * soft-fp/letf2.c: Likewise.
9336 * soft-fp/muldf3.c: Likewise.
9337 * soft-fp/mulsf3.c: Likewise.
9338 * soft-fp/multf3.c: Likewise.
9339 * soft-fp/negdf2.c: Likewise.
9340 * soft-fp/negsf2.c: Likewise.
9341 * soft-fp/negtf2.c: Likewise.
9342 * soft-fp/op-1.h: Likewise.
9343 * soft-fp/op-2.h: Likewise.
9344 * soft-fp/op-4.h: Likewise.
9345 * soft-fp/op-8.h: Likewise.
9346 * soft-fp/op-common.h: Likewise.
9347 * soft-fp/quad.h: Likewise.
9348 * soft-fp/single.h: Likewise.
9349 * soft-fp/soft-fp.h: Likewise.
9350 * soft-fp/sqrtdf2.c: Likewise.
9351 * soft-fp/sqrtsf2.c: Likewise.
9352 * soft-fp/sqrttf2.c: Likewise.
9353 * soft-fp/subdf3.c: Likewise.
9354 * soft-fp/subsf3.c: Likewise.
9355 * soft-fp/subtf3.c: Likewise.
9356 * soft-fp/truncdfsf2.c: Likewise.
9357 * soft-fp/trunctfdf2.c: Likewise.
9358 * soft-fp/trunctfsf2.c: Likewise.
9359 * soft-fp/trunctfxf2.c: Likewise.
9360 * soft-fp/unorddf2.c: Likewise.
9361 * soft-fp/unordsf2.c: Likewise.
9362 * soft-fp/unordtf2.c: Likewise.
9363
17c48a60
OB
93642013-10-14 Ondřej Bílka <neleai@seznam.cz>
9365
9366 [BZ #15672]
9367 * misc/error.c (error_tail): Fix possible buffer overflow.
9368
cabba934
OB
93692013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9370
9371 [BZ #13028]
9372 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9373 address.
9374
94bf958a
PM
93752013-10-14 P. J. McDermott <pj@pehjota.net>
9376
9377 [BZ #832]
9378 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9379 testing pipefail option.
9380
71b4dea7
JM
93812013-10-12 Joseph Myers <joseph@codesourcery.com>
9382
9383 * soft-fp/double.h: Indent preprocessor directives inside #if.
9384 * soft-fp/extended.h: Likewise.
9385 * soft-fp/op-2.h: Likewise.
9386 * soft-fp/op-4.h: Likewise.
9387 * soft-fp/op-common.h: Likewise.
9388 * soft-fp/quad.h: Likewise.
9389 * soft-fp/single.h: Likewise.
9390 * soft-fp/soft-fp.h: Likewise.
9391
55602758
YC
93922013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9393
9394 * iconv/iconv_prog.c: Fix typos.
9395 * stdio-common/psiginfo-data.h: Likewise.
9396
9cd83302
RT
93972013-10-12 Reuben Thomas <rrt@sc3d.org>
9398
9399 [BZ #15764]
9400 * locale/setlocale.c: Fix typo.
9401
99fd9f47
JM
94022013-10-12 Joseph Myers <joseph@codesourcery.com>
9403
b7ea74f0
JM
9404 [BZ #16036]
9405 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9406 signaling NaN arguments.
9407 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9408 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9409
8a509447
JM
9410 [BZ #14910]
9411 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9412 unordered operands.
9413 * soft-fp/gesf2.c (__gesf2): Likewise.
9414 * soft-fp/getf2.c (__getf2): Likewise.
9415 * soft-fp/ledf2.c (__ledf2): Likewise.
9416 * soft-fp/lesf2.c (__lesf2): Likewise.
9417 * soft-fp/letf2.c (__letf2): Likewise.
9418
98998e9f
JM
9419 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9420 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9421 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9422 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9423 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9424 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9425 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9426 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9427 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9428 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9429 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9430 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9431 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9432 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9433 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9434 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9435 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9436 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9437 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9438 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9439 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9440 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9441 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9442 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9443 * soft-fp/floattidf.c (__floattidf): Likewise.
9444 * soft-fp/floattisf.c (__floattisf): Likewise.
9445 * soft-fp/floattitf.c (__floattitf): Likewise.
9446 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9447 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9448 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9449 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9450 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9451 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9452 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9453 * soft-fp/gesf2.c (__gesf2): Likewise.
9454 * soft-fp/getf2.c (__getf2): Likewise.
9455 * soft-fp/ledf2.c (__ledf2): Likewise.
9456 * soft-fp/lesf2.c (__lesf2): Likewise.
9457 * soft-fp/letf2.c (__letf2): Likewise.
9458
8edc4a11
JM
9459 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9460 Undefine and redefine.
9461 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9462 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9463 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9464 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9465 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9466 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9467 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9468 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9469 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9470 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9471 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9472 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9473 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9474 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9475 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9476
8399acaf
JM
9477 [BZ #16032]
9478 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9479 without decrementing exponent if mantissa >= that for the
9480 denominator, not >.
9481 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9482 denominator, not >. Decrement exponent in < case instead of
9483 incrementing in >= case.
9484 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9485 without decrementing exponent if mantissa >= that for the
9486 denominator, not >.
9487
99fd9f47
JM
9488 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9489 computing saturated result for unsigned overflow.
9490
10e1cf6b
SP
94912013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9492 Jeff Law <law@redhat.com>
9493
9494 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9495 (atan2Mp): Add systemtap probe marker.
9496 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9497 (__ieee754_log): Add systemtap probe marker.
9498 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9499 (atanMp): Add systemtap probe marker.
9500 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9501 (tanMp): Add systemtap probe marker.
9502 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9503 (__slowexp): Add systemtap probe marker.
9504 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9505 (__slowpow): Add systemtap probe marker.
9506 * manual/probes.texi: Document probes.
9507
3d110c7c
EB
95082013-10-11 Eric Biggers <ebiggers3@gmail.com>
9509
9510 [BZ #15362]
9511 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9512 written.
9513 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9514 written.
9515 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9516 written to buffer but not flushed.
9517 * libio/iofwrite_u.c: Likewise.
9518 * libio/iopadn.c: Return bytes returned even if EOF was
9519 encountered.
9520 * libio/iowpadn.c: Likewise.
9521 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9522 if _IO_padn does not write the whole buffer.
9523 [!COMPILE_WPRINTF] (PAD): Likewise.
9524
75b4202a
DM
95252013-10-10 David S. Miller <davem@davemloft.net>
9526
9527 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9528 directory block.
9529
6c6352e6
JM
95302013-10-10 Joseph Myers <joseph@codesourcery.com>
9531
33b853c3
JM
9532 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9533 instead of FSF address.
9534 * soft-fp/fixdfti.c: Likewise.
9535 * soft-fp/fixsfti.c: Likewise.
9536 * soft-fp/fixtfti.c: Likewise.
9537 * soft-fp/fixunsdfti.c: Likewise.
9538 * soft-fp/fixunssfti.c: Likewise.
9539 * soft-fp/fixunstfti.c: Likewise.
9540 * soft-fp/floattidf.c: Likewise.
9541 * soft-fp/floattisf.c: Likewise.
9542 * soft-fp/floattitf.c: Likewise.
9543 * soft-fp/floatuntidf.c: Likewise.
9544 * soft-fp/floatuntisf.c: Likewise.
9545 * soft-fp/floatuntitf.c: Likewise.
9546 * soft-fp/trunctfxf2.c: Likewise.
9547
6c6352e6
JM
9548 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9549 * soft-fp/fixdfti.c: Likewise.
9550 * soft-fp/fixsfti.c: Likewise.
9551 * soft-fp/fixtfti.c: Likewise.
9552 * soft-fp/fixunsdfti.c: Likewise.
9553 * soft-fp/fixunssfti.c: Likewise.
9554 * soft-fp/fixunstfti.c: Likewise.
9555 * soft-fp/floattidf.c: Likewise.
9556 * soft-fp/floattisf.c: Likewise.
9557 * soft-fp/floattitf.c: Likewise.
9558 * soft-fp/floatuntidf.c: Likewise.
9559 * soft-fp/floatuntisf.c: Likewise.
9560 * soft-fp/floatuntitf.c: Likewise.
9561 * soft-fp/trunctfxf2.c: Likewise.
9562
3bf78b71
DM
95632013-10-10 David S. Miller <davem@davemloft.net>
9564
9565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9566
6f10289e
JM
95672013-10-10 Joseph Myers <joseph@codsourcery.com>
9568
bd878fc0
JM
9569 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9570 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9571 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9572 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9573 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9574 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9575 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9576
6f10289e
JM
9577 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9578 for NaNs before doing comparisons on argument.
9579 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9580 Likewise.
9581
321e2684
WN
95822013-10-10 Will Newton <will.newton@linaro.org>
9583
9584 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9585 passed to _int_memalign does not overflow.
9586
40fefba1
TR
95872013-10-10 Torvald Riegel <triegel@redhat.com>
9588
9589 * scripts/bench.pl: Add include-sources directive.
9590 * benchtests/README: Update documentation.
9591
2ae21ed2
JM
95922013-10-10 Joseph Myers <joseph@codesourcery.com>
9593
dcc2dd3f
JM
9594 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9595 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9596 instead of FP_INIT_ROUNDMODE.
9597 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9598 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9599
2ae21ed2
JM
9600 [BZ #16034]
9601 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9602 copy class of input value.
9603 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9604 not handle exceptions.
9605 * soft-fp/negsf2.c (__negsf2): Likewise.
9606 * soft-fp/negtf2.c (__negtf2): Likewise.
9607 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9608
cb8f9562
JM
96092013-10-09 Joseph Myers <joseph@codesourcery.com>
9610
9611 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9612 semicolon. From Linux kernel.
9613
5b60c59d
AB
96142013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9615
9616 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9617
b86835ca
YC
96182013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9619
9620 [BZ #156]
9621 * manual/socket.texi: Added statement about buffer
9622 for gethostbyname2_r.
9623
e7044ea7
OB
96242013-10-08 Ondřej Bílka <neleai@seznam.cz>
9625
9626 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9627 Use .p2align directive instead, throughout.
9628 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9629 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9630 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9633 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9634 * sysdeps/x86_64/strchr.S: Likewise.
9635 * sysdeps/x86_64/strrchr.S: Likewise.
9636
09544cbc
SP
96372013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9638
88576635
SP
9639 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9640
e7b2d1dd
SP
9641 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9642
09544cbc
SP
9643 * sysdeps/generic/math_private.h (__mpsin1): Remove
9644 declaration.
9645 (__mpcos1): Likewise.
9646 (__mpsin): New argument __range_reduce.
9647 (__mpcos): Likewise.
9648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9649 (slow): Use __mpsin and __mpcos.
9650 (slow1): Likewise.
9651 (slow2): Likewise.
9652 (sloww): Likewise.
9653 (sloww1): Likewise.
9654 (sloww2): Likewise.
9655 (bsloww): Likewise.
9656 (bsloww1): Likewise.
9657 (bsloww2): Likewise.
9658 (cslow2): Likewise.
9659 (csloww): Likewise.
9660 (csloww1): Likewise.
9661 (csloww2): Likewise.
9662 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9663 range_reduce. Merge in __mpsin1.
9664 (__mpcos): Likewise.
9665 (__mpsin1): Remove.
9666 (__mpcos1): Likewise.
9667
7602d070
JM
96682013-10-07 Joseph Myers <joseph@codesourcery.com>
9669
9670 * locale/loadlocale.c (_nl_intern_locale_data): Use
9671 LOCFILE_ALIGNED_P.
9672 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9673 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9674 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9675 obstack data is appropriately aligned.
9676 (obstack_int32_grow_fast): Likewise.
9677 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9678 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9679 (add_locale_uint32_array): Likewise.
9680
a357259b
SP
96812013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9682
9683 * benchtests/Makefile: Remove ARGLIST and RET variables.
9684 ($(objpfx)bench-%.c): Pass only function name to the script.
9685 * benchtests/README: Update documentation.
9686 * benchtests/acos-inputs: Add new directives.
9687 * benchtests/acosh-inputs: Likewise.
9688 * benchtests/asin-inputs: Likewise.
9689 * benchtests/asinh-inputs: Likewise.
9690 * benchtests/atan-inputs: Likewise.
9691 * benchtests/atanh-inputs: Likewise.
9692 * benchtests/cos-inputs: Likewise.
9693 * benchtests/cosh-inputs: Likewise.
9694 * benchtests/exp-inputs: Likewise.
9695 * benchtests/log-inputs: Likewise.
9696 * benchtests/pow-inputs: Likewise.
9697 * benchtests/rint-inputs: Likewise.
9698 * benchtests/sin-inputs: Likewise.
9699 * benchtests/sinh-inputs: Likewise.
9700 * benchtests/tan-inputs: Likewise.
9701 * benchtests/tanh-inputs: Likewise.
9702 * scripts/bench.pl: Add support for new directives.
9703
9ec1b13d
AM
97042013-10-07 Alan Modra <amodra@gmail.com>
9705
9706 * README: Fix careless merge.
9707
8b7d57cd
AM
97082013-10-05 Alan Modra <amodra@gmail.com>
9709
9710 * NEWS: Mention powerpc64le support and bugs fixed.
9711 * README: Both big-endian and little-endian powerpc64 supported.
9712
7b7bab13
ST
97132013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9714
57f41c40
AS
9715 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9716 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9717 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9718 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9719
d39baad1
RA
97202013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9721
9722 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9723 match prototype.
9724
cd78f7e7
JM
97252013-10-04 Joseph Myers <joseph@codesourcery.com>
9726
29d73d86
JM
9727 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9728 Move -mhard-float appending from
9729 ports/sysdeps/powerpc/powerpc32/Makefile.
9730 [$(with-fp) = yes] (ASFLAGS): Likewise.
9731 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9732 * sysdeps/powerpc/nofpu: Move directory from
9733 ports/sysdeps/powerpc/nofpu.
9734 * sysdeps/powerpc/soft-fp: Move directory from
9735 ports/sysdeps/powerpc/soft-fp.
9736 * sysdeps/powerpc/powerpc32/405: Move directory from
9737 ports/sysdeps/powerpc/powerpc32/405.
9738 * sysdeps/powerpc/powerpc32/440: Move directory from
9739 ports/sysdeps/powerpc/powerpc32/440.
9740 * sysdeps/powerpc/powerpc32/464: Move directory from
9741 ports/sysdeps/powerpc/powerpc32/464.
9742 * sysdeps/powerpc/powerpc32/476: Move directory from
9743 ports/sysdeps/powerpc/powerpc32/476.
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9745 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9747 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9749 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9751 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9753 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9754 * README: Update for powerpc-*-linux-gnu software floating point
9755 support in libc.
9756
e246b347
JM
9757 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9758 case to powerpc/powerpc32*.
9759 * sysdeps/unix/sysv/linux/configure: Regenerated.
9760
89c2003e
JM
9761 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9762 (_FPU_MASK_OM): Define as 0x04.
9763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9765 0x00c10080.
9766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9767 0x0000003c.
9768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9769
cd78f7e7
JM
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9771 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9772 getcontext_e500.
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9774 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9775 setcontext_e500.
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9777 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9778 and setcontext_e500.
9779
c755294d
CL
97802013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9781
9782 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9783
e16d221c
SP
97842013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9785
9786 * manual/threads.texi (Default Thread Attributes): Fix typo.
9787
215c7d43
WN
97882013-10-04 Will Newton <will.newton@linaro.org>
9789
9790 * malloc/Makefile: Add tst-memalign.
9791 * malloc/tst-memalign.c: New file.
9792
27d0461b
WN
9793 * malloc/tst-posix_memalign.c: Add comments.
9794 (do_test): Add comments and call free on all potentially
9795 allocated pointers. Add space after cast.
9796
1bc92709
WN
9797 * malloc/tst-pvalloc.c: Add comments.
9798 (do_test): Add comments and call free on all potentially
9799 allocated pointers. Remove duplicate check for NULL pointer.
9800 Add space after cast.
9801
66a9be9d
WN
9802 * malloc/tst-valloc.c: Add comments.
9803 (do_test): Add comments and call free on all potentially
9804 allocated pointers. Remove duplicate check for NULL pointer.
9805 Add space after cast.
9806
4cb81307
AM
98072013-10-04 Alan Modra <amodra@gmail.com>
9808
9809 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9810 Use stdint types in rather than __attribute__((mode())).
9811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9812
f8e3e9f3
AM
98132013-10-04 Alan Modra <amodra@gmail.com>
9814
9815 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9816 Correct handling of unaligned relocs for little-endian.
9817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9818
8f9ebb08
AM
98192013-10-04 Alan Modra <amodra@gmail.com>
9820
9821 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9822 * configure: Regenerate.
9823 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9824 * shlib-versions: Likewise.
9825
0edf96c2
AM
98262013-10-04 Alan Modra <amodra@gmail.com>
9827
9828 * string/tester.c (test_memrchr): Increment reported test cycle.
9829
e0f7a380
AM
98302013-10-04 Alan Modra <amodra@gmail.com>
9831
9832 * string/test-memcpy.c (do_one_test): When reporting errors, print
9833 string address and don't overrun end of string.
9834
466b0393
AM
98352013-10-04 Alan Modra <amodra@gmail.com>
9836
9837 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9838 insrdi. Make better use of reg selection to speed exit slightly.
9839 Schedule entry path a little better. Remove useless "are we done"
9840 checks on entry to main loop. Handle wrapping around zero address.
9841 Correct main loop count. Handle single left-over word from main
9842 loop inline rather than by using loop_small. Remove extra word
9843 case in loop_small caused by wrong loop count. Add little-endian
9844 support.
9845 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9846 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9847 cache hint.
9848 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9849 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9850 support. Avoid rlwimi.
9851 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9852
3be87c77
AM
98532013-10-04 Alan Modra <amodra@gmail.com>
9854
9855 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9856 insrdi. Formatting.
3be87c77
AM
9857 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9858 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9859 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9860 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9861 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9862 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9863
759cfef3
AM
98642013-10-04 Alan Modra <amodra@gmail.com>
9865
9866 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9867 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9869 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9870 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9871 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9872 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9873 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9874 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9875 use of regs. Use power7 mtocrf. Tidy function tails.
9876
fe6e95d7
AM
98772013-10-04 Alan Modra <amodra@gmail.com>
9878
9879 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9880 Formatting. Consistently use rXXX register defines or rN defines.
9881 Use early exit labels that avoid restoring unused non-volatile regs.
9882 Make cr field use more consistent with rWORDn compares. Rename
9883 regs used as shift registers for unaligned loop, using rN defines
9884 for short lifetime/multiple use regs.
9885 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9886 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9887 addi 1,1,64 to pop stack frame. Simplify return value code.
9888 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9889
664318c3
AM
98902013-10-04 Alan Modra <amodra@gmail.com>
9891
9892 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9893 support. Correct typos, formatting. Optimize tail. Use insrdi
9894 rather than rlwimi.
9895 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9896 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9897 little-endian support. Correct typos.
9898 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9899 rather than rlwimi.
9900 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9901 in loop and entry code to keep "and." results.
9902 (strchr): Add little-endian support. Comment. Move cntlzd
9903 earlier in tail.
9904 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9905
43b84013
AM
99062013-10-04 Alan Modra <amodra@gmail.com>
9907
9908 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9909 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9910 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9911 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9912
8a7413f9
AM
99132013-10-04 Alan Modra <amodra@gmail.com>
9914
9915 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9916 (rTMP): Define as r11.
9917 (strcmp): Add little-endian support. Optimise tail.
9918 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9919 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9920 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9922 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9925
33ee81de
AM
99262013-10-04 Alan Modra <amodra@gmail.com>
9927
9928 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9929 little-endian support. Remove unnecessary "are we done" tests.
9930 Handle "s" wrapping around zero and extremely large "size".
9931 Correct main loop count. Handle single left-over word from main
9932 loop inline rather than by using small_loop. Correct comments.
9933 Delete "zero" tail, use "end_max" instead.
9934 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9935
db9b4570
AM
99362013-10-04 Alan Modra <amodra@gmail.com>
9937
9938 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9939 support. Don't branch over align.
9940 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9941 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9942 support. Rearrange tmp reg use to suit. Comment.
9943 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9944
f7c399cf
AM
99452013-10-04 Alan Modra <amodra@gmail.com>
9946
9947 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9948
0b2c2ace
AM
99492013-10-04 Alan Modra <amodra@gmail.com>
9950
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9952 conditional form of branch and link when obtaining pc.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9954
02f04a6c
AM
99552013-10-04 Alan Modra <amodra@gmail.com>
9956
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9958 HIWORD/LOWORD.
9959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9961
9b874b2f
AM
99622013-10-04 Alan Modra <amodra@gmail.com>
9963
9964 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9965 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9966 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9967 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9968 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9969 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9970 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9972 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9973 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9974
be1e5d31
AB
99752013-10-04 Anton Blanchard <anton@au1.ibm.com>
9976 Alistair Popple <alistair@ozlabs.au.ibm.com>
9977 Alan Modra <amodra@gmail.com>
9978
9979 [BZ #15723]
9980 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9982 _dl_hwcap access for little-endian.
9983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9984 destroy vmx regs when saving unaligned.
9985 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9986 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9987 destroy vmx regs when saving unaligned.
9988
fef13a78
AM
99892013-10-04 Alan Modra <amodra@gmail.com>
9990
9991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9992 Don't use a union to pack hi/low value.
9993
76a66d51
AB
99942013-10-04 Anton Blanchard <anton@au1.ibm.com>
9995
9996 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9997 for little-endian.
9998 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10000 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10001 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10002 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10003
6a31fe7f
AM
100042013-10-04 Alan Modra <amodra@gmail.com>
10005
10006 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10007 constants to usual value for .cst8 section, and remove redundant
10008 high address load.
10009 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10010 constant for 0x1p52. Load little-endian words of double from
10011 correct stack offsets.
10012
7b88401f
AM
100132013-10-04 Alan Modra <amodra@gmail.com>
10014
10015 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10016 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10017 words of double from correct stack offsets.
10018 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10019 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10020 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10021 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10025 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10026 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10027 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10030 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10031 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10032 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10033 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10034 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10035
9c008155
AM
100362013-10-04 Alan Modra <amodra@gmail.com>
10037
10038 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10039 64-bit int/double union.
10040 (_FPU_SETCW): Likewise.
10041 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10042 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10043
da13146d
AM
100442013-10-04 Alan Modra <amodra@gmail.com>
10045
10046 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10047 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10048
603e8410
AM
100492013-10-04 Alan Modra <amodra@gmail.com>
10050
10051 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10052 use vector int constants.
10053 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10054
4a28b3ca
AB
100552013-10-04 Anton Blanchard <anton@au1.ibm.com>
10056
10057 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10058 array with long long.
10059 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10060 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10061 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10062 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10063 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10064 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10065 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10066 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10067 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10068 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10069 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10070 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10071 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10072
2ca85d2b
AB
100732013-10-04 Anton Blanchard <anton@au1.ibm.com>
10074
10075 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10076 (__signbit): Likewise. Correct for little-endian.
10077 (__signbitl): Call __signbit.
10078 (lrint): Correct for little-endian.
10079 (lrintf): Call lrint.
10080
62a728ae
AM
100812013-10-04 Alan Modra <amodra@gmail.com>
10082
10083 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10084 union 32-bit int array member with 64-bit int array.
10085 (t515, tm256): Double rather than long double.
10086 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10087
32c301df
AM
100882013-10-04 Alan Modra <amodra@gmail.com>
10089
10090 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10091 Delete.
10092 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10094 version of math_ldbl.h.
10095
650ef4bd
AM
100962013-10-04 Alan Modra <amodra@gmail.com>
10097
10098 [BZ #15734], [BZ #15735]
10099 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10100 all uses of ieee875 long double macros and unions. Simplify test
10101 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10102 ldbl_extract_mantissa value for ix,iy exponents. Properly
10103 normalize after ldbl_extract_mantissa, and don't add hidden bit
10104 already handled. Don't treat low word of ieee854 mantissa like
10105 low word of IBM long double and mask off bit when testing for
10106 zero.
10107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10108 all uses of ieee875 long double macros and unions. Simplify tests
10109 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10110 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10111 two1022, instead use their values. Recognise that tests for large
10112 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10113 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10114 Rewrite all uses of ieee875 long double macros and unions. Simplify
10115 test for 0.0L and nan. Correct negation.
10116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10117 ieee875 long double macros and unions. Correct output for large
10118 magnitude x. Correct absolute value calculation.
10119 (__erfcl): Likewise.
10120 * math/libm-test.inc: Add tests for errors discovered in IBM long
10121 double versions of fmodl, remainderl, erfl and erfcl.
10122
765714ca
AM
101232013-10-04 Alan Modra <amodra@gmail.com>
10124
10125 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10126 all uses of ieee854 long double macros and unions. Simplify tests
10127 for long doubles that are fully specified by the high double.
10128 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10129 Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10131 Remove dead code too.
10132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10133 (__ieee754_ynl): Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10135 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10137 Remove dead code too.
10138 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10139 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10141 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10142 Simplify.
10143 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10144 Simplify.
10145 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10148 Comment on variable precision.
10149 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10151 Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10153 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10154 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10156 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10157
4ebd120c
AM
101582013-10-04 Alan Modra <amodra@gmail.com>
10159
10160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10161 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10162 all uses of ieee854 long double macros and unions.
10163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10165 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10169 Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10172 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10174 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10176 Simplify sign and nan test too.
10177 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10179 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10180 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10181 Likewise.
10182 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10184 Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10186 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10187 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10191
1b6adf88
AM
101922013-10-04 Alan Modra <amodra@gmail.com>
10193
10194 * stdio-common/printf_size.c (__printf_size): Don't use
10195 union ieee854_long_double in fpnum union.
10196 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10197 signbit macro to retrieve sign from long double.
10198 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10199 retrieve sign from long double.
10200 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10201 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10202 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10203 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10204 * math/test-misc.c (main): Don't use union ieee854_long_double.
10205
4cf69995
AM
102062013-10-04 Alan Modra <amodra@gmail.com>
10207
10208 [BZ #15680]
10209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10210 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10211 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10212 calculation. Remove unnecessary test for denormal exponent.
10213 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10214 Correct handling of denormals. Avoid undefined shift behaviour.
10215 Correct normalisation of low mantissa when low double is denormal.
10216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10217 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10218 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10219 Correct normalisation of low mantissa. Test for overflow of high
10220 mantissa and normalise.
10221 (ldbl_nearbyint): Use more readable constant for two52.
10222 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10223 (__mpn_construct_long_double): Fix test for overflow of high
10224 mantissa and correct normalisation. Avoid undefined shift.
10225
9605ca6c
AM
102262013-10-04 Alan Modra <amodra@gmail.com>
10227
10228 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10229 (union ibm_extended_long_double): Define as an array of ieee754_double.
10230 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10231 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10232 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10233 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10241
975569d0
JM
102422013-10-03 Joseph Myers <joseph@codesourcery.com>
10243
d3d23756
JM
10244 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10245 page size instead of calling getpagesize.
10246
975569d0
JM
10247 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10248 (LOCFILE_ALIGN_MASK): Likewise.
10249 (LOCFILE_ALIGN_UP): Likewise.
10250 (LOCFILE_ALIGNED_P): Likewise.
10251 * locale/programs/ld-collate.c (collate_output): Use the new
10252 macros instead of __alignof__ (int32_t).
10253 * locale/weight.h (findidx): Likewise.
10254
b1fe1f2b
OB
102552013-10-03 Ondřej Bílka <neleai@seznam.cz>
10256
10257 [BZ #431]
10258 * manual/string.texi: Fix strncat and wcsncat.
10259
5f855e35
BM
102602013-10-03 Brooks Moses <bmoses@google.com>
10261
10262 [BZ #15915]
10263 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10264 * Makerules: ...here, and adjust associated comments.
10265
3cef6009
WN
102662013-10-02 Will Newton <will.newton@linaro.org>
10267
10268 * malloc/Makefile: Add tst-pvalloc.
10269 * malloc/tst-pvalloc.c: New file.
10270
7815420b
WN
102712013-10-02 Will Newton <will.newton@linaro.org>
10272
10273 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10274 improve test coverage.
10275
4868b204
WN
102762013-10-02 Will Newton <will.newton@linaro.org>
10277
10278 * malloc/Makefile: Add tst-posix_memalign.
10279 * malloc/tst-posix_memalign.c: New file.
10280
29c793b3
EB
102812013-10-01 Eric Blake <eblake@redhat.com>
10282
10283 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10284 Use __THROWNL rather than __THROW on static functions.
10285
fd967522
PM
102862013-09-30 Petr Machata <pmachata@redhat.com>
10287
10288 * elf/elf.h (R_AARCH64_ABS16): New macro.
10289 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10290 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10291 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10292 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10293 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10294 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10295 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10296 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10297 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10298 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10299 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10300 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10301 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10302 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10303 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10304 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10305 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10306 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10307 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10308 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10309 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10310 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10311 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10312 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10313 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10314 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10315 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10316 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10317 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10318 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10319 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10320 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10321 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10322 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10323 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10324 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10325 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10326 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10327 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10328 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10329 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10330 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10331 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10332 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10333 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10334 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10335 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10336 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10337 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10338 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10339 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10340 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10341 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10342 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10343 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10344 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10345 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10346 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10347 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10348 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10349 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10350 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10351 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10352 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10353 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10354 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10355 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10356 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10357 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10358 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10359 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10360 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10361 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10362 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10363 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10364 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10365 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10366 (R_AARCH64_TLSDESC_LDR): Likewise.
10367 (R_AARCH64_TLSDESC_ADD): Likewise.
10368 (R_AARCH64_TLSDESC_CALL): Likewise.
10369
b2179107
AS
103702013-09-30 Andreas Schwab <schwab@suse.de>
10371
10372 [BZ #15048]
10373 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10374 the nss database lookup.
10375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10377
47f28d0a
MF
103782013-09-28 Mike Frysinger <vapier@gentoo.org>
10379
10380 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10381
103822013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10383
10384 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10385 ${Bash-specific parameter/pattern/string} parameter expansion.
10386 * sysdeps/unix/make-syscalls.sh: Likewise.
10387
f4518a17
KK
103882013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10389
10390 * sysdeps/sh/stackguard-macros.h: New file.
10391
dc1a95c7
OB
103922013-09-26 Ondřej Bílka <neleai@seznam.cz>
10393
10394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10396 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10398 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10399 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10400
5ebbff8f
AZ
104012013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10402
10403 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10404 Fix thread ID register.
10405
4fd2cf9f
JM
104062013-09-25 Joseph Myers <joseph@codesourcery.com>
10407
10408 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10409 [POSIX || UNIX98]: Require rather than permitting all symbols from
10410 <time.h>.
10411 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10412 element of struct sched_param.
10413 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10414 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10415 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10416 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10417 constant.
10418
12c22bc4
OL
104192013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10420
10421 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10422 argument calculation.
10423
a03d8ea7
JM
104242013-09-24 Joseph Myers <joseph@codesourcery.com>
10425
10426 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10427 Expect macro.
10428 [POSIX] (pthread_attr_t): Do not require type.
10429 [POSIX] (pthread_cond_t): Likewise.
10430 [POSIX] (pthread_condattr_t): Likewise.
10431 [POSIX] (pthread_key_t): Likewise.
10432 [POSIX] (pthread_mutex_t): Likewise.
10433 [POSIX] (pthread_mutexattr_t): Likewise.
10434 [POSIX] (pthread_once_t): Likewise.
10435 [POSIX] (pthread_t): Likewise.
10436 [POSIX-based standards] (pthread_atfork): Expect function.
10437
6055173a
JM
104382013-09-24 Joseph Myers <joseph@codesourcery.com>
10439 Richard Sandiford <richard@codesourcery.com>
10440
10441 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10442 (swap_endianness_p): New extern variable.
10443 (set_big_endian): New inline function.
10444 (maybe_swap_uint32): Likewise.
10445 (maybe_swap_uint32_array): Likewise.
10446 (maybe_swap_uint32_obstack): Likewise.
10447 * locale/programs/locfile.c: Include <stdbool.h>.
10448 (swap_endianness_p): New variable.
10449 (add_locale_uint32): Call maybe_swap_uint32.
10450 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10451 (write_locale_data): Call maybe_swap_uint32_array.
10452 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10453 maybe_swap_uint32.
10454 (obstack_int32_grow_fast): Likewise.
10455 (output_weightwc): Call maybe_swap_uint32_obstack.
10456 (collate_output): Likewise.
10457 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10458 (OPT_LITTLE_ENDIAN): Likewise.
10459 (options): Add --little-endian and --big-endian options.
10460 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10461 * locale/programs/locarchive.c: Include "locfile.h".
10462 (GET): New macro.
10463 (SET): Likewise.
10464 (INC): Likewise.
10465 (create_archive): Use the new macros to access fields of
10466 structures directly mapped from or written to locale archives.
10467 (oldlocrecentcmp): Likewise.
10468 (enlarge_archive): Likewise.
10469 (insert_name): Likewise.
10470 (add_alias): Likewise.
10471 (add_locale): Likewise.
10472 (delete_locales_from_archive): Likewise.
10473 (show_archive_content): Likewise.
10474 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10475 locale data.
10476
39bf0bb4
RM
104772013-09-24 Roland McGrath <roland@hack.frob.com>
10478
10479 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10480 http://www.gnu.org/doc/freemanuals.texi.
10481 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10482
f02eed10
WN
104832013-09-24 Will Newton <will.newton@linaro.org>
10484
10485 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10486 macro.
10487
a3a6c312
JM
104882013-09-23 Joseph Myers <joseph@codesourcery.com>
10489
10490 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10491 unsigned char.
10492
107375ac
MR
104932013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10494
10495 * manual/threads.texi (POSIX Threads): Fix a typo.
10496
141f3a77
SP
104972013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10498
303e567a
SP
10499 [BZ #14547]
10500 * string/tst-strcoll-overflow.c: New test case.
10501 * string/Makefile (xtests): Add tst-strcoll-overflow.
10502 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10503 cache if string sizes may cause integer overflow.
10504
141f3a77
SP
10505 [BZ #14547]
10506 * string/strcoll_l.c (coll_seq): New members rule, idx,
10507 save_idx and back_us.
10508 (get_next_seq_nocache): New function.
10509 (do_compare_nocache): New function.
10510 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10511 when malloc fails.
10512
c61b4d41
CD
105132013-09-23 Carlos O'Donell <carlos@redhat.com>
10514
0b1f8e35
CD
10515 [BZ #15754]
10516 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10517 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10518 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10519
c61b4d41
CD
10520 [BZ #15754]
10521 * elf/Makefile (tests): Add tst-ptrguard1.
10522 (tests-static): Add tst-ptrguard1-static.
10523 (tst-ptrguard1-ARGS): Define.
10524 (tst-ptrguard1-static-ARGS): Define.
10525 * elf/tst-ptrguard1.c: New file.
10526 * elf/tst-ptrguard1-static.c: New file.
10527 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10528 * sysdeps/i386/stackguard-macros.h: Likewise.
10529 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10530 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10531 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10532 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10533 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10534 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10535
105362013-09-23 Hector Marco <hecmargi@upv.es>
10537 Ismael Ripoll <iripoll@disca.upv.es>
10538 Carlos O'Donell <carlos@redhat.com>
10539
10540 [BZ #15754]
10541 * sysdeps/generic/stackguard-macros.h: Define
10542 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10543 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10544 Define __pointer_chk_guard_local.
10545 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10546 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10547
f5f4e7b4
VV
105482013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10549
10550 [BZ #15859]
10551 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10552
5bb43a43
AS
105532013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10554
10555 * include/string.h (__ffs): Declare as hidden.
10556 * string/ffs.c (__ffs): Define as hidden.
10557 * sysdeps/i386/ffs.c (__ffs): Likewise.
10558 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10559 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10560 * sysdeps/s390/ffs.c (__ffs): Likewise.
10561 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10562
3ea5be54
AO
105632013-09-20 Alexandre Oliva <aoliva@redhat.com>
10564
ffb89e53
AO
10565 * NEWS: Mention malloc probes.
10566
322dea08
AO
10567 * malloc/arena.c (new_heap): New memory_heap_new probe.
10568 (grow_heap): New memory_heap_more probe.
10569 (shrink_heap): New memory_heap_less probe.
10570 (heap_trim): New memory_heap_free probe.
10571 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10572 (systrim): New memory_sbrk_less probe.
10573 * manual/probes.texi: Document them.
10574
655673f3
AO
10575 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10576 * manual/probes.texi: Document it.
10577
35fed6f1
AO
10578 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10579 (__libc_realloc): Add memory_realloc_retry probe.
10580 (__libc_memalign): Add memory_memalign_retry probe.
10581 (__libc_valloc): Add memory_valloc_retry probe.
10582 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10583 (__libc_calloc): Add memory_calloc_retry probe.
10584 * manual/probes.texi: Document them.
10585
6999d38c
AO
10586 * malloc/arena.c (get_free_list): Add probe
10587 memory_arena_reuse_free_list.
10588 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10589 and memory_arena_reuse.
10590 (arena_get2) [!PER_THREAD]: Likewise.
10591 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10592 memory_arena_reuse_realloc.
10593 * manual/probes.texi: Document them.
10594
0653427f
AO
10595 * malloc/malloc.c (__libc_free): Add
10596 memory_mallopt_free_dyn_thresholds probe.
10597 (__libc_mallopt): Add multiple memory_mallopt probes.
10598 * manual/probes.texi: Document them.
10599
3ea5be54
AO
10600 * malloc/malloc.c: Include stap-probe.h.
10601 (__libc_mallopt): Add memory_mallopt probe.
10602 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10603 * manual/probes.texi: New.
10604 * manual/Makefile (chapters): Add probes.
10605 * manual/threads.texi: Set next node.
10606
e35696c3 106072013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10608
e35696c3
CL
10609 [BZ #15963, #13985]
10610 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10611 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10612 Add `Chinese' to `nan' entry name.
10613
4aafb73c
SP
106142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10615
10616 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10617 (POLYNOMIAL): Likewise.
10618 (TAYLOR_SINCOS): Likewise.
10619 (TAYLOR_SLOW): Likewise.
10620 (__sin): Use TAYLOR_SINCOS.
10621 (__cos): Likewise.
10622 (slow): Use TAYLOR_SLOW.
10623 (sloww): Likewise.
10624 (bsloww): Likewise.
10625 (csloww): Likewise.
10626
d84f25c7
LD
106272013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10628
10629 * stdlib/strtod_l.c: Fix buffer overrun.
10630
5eea0404
SP
106312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10632
7849ff93
SP
10633 * benchtests/Makefile (bench): Add sincos.
10634 * benchtests/bench-sincos.c: New file.
10635
cfa3c886
SP
10636 * math/libm-test.inc (cos_test_data): New test inputs.
10637 (sin_test_data): Likewise.
10638
b348e1e3
SP
10639 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10640 macro.
10641 (__sin): Use it.
10642 (__cos): Likewise.
10643 (slow1): Likewise.
10644 (slow2): Likewise.
10645 (sloww1): Likewise.
10646 (sloww2): Likewise.
10647 (bsloww1): Likewise.
10648 (bsloww2): Likewise.
10649 (cslow2): Likewise.
10650 (csloww1): Likewise.
10651 (csloww2): Likewise.
10652
6cce25f8
SP
10653 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10654 function.
10655 (__sin): Use it.
10656 (__cos): Likewise.
10657
5eea0404
SP
10658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10659 gotos.
10660 (__cos): Likewise.
10661
9c21573c
MR
106622013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10663
10664 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10665 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10666 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10667 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10668 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10669 * elf/cache.c (print_entry): Handle the new cache flags.
10670
24d22e65
JM
106712013-09-18 Joseph Myers <joseph@codesourcery.com>
10672 Aldy Hernandez <aldyh@redhat.com>
10673
10674 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10675 Change condition to [_SOFT_FLOAT].
10676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10688 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10691 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10692 declaration.
10693
d13ef066
JM
106942013-09-18 Joseph Myers <joseph@codesourcery.com>
10695
2e071de0
JM
10696 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10697 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10698 (__longjmp): Use LOAD_GP to load saved GPRs.
10699 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10700 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10701 (__sigsetjmp): Use SAVE_GP to save GPRs.
10702
d13ef066
JM
10703 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10704 Do not append -msoft-float.
10705 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10706
97a0650b
SP
107072013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10708
10709 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10710
11ca09e9
JM
107112013-09-17 Joseph Myers <joseph@codesourcery.com>
10712
10713 [BZ #15966]
10714 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10715 (_FPU_GETCW): Use initial "__" on variable and field names but not
10716 on macro parameter name.
10717 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10718 parentheses around reference to macro parameter.
10719
08ffcf34
RS
107202013-09-13 Richard Sandiford <richard@codesourcery.com>
10721
10722 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10723 prototype.
10724 (ctype_startup): Use uint32_t in cast and sizeof for
10725 ctype->charnames.
10726
ae7080d3
JL
107272013-09-11 Jia Liu <proljc@gmail.com>
10728
10729 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10730 __daddr_t_defined.
10731 [__FreeBSD__]: Likewise.
10732
5905e7b3
OB
107332013-09-11 Ondřej Bílka <neleai@seznam.cz>
10734
10735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10736 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10737 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10738 (strchr): Remove __strchr_sse42 ifunc selection.
10739 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10740 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10741
b987c776
WN
107422013-09-11 Will Newton <will.newton@linaro.org>
10743
10744 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10745 parameter to RES. Remove hardcoded 1000 value.
10746 * benchtests/bench-skeleton.c (main): Pass RES parameter
10747 to TIMING_INIT and multiply result by 1000.
10748
ddf985af
AZ
107492013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10750
10751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10752
ffdd3181
AS
107532013-09-11 Andreas Schwab <schwab@suse.de>
10754
10755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10756 if not defined.
10757 (O_TMPFILE) [__USE_GNU]: Define.
10758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10759 Define.
10760
b73ed247
WN
107612013-09-11 Will Newton <will.newton@linaro.org>
10762
10763 [BZ #15857]
10764 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10765 does not overflow.
10766
55e17aad
WN
107672013-09-11 Will Newton <will.newton@linaro.org>
10768
10769 [BZ #15856]
10770 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10771 does not overflow.
10772
1159a193
WN
107732013-09-11 Will Newton <will.newton@linaro.org>
10774
10775 [BZ #15855]
10776 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10777 does not overflow.
10778
5905e7b3 107792013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10780
10781 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10782 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10786
cdfc721b
AM
107872013-09-10 Allan McRae <allan@archlinux.org>
10788
aa04af00
AM
10789 [BZ #15748]
10790 * manual/arith.texi (Parsing of Floats): Clarify
10791 cross-reference.
10792
cdfc721b
AM
10793 [BZ #15849]
10794 * manual/install.texi (Running make install): Mention
10795 --enable-pt-chown.
10796 * INSTALL: Regenerated.
10797
95e7cf29
MR
107982013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10799
10800 * csu/init-first.c (_init): Remove the !SHARED condition around
10801 FPU control word initialization.
10802 * elf/dl-support.c (_dl_fpu_control): New variable.
10803 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10804 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10805 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10806 * math/test-fpucw-static.c: New file.
10807 * math/test-fpucw-ieee.c: New file.
10808 * math/test-fpucw-ieee-static.c: New file.
10809 * math/Makefile (tests): Add `test-fpucw-ieee' and
10810 `$(tests-static)'.
10811 (tests-static): New variable.
10812 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10813 dependency to...
10814 [($(build-shared),yes)]
10815 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10816 ... this.
10817 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10818 New dependency.
10819
83e43bf0
AM
108202013-09-09 Allan McRae <allan@archlinux.org>
10821
a9f5ce09
AM
10822 [BZ #15939]
10823 * manual/string.texi (Collation Functions): Fix typo in
10824 strcoll example.
10825 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10826
34829bc2
AM
10827 [BZ #15893]
10828 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10829
3932737d
AM
10830 [BZ #15892]
10831 * libio/memstream.c (open_memstream): Fix memory leak.
10832 * libio/wmemstream.c (open_wmemstream): Likewise.
10833
83e43bf0
AM
10834 [BZ #15895]
10835 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10836
0c66b8e9
WN
108372013-09-09 Will Newton <will.newton@linaro.org>
10838
10839 * malloc/Makefile: Add tst-realloc to tests.
10840 * malloc/tst-realloc.c: New file.
10841
f6b00fd1
AM
108422013-09-09 Allan McRae <allan@archlinux.org>
10843
10844 [BZ #15844]
10845 * COPYING: Update from GNU website to fix FSF address.
10846 * COPYING.LIB: Likewise.
10847
eec55e16
DM
108482013-09-06 David S. Miller <davem@davemloft.net>
10849
10850 * po/zh_TW.po: Update Chinese (traditional) translation from
10851 translation project.
10852
1ecbb381
RS
108532013-09-06 Richard Sandiford <richard@codesourcery.com>
10854 Joseph Myers <joseph@codesourcery.com>
10855
10856 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10857 "localeinfo.h".
10858 (obstack_chunk_alloc): New macro.
10859 (obstack_chunk_free): Likewise.
10860 (record_offset): New function.
10861 (init_locale_data): Likewise.
10862 (align_locale_data): Likewise.
10863 (add_locale_empty): Likewise.
10864 (add_locale_raw_data): Likewise.
10865 (add_locale_raw_obstack): Likewise.
10866 (add_locale_string): Likewise.
10867 (add_locale_wstring): Likewise.
10868 (add_locale_uint32): Likewise.
10869 (add_locale_uint32_array): Likewise.
10870 (add_locale_char): Likewise.
10871 (start_locale_structure): Likewise.
10872 (end_locale_structure): Likewise.
10873 (start_locale_prelude): Likewise.
10874 (end_locale_prelude): Likewise.
10875 (write_locale_data): Take locale_file structure rather than an
10876 iovec.
10877 * locale/programs/locfile.h: Include "obstack.h".
10878 (struct locale_file): Change to store locale file contents instead
10879 of header.
10880 (init_locale_data): New prototype.
10881 (align_locale_data): Likewise.
10882 (add_locale_empty): Likewise.
10883 (add_locale_raw_data): Likewise.
10884 (add_locale_raw_obstack): Likewise.
10885 (add_locale_string): Likewise.
10886 (add_locale_wstring): Likewise.
10887 (add_locale_uint32): Likewise.
10888 (add_locale_uint32_array): Likewise.
10889 (add_locale_char): Likewise.
10890 (start_locale_structure): Likewise.
10891 (end_locale_structure): Likewise.
10892 (start_locale_prelude): Likewise.
10893 (end_locale_prelude): Likewise.
10894 (write_locale_data): Update prototype.
10895 * locale/programs/3level.h (struct TABLE): Remove result field.
10896 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10897 Use new locale_file interface.
10898 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10899 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10900 * locale/programs/ld-address.c (address_output): Use new
10901 locale_file interface.
10902 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10903 NO_ADD_LOCALE.
10904 (collate_finish): Don't call collseq_table_finalize.
10905 (collate_output): Use new locale_file interface.
10906 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10907 in file.
10908 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10909 (TABLE): Move defines earlier in file.
10910 (ELEMENT): Likewise.
10911 (DEFAULT): Likewise.
10912 (wctrans_table_add): Move macro and inline function earlier in
10913 file.
10914 (struct wctype_table): Move type earlier in file.
10915 (add_locale_wctype_table): New static prototype.
10916 (struct locale_ctype_t): Use logical types instead of struct iovec
10917 pointers for members.
10918 (ctype_output): Use new locale_file interface.
10919 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10920 new locale_file interface.
10921 (allocate_arrays): Update for use of new locale_file interface.
10922 * locale/programs/ld-identification.c (identification_output): Use
10923 new locale_file interface.
10924 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10925 * locale/programs/ld-messages.c (messages_output): Likewise.
10926 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10927 * locale/programs/ld-name.c (name_output): Likewise.
10928 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10929 * locale/programs/ld-paper.c (paper_output): Likewise.
10930 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10931 * locale/programs/ld-time.c (time_output): Likewise.
10932
e029e2e5
AZ
109332013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10934
10935 * benchtests/Makefile: Add memrchr benchmark.
10936 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10937 benchmark as memrchr.
10938 * benchtests/bench-memrchr-ifunc.c: New file.
10939 * benchtests/bench-memrchr.c: New file.
10940
bbf6e8e4
WN
109412013-09-06 Will Newton <will.newton@linaro.org>
10942
10943 * benchtests/Makefile (string-bench): Add memcpy.
10944
6c82a2f8
CD
109452013-09-05 Carlos O'Donell <carlos@redhat.com>
10946 Cong Wang <amwang@redhat.com>
10947
e732c5f0 10948 [BZ #15850]
6c82a2f8
CD
10949 * sysdeps/unix/sysv/linux/bits/in.h
10950 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10951 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10952 before __USE_KERNEL_IPV6_DEFS uses.
10953 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10954 IPPROTO_BEETPH.
10955 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10956 sockaddr_in6, or ipv6_mreq.
10957
5430fc65
AZ
109582013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10959
10960 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10961 memory access for final bytes in some large inputs.
10962 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10963
4660856c
AZ
109642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10965
10966 * string/test-memrchr.c: New file.
10967 * string/test-memrchr-ifunc.c: New file.
10968 * string/Makefile: Add new memrchr testcase.
10969
bb8ea713
MF
109702013-09-05 Mike Frysinger <vapier@gentoo.org>
10971
10972 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10973 fanotify_init returns EPERM.
10974
b92a20b5
JM
109752013-09-04 Joseph Myers <joseph@codesourcery.com>
10976
10977 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10978 errors.
10979 (top level): Treat second token from macro or constant entries for
10980 allowed headers as allowed.
10981 * include/complex.h: Condition internal declarations on
10982 [!_ISOMAC].
10983 * include/fenv.h: Condition include of <stdbool.h> and internal
10984 declarations on [!_ISOMAC].
7447ccd9
CL
10985
109862013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10987
3e181dda 10988 [BZ #15923]
7447ccd9
CL
10989 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10990
3f2e46a4
JM
109912013-09-04 Joseph Myers <joseph@codesourcery.com>
10992
10993 * configure.in (--enable-versioning): Remove configure option.
10994 (libc_cv_asm_symver_directive): Remove configure test.
10995 (libc_cv_ld_version_script_option): Likewise.
10996 (VERSIONING): Remove variable and AC_SUBST.
10997 (DO_VERSIONING): Remove AC_DEFINE.
10998 * configure: Regenerated.
10999 * config.h.in (DO_VERSIONING): Remove macro.
11000 * Makerules [$(versioning) = yes]: Change conditionals to
11001 [$(build-shared) = yes].
11002 * config.make.in (versioning): Remove variable.
11003 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11004 [$(build-shared) = yes].
11005 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11006 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11007 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11008 [$(build-shared) = yes].
11009 * extra-lib.mk [$(versioning) = yes]: Likewise.
11010 * hurd/Makefile [$(versioning) = yes]: Likewise.
11011 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11012 [SHARED].
11013 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11014 [SHARED].
11015 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11016 [SHARED && !NO_HIDDEN].
11017 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11018 [SHARED].
11019 [SHARED && DO_VERSIONING]: Likewise..
11020 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11021 [$(build-shared) = yes].
11022 * manual/install.texi (--disable-versioning): Remove
11023 documentation.
11024 * INSTALL: Regenerated.
11025 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11026 to [SHARED].
11027 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11028 [$(build-shared) = yes].
11029 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11030 * sysdeps/i386/i686/multiarch/strstr-c.c
11031 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11032 [SHARED && !NO_HIDDEN].
11033 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11034 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11035 * sysdeps/powerpc/powerpc32/dl-machine.c
11036 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11037 * sysdeps/powerpc/powerpc32/sysdep.h
11038 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11039 to [SHARED && PIC && !NO_HIDDEN].
11040 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11041 conditional to [SHARED].
11042
44558701
WN
110432013-09-04 Will Newton <will.newton@linaro.org>
11044
11045 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11046 * benchtests/bench-string.h: Include bench-timing.h instead
11047 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11048 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11049 call to HP_TIMING_DIFF_INIT.
11050 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11051 instead of hp-timing.h macros.
11052 * benchtests/bench-memchr.c: Likewise.
11053 * benchtests/bench-memcmp.c: Likewise.
11054 * benchtests/bench-memcpy.c: Likewise.
11055 * benchtests/bench-memmem.c: Likewise.
11056 * benchtests/bench-memmove.c: Likewise.
11057 * benchtests/bench-memset.c: Likewise.
11058 * benchtests/bench-rawmemchr.c: Likewise.
11059 * benchtests/bench-strcasecmp.c: Likewise.
11060 * benchtests/bench-strcasestr.c: Likewise.
11061 * benchtests/bench-strcat.c: Likewise.
11062 * benchtests/bench-strchr.c: Likewise.
11063 * benchtests/bench-strcmp.c: Likewise.
11064 * benchtests/bench-strcpy.c: Likewise.
11065 * benchtests/bench-strcpy_chk.c: Likewise.
11066 * benchtests/bench-strlen.c: Likewise.
11067 * benchtests/bench-strncasecmp.c: Likewise.
11068 * benchtests/bench-strncat.c: Likewise.
11069 * benchtests/bench-strncmp.c: Likewise.
11070 * benchtests/bench-strncpy.c: Likewise.
11071 * benchtests/bench-strnlen.c: Likewise.
11072 * benchtests/bench-strpbrk.c: Likewise.
11073 * benchtests/bench-strrchr.c: Likewise.
11074 * benchtests/bench-strspn.c: Likewise.
11075 * benchtests/bench-strstr.c: Likewise.
11076
cae16d66
WN
110772013-09-04 Will Newton <will.newton@linaro.org>
11078
11079 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11080
ffa3cd7f
JM
110812013-09-03 Joseph Myers <joseph@codesourcery.com>
11082
11083 [BZ #15427]
11084 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11085 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11086 * math/libm-test.inc (lgamma_test_data): Add more tests.
11087 * sysdeps/i386/fpu/libm-test-ulps: Update.
11088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11089
8f02859f
OB
110902013-09-03 Ondřej Bílka <neleai@seznam.cz>
11091
11092 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11094 Add ifunc.
11095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11096 Add strcmp-sse2-unaligned
11097 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11098
18d43716
MF
110992013-09-02 Mike Frysinger <vapier@gentoo.org>
11100
11101 * Versions.def (libc): Add GLIBC_2.19.
11102
ac444012
MF
111032013-09-02 Mike Frysinger <vapier@gentoo.org>
11104
11105 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11106 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11107
b7835e32
JM
111082013-09-02 Joseph Myers <joseph@codesourcery.com>
11109
11110 [BZ #14155]
11111 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11112 intermediate calculations in recurrence.
11113 (__ieee754_ynf): Likewise.
11114 * math/libm-test.inc (jn_test_data): Do not allow spurious
11115 underflow exception. Add more tests.
11116 (yn_test_data): Add more tests.
11117 * sysdeps/i386/fpu/libm-test-ulps: Update.
11118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11119
8220f4f0
OB
111202013-09-02 Ondřej Bílka <neleai@seznam.cz>
11121
11122 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11123
f24a6d08
OB
111242013-08-30 Ondřej Bílka <neleai@seznam.cz>
11125
11126 * csu/init-first.c: Fix then/than typos.
11127 * locale/programs/ld-collate.c: Likewise.
11128 * locale/programs/linereader.h: Likewise.
11129 * manual/charset.texi: Likewise.
11130 * manual/filesys.texi: Likewise.
11131 * manual/stdio.texi: Likewise.
11132 * manual/string.texi: Likewise.
11133 * stdlib/fmtmsg.c: Likewise.
11134 * sysdeps/i386/stpncpy.S: Likewise.
11135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11136 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11138 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11139
382466e0
OB
111402013-08-30 Ondřej Bílka <neleai@seznam.cz>
11141
11142 * elf/dl-open.c: Fix typos.
11143 * iconvdata/gbbig5.c: Likewise.
11144 * iconvdata/iso-2022-jp.c: Likewise.
11145 * iconv/gconv_int.h: Likewise.
11146 * iconv/loop.c: Likewise.
11147 * nis/rpcsvc/nis.h: Likewise.
11148 * resolv/ns_name.c: Likewise.
11149 * stdio-common/vfscanf.c: Likewise.
11150 * streams/stropts.h: Likewise.
11151 * sunrpc/rpc_thread.c: Likewise.
11152 * sysdeps/i386/strpbrk.S: Likewise.
11153 * sysdeps/ieee754/k_standard.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11156 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11157 * sysdeps/mach/hurd/profil.c: Likewise.
11158 * sysdeps/s390/dl-procinfo.h: Likewise.
11159 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11160 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11161 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11162 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11163 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11164
0186c6e9
OB
111652013-08-30 Ondřej Bílka <neleai@seznam.cz>
11166
11167 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11169
d4e16af1
OB
111702013-08-29 Ondřej Bílka <neleai@seznam.cz>
11171
11172 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11173 aix specific files.
11174 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11176 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11177 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11178 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11179 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11180 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11181 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11182
88335980
TS
111832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11184 Roland McGrath <roland@hack.frob.com>
11185
11186 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11187 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11188
ed479b02
ST
111892013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11190
11191 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11192 __executable_start symbol instead of _start.
11193
f1cc4c86
TS
111942013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11195
d821f07c
TS
11196 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11197 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11198 Move macros to...
11199 * sysdeps/gnu/ldsodefs.h: ... this new file.
11200
c54290cf
TS
11201 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11202 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11203 instead of ELFOSABI_LINUX.
11204
0007fc9b 11205 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11206 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11207 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11208 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11209 Likewise.
11210 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11211 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11212 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11213 Likewise.
11214 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11215 (ibm_extended_long_double): Add ieee_nan member.
11216 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11217 (do_test): New function.
11218
f1cc4c86
TS
11219 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11220 TEST_TRUNC.
11221 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11222 functions, renamed from truncdfsf_test, trunctfsf_test,
11223 trunctfdf_test.
11224 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11225 functions.
11226 (do_test): Run all these.
11227
6f65e668
OB
112282013-08-29 Ondřej Bílka <neleai@seznam.cz>
11229
11230 * argp/argp-help.c: Fix typos.
11231 * argp/argp-parse.c: Likewise.
11232 * debug/backtracesyms.c: Likewise.
11233 * elf/elf.h: Likewise.
11234 * malloc/malloc.c: Likewise.
11235 * nis/nis_print.c: Likewise.
11236 * resolv/res_comp.c: Likewise.
11237 * stdlib/stdlib.h: Likewise.
11238 * sunrpc/clnt_tcp.c: Likewise.
11239 * sunrpc/clnt_udp.c: Likewise.
11240 * sunrpc/clnt_unix.c: Likewise.
11241 * sysdeps/unix/bsd/ptsname.c: Likewise.
11242 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11245 Likewise.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11247 Likewise.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11249 Likewise.
6f65e668
OB
11250 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11251
3a309239
SP
112522013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11253
11254 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11256
3b813b29
MF
112572013-08-27 Mike Frysinger <vapier@gentoo.org>
11258
11259 [BZ #15897]
11260 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11261 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11262 ($(objpfx)bug-dl-leaf): New rule.
11263 ($(objpfx)bug-dl-leaf.so): Likewise.
11264 ($(objpfx)bug-dl-leaf.out): Likewise.
11265 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11266 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11267 * dlfcn/bug-dl-leaf.c: New test.
11268 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11269 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11270 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11271 (dlclose): Likewise.
11272 (dlmopen): Likewise.
11273
8cc3269f
RM
112742013-08-27 Roland McGrath <roland@hack.frob.com>
11275
7f9d0034
RM
11276 * include/netdb.h [!_ISOMAC]:
11277 Don't include <tls.h>.
11278 (h_errno, __libc_h_errno): Move declaration and macros out of
11279 [_LIBC_REENTRANT].
11280
fb431262
RM
11281 * include/resolv.h [_RESOLV_H_]:
11282 Don't include <tls.h>.
11283 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11284 * resolv/res_libc.c: Don't include <tls.h>.
11285 (_res): Use __attribute__ ((nocommon)) in place of
11286 __attribute__ ((section (".bss"))).
11287
bd81123a
RM
11288 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11289 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11290
c4e42566
RM
11291 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11292
f890a59b
RM
11293 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11294 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11295
11296 * resolv/res_mkquery.c: Include <sys/time.h>.
11297
5d1f0a09
RM
11298 * inet/ifreq.c: Moved to ...
11299 * sysdeps/unix/ifreq.c: ... here.
11300 * inet/ifreq.c: New file, true stub version.
11301
6fcf28b3
RM
11302 * socket/sa_len.c: New file.
11303 * socket/Makefile (aux): Add it.
11304 * sysdeps/unix/sysv/linux/Makefile
11305 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11306 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11307 and #include <socket/sa_len.c>.
11308 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11309 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11310
e041fb8b
RM
11311 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11312 * bits/socket.h: ... here.
11313
8cc3269f
RM
11314 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11315 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11316 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11317
5d228a43
AS
113182013-08-27 Andreas Schwab <schwab@suse.de>
11319
45b8accc
AS
11320 [BZ #15736]
11321 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11322 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11323 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11324 * string/test-strcasecmp.c (test_main): Run tests in several
11325 locales.
11326 * string/test-strncasecmp.c (test_main): Likewise.
11327
5d228a43
AS
11328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11329 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11330 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11332 (__strncasecmp_ssse3) [PIC]: Likewise.
11333
59d112a4
RM
113342013-08-26 Roland McGrath <roland@hack.frob.com>
11335
53234cc3
RM
11336 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11337
59d112a4
RM
11338 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11339 instead of explicitly declaring xdecrypt.
11340 * nis/nss_nis/nis-publickey.c: Likewise.
11341
595aba70
SP
113422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11343
11344 [BZ #15890]
11345 * nscd/aicache.c: Include res_hconf.h.
11346 (addhstaiX): Initialize res_hconf.
11347
ffabd393
AS
113482013-08-26 Andreas Schwab <schwab@suse.de>
11349
11350 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11351 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11352
e0a69f5c
SP
113532013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11354
11355 * nscd/aicache.c (addhstaiX): Fix indentation.
11356
8c12f01d
MF
113572013-08-25 Mike Frysinger <vapier@gentoo.org>
11358
11359 * configure.ac: Quote $build_pt_chown test.
11360 * configure: Regenerated.
11361
8fe89494
JM
113622013-08-23 Joseph Myers <joseph@codesourcery.com>
11363
11364 [BZ #15532]
11365 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11366 * math/s_cexpf.c (__cexpf): Likewise.
11367 * math/s_cexpl.c (__cexpl): Likewise.
11368 * math/libm-test.inc (cexp_test_data): Correct expected return
11369 value for NaN + i0. Add another test.
11370
75b181d6
DM
113712013-08-22 David S. Miller <davem@davemloft.net>
11372
11373 * po/ca.po: Update Catalan translation from translation project.
936241e4 11374 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11375
acd06bb1
JM
113762013-08-21 Joseph Myers <joseph@codesourcery.com>
11377
11378 [BZ #15797]
11379 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11380 is infinite, not alongside NaN test.
11381 * math/s_fdimf.c (__fdimf): Likewise.
11382 * math/s_fdiml.c (__fdiml): Likewise.
11383 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11384 errno is unchanged.
11385
c0c3f78a
OB
113862013-08-21 Ondřej Bílka <neleai@seznam.cz>
11387
11388 * argp/argp-help.c: Fix typos.
11389 * crypt/speeds.c: Likewise.
11390 * csu/check_fds.c: Likewise.
11391 * elf/dl-load.c: Likewise.
11392 * elf/dl-open.c: Likewise.
11393 * elf/reldep3.c: Likewise.
11394 * elf/reldep.c: Likewise.
11395 * elf/sprof.c: Likewise.
11396 * iconv/iconv_charmap.c: Likewise.
11397 * iconv/skeleton.c: Likewise.
11398 * iconv/strtab.c: Likewise.
11399 * io/lockf64.c: Likewise.
11400 * libio/libioP.h: Likewise.
11401 * resolv/gai_notify.c: Likewise.
11402 * resolv/ns_name.c: Likewise.
11403 * resolv/ns_samedomain.c: Likewise.
11404 * resolv/res_send.c: Likewise.
11405 * stdlib/random.c: Likewise.
11406 * sunrpc/rpc/xdr.h: Likewise.
11407 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11408 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11409 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11410 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11411 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11415 * sysdeps/mach/hurd/check_fds.c: Likewise.
11416 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11417 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11418 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11419 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11420 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11422 * sysdeps/pthread/aio_notify.c: Likewise.
11423 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11424 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11425 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11426 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11427 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11428
46ed1038
LD
114292013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11430
11431 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11432 version if bit_Slow_SSE4_2 is set.
11433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11434 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11435
d400dcac
AZ
114362013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11437
11438 [BZ #15867]
11439 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11440 trampoline stack frame information.
11441 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11442 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11443 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11444 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11445 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11446 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11447 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11448 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11449 sa_flags value.
11450 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11451 interrupting a syscall and set with option SA_SIGINFO.
11452
42c8fdd8
JM
114532013-08-20 Joseph Myers <joseph@codesourcery.com>
11454
c980f2f4
JM
11455 [BZ #15531]
11456 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11457 argument is infinite.
11458 * math/s_cprojf.c (__cprojf): Likewise.
11459 * math/s_cprojl.c (__cprojl): Likewise.
11460 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11461 * math/libm-test.inc (cproj_test_data): Add more tests.
11462
0716c4fc
JM
11463 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11464
42c8fdd8
JM
11465 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11466 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11467 size. Use __ffs to determine corresponding shift.
11468
b31469d0
JM
114692013-08-20 Joseph Myers <joseph@codesourcery.com>
11470 Roland McGrath <roland@hack.frob.com>
11471
11472 * Makefile (INSTALL): Remove trailing blank lines from output of
11473 makeinfo.
11474
4e39af6e
AK
114752013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11476
11477 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11478 Align 32 bit compat elf_greg to 8 bytes.
11479
f315524e
AA
114802013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11481
11482 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11483
1326ba1a
SP
114842013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11485
11486 * string/strcoll_l.c (coll_seq): New structure.
11487 (get_next_seq_cached): New function.
11488 (get_next_seq): New function.
11489 (do_compare): New function.
11490 (STRCOLL): Use GNU style definition. Simplify implementation
11491 by using get_next_seq, get_next_seq_cached and do_compare.
11492
91ce4085
FW
114932013-08-16 Florian Weimer <fweimer@redhat.com>
11494
11495 [BZ #14699]
11496 CVE-2013-4237
11497 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11498 member.
11499 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11500 member.
11501 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11502 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11503 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11504 conditional.
11505 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11506 GETDENTS_64BIT_ALIGNED.
11507 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11508 * manual/filesys.texi (Reading/Closing Directory): Document
11509 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11510 strongly.
11511 * manual/conf.texi (Limits for Files): Add portability note to
11512 NAME_MAX, PATH_MAX.
11513 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11514
ca0a6bc4
AS
115152013-08-13 Andreas Schwab <schwab@suse.de>
11516
11517 [BZ #15749]
11518 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11519 of fabs.
11520 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11521 LDBL_MAX_EXP >= 16384]: Add tests for it.
11522
6c1fd795
DM
115232013-08-12 David S. Miller <davem@davemloft.net>
11524
11525 * version.h (RELEASE): Set to "development".
11526 (VERSION): Set to "2.18.90".
11527 * NEWS: Add 2.19 section.
11528
31ad488d
DM
115292013-08-03 David S. Miller <davem@davemloft.net>
11530
11531 * po/ko.po: Update Korean translation from translation project.
11532
db24e684
DM
115332013-08-01 David S. Miller <davem@davemloft.net>
11534
11535 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11536 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11537 Bilka.
11538
f723285b
DM
115392013-07-30 David S. Miller <davem@davemloft.net>
11540
11541 * po/fr.po: Update French translation from translation project.
11542
3cbc52db
DM
115432013-07-28 David S. Miller <davem@davemloft.net>
11544
30bbc0cc
DM
11545 * po/cs.po: Update Czech translation from translation project.
11546
3cbc52db
DM
11547 * po/sv.po: Update Swedish translation from translation project.
11548
d492e6d0
DM
115492013-07-27 David S. Miller <davem@davemloft.net>
11550
f1a7f492
DM
11551 * po/eo.po: Update Esperanto translation from translation project.
11552
90e62a4a
DM
11553 * po/vi.po: Update Vietnamese translation from translation project.
11554
d492e6d0
DM
11555 * po/de.po: Update German translation from translation project.
11556
d4baa62d
DM
115572013-07-26 David S. Miller <davem@davemloft.net>
11558
641aa7b4
DM
11559 * po/bg.po: Update Bulgarian translation from translation project.
11560
d4baa62d
DM
11561 * po/nl.po: Update Dutch translation from translation project.
11562 * po/pl.po: Update Polish translation from translation project.
11563 * po/ru.po: Update Russian translation from translation project.
11564
61a9dcb9
DM
115652013-07-24 David S. Miller <davem@davemloft.net>
11566
11567 * po/libc.pot: Update.
11568
7b1f8b58
AZ
115692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11570
11571 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11572 variable page size.
11573 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11575 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11576
a8fc7a03
AK
115772013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11578
11579 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11580
e4608715
CD
115812013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11582 Andreas Schwab <schwab@suse.de>
11583 Roland McGrath <roland@hack.frob.com>
11584 Joseph Myers <joseph@codesourcery.com>
11585 Carlos O'Donell <carlos@redhat.com>
11586
11587 [BZ #15755]
11588 * config.h.in: Define HAVE_PT_CHOWN.
11589 * config.make.in (build-pt-chown): New variable.
11590 * configure.in (--enable-pt_chown): New configure option.
11591 * configure: Regenerate.
11592 * login/Makefile: Include Makeconfig. Build pt_chown only if
11593 build-pt-chown is enabled.
11594 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11595 pt_chown to fix pty ownership.
11596 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11597 CLOSE_ALL_FDS.
11598 * manual/install.texi (Configuring and compiling): Mention
11599 --enable-pt_chown. Add @findex for grantpt.
11600 * INSTALL: Regenerate.
11601
da2d62df
DM
116022013-07-20 David S. Miller <davem@davemloft.net>
11603
11604 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11605 difference between 32-bit and 64-bit.
11606
d7e06450
CD
116072013-07-15 Carlos O'Donell <carlos@redhat.com>
11608
11609 [BZ #15711]
11610 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11611 Avoid system header dependency with -ffreestanding.
11612 ($(objpfx)bits/syscall%d): Likewise.
11613
f959cfd7
DM
116142013-07-13 David S. Miller <davem@davemloft.net>
11615
11616 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11617 underflows from atanl/atan2l due to bug 15319.
11618 (casinh_test_data): Likewise.
11619
c61f8513
DM
116202013-07-07 David S. Miller <davem@davemloft.net>
11621
11622 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11623
72c90ed0
JA
116242013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11625
11626 * sysdeps/i386/fpu/libm-test-ulps: Update.
11627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11628
52dfbe13
SP
116292013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11630
11631 * configure.in (--enable-lock-elision): Fix message text.
11632 * INSTALL: Regenerate.
11633 * configure: Regenerate.
11634
3f169543
AZ
116352013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11636
11637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11638
521c6785
AJ
116392013-07-03 Andreas Jaeger <aj@suse.de>
11640
11641 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11642 define.
11643 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11644 (ptrace_peeksiginfo_args): Add.
11645 (__ptrace_peeksiginfo_flags): Add.
11646 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11647 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11649
d2cc15cb
AM
116502013-07-03 Allan McRae <allan@archlinux.org>
11651
11652 * sysdeps/i386/fpu/libm-test-ulps: Update.
11653
3aaeeca7
DM
116542013-07-02 David S. Miller <davem@davemloft.net>
11655
11656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11657
5314ed1a
MT
116582013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11659
11660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11661
67338156
JM
116622013-07-02 Joseph Myers <joseph@codesourcery.com>
11663
11664 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11666
1717da59
AK
116672013-07-02 Andi Kleen <ak@linux.intel.com>
11668
11669 * config.h.in (ENABLE_LOCK_ELISION): Add.
11670 * configure.in (--enable-lock-elision): Add option.
11671 * manual/install.texi: Document --enable lock elision.
11672 * configure: Regenerate
11673 * INSTALL: Regenerate.
11674
1c81621c
L
116752013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11676
11677 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11678 SSE4.2 strcasecmp for libc.a.
11679 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11680
77f01ab5
JM
116812013-07-02 Joseph Myers <joseph@codesourcery.com>
11682
11683 [BZ #13304]
11684 * soft-fp/op-common.h (_FP_FMA): New macro.
11685 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11686 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11687 (_FP_MUL_MEAT_1_imm): ... here.
11688 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11689 (_FP_MUL_MEAT_1_wide): ... here.
11690 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11691 (_FP_MUL_MEAT_1_hard): ... here.
11692 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11693 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11694 (_FP_MUL_MEAT_2_wide): ... here.
11695 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11696 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11697 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11698 (_FP_MUL_MEAT_2_gmp): ... here.
11699 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11700 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11701 (_FP_MUL_MEAT_4_wide): ... here.
11702 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11703 (_FP_MUL_MEAT_4_gmp): ... here.
11704 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11705 (_FP_WFRACBITS_DW_S): Likewise.
11706 (_FP_WFRACXBITS_DW_S): Likewise.
11707 (_FP_HIGHBIT_DW_S): Likewise.
11708 (FP_FMA_S): Likewise.
11709 (_FP_FRAC_HIGH_DW_S): Likewise.
11710 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11711 (_FP_WFRACBITS_DW_D): Likewise.
11712 (_FP_WFRACXBITS_DW_D): Likewise.
11713 (_FP_HIGHBIT_DW_D): Likewise.
11714 (FP_FMA_D): Likewise.
11715 (_FP_FRAC_HIGH_DW_D): Likewise.
11716 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11717 (_FP_WFRACBITS_DW_E): Likewise.
11718 (_FP_WFRACXBITS_DW_E): Likewise.
11719 (_FP_HIGHBIT_DW_E): Likewise.
11720 (FP_FMA_E): Likewise.
11721 (_FP_FRAC_HIGH_DW_E): Likewise.
11722 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11723 (_FP_WFRACBITS_DW_Q): Likewise.
11724 (_FP_WFRACXBITS_DW_Q): Likewise.
11725 (_FP_HIGHBIT_DW_Q): Likewise.
11726 (FP_FMA_Q): Likewise.
11727 (_FP_FRAC_HIGH_DW_Q): Likewise.
11728 * soft-fp/fmasf4.c: New file.
11729 * soft-fp/fmadf4.c: Likewise.
11730 * soft-fp/fmatf4.c: Likewise.
11731
6308fd9a
LD
117322013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11733
11734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11735 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11736 Silvermont.
11737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11738 macro.
11739 (index_Slow_SSE4_2): Likewise.
11740 (index_Prefer_PMINUB_for_stringop): Likewise.
11741 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11742 bit_Slow_SSE4_2 is set.
11743 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11744 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11745
89cd9569
RA
117462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11747
11748 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11749 rtld_global._dl_hwcap2.
11750 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11751 POWER8.
11752 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11753 POWER8 feature descriptions defined in _dl_hwcap2.
11754 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11755 string handling for POWER8 feature bits.
11756 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11757 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11758 _dl_powerpc_cap_flags.
11759 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11760 * sysdeps/powerpc/rtld-global-offsets.sym
11761 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11762 _dl_hwcap2 in the rtld_global_ro structure.
11763
1ae8bfe0
RA
117642013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11765
11766 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11767 hardware capabilities in support of AT_HWCAP2.
11768 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11769 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11770 GLRO(dl_hwcap2).
11771 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11772 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11773 explicitly the unknown a_type display mechanism is used.
11774 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11775 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11776 struct member.
11777 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11778 to macro prototype for AT_HWCAP2 support.
11779 * sysdeps/i386/dl-procinfo.h: Likewise.
11780 * sysdeps/s390/dl-procinfo.h: Likewise.
11781 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11782 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11783 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11784 return -1 for unknown a_type display fallback.
11785 * sysdeps/sparc/dl-procinfo.h: Likewise.
11786 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11787 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11788
8fbec010
JM
117892013-06-28 Joseph Myers <joseph@codesourcery.com>
11790
11791 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11792 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11793
0432680e
PY
117942013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11795
11796 [BZ #12492]
11797 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11798 mprotect making __stack_prot writable.
11799
ce61a2ad
NF
118002013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11801 Joseph Myers <joseph@codesourcery.com>
11802
11803 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11804 as being properly aligned.
11805
f91f1c0f
MR
118062013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11807
3d0f5d0c
MR
11808 * dlfcn/modstatic5.c: New file.
11809 * dlfcn/tststatic5.c: New file.
11810 * dlfcn/Makefile (tests): Add tststatic5.
11811 (tests-static): Likewise.
11812 (modules-names): Add modstatic5.
11813 (tststatic5-ENV): New variable.
11814 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11815
f91f1c0f
MR
11816 [BZ #15022]
11817 * elf/dl-support.c (_dl_main_map): New variable.
11818 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11819 (_dl_nns, _dl_load_adds): Set to 1.
11820 (_dl_initial_searchlist): Refer to _dl_main_map.
11821 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11822 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11823 call to _dl_get_origin.
11824 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11825 around call_map.
11826 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11827 * dlfcn/modstatic3.c: New file.
11828 * dlfcn/tststatic3.c: New file.
11829 * dlfcn/tststatic4.c: New file.
11830 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11831 (tests-static): Likewise.
11832 (modules-names): Add modstatic3.
11833 (tststatic3-ENV, tststatic4-ENV): New variables.
11834 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11835 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11836
cbe7d24b
JM
118372013-06-26 Joseph Myers <joseph@codesourcery.com>
11838
11839 * configure.in (CC): Require GCC version 4.4 or later.
11840 * configure: Regenerated.
11841 * manual/install.texi (Tools for Compilation): Update GCC version
11842 requirement.
11843 * INSTALL: Regenerated.
11844
11b8a0e1
LD
118452013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11846
11847 [BZ #15674]
bb5bb87c
L
11848 * string/test-memcmp.c (check2): New.
11849 (main): Call check2.
11850
11b8a0e1
LD
11851 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11852
b0037103
MR
118532013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11854
11855 [BZ #15022]
11856 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11857 over to...
11858 (dl_open_worker) [!SHARED]: ... here.
11859
c18c701d
RA
118602013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11861
11862 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11863
1d17fa5f
RH
118642013-06-25 Richard Henderson <rth@redhat.com>
11865
11866 * locale/programs/locarchive.c: Include <libc-internal.h>
11867
8fcb833a
JM
118682013-06-25 Joseph Myers <joseph@codesourcery.com>
11869
11870 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11871 trailing whitespace removed.
11872
17db6e8d
MF
118732013-06-24 Mike Frysinger <vapier@gentoo.org>
11874
11875 [BZ #10283]
17db6e8d
MF
11876 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11877 * locale/programs/locarchive.c: Include libc-mmap.h.
11878 (prepare_address_space): Take two new outputs (the mmap base and len).
11879 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11880 values.
11881 (create_archive): Declare new mmap base and len values for
11882 prepare_address_space, and store the result in ah.
11883 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11884 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11885 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11886 Declare new mmap base and len values for
11887 prepare_address_space, and store the result in new_ah.
11888 (open_archive): Declare new mmap base and len values for
11889 prepare_address_space, and store the result in ah.
11890 (close_archive): If ah->mmap_base is not NULL, use that and
11891 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11892 * sysdeps/generic/libc-mmap.h: New file.
11893
d605071e
MF
118942013-06-24 Mike Frysinger <vapier@gentoo.org>
11895
11896 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11897 (ALIGN_UP): Likewise.
11898 (PTR_ALIGN_DOWN): Likewise.
11899 (PTR_ALIGN_UP): Likewise.
11900
2f063a6e
RA
119012013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11902
11903 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11904 entry mapped to PPC_PLATFORM_POWER8.
11905 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11906 POWER8.
11907 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11908 (_dl_string_platform): Add case for exporting platform position for
11909 POWER8.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11911 search path to sysdeps/powerpc/powerpc32/power8 directory.
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11913 search path to sysdeps/powerpc/powerpc64/power8 directory.
11914 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11915 power7 directories.
11916 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11917 power7 directories.
11918
a31ee4b3
SP
119192013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11920
a74ca98f
SP
11921 * INSTALL: Regenerate.
11922
a31ee4b3
SP
11923 * nscd/connections.c (nscd_init): Fix comment.
11924
695c378f
JM
119252013-06-22 Joseph Myers <joseph@codesourcery.com>
11926
d8412221
JM
11927 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11928
695c378f
JM
11929 [BZ #15667]
11930 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11931 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11932
d1d54715
MR
119332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11934
11935 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11936 DL_DST_REQ_STATIC.
11937 (DL_DST_REQ_STATIC): Remove macro.
11938
8fdda7af
JM
119392013-06-21 Joseph Myers <joseph@codesourcery.com>
11940
11941 [BZ #7006]
11942 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11943 with a shift of 0 bits.
11944
f3bc5e5a
MR
119452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11946
11947 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11948 $(tststatic-ENV).
11949
be09e8c9
KK
119502013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11951
11952 [BZ #15655]
11953 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11954
85c2e611
AZ
119552013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11956
11957 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11958 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11959 accepts -fno-tree-loop-distribute-patterns.
11960 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11961 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11962 recursive call.
11963 * string/memset.c (memset): Likewise.
11964 * string/test-memmove.c (simple_memmove): Disable loop transformation
11965 to library calls.
11966 * string/test-memset.c (simple_memset): Likewise.
11967 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11968 * benchtests/bench-memset.c (simple_memset): Likewise.
11969 * configure: Regenerated.
11970
c91e0825
JM
119712013-06-20 Joseph Myers <joseph@codesourcery.com>
11972
b8c792af
JM
11973 * math/test-misc.c (main): Ignore fesetround failure when failures
11974 of subsequent rounding tests would be ignored.
11975
c91e0825
JM
11976 [BZ #15654]
11977 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11978 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11979 * math/fegetenv.c (__fegetenv): Return 0.
11980 * math/fegetexcept.c (fegetexcept): Return 0.
11981 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11982 FE_TONEAREST.
11983 * math/feholdexcpt.c (feholdexcept): Return 0.
11984 * math/fesetenv.c (__fesetenv): Return 0.
11985 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11986 argument FE_TONEAREST.
11987 * math/feupdateenv.c (__feupdateenv): Return 0.
11988 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11989
bfcacbde
RM
119902013-06-18 Roland McGrath <roland@hack.frob.com>
11991
11992 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11993 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11994 ($(objpfx)rtld-%.os rules): Use them.
11995
e55a9b25
AZ
119962013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11997
11998 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11999 fields.
12000
346d65b3
RM
120012013-06-17 Roland McGrath <roland@hack.frob.com>
12002
12086fb4
RM
12003 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12004 length of target pattern, then descending length of dependency pattern.
12005 * configure.in (AWK): Require gawk 3.1.2 or newer.
12006 * manual/install.texi (Tools for Compilation): Say that we do.
12007 * configure: Regenerated.
12008
346d65b3
RM
12009 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12010 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12011 * scripts/sysd-rules.awk: ... this new script.
12012 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12013 than a glob-style pattern.
12014
1a846317
JM
120152013-06-17 Joseph Myers <joseph@codesourcery.com>
12016
12017 * math/test-misc.c (main): Do not treat incorrectly rounded
12018 conversions as failure unless ROUNDING_TESTS passes.
12019
8fc75e6f
JM
120202013-06-15 Joseph Myers <joseph@codesourcery.com>
12021
3711a167
JM
12022 [BZ #15631]
12023 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12024 restore exception state around main square root computation, then
12025 check for inexactness explicitly.
12026
8fc75e6f
JM
12027 * math/libm-test.inc (fma_test_data): Add another test.
12028
61dd6208
SP
120292013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12030
adf23d2c
SP
12031 * manual/threads.texi (Non-POSIX Extensions): New document
12032 node. Document pthread_getattr_default_np and
12033 pthread_setattr_default_np.
12034
61dd6208
SP
12035 * Versions.def (libpthread): Add GLIBC_2.18.
12036 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12038 Likewise.
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12040 Likewise.
12041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12042 Likewise.
12043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12044 Likewise.
12045 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12046 Likewise.
12047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12048 Likewise.
12049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12050 Likewise.
12051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12052 Likewise.
12053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12054 Likewise.
12055
d086fc7b
LD
120562013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12057
12058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12059 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12060
747ef469
SP
120612013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12062 H.J. Lu <hjl.tools@gmail.com>
12063
12064 [BZ #15627]
12065 * sysdeps/x86_64/rtld-memset.c: Remove file.
12066 * sysdeps/x86_64/rtld-memset.S: New file.
12067
1b2feed2
JM
120682013-06-14 Joseph Myers <joseph@codesourcery.com>
12069
12070 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12071 (test_in_one_mode): Take arguments for whether the rounding mode
12072 is supported for each floating-point type.
12073 (do_test): Pass new arguments to test_in_one_mode using
12074 ROUNDING_TESTS.
12075
a58ad3f8
RM
120762013-06-13 Roland McGrath <roland@hack.frob.com>
12077
12078 * posix/tst-waitid.c (do_test): Distinguish different instances of
12079 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12080 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12081 before entering the kernel for waitpid.
12082
c204ab28
SP
120832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12084
12085 * NEWS: Fix note on clock function precision. Text by Roland
12086 McGrath.
12087
f4a29fba
RM
120882013-06-13 Roland McGrath <roland@hack.frob.com>
12089
12090 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12091 it into place only when and if the sanity check passes.
12092
1f24b9ad
JM
120932013-06-13 Joseph Myers <joseph@codesourcery.com>
12094
12095 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12096 output for whether conversion result is exact. Take argument
12097 indicating whether type is IBM long double.
12098 (round_for_all): Change need_exact field to ibm_ld.
12099 * stdlib/tst-strtod-round.c (struct exactness): New type.
12100 (struct test): Change bool ld_ok field to struct exactness exact.
12101 (TEST): Update all definitions for change to field.
12102 (tests): Regenerate array contents.
12103 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12104 field value. Check for IBM long double here.
12105 (do_test): Update calls to test_in_one_mode.
12106
58206c68
SP
121072013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12108
12109 [BZ #12515]
12110 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12111 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12112
2d6f4c5b 121132013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12114
12115 [BZ #15605]
12116 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12117 generated by the compiler on loop optimizations.
12118 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12119 general definitions.
12120
94f2c076
JM
121212013-06-12 Joseph Myers <joseph@codesourcery.com>
12122
12123 * math/bug-nextafter.c: Include <math-tests.h>.
12124 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12125 the relevant type.
12126 * math/bug-nexttoward.c: Include <math-tests.h>.
12127 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12128 the relevant type.
12129 * math/test-misc.c: Include <math-tests.h>.
12130 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12131 the relevant type.
12132
e0e50a0a
AJ
121332013-06-12 Andreas Jaeger <aj@suse.de>
12134
12135 * po/ia.po: Update Interlingua translation from translation
12136 project.
12137
25061094
SP
121382013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12139
12140 * include/fenv.h: Include stdbool.h.
12141 (struct rm_ctx): New structure.
12142 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12143 Define macro.
12144 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12145 (SET_RESTORE_ROUNDF): Likewise.
12146 (SET_RESTORE_ROUNDL): Likewise.
12147 (SET_RESTORE_ROUND_NOEX): Likewise.
12148 (SET_RESTORE_ROUND_NOEXF): Likewise.
12149 (SET_RESTORE_ROUND_NOEXL): Likewise.
12150 (SET_RESTORE_ROUND_53BIT): Likewise.
12151 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12152 (libc_feresetround_noexf_ctx): Likewise.
12153 (libc_feresetround_noexl_ctx): Likewise.
12154 (libc_feholdsetround_53bit_ctx): Likewise.
12155 (libc_feresetround_53bit_ctx): Likewise.
12156 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12157 (libc_feholdexcept_setround_sse_ctx): New function.
12158 (libc_fesetenv_sse_ctx): Likewise.
12159 (libc_feupdateenv_sse_ctx): Likewise.
12160 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12161 (libc_feholdexcept_setround_387_ctx): Likewise.
12162 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12163 (libc_feholdsetround_387_prec_ctx): Likewise.
12164 (libc_feholdsetround_387_ctx): Likewise.
12165 (libc_feholdsetround_387_53bit_ctx): Likewise.
12166 (libc_feholdsetround_sse_ctx): Likewise.
12167 (libc_feresetround_sse_ctx): Likewise.
12168 (libc_feresetround_387_ctx): Likewise.
12169 (libc_feupdateenv_387_ctx): Likewise.
12170 (libc_feholdexcept_setroundf_ctx): Define macro.
12171 (libc_fesetenvf_ctx): Likewise.
12172 (libc_feupdateenvf_ctx): Likewise.
12173 (libc_feholdsetroundf_ctx): Likewise.
12174 (libc_feresetroundf_ctx): Likewise.
12175 (libc_feholdexcept_setround_ctx): Likewise.
12176 (libc_fesetenv_ctx): Likewise.
12177 (libc_feupdateenv_ctx): Likewise.
12178 (libc_feholdsetround_ctx): Likewise.
12179 (libc_feresetround_ctx): Likewise.
12180 (libc_feholdexcept_setroundl_ctx): Likewise.
12181 (libc_feupdateenvl_ctx): Likewise.
12182 (libc_feholdsetroundl_ctx): Likewise.
12183 (libc_feresetroundl_ctx): Likewise.
12184 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12185 (libc_feresetround_53bit_ctx): Likewise.
12186
59b30555
SP
121872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12188
12189 * locale/iso-639.def: Convert to UTF-8.
12190
f1d73d30
JM
121912013-06-11 Joseph Myers <joseph@codesourcery.com>
12192
12193 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12194 (EXCEPTION_TESTS_double): Likewise.
12195 (EXCEPTION_TESTS_long_double): Likewise.
12196 (EXCEPTION_TESTS): Likewise.
12197 * math/libm-test.inc (test_exceptions): Only test exceptions if
12198 EXCEPTION_TESTS (FLOAT).
12199
94aca5e7
SP
122002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12201
12202 * benchtests/Makefile (string-bench): Add strcpy_chk and
12203 stpcpy_chk.
12204 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12205 * benchtests/bench-stpcpy_chk.c: New file.
12206 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12207 * benchtests/bench-strcpy_chk.c: New file.
12208 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12209 code.
12210 (do_test): Likewise.
12211
fac0c5f2
RA
122122013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12213
12214 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12215 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12216 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12217 with tabs where appropriate.
12218 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12219 dl-procinfo.h.
12220 [PPC_PLATFORM_PPC440]: Likewise.
12221 [PPC_PLATFORM_PPC464]: Likewise.
12222 [PPC_PLATFORM_PPC476]: Likewise.
12223 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12224 ppc464, and ppc476 platform strings merging from ports/
12225 dl-procinfo.h.
12226
f22bc486
AS
122272013-06-11 Andreas Schwab <schwab@suse.de>
12228
12229 [BZ #14991]
12230 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12231 (from_ucs4_idx): Regenerate.
12232 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12233 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12234 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12235 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12236 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12237 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12238 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12239 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12240 from FROM_LOOP and TO_LOOP specific macros.
12241 (BODY): Handle combining characters.
12242 * iconvdata/BIG5HKSCS.irreversible: Update.
12243 * iconvdata/BIG5HKSCS.precomposed: New file.
12244 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12245 characters.
12246 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12247
c1f75dc3
SP
122482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12249
4eacded2
SP
12250 * include/sys/time.h: Fix indentation and add copyright header.
12251
fec799f8
SP
12252 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12253 (do_test): Likewise.
12254 * string/test-memchr.c (do_one_test): Likewise.
12255 (do_test): Likewise.
12256 * string/test-memcmp.c (do_one_test): Likewise.
12257 (do_test): Likewise.
12258 * string/test-memcpy.c (do_one_test): Likewise.
12259 (do_test): Likewise.
12260 * string/test-memmem.c (do_one_test): Likewise.
12261 (do_test): Likewise.
12262 (do_random_tests): Likewise.
12263 * string/test-memmove.c (do_one_test): Likewise.
12264 (do_test): Likewise.
12265 * string/test-memset.c (do_one_test): Likewise.
12266 (do_test): Likewise.
12267 * string/test-rawmemchr.c (do_one_test): Likewise.
12268 (do_test): Likewise.
12269 * string/test-strcasecmp.c (do_one_test): Likewise.
12270 (do_test): Likewise.
12271 * string/test-strcasestr.c (do_one_test): Likewise.
12272 (do_test): Likewise.
12273 * string/test-strcat.c (do_one_test): Likewise.
12274 (do_test): Likewise.
12275 * string/test-strchr.c (do_one_test): Likewise.
12276 (do_test): Likewise.
12277 * string/test-strcmp.c (do_one_test): Likewise.
12278 (do_test): Likewise.
12279 * string/test-strcpy.c (do_one_test): Likewise.
12280 (do_test): Likewise.
12281 * string/test-string.h: Likewise.
12282 (test_init): Likewise.
12283 * string/test-strlen.c (do_one_test): Likewise.
12284 (do_test): Likewise.
12285 * string/test-strncasecmp.c (do_one_test): Likewise.
12286 (do_test): Likewise.
12287 * string/test-strncat.c (do_one_test): Likewise.
12288 (do_test): Likewise.
12289 * string/test-strncmp.c (do_one_test): Likewise.
12290 (do_test_limit): Likewise.
12291 (do_test): Likewise.
12292 * string/test-strncpy.c (do_one_test): Likewise.
12293 (do_test): Likewise.
12294 * string/test-strnlen.c (do_one_test): Likewise.
12295 (do_test): Likewise.
12296 * string/test-strpbrk.c (do_one_test): Likewise.
12297 (do_test): Likewise.
12298 * string/test-strrchr.c (do_one_test): Likewise.
12299 (do_test): Likewise.
12300 * string/test-strspn.c (do_one_test): Likewise.
12301 (do_test): Likewise.
12302 * string/test-strstr.c (do_one_test): Likewise.
12303 (do_test): Likewise.
12304
97020474
SP
12305 * benchtests/Makefile (string-bench): Add string benchmarks.
12306 * benchtests/bench-bcopy-ifunc.c: New file.
12307 * benchtests/bench-bcopy.c: New file.
12308 * benchtests/bench-bzero-ifunc.c: New file.
12309 * benchtests/bench-bzero.c: New file.
12310 * benchtests/bench-memccpy-ifunc.c: New file.
12311 * benchtests/bench-memccpy.c: New file.
12312 * benchtests/bench-memchr-ifunc.c: New file.
12313 * benchtests/bench-memchr.c: New file.
12314 * benchtests/bench-memcmp-ifunc.c: New file.
12315 * benchtests/bench-memcmp.c: New file.
12316 * benchtests/bench-memmem-ifunc.c: New file.
12317 * benchtests/bench-memmem.c: New file.
12318 * benchtests/bench-memmove-ifunc.c: New file.
12319 * benchtests/bench-memmove.c: New file.
12320 * benchtests/bench-mempcpy-ifunc.c: New file.
12321 * benchtests/bench-mempcpy.c: New file.
12322 * benchtests/bench-memset-ifunc.c: New file.
12323 * benchtests/bench-memset.c: New file.
12324 * benchtests/bench-rawmemchr-ifunc.c: New file.
12325 * benchtests/bench-rawmemchr.c: New file.
12326 * benchtests/bench-stpcpy-ifunc.c: New file.
12327 * benchtests/bench-stpcpy.c: New file.
12328 * benchtests/bench-stpncpy-ifunc.c: New file.
12329 * benchtests/bench-stpncpy.c: New file.
12330 * benchtests/bench-strcasecmp-ifunc.c: New file.
12331 * benchtests/bench-strcasecmp.c: New file.
12332 * benchtests/bench-strcasestr-ifunc.c: New file.
12333 * benchtests/bench-strcasestr.c: New file.
12334 * benchtests/bench-strcat-ifunc.c: New file.
12335 * benchtests/bench-strcat.c: New file.
12336 * benchtests/bench-strchr-ifunc.c: New file.
12337 * benchtests/bench-strchr.c: New file.
12338 * benchtests/bench-strchrnul-ifunc.c: New file.
12339 * benchtests/bench-strchrnul.c: New file.
12340 * benchtests/bench-strcmp-ifunc.c: New file.
12341 * benchtests/bench-strcmp.c: New file.
12342 * benchtests/bench-strcpy-ifunc.c: New file.
12343 * benchtests/bench-strcpy.c: New file.
12344 * benchtests/bench-strcspn-ifunc.c: New file.
12345 * benchtests/bench-strcspn.c: New file.
12346 * benchtests/bench-strlen-ifunc.c: New file.
12347 * benchtests/bench-strlen.c: New file.
12348 * benchtests/bench-strncasecmp-ifunc.c: New file.
12349 * benchtests/bench-strncasecmp.c: New file.
12350 * benchtests/bench-strncat-ifunc.c: New file.
12351 * benchtests/bench-strncat.c: New file.
12352 * benchtests/bench-strncmp-ifunc.c: New file.
12353 * benchtests/bench-strncmp.c: New file.
12354 * benchtests/bench-strncpy-ifunc.c: New file.
12355 * benchtests/bench-strncpy.c: New file.
12356 * benchtests/bench-strnlen-ifunc.c: New file.
12357 * benchtests/bench-strnlen.c: New file.
12358 * benchtests/bench-strpbrk-ifunc.c: New file.
12359 * benchtests/bench-strpbrk.c: New file.
12360 * benchtests/bench-strrchr-ifunc.c: New file.
12361 * benchtests/bench-strrchr.c: New file.
12362 * benchtests/bench-strspn-ifunc.c: New file.
12363 * benchtests/bench-strspn.c: New file.
12364 * benchtests/bench-strstr-ifunc.c: New file.
12365 * benchtests/bench-strstr.c: New file.
12366
c1f75dc3
SP
12367 * benchtests/Makefile: Disable parallel execution of targets.
12368 (string-bench): Add memcpy.
12369 (benchset): New variable to store a list of benchmark sets.
12370 (bench-func): Renamed from bench.
12371 (bench-set): New target.
12372 (bench): Depend on bench-func and bench-set.
12373 * benchtests/README: Add section on benchmark sets.
12374 * benchtests/bench-memcpy-ifunc.c: New file.
12375 * benchtests/bench-memcpy.c: New file.
12376 * benchtests/bench-string.h: New file.
12377
50fd745b
AS
123782013-06-11 Andreas Schwab <schwab@suse.de>
12379
12380 [BZ #15577]
12381 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12382 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12383 values in the triple.
12384 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12385 terminator in the group key.
12386
3ee7e9fe
AJ
123872013-06-11 Andreas Jaeger <aj@suse.de>
12388
12389 * po/zh_TW.po: Update Chinese (traditional) translation from
12390 translation project.
12391
89fb6835
SP
123922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12393
12394 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12395 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12396 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12398 (clock_getcpuclockid): Likewise.
12399 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12400 Add weak_alias and libc_hidden_def.
12401 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12402 * rt/clock_gettime.c (clock_gettime): Rename to
12403 __clock_gettime. Add weak_alias and libc_hidden_def.
12404 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12405 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12406 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12407 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12408 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12409 Likewise.
12410 * rt/clock_settime.c (clock_settime): Rename to
12411 __clock_settime. Add weak_alias and libc_hidden_def.
12412 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12413
0efa6f8b
JM
124142013-06-10 Joseph Myers <joseph@codesourcery.com>
12415
b8c61b4b
JM
12416 * mach/err_boot.sub: Remove trailing whitespace.
12417 * mach/err_ipc.sub: Likewise.
12418 * mach/err_mach.sub: Likewise.
12419
0efa6f8b
JM
12420 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12421 (ROUNDING_TESTS_double): Likewise.
12422 (ROUNDING_TESTS_long_double): Likewise.
12423 (ROUNDING_TESTS): Likewise.
12424 * math/libm-test.inc: Include <math-tests.h>.
12425 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12426 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12427 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12428 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12429
50b818bf
SP
124302013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12431
12432 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12433 of assigning.
12434
60d2f8f3
JM
124352013-06-08 Joseph Myers <joseph@codesourcery.com>
12436
4902d2c3
JM
12437 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12438 otherwise empty TRANS lines.
12439 * sysdeps/gnu/errlist.c: Regenerated.
12440
60d2f8f3
JM
12441 * catgets/gencat.c (error_print): Use (void) in function
12442 definition.
12443 * crypt/crypt_util.c (__init_des): Likewise.
12444 * crypt/speeds.c (Stop): Likewise.
12445 (main): Likewise.
12446 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12447 * inet/ruserpass.c (token): Likewise.
12448 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12449 * intl/localealias.c (extend_alias_table): Likewise.
12450 * intl/plural-exp.c (init_germanic_plural): Likewise.
12451 * libio/fcloseall.c (__fcloseall): Likewise.
12452 * libio/genops.c (_IO_flush_all): Likewise.
12453 (_IO_flush_all_linebuffered): Likewise.
12454 (_IO_cleanup): Likewise.
12455 (_IO_iter_begin): Likewise.
12456 (_IO_iter_end): Likewise.
12457 (_IO_list_lock): Likewise.
12458 (_IO_list_unlock): Likewise.
12459 (_IO_list_resetlock): Likewise.
12460 * libio/getchar.c (getchar): Likewise.
12461 * libio/getchar_u.c (getchar_unlocked): Likewise.
12462 * libio/getwchar.c (getwchar): Likewise.
12463 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12464 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12465 * login/getpt.c (__getpt): Likewise.
12466 * login/tst-utmp.c (main): Likewise.
12467 * malloc/hooks.c (__malloc_check_init): Likewise.
12468 * malloc/malloc.c (__malloc_stats): Likewise.
12469 * malloc/mtrace.c (tr_break): Likewise.
12470 (mtrace): Likewise.
12471 (muntrace): Likewise.
12472 * misc/fstab.c (endfsent): Likewise.
12473 * misc/getclktck.c (__getclktck): Likewise.
12474 * misc/getdtsz.c (__getdtablesize): Likewise.
12475 * misc/gethostid.c (gethostid): Likewise.
12476 * misc/getpagesize.c (__getpagesize): Likewise.
12477 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12478 (__get_nprocs): Likewise.
12479 (__get_phys_pages): Likewise.
12480 (__get_avphys_pages): Likewise.
12481 * misc/getttyent.c (getttyent): Likewise.
12482 (setttyent): Likewise.
12483 (endttyent): Likewise.
12484 * misc/getusershell.c (getusershell): Likewise.
12485 (endusershell): Likewise.
12486 (setusershell): Likewise.
12487 (initshells): Likewise.
12488 * misc/hsearch.c (__hdestroy): Likewise.
12489 * misc/sync.c (sync): Likewise.
12490 * misc/syslog.c (closelog_internal): Likewise.
12491 (closelog): Likewise.
12492 * misc/ttyslot.c (ttyslot): Likewise.
12493 * misc/vhangup.c (vhangup): Likewise.
12494 * posix/fork.c (__fork): Likewise.
12495 * posix/getegid.c (__getegid): Likewise.
12496 * posix/geteuid.c (__geteuid): Likewise.
12497 * posix/getgid.c (__getgid): Likewise.
12498 * posix/getpid.c (__getpid): Likewise.
12499 * posix/getppid.c (__getppid): Likewise.
12500 * posix/getuid.c (__getuid): Likewise.
12501 * posix/pause.c (pause): Likewise.
12502 * posix/setpgrp.c (setpgrp): Likewise.
12503 * posix/setsid.c (__setsid): Likewise.
12504 * posix/test-vfork.c (noop): Likewise.
12505 * resolv/gethnamaddr.c (_endhtent): Likewise.
12506 (_gethtent): Likewise.
12507 (ht_endhostent): Likewise.
12508 (gethostent): Likewise.
12509 (dns_service): Likewise.
12510 * stdlib/drand48.c (drand48): Likewise.
12511 * stdlib/lrand48.c (lrand48): Likewise.
12512 * stdlib/mrand48.c (mrand48): Likewise.
12513 * stdlib/rand.c (rand): Likewise.
12514 * stdlib/random.c (__random): Likewise.
12515 * stdlib/setenv.c (clearenv): Likewise.
12516 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12517 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12518 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12519 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12520 (__get_nprocs): Likewise.
12521 (__get_phys_pages): Likewise.
12522 (__get_avphys_pages): Likewise.
12523 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12524 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12525 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12526 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12527 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12528 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12529 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12530 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12531 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12532 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12533 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12534 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12535 * sysdeps/posix/clock.c (clock): Likewise.
12536 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12537 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12538 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12539 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12540 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12541 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12542 (__get_nprocs_conf): Likewise.
12543 (__get_phys_pages): Likewise.
12544 (__get_avphys_pages): Likewise.
12545 * time/clock.c (clock): Likewise.
12546 * time/tzset.c (__tzname_max): Likewise.
12547
2e09a79a
JM
125482013-06-07 Joseph Myers <joseph@codesourcery.com>
12549
12550 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12551 (__bswap_32): Do not use "register".
12552 * crypt/crypt.c (_ufc_doit_r): Likewise.
12553 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12554 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12555 * gmon/gmon.c (__monstartup): Likewise.
12556 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12557 * hurd/hurdmalloc.c (more_memory): Likewise.
12558 (malloc): Likewise.
12559 (free): Likewise.
12560 (realloc): Likewise.
12561 (malloc_fork_prepare): Likewise.
12562 (malloc_fork_parent): Likewise.
12563 (malloc_fork_child): Likewise.
12564 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12565 (_svcauth_des): Likewise.
12566 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12567 * inet/inet_net.c (inet_network): Likewise.
12568 * inet/inet_netof.c (inet_netof): Likewise.
12569 * inet/rcmd.c (__validuser2_sa): Likewise.
12570 * io/fts.c (fts_open): Likewise.
12571 (fts_load): Likewise.
12572 (fts_close): Likewise.
12573 (fts_read): Likewise.
12574 (fts_children): Likewise.
12575 (fts_build): Likewise.
12576 (fts_stat): Likewise.
12577 (fts_sort): Likewise.
12578 (fts_alloc): Likewise.
12579 (fts_lfree): Likewise.
12580 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12581 (_IO_file_xsgetn): Likewise.
12582 (_IO_file_xsgetn_mmap): Likewise.
12583 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12584 (_IO_cookie_write): Likewise.
12585 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12586 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12587 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12588 * malloc/obstack.c (_obstack_begin): Likewise.
12589 (_obstack_begin_1): Likewise.
12590 (_obstack_newchunk): Likewise.
12591 (_obstack_allocated_p): Likewise.
12592 (obstack_free): Likewise.
12593 (_obstack_memory_used): Likewise.
12594 * misc/getttyent.c (getttynam): Likewise.
12595 (getttyent): Likewise.
12596 (skip): Likewise.
12597 (value): Likewise.
12598 * misc/getusershell.c (initshells): Likewise.
12599 * misc/syslog.c (__vsyslog_chk): Likewise.
12600 * misc/ttyslot.c (ttyslot): Likewise.
12601 * nis/nis_hash.c (__nis_hash): Likewise.
12602 * posix/fnmatch_loop.c (FCT): Likewise.
12603 * posix/getconf.c (print_all): Likewise.
12604 (main): Likewise.
12605 * posix/getopt.c (exchange): Likewise.
12606 * posix/glob.c (globfree): Likewise.
12607 (prefix_array): Likewise.
12608 (__glob_pattern_type): Likewise.
12609 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12610 (NS_GET32): Likewise.
12611 (NS_PUT16): Likewise.
12612 (NS_PUT32): Likewise.
12613 * resolv/gethnamaddr.c (getanswer): Likewise.
12614 (gethostbyname2): Likewise.
12615 (gethostbyaddr): Likewise.
12616 (_gethtent): Likewise.
12617 (_gethtbyname2): Likewise.
12618 (_gethtbyaddr): Likewise.
12619 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12620 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12621 * resolv/res_init.c (__res_vinit): Likewise.
12622 (net_mask): Likewise.
12623 * resolv/res_mkquery.c (outchar): Likewise.
12624 (PRINT): Likewise.
12625 * stdio-common/printf_fp.c (outchar): Likewise.
12626 (PRINT): Likewise.
12627 * stdio-common/printf_fphex.c (outchar): Likewise.
12628 (PRINT): Likewise.
12629 * stdio-common/printf_size.c (outchar): Likewise.
12630 (PRINT): Likewise.
12631 * stdio-common/test_rdwr.c (main): Likewise.
12632 * stdio-common/tfformat.c (matches): Likewise.
12633 * stdio-common/vfprintf.c (outchar): Likewise.
12634 (printf_unknown): Likewise.
12635 (buffered_vfprintf): Likewise.
12636 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12637 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12638 (ReadFile): Likewise.
12639 * stdlib/qsort.c (SWAP): Likewise.
12640 (_quicksort): Likewise.
12641 * stdlib/setenv.c (__add_to_environ): Likewise.
12642 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12643 * stdlib/strtol_l.c (__strtol_l): Likewise.
12644 * stdlib/tst-strtod.c (main): Likewise.
12645 * stdlib/tst-strtol.c (main): Likewise.
12646 * stdlib/tst-strtoll.c (main): Likewise.
12647 * string/bits/string2.h (__strcmp_cc): Likewise.
12648 (__strcmp_cg): Likewise.
12649 (__strcspn_c1): Likewise.
12650 (__strcspn_c2): Likewise.
12651 (__strcspn_c3): Likewise.
12652 (__strspn_c1): Likewise.
12653 (__strspn_c2): Likewise.
12654 (__strspn_c3): Likewise.
12655 (__strsep_1c): Likewise.
12656 (__strsep_2c): Likewise.
12657 (__strsep_3c): Likewise.
12658 * string/memccpy.c (__memccpy): Likewise.
12659 * string/stpcpy.c (__stpcpy): Likewise.
12660 * string/strcmp.c (strcmp): Likewise.
12661 * string/strrchr.c (strrchr): Likewise.
12662 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12663 Likewise.
12664 * sysdeps/mach/hurd/getcwd.c
12665 (_hurd_canonicalize_directory_name_internal): Likewise.
12666 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12667 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12668 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12669 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12670 Likewise, in both definitions.
12671 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12672 definitions.
12673 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12674 64] (__bswap_64): Likewise.
12675 * time/test_time.c (main): Likewise.
12676 * time/tzfile.c (__tzfile_read): Likewise.
12677 (__tzfile_compute): Likewise.
12678 * time/tzset.c (__tzset_parse_tz): Likewise.
12679 (tzset_internal): Likewise.
12680 (compute_change): Likewise.
12681 * wcsmbs/wcscat.c (__wcscat): Likewise.
12682 * wcsmbs/wcschr.c (wcschr): Likewise.
12683 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12684 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12685 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12686 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12687 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12688 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12689 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12690 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12691 * wcsmbs/wmemset.c (wmemset): Likewise.
12692
9e54314b
JM
126932013-06-06 Joseph Myers <joseph@codesourcery.com>
12694
12695 * scripts/config.guess: Update to version 2013-05-16.
12696 * scripts/config.sub: Update to version 2013-04-24.
12697 * scripts/install-sh: Update to version 2011-11-20.07.
12698 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12699 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12700
350635a5
OB
127012013-06-06 Ondřej Bílka <neleai@seznam.cz>
12702
12703 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12704 * elf/sln.c: Likewise.
12705 * hurd/hurd/ioctl.h: Likewise.
12706 * hurd/hurdmalloc.c: Likewise.
12707 * hurd/xattr.c: Likewise.
12708 * include/shlib-compat.h: Likewise.
12709 * inet/ruserpass.c: Likewise.
12710 * libio/iofgets_u.c: Likewise.
12711 * libio/iofgetws_u.c: Likewise.
12712 * locale/programs/ld-identification.c: Likewise.
12713 * locale/programs/ld-time.c: Likewise.
12714 * mach/msg-destroy.c: Likewise.
12715 * nss/nss_files/files-netgrp.c: Likewise.
12716 * resolv/res_data.c: Likewise.
12717 * soft-fp/op-1.h: Likewise.
12718 * soft-fp/op-2.h: Likewise.
12719 * soft-fp/op-4.h: Likewise.
12720 * soft-fp/op-common.h: Likewise.
12721 * stdio-common/printf_fphex.c: Likewise.
12722 * stdlib/strtod_l.c: Likewise.
12723 * sunrpc/rpc/clnt.h: Likewise.
12724 * sysdeps/generic/framestate.c: Likewise.
12725 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12726 * sysdeps/i386/bsd-setjmp.S: Likewise.
12727 * sysdeps/i386/__longjmp.S: Likewise.
12728 * sysdeps/i386/setjmp.S: Likewise.
12729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12730 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12747 * sysdeps/ieee754/support.c: Likewise.
12748 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12749 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12750 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12751 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12752 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12753 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12754 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12755 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12756 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12757 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12758 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12759 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12760 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12762 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12763 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12764 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12766
44a988af
OB
127672013-06-05 Ondřej Bílka <neleai@seznam.cz>
12768
25506f09 12769 * posix/transbug.c: Remove executable mode.
44a988af 12770
9c84384c
JM
127712013-06-05 Joseph Myers <joseph@codesourcery.com>
12772
12773 * crypt/speeds.c: Remove trailing whitespace.
12774 * dlfcn/default.c: Likewise.
12775 * elf/ifuncdep2.c: Likewise.
12776 * elf/ifuncmain1.c: Likewise.
12777 * elf/ifuncmain1vis.c: Likewise.
12778 * elf/testobj.h: Likewise.
12779 * elf/tst-stackguard1.c: Likewise.
12780 * gmon/sys/gmon.h: Likewise.
12781 * hurd/hurdmsg.c: Likewise.
12782 * hurd/new-fd.c: Likewise.
12783 * hurd/ports-get.c: Likewise.
12784 * iconvdata/ibm1008_420.c: Likewise.
12785 * inet/tst-getni1.c: Likewise.
12786 * inet/tst-getni2.c: Likewise.
12787 * libio/ioungetc.c: Likewise.
12788 * libio/wfiledoalloc.c: Likewise.
12789 * manual/libm-err-tab.pl: Likewise.
12790 * math/w_dremf.c: Likewise.
12791 * misc/ftruncate.c: Likewise.
12792 * posix/bug-glob2.c: Likewise.
12793 * posix/tst-pcre.c: Likewise.
12794 * posix/wait4.c: Likewise.
12795 * resolv/README: Likewise.
12796 * resolv/res_debug.h: Likewise.
12797 * resolv/tst-inet_ntop.c: Likewise.
12798 * setjmp/bug269-setjmp.c: Likewise.
12799 * soft-fp/extended.h: Likewise.
12800 * soft-fp/op-1.h: Likewise.
12801 * soft-fp/op-2.h: Likewise.
12802 * soft-fp/op-4.h: Likewise.
12803 * soft-fp/op-8.h: Likewise.
12804 * soft-fp/testit.c: Likewise.
12805 * stdio-common/bug16.c: Likewise.
12806 * stdlib/random.c: Likewise.
12807 * sunrpc/rpcsvc/rquota.x: Likewise.
12808 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12809 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12811 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12812 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12813 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12814 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12815 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12816 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12817 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12837 * sysdeps/ieee754/s_lib_version.c: Likewise.
12838 * sysdeps/mach/hurd/check_fds.c: Likewise.
12839 * sysdeps/mach/hurd/getsockname.c: Likewise.
12840 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12841 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12842 * sysdeps/powerpc/bits/link.h: Likewise.
12843 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12844 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12845 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12846 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12847 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12848 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12849 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12850 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12851 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12852 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12853 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12854 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12855 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12856 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12857 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12858 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12859 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12861 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12862 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12863 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12864 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12865 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12866 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12867 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12868 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12870 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12872 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12875 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12876 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12877 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12878 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12879 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12880 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12881 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12882 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12883 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12884 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12885 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12886 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12887 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12888 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12889 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12890 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12891 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12892 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12895 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12896 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12897 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12898 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12899 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12901 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12902 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12903 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12904 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12905 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12906 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12907 * sysdeps/powerpc/sysdep.h: Likewise.
12908 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12909 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12910 * sysdeps/sh/dl-trampoline.S: Likewise.
12911 * sysdeps/sh/memset.S: Likewise.
12912 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12913 * sysdeps/sh/strlen.S: Likewise.
12914 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12915 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12916 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12917 * sysdeps/sparc/sparc32/rem.S: Likewise.
12918 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12919 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12920 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12921 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12922 * sysdeps/sparc/sparc32/urem.S: Likewise.
12923 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12924 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12925 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12926 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12927 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12928 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12929 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12930 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12931 * sysdeps/unix/bsd/times.c: Likewise.
12932 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12933 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12937 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12938 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12939 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12940 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12941 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12942 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12943 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12944 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12945 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12946 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12947 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12948 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12949 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12950 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12951 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12952 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12953 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12954 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12955 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12956 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12957 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12959 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12960 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12961 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12962 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12963 * sysdeps/x86_64/strcspn.S: Likewise.
12964
869378a5
RA
129652013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12966
12967 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12968 generated file. Regenerate properly from gen-translit.pl.
12969 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12970 locale/C-translit.h.
12971
840e2943
AS
129722013-06-05 Andreas Schwab <schwab@suse.de>
12973
12974 [BZ #15100]
12975 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12976 week as 6 instead of -1.
12977 * time/tst-strptime.c (day_tests): Add test case.
12978
4c60cb0c
SP
129792013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12980
12981 * sysdeps/generic/math_private.h
12982 (libc_feholdexcept_setround_53bit): Replace with
12983 libc_feholdsetround_53bit.
12984 (libc_feupdateenv_53bit): Replace with
12985 libc_feresetround_53bit.
12986 (SET_RESTORE_ROUND_53BIT): Adjust.
12987
d180203e
SP
129882013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12989
96df079a
SP
12990 * string/test-strchrnul.c: Add copyright header.
12991
d180203e
SP
12992 * posix/tst-getaddrinfo4.c: Increase test timeout.
12993
8b0ccb2d
CD
129942013-06-03 Carlos O'Donell <carlos@redhat.com>
12995
12996 [BZ #15536]
12997 * math/libm-test.inc (MAX_EXP): Remove
12998 (MIN_EXP): Define.
12999 (ulp): Use MIN_EXP - MANT_DIG.
13000 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13001
3b3c4d40
CD
130022013-05-31 Carlos O'Donell <carlos@redhat.com>
13003
13004 * po/be.po: Revert last change.
13005 * po/zh_CN.po: Likewise.
13006 * po/header.pot: Likewise.
13007
fab7ce3f
JM
130082013-05-31 Joseph Myers <joseph@codesourcery.com>
13009
13010 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13011 link-libc-deps to empty as target-specific variable.
13012 * Makerules (link-libc-args): New variable.
13013 (libc-for-link): Likewise.
13014 (link-libc-deps): Likewise.
13015 (lib%.so): Depend on $(link-libc-deps). Link with
13016 $(link-libc-args).
13017 (build-module): Link with $(link-libc-args).
13018 (build-module-asneeded): Likewise.
13019 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13020 list of objects.
13021 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13022 target-specific variable.
13023 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13024 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13025 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13026 libc.
13027 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13028 libc and ld.so.
13029 ($(objpfx)libpcprofile.so): Likewise.
13030 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13031 libc_nonshared.a.
13032 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13033 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13034 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13035 $(link-libc-deps).
13036 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13037 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13038 * login/Makefile ($(objpfx)libutil.so): Likewise.
13039 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13040 * math/Makefile ($(objpfx)libm.so): Likewise.
13041 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13042 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13043 variable instead of depending directly on libc.
13044 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13045 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13046 $(link-libc-deps).
13047 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13048 libc.
13049 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13050 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13051 ($(objpfx)libanl.so): Likewise.
13052 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13053 ld.so.
13054 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13055 $(link-libc-deps).
13056 * sysdeps/i386/fpu/Makefile: Remove file.
13057 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13058 ($(objpfx)libm.so): Remove dependency on ld.so.
13059
eca5920c
PF
130602013-05-30 Patsy Franklin <pfrankli@redhat.com>
13061
13062 [BZ # 15553]
13063 * nis/yp_xdr.c (XDRMAXNAME): Define.
13064 (XDRMAXRECORD): Define.
13065 (xdr_domainname): Use XDRMAXNAME.
13066 (xdr_mapname): Likewise.
13067 (xdr_peername): Likewise.
13068 (xdr_keydat): Use XDRMAXRECORD.
13069 (xdr_valdat): Likewise.
13070
130712013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13072
13073 [BZ #14256]
13074 * manual/errno.texi (ESTALE): Update to account for more than
13075 just NFS file systems.
13076 * sysdeps/gnu/errlist.c: Regenerated.
13077
b9375348
SP
130782013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13079
13080 [BZ #15465]
13081 * elf/Makefile (tests): Add tst-null-argv.
13082 (modules-names): Add tst-null-argv-lib.
13083 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13084 (tst-null-argv-ENV): Set environment for tst-null-argv.
13085 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13086 (RTLD_PROGNAME): New macro.
13087 * elf/tst-null-argv.c: New test case.
13088 * elf/tst-null-argv-lib.c: Library for test case.
13089 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13090 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13091 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13092 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13093 * elf/dl-init.c (call_init): Likewise.
13094 (_dl_init): Likewise.
13095 * elf/dl-load.c (print_search_path): Likewise.
13096 (_dl_map_object): Likewise.
13097 * elf/dl-lookup.c (do_lookup_x): Likewise.
13098 (add_dependency): Likewise.
13099 (_dl_lookup_symbol_x): Likewise.
13100 (_dl_debug_bindings): Likewise.
13101 * elf/dl-open.c (_dl_show_scope): Likewise.
13102 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13103 * elf/dl-version.c (match_symbol): Likewise.
13104 (_dl_check_map_versions): Likewise.
13105 * elf/rtld.c (dl_main): Likewise.
13106 (print_unresolved): Use RTLD_PROGNAME.
13107 (print_missing_version): Likewise.
13108 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13109 (elf_machine_rela): Likewise.
13110 * sysdeps/powerpc/powerpc32/dl-machine.c
13111 (__process_machine_rela): Likewise.
13112 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13113 Likewise.
13114 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13115 Likewise.
13116 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13117 Likewise.
13118 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13119 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13120 Likewise.
13121 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13122 Likewise.
13123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13124
8a9f20c8
CD
131252013-05-28 Carlos O'Donell <carlos@redhat.com>
13126
13127 * po/be.po: Add descriptive title.
13128 * po/zh_CN.po: Likewise.
13129 * po/header.pot: Likewise.
13130
0e60d68e
MF
131312013-05-28 Mike Frysinger <vapier@gentoo.org>
13132
13133 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13134 error message.
13135 (enlarge_archive): Likewise.
13136
56b672e9
BN
131372013-05-28 Ben North <ben@redfrontdoor.org>
13138
13139 * manual/arith.texi (frexp): It is the magnitude of the return
13140 value which lies in [0.5, 1), not the return value itself.
13141
5e056687
AZ
131422013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13143
13144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13145
2b66ef5d
TS
131462013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13147
528c2405
TS
13148 * stdio-common/bug26.c (main): Correct fscanf template.
13149
07b4c13d
TS
13150 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13151 declare _dl_skip_args.
13152
ec9dd97c
TS
13153 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13154 Don't declare.
13155
2b66ef5d
TS
13156 * manual/platform.texi: Add missing @end deftypefun.
13157
4f8dfe27
JM
131582013-05-24 Joseph Myers <joseph@codesourcery.com>
13159
0323d086
JM
13160 [BZ #15529]
13161 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13162 bit of mantissa of 2^16382.
13163 * math/libm-test.inc (hypot_test_data): Add more tests.
13164
dd4259b9
JM
13165 * math/libm-test.inc: Add drem and pow10 to list of tested
13166 functions.
13167 (pow10_test): New function.
13168 (drem_test): Likewise.
13169 (drem_test_tonearest): Likewise.
13170 (drem_test_towardzero): Likewise.
13171 (drem_test_downward): Likewise.
13172 (drem_test_upward): Likewise.
13173 (main): Call the new functions.
13174
4f8dfe27
JM
13175 * math/libm-test.inc (finite_test_data): Remove.
13176 (finite_test): Run tests from isfinite_test_data.
13177 (gamma_test_data): Remove.
13178 (gamma_test): Run tests from lgamma_test_data.
13179 * sysdeps/i386/fpu/libm-test-ulps: Update.
13180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13181
d116b7c4
AZ
131822013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13183
13184 * manual/platform.texi: Add PowerPC PPR function set documentation.
13185 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13186 implementation.
13187
e96e3767
CD
131882013-05-24 Carlos O'Donell <carlos@redhat.com>
13189
13190 * math/libm-test.inc (MAX_EXP): Define.
13191 (ULPDIFF): Define.
13192 (ulp): New function.
13193 (check_float_internal): Use ULPDIFF.
13194 (cpow_test): Disable failing test.
13195 (check_ulp): Test ulp() implemetnation.
13196 (main): Call check_ulp before starting tests.
13197
b679a606
JM
131982013-05-24 Joseph Myers <joseph@codesourcery.com>
13199
e8bdba36
JM
13200 * math/gen-libm-test.pl (generate_testfile): Do not handle
13201 START_DATA and END_DATA.
13202 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13203 END_DATA.
13204 (acos_tonearest_test_data): Likewise.
13205 (acos_towardzero_test_data): Likewise.
13206 (acos_downward_test_data): Likewise.
13207 (acos_upward_test_data): Likewise.
13208 (acosh_test_data): Likewise.
13209 (asin_test_data): Likewise.
13210 (asin_tonearest_test_data): Likewise.
13211 (asin_towardzero_test_data): Likewise.
13212 (asin_downward_test_data): Likewise.
13213 (asin_upward_test_data): Likewise.
13214 (asinh_test_data): Likewise.
13215 (atan_test_data): Likewise.
13216 (atanh_test_data): Likewise.
13217 (atan2_test_data): Likewise.
13218 (cabs_test_data): Likewise.
13219 (cacos_test_data): Likewise.
13220 (cacosh_test_data): Likewise.
13221 (carg_test_data): Likewise.
13222 (casin_test_data): Likewise.
13223 (casinh_test_data): Likewise.
13224 (catan_test_data): Likewise.
13225 (catanh_test_data): Likewise.
13226 (cbrt_test_data): Likewise.
13227 (ccos_test_data): Likewise.
13228 (ccosh_test_data): Likewise.
13229 (ceil_test_data): Likewise.
13230 (cexp_test_data): Likewise.
13231 (cimag_test_data): Likewise.
13232 (clog_test_data): Likewise.
13233 (clog10_test_data): Likewise.
13234 (conj_test_data): Likewise.
13235 (copysign_test_data): Likewise.
13236 (cos_test_data): Likewise.
13237 (cos_tonearest_test_data): Likewise.
13238 (cos_towardzero_test_data): Likewise.
13239 (cos_downward_test_data): Likewise.
13240 (cos_upward_test_data): Likewise.
13241 (cosh_test_data): Likewise.
13242 (cosh_tonearest_test_data): Likewise.
13243 (cosh_towardzero_test_data): Likewise.
13244 (cosh_downward_test_data): Likewise.
13245 (cosh_upward_test_data): Likewise.
13246 (cpow_test_data): Likewise.
13247 (cproj_test_data): Likewise.
13248 (creal_test_data): Likewise.
13249 (csin_test_data): Likewise.
13250 (csinh_test_data): Likewise.
13251 (csqrt_test_data): Likewise.
13252 (ctan_test_data): Likewise.
13253 (ctan_tonearest_test_data): Likewise.
13254 (ctan_towardzero_test_data): Likewise.
13255 (ctan_downward_test_data): Likewise.
13256 (ctan_upward_test_data): Likewise.
13257 (ctanh_test_data): Likewise.
13258 (ctanh_tonearest_test_data): Likewise.
13259 (ctanh_towardzero_test_data): Likewise.
13260 (ctanh_downward_test_data): Likewise.
13261 (ctanh_upward_test_data): Likewise.
13262 (erf_test_data): Likewise.
13263 (erfc_test_data): Likewise.
13264 (exp_test_data): Likewise.
13265 (exp_tonearest_test_data): Likewise.
13266 (exp_towardzero_test_data): Likewise.
13267 (exp_downward_test_data): Likewise.
13268 (exp_upward_test_data): Likewise.
13269 (exp10_test_data): Likewise.
13270 (exp2_test_data): Likewise.
13271 (expm1_test_data): Likewise.
13272 (fabs_test_data): Likewise.
13273 (fdim_test_data): Likewise.
13274 (finite_test_data): Likewise.
13275 (floor_test_data): Likewise.
13276 (fma_test_data): Likewise.
13277 (fma_towardzero_test_data): Likewise.
13278 (fma_downward_test_data): Likewise.
13279 (fma_upward_test_data): Likewise.
13280 (fmax_test_data): Likewise.
13281 (fmin_test_data): Likewise.
13282 (fmod_test_data): Likewise.
13283 (fpclassify_test_data): Likewise.
13284 (frexp_test_data): Likewise.
13285 (gamma_test_data): Likewise.
13286 (hypot_test_data): Likewise.
13287 (ilogb_test_data): Likewise.
13288 (isfinite_test_data): Likewise.
13289 (isgreater_test_data): Likewise.
13290 (isgreaterequal_test_data): Likewise.
13291 (isinf_test_data): Likewise.
13292 (isless_test_data): Likewise.
13293 (islessequal_test_data): Likewise.
13294 (islessgreater_test_data): Likewise.
13295 (isnan_test_data): Likewise.
13296 (isnormal_test_data): Likewise.
13297 (issignaling_test_data): Likewise.
13298 (isunordered_test_data): Likewise.
13299 (j0_test_data): Likewise.
13300 (j1_test_data): Likewise.
13301 (jn_test_data): Likewise.
13302 (ldexp_test_data): Likewise.
13303 (lgamma_test_data): Likewise.
13304 (lrint_test_data): Likewise.
13305 (lrint_tonearest_test_data): Likewise.
13306 (lrint_towardzero_test_data): Likewise.
13307 (lrint_downward_test_data): Likewise.
13308 (lrint_upward_test_data): Likewise.
13309 (llrint_test_data): Likewise.
13310 (llrint_tonearest_test_data): Likewise.
13311 (llrint_towardzero_test_data): Likewise.
13312 (llrint_downward_test_data): Likewise.
13313 (llrint_upward_test_data): Likewise.
13314 (log_test_data): Likewise.
13315 (log10_test_data): Likewise.
13316 (log1p_test_data): Likewise.
13317 (log2_test_data): Likewise.
13318 (logb_test_data): Likewise.
13319 (logb_downward_test_data): Likewise.
13320 (lround_test_data): Likewise.
13321 (llround_test_data): Likewise.
13322 (modf_test_data): Likewise.
13323 (nearbyint_test_data): Likewise.
13324 (nextafter_test_data): Likewise.
13325 (nexttoward_test_data): Likewise.
13326 (pow_test_data): Likewise.
13327 (pow_tonearest_test_data): Likewise.
13328 (pow_towardzero_test_data): Likewise.
13329 (pow_downward_test_data): Likewise.
13330 (pow_upward_test_data): Likewise.
13331 (remainder_test_data): Likewise.
13332 (remainder_tonearest_test_data): Likewise.
13333 (remainder_towardzero_test_data): Likewise.
13334 (remainder_downward_test_data): Likewise.
13335 (remainder_upward_test_data): Likewise.
13336 (remquo_test_data): Likewise.
13337 (rint_test_data): Likewise.
13338 (rint_tonearest_test_data): Likewise.
13339 (rint_towardzero_test_data): Likewise.
13340 (rint_downward_test_data): Likewise.
13341 (rint_upward_test_data): Likewise.
13342 (round_test_data): Likewise.
13343 (scalb_test_data): Likewise.
13344 (scalbn_test_data): Likewise.
13345 (scalbln_test_data): Likewise.
13346 (signbit_test_data): Likewise.
13347 (sin_test_data): Likewise.
13348 (sin_tonearest_test_data): Likewise.
13349 (sin_towardzero_test_data): Likewise.
13350 (sin_downward_test_data): Likewise.
13351 (sin_upward_test_data): Likewise.
13352 (sincos_test_data): Likewise.
13353 (sinh_test_data): Likewise.
13354 (sinh_tonearest_test_data): Likewise.
13355 (sinh_towardzero_test_data): Likewise.
13356 (sinh_downward_test_data): Likewise.
13357 (sinh_upward_test_data): Likewise.
13358 (sqrt_test_data): Likewise.
13359 (tan_test_data): Likewise.
13360 (tan_tonearest_test_data): Likewise.
13361 (tan_towardzero_test_data): Likewise.
13362 (tan_downward_test_data): Likewise.
13363 (tan_upward_test_data): Likewise.
13364 (tanh_test_data): Likewise.
13365 (tgamma_test_data): Likewise.
13366 (trunc_test_data): Likewise.
13367 (y0_test_data): Likewise.
13368 (y1_test_data): Likewise.
13369 (yn_test_data): Likewise.
13370 (significand_test_data): Likewise.
13371
b679a606
JM
13372 * math/gen-libm-test.pl (@functions): Remove variable.
13373 (generate_testfile): Don't handle START and END lines.
13374 * math/libm-test.inc (START): New macro.
13375 (END): Likewise.
13376 (END_COMPLEX): Likewise.
13377 (acos_test): Use END macro without arguments.
13378 (acos_test_tonearest): Likewise.
13379 (acos_test_towardzero): Likewise.
13380 (acos_test_downward): Likewise.
13381 (acos_test_upward): Likewise.
13382 (acosh_test): Likewise.
13383 (asin_test): Likewise.
13384 (asin_test_tonearest): Likewise.
13385 (asin_test_towardzero): Likewise.
13386 (asin_test_downward): Likewise.
13387 (asin_test_upward): Likewise.
13388 (asinh_test): Likewise.
13389 (atan_test): Likewise.
13390 (atanh_test): Likewise.
13391 (atan2_test): Likewise.
13392 (cabs_test): Likewise.
13393 (cacos_test): Use END_COMPLEX macro without arguments.
13394 (cacosh_test): Likewise.
13395 (carg_test): Use END macro without arguments.
13396 (casin_test): Use END_COMPLEX macro without arguments.
13397 (casinh_test): Likewise.
13398 (catan_test): Likewise.
13399 (catanh_test): Likewise.
13400 (cbrt_test): Use END macro without arguments.
13401 (ccos_test): Use END_COMPLEX macro without arguments.
13402 (ccosh_test): Likewise.
13403 (ceil_test): Use END macro without arguments.
13404 (cexp_test): Use END_COMPLEX macro without arguments.
13405 (cimag_test): Use END macro without arguments.
13406 (clog_test): Use END_COMPLEX macro without arguments.
13407 (clog10_test): Likewise.
13408 (conj_test): Likewise.
13409 (copysign_test): Use END macro without arguments.
13410 (cos_test): Likewise.
13411 (cos_test_tonearest): Likewise.
13412 (cos_test_towardzero): Likewise.
13413 (cos_test_downward): Likewise.
13414 (cos_test_upward): Likewise.
13415 (cosh_test): Likewise.
13416 (cosh_test_tonearest): Likewise.
13417 (cosh_test_towardzero): Likewise.
13418 (cosh_test_downward): Likewise.
13419 (cosh_test_upward): Likewise.
13420 (cpow_test): Use END_COMPLEX macro without arguments.
13421 (cproj_test): Likewise.
13422 (creal_test): Use END macro without arguments.
13423 (csin_test): Use END_COMPLEX macro without arguments.
13424 (csinh_test): Likewise.
13425 (csqrt_test): Likewise.
13426 (ctan_test): Likewise.
13427 (ctan_test_tonearest): Likewise.
13428 (ctan_test_towardzero): Likewise.
13429 (ctan_test_downward): Likewise.
13430 (ctan_test_upward): Likewise.
13431 (ctanh_test): Likewise.
13432 (ctanh_test_tonearest): Likewise.
13433 (ctanh_test_towardzero): Likewise.
13434 (ctanh_test_downward): Likewise.
13435 (ctanh_test_upward): Likewise.
13436 (erf_test): Use END macro without arguments.
13437 (erfc_test): Likewise.
13438 (exp_test): Likewise.
13439 (exp_test_tonearest): Likewise.
13440 (exp_test_towardzero): Likewise.
13441 (exp_test_downward): Likewise.
13442 (exp_test_upward): Likewise.
13443 (exp10_test): Likewise.
13444 (exp2_test): Likewise.
13445 (expm1_test): Likewise.
13446 (fabs_test): Likewise.
13447 (fdim_test): Likewise.
13448 (finite_test): Likewise.
13449 (floor_test): Likewise.
13450 (fma_test): Likewise.
13451 (fma_test_towardzero): Likewise.
13452 (fma_test_downward): Likewise.
13453 (fma_test_upward): Likewise.
13454 (fmax_test): Likewise.
13455 (fmin_test): Likewise.
13456 (fmod_test): Likewise.
13457 (fpclassify_test): Likewise.
13458 (frexp_test): Likewise.
13459 (gamma_test): Likewise.
13460 (hypot_test): Likewise.
13461 (ilogb_test): Likewise.
13462 (isfinite_test): Likewise.
13463 (isgreater_test): Likewise.
13464 (isgreaterequal_test): Likewise.
13465 (isinf_test): Likewise.
13466 (isless_test): Likewise.
13467 (islessequal_test): Likewise.
13468 (islessgreater_test): Likewise.
13469 (isnan_test): Likewise.
13470 (isnormal_test): Likewise.
13471 (issignaling_test): Likewise.
13472 (isunordered_test): Likewise.
13473 (j0_test): Likewise.
13474 (j1_test): Likewise.
13475 (jn_test): Likewise.
13476 (ldexp_test): Likewise.
13477 (lgamma_test): Likewise.
13478 (lrint_test): Likewise.
13479 (lrint_test_tonearest): Likewise.
13480 (lrint_test_towardzero): Likewise.
13481 (lrint_test_downward): Likewise.
13482 (lrint_test_upward): Likewise.
13483 (llrint_test): Likewise.
13484 (llrint_test_tonearest): Likewise.
13485 (llrint_test_towardzero): Likewise.
13486 (llrint_test_downward): Likewise.
13487 (llrint_test_upward): Likewise.
13488 (log_test): Likewise.
13489 (log10_test): Likewise.
13490 (log1p_test): Likewise.
13491 (log2_test): Likewise.
13492 (logb_test): Likewise.
13493 (logb_test_downward): Likewise.
13494 (lround_test): Likewise.
13495 (llround_test): Likewise.
13496 (modf_test): Likewise.
13497 (nearbyint_test): Likewise.
13498 (nextafter_test): Likewise.
13499 (nexttoward_test): Likewise.
13500 (pow_test): Likewise.
13501 (pow_test_tonearest): Likewise.
13502 (pow_test_towardzero): Likewise.
13503 (pow_test_downward): Likewise.
13504 (pow_test_upward): Likewise.
13505 (remainder_test): Likewise.
13506 (remainder_test_tonearest): Likewise.
13507 (remainder_test_towardzero): Likewise.
13508 (remainder_test_downward): Likewise.
13509 (remainder_test_upward): Likewise.
13510 (remquo_test): Likewise.
13511 (rint_test): Likewise.
13512 (rint_test_tonearest): Likewise.
13513 (rint_test_towardzero): Likewise.
13514 (rint_test_downward): Likewise.
13515 (rint_test_upward): Likewise.
13516 (round_test): Likewise.
13517 (scalb_test): Likewise.
13518 (scalbn_test): Likewise.
13519 (scalbln_test): Likewise.
13520 (signbit_test): Likewise.
13521 (sin_test): Likewise.
13522 (sin_test_tonearest): Likewise.
13523 (sin_test_towardzero): Likewise.
13524 (sin_test_downward): Likewise.
13525 (sin_test_upward): Likewise.
13526 (sincos_test): Likewise.
13527 (sinh_test): Likewise.
13528 (sinh_test_tonearest): Likewise.
13529 (sinh_test_towardzero): Likewise.
13530 (sinh_test_downward): Likewise.
13531 (sinh_test_upward): Likewise.
13532 (sqrt_test): Likewise.
13533 (tan_test): Likewise.
13534 (tan_test_tonearest): Likewise.
13535 (tan_test_towardzero): Likewise.
13536 (tan_test_downward): Likewise.
13537 (tan_test_upward): Likewise.
13538 (tanh_test): Likewise.
13539 (tgamma_test): Likewise.
13540 (trunc_test): Likewise.
13541 (y0_test): Likewise.
13542 (y1_test): Likewise.
13543 (yn_test): Likewise.
13544 (significand_test): Likewise.
13545
bae143d2
OB
135462013-05-24 Ondřej Bílka <neleai@seznam.cz>
13547
13548 [BZ #15381]
13549 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13550
9323d39b
EM
135512013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13552
d4ea44a0 13553 [BZ #14894]
9323d39b
EM
13554 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13555 __ppc_mdoio and __ppc_mdoom.
13556 * manual/platform.texi: Document new functions __ppc_yield,
13557 __ppc_mdoio and __ppc_mdoom.
13558
13e23af7
CD
135592013-05-22 Carlos O'Donell <carlos@redhat.com>
13560
13561 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13562 (main): Mention "tls" pseudo-hwcap is legacy.
13563 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13564
351fe550
JM
135652013-05-22 Joseph Myers <joseph@codesourcery.com>
13566
13567 * math/gen-libm-test.pl (parse_args): Output only string of
13568 arguments as text for test name, not full call or descriptions of
13569 tests for extra outputs.
13570 (generate_testfile): Do not pass function name to parse_args.
13571 Generate this_func variable from START.
13572 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13573 field to arg_str.
13574 (struct test_ff_f_data): Likewise.
13575 (test_ff_f_data_nexttoward): Likewise.
13576 (struct test_fi_f_data): Likewise.
13577 (struct test_fl_f_data): Likewise.
13578 (struct test_if_f_data): Likewise.
13579 (struct test_fff_f_data): Likewise.
13580 (struct test_c_f_data): Likewise.
13581 (struct test_f_f1_data): Likewise. Remove field extra_name.
13582 (struct test_fF_f1_data): Likewise.
13583 (struct test_ffI_f1_data): Likewise.
13584 (struct test_c_c_data): Rename test_name field to arg_str.
13585 (struct test_cc_c_data): Likewise.
13586 (struct test_f_i_data): Likewise.
13587 (struct test_ff_i_data): Likewise.
13588 (struct test_f_l_data): Likewise.
13589 (struct test_f_L_data): Likewise.
13590 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13591 and extra2_name.
13592 (COMMON_TEST_SETUP): New macro.
13593 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13594 (COMMON_TEST_CLEANUP): Likewise.
13595 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13596 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13597 macros.
13598 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13599 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13600 macros.
13601 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13602 (RUN_TEST_fff_f): Take argument string. Call new setup and
13603 cleanup macros.
13604 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13605 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13606 macros.
13607 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13608 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13609 macros.
13610 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13611 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13612 cleanup macros.
13613 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13614 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13615 cleanup macros.
13616 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13617 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13618 cleanup macros.
13619 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13620 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13621 macros.
13622 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13623 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13624 macros.
13625 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13626 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13627 macros.
13628 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13629 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13630 cleanup macros.
13631 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13632 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13633 cleanup macros.
13634 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13635 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13636 macros.
13637 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13638 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13639 cleanup macros.
13640 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13641 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13642 macros.
13643 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13644 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13645 macros.
13646 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13647 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13648 cleanup macros.
13649 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13650
85118d4d
EBM
136512013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13652
13653 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13654 to _sifields.sigfault.
13655 (si_addr_lsb): Define new macro.
13656 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13657 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13658 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13659
7a44c18f
CD
136602013-05-03 Carlos O'Donell <carlos at redhat.com>
13661
13662 [BZ #15441]
13663 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13664 returns -1.
13665 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13666 null return -1.
13667 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13668 loading the domain.
13669
b50a7181
JM
136702013-05-22 Joseph Myers <joseph@codesourcery.com>
13671
13672 * math/gen-libm-test.pl (parse_args): Do not include expected
13673 result in test name.
13674 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13675 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13676 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13677 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13678 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13680
051063c8
SP
136812013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13682
3ce9e010
SP
13683 * benchtests/Makefile: Sort function entries.
13684
051063c8
SP
13685 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13686 tanh, asinh, acosh, atanh.
13687 * benchtests/acos-inputs: New file.
13688 * benchtests/acosh-inputs: New file.
13689 * benchtests/asin-inputs: New file.
13690 * benchtests/asinh-inputs: New file.
13691 * benchtests/atanh-inputs: New file.
13692 * benchtests/cosh-inputs: New file.
13693 * benchtests/log-inputs: New file.
13694 * benchtests/sinh-inputs: New file.
13695 * benchtests/tanh-inputs: New file.
13696
47c22455
DL
136972013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13698
13699 [BZ #15339]
13700 * posix/tst-getaddrinfo4.c: New test.
13701 * posix/Makefile (tests): Add it.
13702
3d04f5db
SP
137032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13704
13705 [BZ #15339]
13706 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13707 when no services were used.
13708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13709 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13710
d5dd6189
AS
137112013-05-21 Andreas Schwab <schwab@suse.de>
13712
13713 [BZ #15014]
13714 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13715 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13716 successful.
13717 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13718 redundant variable declarations and reallocation of buffer when
13719 parsing as IPv6 address. Always set NSS status when called from
13720 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13721 buffer too small. Correct computation of needed size.
13722 * nss/Makefile (tests): Add test-digits-dots.
13723 * nss/test-digits-dots.c: New test.
13724
fef94eab
SP
137252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13726
13727 * benchtests/Makefile: Remove instructions for adding
13728 benchmark tests.
13729 * benchtests/README: New file to explain how to execute and
13730 enhance the benchmark tests.
13731
e39adf43
AS
137322013-05-21 Andreas Schwab <schwab@suse.de>
13733
13734 [BZ #15493]
13735 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13736 * setjmp/tst-sigsetjmp.c: New test.
13737
b2b671b6
OB
137382013-05-20 Ondřej Bílka <neleai@seznam.cz>
13739
13740 * sysdeps/x86_64/memset.S (memset): New implementation.
13741 (__bzero): Likewise.
13742 (__memset_tail): New function.
13743
2d48b41c
OB
137442013-05-20 Ondřej Bílka <neleai@seznam.cz>
13745
13746 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13747 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13748 __memcpy_sse2_unaligned ifunc selection.
13749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13750 Add memcpy-sse2-unaligned.S.
13751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13752 Add: __memcpy_sse2_unaligned.
13753
f16cc3eb
JM
137542013-05-19 Joseph Myers <joseph@codesourcery.com>
13755
3e694268
JM
13756 [BZ #15490]
13757 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13758 math_force_eval before restoring floating-point envrionment.
13759 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13761 Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13763 <math_private.h>.
13764 (__nearbyintl): Use math_force_eval before restoring
13765 floating-point environment.
13766 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13767
db62a907
JM
13768 * math/gen-libm-test.pl (special_functions): Remove.
13769 (parse_args): Don't handle TEST_extra. Handle functions with no
13770 return value.
13771 * math/libm-test.inc (struct test_sincos_data): Replace with
13772 struct test_fFF_11_data.
13773 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13774 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13775 (sincos_test_data): Change element type to struct
13776 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13777 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13778 RUN_TEST_LOOP_sincos.
13779 * math/README.libm-test: Don't mention special handling of
13780 individual functions.
13781 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13782 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13783 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13784 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13785 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13787
f16cc3eb
JM
13788 * math/gen-libm-test.pl (get_variable): Remove function.
13789 (parse_args): Don't show pointer parameters to call in test
13790 names. Use "extra output N" in test names for extra outputs
13791 rather than naming variables.
13792
3779b5b6
JM
137932013-05-18 Joseph Myers <joseph@codesourcery.com>
13794
2ee094ff
JM
13795 [BZ #15488]
13796 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13797 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13798 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13799 double tests.
13800 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13801 disable.
13802 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13803 check_long_double.
13804
3779b5b6
JM
13805 * math/gen-libm-test.pl (@tests): Remove variable.
13806 ($count): Likewise.
13807 (new_test): Remove function.
13808 (show_exceptions): New function.
13809 (special_functions): Use show_exceptions instead of new_test.
13810 (parse_args): Likewise.
13811 (generate_testfile): Pass only function name in generated call to
13812 print_max_error or print_complex_max_error.
13813 (get_ulps): Do not handle complex tests specially.
13814 (output_test): Rename to ...
13815 (get_all_ulps_for_test): ... this. Return a string rather than
13816 printing to a file. Require ulps to be present.
13817 (output_ulps): Generate arrays rather than #defines.
13818 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13819 (struct ulp_data): New type.
13820 (BUILD_COMPLEX_ULP): Remove macro.
13821 (compare_ulp_data): New function.
13822 (find_ulps): Likewise.
13823 (find_test_ulps): Likewise.
13824 (find_function_ulps): Likewise.
13825 (find_complex_function_ulps): Likewise.
13826 (print_max_error): Determine allowed ulps using
13827 find_function_ulps.
13828 (print_complex_max_error): Determine allowed ulps using
13829 find_complex_function_ulps.
13830 (check_float_internal): Determine max ulps using find_test_ulps.
13831 (check_float): Do not take max_ulp parameter. Update call to
13832 check_float_internal.
13833 (check_complex): Likewise.
13834 (check_int): Do not take max_ulp parameter.
13835 (check_long): Likewise.
13836 (check_bool): Likewise.
13837 (check_longlong): Likewise.
13838 (struct test_f_f_data): Remove max_ulp field.
13839 (struct test_ff_f_data): Likewise.
13840 (struct test_ff_f_data_nexttoward): Likewise.
13841 (struct test_fi_f_data): Likewise.
13842 (struct test_fl_f_data): Likewise.
13843 (struct test_if_f_data): Likewise.
13844 (struct test_fff_f_data): Likewise.
13845 (struct test_c_f_data): Likewise.
13846 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13847 (struct test_fF_f1_data): Likewise.
13848 (struct test_ffI_f1_data): Likewise.
13849 (struct test_c_c_data): Remove max_ulp field.
13850 (struct test_cc_c_data): Likewise.
13851 (struct test_f_i_data): Likewise.
13852 (struct test_ff_i_data): Likewise.
13853 (struct test_f_l_data): Likewise.
13854 (struct test_f_L_data): Likewise.
13855 (struct test_sincos_data): Likewise.
13856 (RUN_TEST_f_f): Do not handle ulps.
13857 (RUN_TEST_LOOP_f_f): Likewise.
13858 (RUN_TEST_2_f): Likewise.
13859 (RUN_TEST_LOOP_2_f): Likewise.
13860 (RUN_TEST_fff_f): Likewise.
13861 (RUN_TEST_LOOP_fff_f): Likewise.
13862 (RUN_TEST_c_f): Likewise.
13863 (RUN_TEST_LOOP_c_f): Likewise.
13864 (RUN_TEST_f_f1): Likewise.
13865 (RUN_TEST_LOOP_f_f1): Likewise.
13866 (RUN_TEST_fF_f1): Likewise.
13867 (RUN_TEST_LOOP_fF_f1): Likewise.
13868 (RUN_TEST_fI_f1): Likewise.
13869 (RUN_TEST_LOOP_fI_f1): Likewise.
13870 (RUN_TEST_ffI_f1): Likewise.
13871 (RUN_TEST_LOOP_ffI_f1): Likewise.
13872 (RUN_TEST_c_c): Likewise.
13873 (RUN_TEST_LOOP_c_c): Likewise.
13874 (RUN_TEST_cc_c): Likewise.
13875 (RUN_TEST_LOOP_cc_c): Likewise.
13876 (RUN_TEST_f_i): Likewise.
13877 (RUN_TEST_LOOP_f_i): Likewise.
13878 (RUN_TEST_f_i_tg): Likewise.
13879 (RUN_TEST_LOOP_f_i_tg): Likewise.
13880 (RUN_TEST_ff_i_tg): Likewise.
13881 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13882 (RUN_TEST_f_b): Likewise.
13883 (RUN_TEST_LOOP_f_b): Likewise.
13884 (RUN_TEST_f_b_tg): Likewise.
13885 (RUN_TEST_LOOP_f_b_tg): Likewise.
13886 (RUN_TEST_f_l): Likewise.
13887 (RUN_TEST_LOOP_f_l): Likewise.
13888 (RUN_TEST_f_L): Likewise.
13889 (RUN_TEST_LOOP_f_L): Likewise.
13890 (RUN_TEST_sincos): Likewise.
13891 (RUN_TEST_LOOP_sincos): Likewise.
13892
8269107f
JM
138932013-05-17 Joseph Myers <joseph@codesourcery.com>
13894
bb38759d
JM
13895 [BZ #15480]
13896 [BZ #15485]
13897 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13898 main case of finite arguments, set rounding mode to FE_TONEAREST
13899 and discard exceptions.
13900 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13901 exceptions.
13902 (remainder_tonearest_test_data): New variable.
13903 (remainder_test_tonearest): New function.
13904 (remainder_towardzero_test_data): New variable.
13905 (remainder_test_towardzero): New function.
13906 (remainder_downward_test_data): New variable.
13907 (remainder_test_downward): New function.
13908 (remainder_upward_test_data): New variable.
13909 (remainder_test_upward): New function.
13910 (main): Call the new test functions.
13911
a00bdcf0
JM
13912 * math/libm-test.inc (struct test_f_f1_data): Remove field
13913 extra_init.
13914 (struct test_fF_f1_data): Likewise.
13915 (struct test_ffI_f1_data): Likewise.
13916 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13917 based on value of EXTRA_EXPECTED.
13918 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13919 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13920 EXTRA_VAR based on value of EXTRA_EXPECTED.
13921 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13922 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13923 EXTRA_VAR based on value of EXTRA_EXPECTED.
13924 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13925 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13926 EXTRA_VAR based on value of EXTRA_EXPECTED.
13927 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13928 * math/gen-libm-test.pl (parse_args): Don't output initializers
13929 for extra output values.
13930
de407f79
JM
13931 * math/libm-test.inc (check_int): Expect result to be exactly
13932 equal to expected value and do not handle ulps.
13933 (check_long): Likewise.
13934 (check_longlong): Likewise.
13935
8269107f
JM
13936 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13937 exceptions.
13938 (cimag_test_data): Likewise.
13939 (conj_test_data): Likewise.
13940 (copysign_test_data): Likewise.
13941 (cproj_test_data): Likewise.
13942 (creal_test_data): Likewise.
13943 (fabs_test_data): Likewise.
13944 (fdim_test_data): Likewise.
13945 (finite_test_data): Likewise.
13946 (floor_test_data): Likewise.
13947 (fmax_test_data): Likewise.
13948 (fmin_test_data): Likewise.
13949 (fmod_test_data): Likewise.
13950 (fpclassify_test_data): Likewise.
13951 (frexp_test_data): Likewise.
13952 (ilogb_test_data): Likewise.
13953 (isfinite_test_data): Likewise.
13954 (isgreater_test_data): Likewise.
13955 (isgreaterequal_test_data): Likewise.
13956 (isinf_test_data): Likewise.
13957 (isless_test_data): Likewise.
13958 (islessequal_test_data): Likewise.
13959 (islessgreater_test_data): Likewise.
13960 (isnan_test_data): Likewise.
13961 (isnormal_test_data): Likewise.
13962 (issignaling_test_data): Likewise.
13963 (isunordered_test_data): Likewise.
13964 (ldexp_test_data): Likewise.
13965 (lrint_test_data): Likewise.
13966 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13967 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13968 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13969 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13970 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13971 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13972 test input.
13973 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13974 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13975 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13976 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13977 that test input.
13978 (lrint_downward_test_data): Test for "inexact" exceptions.
13979 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13980 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13981 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13982 test input.
13983 (lrint_upward_test_data): Test for "inexact" exceptions.
13984 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13985 test input.
13986 (llrint_test_data): Test for "inexact" exceptions.
13987 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13988 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13989 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13990 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13991 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13992 (llrint_downward_test_data): Test for "inexact" exceptions.
13993 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13994 (llrint_upward_test_data): Test for "inexact" exceptions.
13995 (logb_test_data): Likewise.
13996 (logb_downward_test_data): Likewise.
13997 (nextafter_test_data): Likewise.
13998 (nexttoward_test_data): Likewise.
13999 (remainder_test_data): Likewise.
14000 (remquo_test_data): Likewise.
14001 (scalbn_test_data): Likewise.
14002 (scalbln_test_data): Likewise.
14003 (signbit_test_data): Likewise.
14004 (sqrt_test_data): Likewise.
14005 (significand_test_data): Likewise.
14006
48a18de1
SP
140072013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14008
14009 [BZ #15424]
14010 * benchtests/bench-modf.c (struct args): Mark arg0 as
14011 volatile.
14012 * scripts/bench.pl: Mark members of struct args as volatile.
14013
13d3b41a
AZ
140142013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14015
68191c1d 14016 [BZ # 15497]
13d3b41a
AZ
14017 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14018 negative infinity on POWER6 or lower.
14019 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14020
2848b105
MR
140212013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14022
14023 [BZ #15442]
14024 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14025 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14026 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14027 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14028 (_FP_SETQNAN): New macro.
14029 (_FP_SETQNAN_SEMIRAW): Likewise.
14030 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14031 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14032 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14033 (FP_EXTEND): Use _FP_FRAC_SNANP.
14034 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14035 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14036 into account.
14037 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14038 New macro.
14039 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14040 Likewise.
14041
323e5cb7
JM
140422013-05-16 Joseph Myers <joseph@codesourcery.com>
14043
c58b274f
JM
14044 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14045 with DIVIDE_BY_ZERO_EXCEPTION.
14046 (gamma_test_data): Likewise.
14047 (lgamma_test_data): Likewise.
14048 (log_test_data): Likewise.
14049 (log10_test_data): Likewise.
14050 (log2_test_data): Likewise.
14051 (tgamma_test_data): Likewise.
14052
0ab34904
JM
14053 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14054 (acos_test_tonearest): Likewise.
14055 (acos_test_towardzero): Likewise.
14056 (acos_test_downward): Likewise.
14057 (acos_test_upward): Likewise.
14058 (acosh_test): Likewise.
14059 (asin_test): Likewise.
14060 (asin_test_tonearest): Likewise.
14061 (asin_test_towardzero): Likewise.
14062 (asin_test_downward): Likewise.
14063 (asin_test_upward): Likewise.
14064 (asinh_test): Likewise.
14065 (atan_test): Likewise.
14066 (atanh_test): Likewise.
14067 (atan2_test): Likewise.
14068 (cabs_test): Likewise.
14069 (cacos_test): Likewise.
14070 (cacosh_test): Likewise.
14071 (casin_test): Likewise.
14072 (casinh_test): Likewise.
14073 (catan_test): Likewise.
14074 (catanh_test): Likewise.
14075 (cbrt_test): Likewise.
14076 (ccos_test): Likewise.
14077 (ccosh_test): Likewise.
14078 (cexp_test): Likewise.
14079 (clog_test): Likewise.
14080 (clog10_test): Likewise.
14081 (cos_test): Likewise.
14082 (cos_test_tonearest): Likewise.
14083 (cos_test_towardzero): Likewise.
14084 (cos_test_downward): Likewise.
14085 (cos_test_upward): Likewise.
14086 (cosh_test): Likewise.
14087 (cosh_test_tonearest): Likewise.
14088 (cosh_test_towardzero): Likewise.
14089 (cosh_test_downward): Likewise.
14090 (cosh_test_upward): Likewise.
14091 (cpow_test): Likewise.
14092 (csin_test): Likewise.
14093 (csinh_test): Likewise.
14094 (csqrt_test): Likewise.
14095 (ctan_test): Likewise.
14096 (ctan_test_tonearest): Likewise.
14097 (ctan_test_towardzero): Likewise.
14098 (ctan_test_downward): Likewise.
14099 (ctan_test_upward): Likewise.
14100 (ctanh_test): Likewise.
14101 (ctanh_test_tonearest): Likewise.
14102 (ctanh_test_towardzero): Likewise.
14103 (ctanh_test_downward): Likewise.
14104 (ctanh_test_upward): Likewise.
14105 (erf_test): Likewise.
14106 (erfc_test): Likewise.
14107 (exp_test): Likewise.
14108 (exp_test_tonearest): Likewise.
14109 (exp_test_towardzero): Likewise.
14110 (exp_test_downward): Likewise.
14111 (exp_test_upward): Likewise.
14112 (exp10_test): Likewise.
14113 (exp2_test): Likewise.
14114 (expm1_test): Likewise.
14115 (fmod_test): Likewise.
14116 (gamma_test): Likewise.
14117 (hypot_test): Likewise.
14118 (j0_test): Likewise.
14119 (j1_test): Likewise.
14120 (jn_test): Likewise.
14121 (lgamma_test): Likewise.
14122 (log_test): Likewise.
14123 (log10_test): Likewise.
14124 (log1p_test): Likewise.
14125 (log2_test): Likewise.
14126 (logb_test_downward): Likewise.
14127 (pow_test): Likewise.
14128 (pow_test_tonearest): Likewise.
14129 (pow_test_towardzero): Likewise.
14130 (pow_test_downward): Likewise.
14131 (pow_test_upward): Likewise.
14132 (remainder_test): Likewise.
14133 (remquo_test): Likewise.
14134 (sin_test): Likewise.
14135 (sin_test_tonearest): Likewise.
14136 (sin_test_towardzero): Likewise.
14137 (sin_test_downward): Likewise.
14138 (sin_test_upward): Likewise.
14139 (sincos_test): Likewise.
14140 (sinh_test): Likewise.
14141 (sinh_test_tonearest): Likewise.
14142 (sinh_test_towardzero): Likewise.
14143 (sinh_test_downward): Likewise.
14144 (sinh_test_upward): Likewise.
14145 (sqrt_test): Likewise.
14146 (tan_test): Likewise.
14147 (tan_test_tonearest): Likewise.
14148 (tan_test_towardzero): Likewise.
14149 (tan_test_downward): Likewise.
14150 (tan_test_upward): Likewise.
14151 (tanh_test): Likewise.
14152 (tgamma_test): Likewise.
14153 (y0_test): Likewise.
14154 (y1_test): Likewise.
14155 (yn_test): Likewise.
14156
323e5cb7
JM
14157 * math/gen-libm-test.pl (adjust_arg): Remove function.
14158 (special_function): Remove argument $in_func. Only handle
14159 generating output for tables of tests, not inside functions.
14160 (parse_args): Likewise.
14161 (generate_testfile): Remove variable $in_func. Update call to
14162 parse_args.
14163 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14164 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14165 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14166 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14167 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14168 (MAX_VALUE_INIT): Rename macro to max_value.
14169 (MIN_VALUE_INIT): Rename macro to min_value.
14170 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14171 (plus_zero): Remove variable.
14172 (minus_zero): Likewise.
14173 (plus_infty): Likewise.
14174 (minus_infty): Likewise.
14175 (qnan_value): Likewise.
14176 (max_value): Likewise.
14177 (min_value): Likewise.
14178 (min_subnorm_value): Likewise.
14179
e054f494
RA
141802013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14181
14182 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14183 uint64_t or uint32_t usage.
14184 * crypt/sha256-block.c: Likewise.
14185 * crypt/sha256-crypt.c: Likewise.
14186 * crypt/sha256.c: Likewise.
14187 * crypt/sha512-block.c: Likewise.
14188 * crypt/sha512-crypt.c: Likewise.
14189 * crypt/sha512.c: Likewise.
14190 * debug/backtrace-tst.c: Likewise.
14191 * debug/pcprofiledump.c: Likewise.
14192 * elf/cache.c: Likewise.
14193 * elf/dl-cache.c: Likewise.
14194 * elf/dl-misc.c: Likewise.
14195 * elf/dl-profile.c: Likewise.
14196 * elf/dl-support.c: Likewise.
14197 * elf/ldconfig.c: Likewise.
14198 * elf/sprof.c: Likewise.
14199 * iconv/dummy-repertoire.c: Likewise.
14200 * iconv/iconv_charmap.c: Likewise.
14201 * iconv/skeleton.c: Likewise.
14202 * iconvdata/8bit-generic.c: Likewise.
14203 * iconvdata/cp737.h: Likewise.
14204 * iconvdata/cp775.h: Likewise.
14205 * iconvdata/ibm1008.h: Likewise.
14206 * iconvdata/ibm1025.h: Likewise.
14207 * iconvdata/ibm1046.h: Likewise.
14208 * iconvdata/ibm1097.h: Likewise.
14209 * iconvdata/ibm1112.h: Likewise.
14210 * iconvdata/ibm1122.h: Likewise.
14211 * iconvdata/ibm1123.h: Likewise.
14212 * iconvdata/ibm1124.h: Likewise.
14213 * iconvdata/ibm1129.h: Likewise.
14214 * iconvdata/ibm1130.h: Likewise.
14215 * iconvdata/ibm1132.h: Likewise.
14216 * iconvdata/ibm1133.h: Likewise.
14217 * iconvdata/ibm1137.h: Likewise.
14218 * iconvdata/ibm1140.h: Likewise.
14219 * iconvdata/ibm1141.h: Likewise.
14220 * iconvdata/ibm1142.h: Likewise.
14221 * iconvdata/ibm1143.h: Likewise.
14222 * iconvdata/ibm1144.h: Likewise.
14223 * iconvdata/ibm1145.h: Likewise.
14224 * iconvdata/ibm1146.h: Likewise.
14225 * iconvdata/ibm1147.h: Likewise.
14226 * iconvdata/ibm1148.h: Likewise.
14227 * iconvdata/ibm1149.h: Likewise.
14228 * iconvdata/ibm1153.h: Likewise.
14229 * iconvdata/ibm1154.h: Likewise.
14230 * iconvdata/ibm1155.h: Likewise.
14231 * iconvdata/ibm1156.h: Likewise.
14232 * iconvdata/ibm1157.h: Likewise.
14233 * iconvdata/ibm1158.h: Likewise.
14234 * iconvdata/ibm1160.h: Likewise.
14235 * iconvdata/ibm1161.h: Likewise.
14236 * iconvdata/ibm1162.h: Likewise.
14237 * iconvdata/ibm1163.h: Likewise.
14238 * iconvdata/ibm1164.h: Likewise.
14239 * iconvdata/ibm1166.h: Likewise.
14240 * iconvdata/ibm1167.h: Likewise.
14241 * iconvdata/ibm12712.h: Likewise.
14242 * iconvdata/ibm1390.h: Likewise.
14243 * iconvdata/ibm1399.h: Likewise.
14244 * iconvdata/ibm16804.h: Likewise.
14245 * iconvdata/ibm4517.h: Likewise.
14246 * iconvdata/ibm4899.h: Likewise.
14247 * iconvdata/ibm4909.h: Likewise.
14248 * iconvdata/ibm4971.h: Likewise.
14249 * iconvdata/ibm5347.h: Likewise.
14250 * iconvdata/ibm803.h: Likewise.
14251 * iconvdata/ibm856.h: Likewise.
14252 * iconvdata/ibm901.h: Likewise.
14253 * iconvdata/ibm902.h: Likewise.
14254 * iconvdata/ibm9030.h: Likewise.
14255 * iconvdata/ibm9066.h: Likewise.
14256 * iconvdata/ibm921.h: Likewise.
14257 * iconvdata/ibm922.h: Likewise.
14258 * iconvdata/ibm9448.h: Likewise.
14259 * iconvdata/isiri-3342.h: Likewise.
14260 * iconvdata/jis0201.h: Likewise.
14261 * include/link.h: Likewise.
14262 * include/netdb.h: Likewise.
14263 * inet/check_native.c: Likewise.
14264 * inet/check_pf.c: Likewise.
14265 * inet/getipv4sourcefilter.c: Likewise.
14266 * inet/getnameinfo.c: Likewise.
14267 * inet/getsourcefilter.c: Likewise.
14268 * inet/htonl.c: Likewise.
14269 * inet/setipv4sourcefilter.c: Likewise.
14270 * inet/setsourcefilter.c: Likewise.
14271 * inet/test-inet6_opt.c: Likewise.
14272 * inet/tst-network.c: Likewise.
14273 * locale/C-collate.c: Likewise.
14274 * locale/C-ctype.c: Likewise.
14275 * locale/C-time.c: Likewise.
14276 * locale/C-translit.h: Likewise.
14277 * locale/loadarchive.c: Likewise.
14278 * locale/programs/3level.h: Likewise.
14279 * locale/programs/charmap.c: Likewise.
14280 * locale/programs/charmap.h: Likewise.
14281 * locale/programs/ld-address.c: Likewise.
14282 * locale/programs/ld-collate.c: Likewise.
14283 * locale/programs/ld-ctype.c: Likewise.
14284 * locale/programs/ld-identification.c: Likewise.
14285 * locale/programs/ld-measurement.c: Likewise.
14286 * locale/programs/ld-messages.c: Likewise.
14287 * locale/programs/ld-monetary.c: Likewise.
14288 * locale/programs/ld-name.c: Likewise.
14289 * locale/programs/ld-numeric.c: Likewise.
14290 * locale/programs/ld-paper.c: Likewise.
14291 * locale/programs/ld-telephone.c: Likewise.
14292 * locale/programs/ld-time.c: Likewise.
14293 * locale/programs/linereader.c: Likewise.
14294 * locale/programs/locale.c: Likewise.
14295 * locale/programs/locarchive.c: Likewise.
14296 * locale/programs/locfile.h: Likewise.
14297 * locale/programs/repertoire.c: Likewise.
14298 * locale/programs/simple-hash.c: Likewise.
14299 * locale/programs/simple-hash.h: Likewise.
14300 * malloc/memusage.c: Likewise.
14301 * malloc/memusagestat.c: Likewise.
14302 * nis/nis_defaults.c: Likewise.
14303 * nis/nis_hash.c: Likewise.
14304 * nis/nis_print.c: Likewise.
14305 * nis/nis_xdr.c: Likewise.
14306 * nscd/connections.c: Likewise.
14307 * nscd/hstcache.c: Likewise.
14308 * nscd/nscd_gethst_r.c: Likewise.
14309 * nscd/nscd_getserv_r.c: Likewise.
14310 * nscd/nscd_helper.c: Likewise.
14311 * nscd/servicescache.c: Likewise.
14312 * nss/makedb.c: Likewise.
14313 * nss/nss_db/db-XXX.c: Likewise.
14314 * nss/nss_db/db-initgroups.c: Likewise.
14315 * nss/nss_db/db-netgrp.c: Likewise.
14316 * nss/nss_files/files-network.c: Likewise.
14317 * nss/nss_files/files-parse.c: Likewise.
14318 * posix/bug-regex5.c: Likewise.
14319 * posix/fnmatch_loop.c: Likewise.
14320 * posix/regcomp.c: Likewise.
14321 * posix/regexec.c: Likewise.
14322 * posix/tst-rfc3484-2.c: Likewise.
14323 * posix/tst-rfc3484-3.c: Likewise.
14324 * posix/tst-rfc3484.c: Likewise.
14325 * resolv/nss_dns/dns-canon.c: Likewise.
14326 * resolv/nss_dns/dns-network.c: Likewise.
14327 * resolv/res_init.c: Likewise.
14328 * resolv/res_mkquery.c: Likewise.
14329 * resolv/tst-aton.c: Likewise.
14330 * stdlib/cxa_atexit.c: Likewise.
14331 * stdlib/cxa_finalize.c: Likewise.
14332 * stdlib/gen-fpioconst.c: Likewise.
14333 * stdlib/strtol_l.c: Likewise.
14334 * string/tst-endian.c: Likewise.
14335 * sunrpc/auth_des.c: Likewise.
14336 * sunrpc/clnt_udp.c: Likewise.
14337 * sunrpc/rtime.c: Likewise.
14338 * sunrpc/svcauth_des.c: Likewise.
14339 * sunrpc/xdr.c: Likewise.
14340 * sunrpc/xdr_intXX_t.c: Likewise.
14341 * sunrpc/xdr_rec.c: Likewise.
14342 * sysdeps/generic/ldconfig.h: Likewise.
14343 * sysdeps/generic/ldsodefs.h: Likewise.
14344 * sysdeps/generic/memusage.h: Likewise.
14345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14348 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14355 * sysdeps/posix/getaddrinfo.c: Likewise.
14356 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14357 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14358 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14359 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14360 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14361 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14362 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14363 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14364 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14365 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14366 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14367 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14368 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14369 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14370 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14371 * sysdeps/x86_64/dl-tls.h: Likewise.
14372 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14373 * time/alt_digit.c: Likewise.
14374 * time/era.c: Likewise.
14375 * wcsmbs/tst-c16c32-1.c: Likewise.
14376
8c75f674
JM
143772013-05-16 Joseph Myers <joseph@codesourcery.com>
14378
14379 * math/libm-test.inc (struct test_sincos_data): New type.
14380 (RUN_TEST_LOOP_sincos): New macro.
14381 (sincos_test_data): New variable.
14382 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14383
e6e49e59
RH
143842013-05-16 Richard Henderson <rth@redhat.com>
14385
14386 * math/atest-exp2.c (LIMB64): New macro.
14387 (CONSTSZ): New macro.
14388 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14389 (hexdig): Move ...
14390 (print_mpn_fp): ... to function scope.
14391 (read_mpn_hex): Remove.
14392 (get_log2): Remove.
14393 (exp2_mpn): Use mp_log2.
14394 (main): Use mp_exp1.
14395
15c7c18d
JM
143962013-05-16 Joseph Myers <joseph@codesourcery.com>
14397
105a07df
JM
14398 * math/libm-test.inc: Remove comment about not testing "inexact"
14399 exceptions.
14400 (INEXACT_EXCEPTION): New macro.
14401 (NO_INEXACT_EXCEPTION): Likewise.
14402 (INVALID_EXCEPTION_OK): Update value.
14403 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14404 (OVERFLOW_EXCEPTION_OK): Likewise.
14405 (UNDERFLOW_EXCEPTION_OK): Likewise.
14406 (IGNORE_ZERO_INF_SIGN): Likewise.
14407 (ERRNO_UNCHANGED): Likewise.
14408 (ERRNO_EDOM): Likewise.
14409 (ERRNO_ERANGE): Likewise.
14410 (test_exceptions): Handle testing "inexact" exceptions.
14411 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14412 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14413 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14414 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14415 INEXACT_EXCEPTION.
14416 (rint_towardzero_test_data): Likewise.
14417 (rint_downward_test_data): Likewise.
14418 (rint_upward_test_data): Likewise.
14419
e9eee333
JM
14420 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14421 with OVERFLOW_EXCEPTION.
14422 (exp10_test_data): Likewise.
14423 (exp2_test_data): Likewise.
14424 (expm1_test_data): Likewise.
14425 (lgamma_test_data): Likewise.
14426 (pow_test_data): Likewise.
14427 (tgamma_test_data): Likewise.
14428 (yn_test_data): Remove duplicate test of overflow.
14429
1c38ff73
JM
14430 * math/libm-test.inc (struct test_cc_c_data): New type.
14431 (RUN_TEST_LOOP_cc_c): New macro.
14432 (cpow_test_data): New variable.
14433 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14434
15c7c18d
JM
14435 * math/libm-test.inc (struct test_f_L_data): New type.
14436 (RUN_TEST_LOOP_f_L): New macro.
14437 (llrint_test_data): New variable.
14438 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14439 (llrint_tonearest_test_data): New variable.
14440 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14441 (llrint_towardzero_test_data): New variable.
14442 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14443 (llrint_downward_test_data): New variable.
14444 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14445 (llrint_upward_test_data): New variable.
14446 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14447 (llround_test_data): New variable.
14448 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14449
f137ff13
PC
144502013-05-13 Peter Collingbourne <pcc@google.com>
14451
14452 * math/atest-exp2.c (get_log2): Remove const attribute.
14453
3608cb24
JM
144542013-05-15 Joseph Myers <joseph@codesourcery.com>
14455
14456 * math/libm-test.inc (struct test_f_l_data): New type.
14457 (RUN_TEST_LOOP_f_l): New macro.
14458 (lrint_test_data): New variable.
14459 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14460 (lrint_tonearest_test_data): New variable.
14461 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14462 (lrint_towardzero_test_data): New variable.
14463 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14464 (lrint_downward_test_data): New variable.
14465 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14466 (lrint_upward_test_data): New variable.
14467 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14468 (lround_test_data): New variable.
14469 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14470
39b1f617
PC
144712013-05-15 Peter Collingbourne <pcc@google.com>
14472
1deff3dc
PC
14473 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14474 (EXTRACT_WORDS64) Use where appropriate.
14475 (INSERT_WORDS64) Likewise.
14476
791f3ba0
PC
14477 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14478 constraints with x constraints.
14479 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14480
39b1f617
PC
14481 * malloc/obstack.c (_obstack_compat): Add initializer.
14482
12fba011
EM
144832013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14484
14485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14486 si_trapno and add si_addr_lsb to _sifields.sigfault.
14487 (si_trapno): Remove macro.
14488 (si_addr_lsb): Define new macro.
14489 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14490
d369f531
JM
144912013-05-15 Joseph Myers <joseph@codesourcery.com>
14492
b861c6c4
JM
14493 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14494 instead of TEST_f_l.
14495 (llrint_test_tonearest): Likewise.
14496 (llrint_test_towardzero): Likewise.
14497 (llrint_test_downward): Likewise.
14498 (llrint_test_upward): Likewise.
14499 (llround_test): Likewise.
14500
7abeee12
JM
14501 * math/libm-test.inc (struct test_f_i_data): Add comment.
14502 (RUN_TEST_LOOP_f_b): New macro.
14503 (RUN_TEST_LOOP_f_b_tg): Likewise.
14504 (finite_test_data): New variable.
14505 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14506 (isfinite_test_data): New variable.
14507 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14508 (isinf_test_data): New variable.
14509 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14510 (isnan_test_data): New variable.
14511 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14512 (isnormal_test_data): New variable.
14513 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14514 (issignaling_test_data): New variable.
14515 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14516 (signbit_test_data): New variable.
14517 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14518
cbe8c4d3
JM
14519 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14520 with INVALID_EXCEPTION.
14521 (acosh_test_data): Likewise.
14522 (asin_test_data): Likewise.
14523 (atanh_test_data): Likewise.
14524 (fmod_test_data): Likewise.
14525 (log_test_data): Likewise.
14526 (log10_test_data): Likewise.
14527 (log2_test_data): Likewise.
14528 (pow_test_data): Likewise.
14529 (sqrt_test_data): Likewise.
14530 (y0_test_data): Likewise.
14531 (y1_test_data): Likewise.
14532 (yn_test_data): Likewise.
14533
5575c0e5
JM
14534 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14535 function contents.
14536
d369f531
JM
14537 * math/libm-test.inc (struct test_ff_i_data): New type.
14538 (RUN_TEST_LOOP_ff_i_tg): New macro.
14539 (isgreater_test_data): New variable.
14540 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14541 (isgreaterequal_test_data): New variable.
14542 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14543 (isless_test_data): New variable.
14544 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14545 (islessequal_test_data): New variable.
14546 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14547 (islessgreater_test_data): New variable.
14548 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14549 (isunordered_test_data): New variable.
14550 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14551
781fd748
DM
145522013-05-14 David S. Miller <davem@davemloft.net>
14553
14554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14555
87aa21df
JM
145562013-05-14 Joseph Myers <joseph@codesourcery.com>
14557
5e908270
JM
14558 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14559
f71172e5
JM
14560 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14561 extra_test to int.
14562 (struct test_f_i_data): Change type of max_ulp to int.
14563
8cfa635a
JM
14564 * math/libm-test.inc (test_ffI_f1_data): New type.
14565 (RUN_TEST_LOOP_ffI_f1): New macro.
14566 (remquo_test_data): New variable.
14567 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14568
2bcb36b2
JM
14569 * setjmp/tst-setjmp-fp.c: New file.
14570 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14571 (link-libm): New variable.
14572 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14573
acbd839a
JM
14574 * math/libm-test.inc (struct test_f_i_data): New type.
14575 (RUN_TEST_LOOP_f_i): New macro.
14576 (RUN_TEST_LOOP_f_i_tg): Likewise.
14577 (fpclassify_test_data): New variable.
14578 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14579 (ilogb_test_data): New variable.
14580 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14581
e414d745
JM
14582 * math/libm-test.inc (scalbln_test): Correct function name in END
14583 call.
14584
d9c2a0fd
JM
14585 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14586 (RUN_TEST_LOOP_fI_f1): New macro.
14587 (frexp_test_data): New variable.
14588 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14589
9dc9095d
JM
14590 * math/libm-test.inc (struct test_fF_f1_data): New type.
14591 (RUN_TEST_LOOP_fF_f1): New macro.
14592 (modf_test_data): New variable.
14593 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14594
87aa21df
JM
14595 * math/libm-test.inc (struct test_f_f1_data): New type.
14596 (RUN_TEST_LOOP_f_f1): New macro.
14597 (gamma_test_data): New variable.
14598 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14599 (lgamma_test_data): New variable.
14600 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14601
141af660
CD
146022013-05-13 Carlos O'Donell <carlos@redhat.com>
14603
14604 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14605 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14606 (main): Comment "tls" pseudo-hwcap.
14607
6d33265c
JM
146082013-05-13 Joseph Myers <joseph@codesourcery.com>
14609
68fc074c
JM
14610 * math/libm-test.inc (struct test_fl_f_data): New type.
14611 (RUN_TEST_LOOP_fl_f): New variable.
14612 (scalbln_test_data): New variable.
14613 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14614
243216e1
JM
14615 * math/libm-test.inc (struct test_fi_f_data): New type.
14616 (RUN_TEST_LOOP_fi_f): New macro.
14617 (ldexp_test_data): New variable.
14618 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14619 (scalbn_test_data): New variable.
14620 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14621
6a1992e2
JM
14622 * math/libm-test.inc (struct test_c_f_data): New type.
14623 (RUN_TEST_LOOP_c_f): New macro.
14624 (cabs_test_data): New variable.
14625 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14626 (carg_test_data): New variable.
14627 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14628 (cimag_test_data): New variable.
14629 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14630 (creal_test_data): New variable.
14631 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14632
0e400df5
JM
14633 * math/libm-test.inc (struct test_if_f_data): New type.
14634 (RUN_TEST_LOOP_if_f): New macro.
14635 (jn_test_data): New variable.
14636 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14637 (yn_test_data): New variable.
14638 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14639
6d33265c
JM
14640 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14641
f98ece5f
AZ
146422013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14643
14644 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14645 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14646
0f7d347b
SP
146472013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14648
43fe811b
SP
14649 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14650 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14651 (bench-deps): Add bench-timing.h.
14652 * benchtests-bench-skeleton.c: Include bench-timing.h.
14653 (main): Use TIMING_* macros instead of clock_gettime.
14654 * benchtests/bench-timing.h: New file.
14655
0f7d347b
SP
14656 [BZ #14582]
14657 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14658 Renamed from _LIB_VERSION.
14659 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14660
601a3a5f
JM
146612013-05-12 Joseph Myers <joseph@codesourcery.com>
14662
4f184d30
JM
14663 * math/libm-test.inc (struct test_fff_f_data): New type.
14664 (RUN_TEST_LOOP_fff_f): New macro.
14665 (fma_test_data): New variable.
14666 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14667 (fma_towardzero_test_data): New variable.
14668 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14669 (fma_downward_test_data): New variable.
14670 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14671 (fma_upward_test_data): New variable.
14672 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14673
08198877
JM
14674 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14675 (struct test_c_c_data): New type.
14676 (RUN_TEST_LOOP_c_c): New macro.
14677 (cacos_test_data): New variable.
14678 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14679 (cacosh_test_data): New variable.
14680 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14681 (casin_test_data): New variable.
14682 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14683 (casinh_test_data): New variable.
14684 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14685 (catan_test_data): New variable.
14686 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14687 (catanh_test_data): New variable.
14688 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14689 (ccos_test_data): New variable.
14690 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14691 (ccosh_test_data): New variable.
14692 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14693 (cexp_test_data): New variable.
14694 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14695 (clog_test_data): New variable.
14696 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14697 (clog10_test_data): New variable.
14698 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14699 (conj_test_data): New variable.
14700 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14701 (cproj_test_data): New variable.
14702 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14703 (csin_test_data): New variable.
14704 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14705 (csinh_test_data): New variable.
14706 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14707 (csqrt_test_data): New variable.
14708 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14709 (ctan_test_data): New variable.
14710 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14711 (ctan_tonearest_test_data): New variable.
14712 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14713 (ctan_towardzero_test_data): New variable.
14714 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14715 (ctan_downward_test_data): New variable.
14716 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14717 (ctan_upward_test_data): New variable.
14718 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14719 (ctanh_test_data): New variable.
14720 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14721 (ctanh_tonearest_test_data): New variable.
14722 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14723 (ctanh_towardzero_test_data): New variable.
14724 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14725 (ctanh_downward_test_data): New variable.
14726 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14727 (ctanh_upward_test_data): New variable.
14728 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14729 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14730 of BUILD_COMPLEX.
14731
601a3a5f
JM
14732 * math/libm-test.inc (struct test_ff_f_data): New type.
14733 (struct test_ff_f_data_nexttoward): Likewise.
14734 (RUN_TEST_LOOP_2_f): New macro.
14735 (RUN_TEST_LOOP_ff_f): Likewise.
14736 (atan2_test_data): New variable.
14737 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14738 (copysign_test_data): New variable.
14739 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14740 (fdim_test_data): New variable.
14741 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14742 (fmax_test_data): New variable.
14743 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14744 (fmin_test_data): New variable.
14745 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14746 (fmod_test_data): New variable.
14747 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14748 (hypot_test_data): New variable.
14749 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14750 (nextafter_test_data): New variable.
14751 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14752 (nexttoward_test_data): New variable.
14753 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14754 (pow_test_data): New variable.
14755 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14756 (pow_tonearest_test_data): New variable.
14757 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14758 (pow_towardzero_test_data): New variable.
14759 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14760 (pow_downward_test_data): New variable.
14761 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14762 (pow_upward_test_data): New variable.
14763 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14764 (remainder_test_data): New variable.
14765 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14766 (scalb_test_data): New variable.
14767 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14768 * sysdeps/i386/fpu/libm-test-ulps: Update.
14769
74c57478
JM
147702013-05-11 Joseph Myers <joseph@codesourcery.com>
14771
8329e4da
JM
14772 * math/libm-test.inc (fma_test): Use max_value instead of local
14773 variable fltmax.
14774 (nextafter_test): Likewise.
14775
74c57478
JM
14776 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14777 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14778 (acos_downward_test_data): New variable.
14779 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14780 (acos_upward_test_data): New variable.
14781 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14782 (acosh_test_data): New variable.
14783 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14784 (asin_test_data): New variable.
14785 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14786 (asin_tonearest_test_data): New variable.
14787 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14788 (asin_towardzero_test_data): New variable.
14789 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14790 (asin_downward_test_data): New variable.
14791 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14792 (asin_upward_test_data): New variable.
14793 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14794 (asinh_test_data): New variable.
14795 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14796 (atan_test_data): New variable.
14797 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14798 (atanh_test_data): New variable.
14799 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14800 (cbrt_test_data): New variable.
14801 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14802 (ceil_test_data): New variable.
14803 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14804 (cos_test_data): New variable.
14805 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14806 (cos_tonearest_test_data): New variable.
14807 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14808 (cos_towardzero_test_data): New variable.
14809 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14810 (cos_downward_test_data): New variable.
14811 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14812 (cos_upward_test_data): New variable.
14813 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14814 (cosh_test_data): New variable.
14815 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14816 (cosh_tonearest_test_data): New variable.
14817 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14818 (cosh_towardzero_test_data): New variable.
14819 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14820 (cosh_downward_test_data): New variable.
14821 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14822 (cosh_upward_test_data): New variable.
14823 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14824 (erf_test_data): New variable.
14825 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14826 (erfc_test_data): New variable.
14827 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14828 (exp_test_data): New variable.
14829 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14830 (exp_tonearest_test_data): New variable.
14831 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14832 (exp_towardzero_test_data): New variable.
14833 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14834 (exp_downward_test_data): New variable.
14835 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14836 (exp_upward_test_data): New variable.
14837 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14838 (exp10_test_data): New variable.
14839 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14840 (exp2_test_data): New variable.
14841 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14842 (expm1_test_data): New variable.
14843 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14844 (fabs_test_data): New variable.
14845 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14846 (floor_test_data): New variable.
14847 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14848 (j0_test_data): New variable.
14849 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14850 (j1_test_data): New variable.
14851 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14852 (log_test_data): New variable.
14853 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14854 (log10_test_data): New variable.
14855 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14856 (log1p_test_data): New variable.
14857 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14858 (log2_test_data): New variable.
14859 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14860 (logb_test_data): New variable.
14861 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14862 (logb_downward_test_data): New variable.
14863 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14864 (nearbyint_test_data): New variable.
14865 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14866 (rint_test_data): New variable.
14867 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14868 (rint_tonearest_test_data): New variable.
14869 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14870 (rint_towardzero_test_data): New variable.
14871 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14872 (rint_downward_test_data): New variable.
14873 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14874 (rint_upward_test_data): New variable.
14875 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14876 (round_test_data): New variable.
14877 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14878 (sin_test_data): New variable.
14879 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14880 (sin_tonearest_test_data): New variable.
14881 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14882 (sin_towardzero_test_data): New variable.
14883 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14884 (sin_downward_test_data): New variable.
14885 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14886 (sin_upward_test_data): New variable.
14887 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14888 (sinh_test_data): New variable.
14889 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14890 (sinh_tonearest_test_data): New variable.
14891 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14892 (sinh_towardzero_test_data): New variable.
14893 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14894 (sinh_downward_test_data): New variable.
14895 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14896 (sinh_upward_test_data): New variable.
14897 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14898 (sqrt_test_data): New variable.
14899 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14900 (tan_test_data): New variable.
14901 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14902 (tan_tonearest_test_data): New variable.
14903 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14904 (tan_towardzero_test_data): New variable.
14905 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14906 (tan_downward_test_data): New variable.
14907 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14908 (tan_upward_test_data): New variable.
14909 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14910 (tanh_test_data): New variable.
14911 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14912 (tgamma_test_data): New variable.
14913 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14914 (trunc_test_data): New variable.
14915 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14916 (y0_test_data): New variable.
14917 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14918 (y1_test_data): New variable.
14919 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14920 (significand_test_data): New variable.
14921 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14922
7187d844
CG
149232013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14924
14925 [BZ #12387]
14926 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14927
f63fae73
PT
149282013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14929
14930 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14931
8a67a4b3
AJ
149322013-05-10 Andreas Jaeger <aj@suse.de>
14933
14934 [BZ #15448]
14935 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14936 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14937
51df539d
JM
149382013-05-10 Joseph Myers <joseph@codesourcery.com>
14939
14940 * math/gen-libm-test.pl (adjust_arg): New function.
14941 (special_functions): Handle generating output in both functions
14942 and arrays.
14943 (parse_args): Likewise.
14944 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14945 $in_func argument to parse_args.
14946 * math/libm-test.inc (struct test_f_f_data): New type.
14947 (IF_ROUND_INIT_): New macro.
14948 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14949 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14950 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14951 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14952 (ROUND_RESTORE_): Likewise.
14953 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14954 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14955 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14956 (ROUND_RESTORE_FE_UPWARD): Likewise.
14957 (RUN_TEST_LOOP_f_f): New macro.
14958 (acos_test_data): New variable.
14959 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14960 (acos_tonearest_test_data): New variable.
14961 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14962
5c637fe5
SP
149632013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14964
14965 * benchtests/bench-skeleton.c (startup): Fix coding style.
14966
ab2b9461
JM
149672013-05-10 Joseph Myers <joseph@codesourcery.com>
14968
14969 [BZ #6809]
14970 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14971 negative infinity argument.
14972 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14973 negative infinity argument.
14974 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14975 negative infinity argument.
14976 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14977 domain errors.
14978
4c0fe6fe
FW
149792013-05-10 Florian Weimer <fweimer@redhat.com>
14980
14981 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14982 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14983 * iconv/iconv_prog.c (main): Likewise.
14984 * locale/programs/charmap-dir.c (charmap_readdir)
14985 (fopen_uncompressed): Likewise.
14986 * locale/programs/locfile.c (siblings_uncached)
14987 (write_locale_data): Use lstat64 instead of lstat.
14988 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14989 stat.
14990
a3375d29
AJ
149912013-05-10 Andreas Jaeger <aj@suse.de>
14992
14993 [BZ #15395]
14994 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14995 localization.
14996 Include <locale.h>.
14997
36129722
CD
149982013-05-09 Carlos O'Donell <carlos@redhat.com>
14999
15000 * elf/dl-close.c (_dl_close_worker): Add comments.
15001
faa7f811
JM
150022013-05-09 Joseph Myers <joseph@codesourcery.com>
15003
ed41ffef
JM
15004 [BZ #15359]
15005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15006 high part of pi/2.
15007 (__ieee754_rem_pio2l): Update comments.
15008
d0213cd0
JM
15009 [BZ #15429]
15010 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15011 high part of pi/2.
15012 (__ieee754_rem_pio2l): Update comments.
15013
0d3e777a
JM
15014 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15015 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15016
24f56066
JM
15017 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15018 M_PI_4l.
15019
faa7f811
JM
15020 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15021 (M_PI_34_LOG10El): Likewise.
15022 (M_PI2_LOG10El): Likewise.
15023 (M_PI4_LOG10El): Likewise.
15024 (M_PI_LOG10El): Likewise.
15025
e9a5e0fd
AZ
150262013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15027
15028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15029
d8cd06db
JM
150302013-05-08 Joseph Myers <joseph@codesourcery.com>
15031
a0d9f9d7
JM
15032 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15033 (MINUS_ZERO_INIT): Likewise.
15034 (PLUS_INFTY_INIT): Likewise.
15035 (MINUS_INFTY_INIT): Likewise.
15036 (QNAN_VALUE_INIT): Likewise.
15037 (MAX_VALUE_INIT): Likewise.
15038 (MIN_VALUE_INIT): Likewise.
15039 (MIN_SUBNORM_VALUE_INIT): Likewise.
15040 (plus_zero): Initialize with PLUS_ZERO_INIT.
15041 (minus_zero): Initialize with MINUS_ZERO_INIT.
15042 (plus_infty): Initialize with PLUS_INFTY_INIT.
15043 (minus_infty): Initialize with MINUS_INFTY_INIT.
15044 (qnan_value): Initialize with QNAN_VALUE_INIT.
15045 (max_value): Initialize with MAX_VALUE_INIT.
15046 (min_value): Initialize with MIN_VALUE_INIT.
15047 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15048
ae08db3b
JM
15049 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15050 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15051 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15052 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15053
f44bf14a
JM
15054 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15055 (RUN_TEST_2_f): Likewise.
15056 (RUN_TEST_ff_f): Likewise.
15057 (RUN_TEST_fi_f): Likewise.
15058 (RUN_TEST_fl_f): Likewise.
15059 (RUN_TEST_fff_f): Likewise.
15060 (RUN_TEST_c_f): Likewise.
15061 (RUN_TEST_f_f1): Likewise.
15062 (RUN_TEST_fF_f1): Likewise.
15063 (RUN_TEST_fI_f1): Likewise.
15064 (RUN_TEST_ffI_f1): Likewise.
15065 (RUN_TEST_c_c): Likewise.
15066 (RUN_TEST_cc_c): Likewise.
15067 (RUN_TEST_f_i): Likewise.
15068 (RUN_TEST_f_i_tg): Likewise.
15069 (RUN_TEST_ff_i_tg): Likewise.
15070 (RUN_TEST_f_b): Likewise.
15071 (RUN_TEST_f_b_tg): Likewise.
15072 (RUN_TEST_f_l): Likewise.
15073 (RUN_TEST_f_L): Likewise.
15074 (RUN_TEST_sincos): Likewise.
15075 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15076 whether to show exceptions. Do not include ");\n" in return
15077 value.
15078 (special_functions): Output call to RUN_TEST_sincos instead of
15079 check_float calls. Update calls to new_test.
15080 (parse_args): Output call to single RUN_TEST_* macro instead of
15081 check_* calls and other assignments. Update calls to new_test.
15082
d8cd06db
JM
15083 [BZ #2546]
15084 [BZ #2560]
15085 [BZ #5159]
15086 [BZ #15426]
15087 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15088 input to result for tgamma overflow.
15089 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15090 (gamma_coeff): New variable.
15091 (NCOEFF): New macro.
15092 (gamma_positive): New function.
15093 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15094 underflow here. Use gamma_positive instead of exp (lgamma) for
15095 other arguments.
15096 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15097 (gamma_coeff): New variable.
15098 (NCOEFF): New macro.
15099 (gammaf_positive): New function.
15100 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15101 underflow here. Use gamma_positive instead of exp (lgamma) for
15102 other arguments.
15103 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15104 (gamma_coeff): New variable.
15105 (NCOEFF): New macro.
15106 (gammal_positive): New function.
15107 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15108 underflow here. Use gamma_positive instead of exp (lgamma) for
15109 other arguments.
15110 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15111 (gamma_coeff): New variable.
15112 (NCOEFF): New macro.
15113 (gammal_positive): New function.
15114 (__ieee754_gammal_r): Handle positive infinity, overflow and
15115 underflow here. Handle NaN the same as positive infinity. Remove
15116 check x < 0xffffffff for negative integers. Use gamma_positive
15117 instead of exp (lgamma) for other arguments.
15118 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15119 (gamma_coeff): New variable.
15120 (NCOEFF): New macro.
15121 (gammal_positive): New function.
15122 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15123 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15124 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15125 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15126 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15127 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15128 * sysdeps/generic/math_private.h (__gamma_productf): New
15129 prototype.
15130 (__gamma_product): Likewise.
15131 (__gamma_productl): Likewise.
15132 * math/Makefile (libm-calls): Add gamma_product.
15133 * math/libm-test.inc (tgamma_test): Add more tests.
15134 * sysdeps/i386/fpu/libm-test-ulps: Update.
15135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15136
bb7cf681
OB
151372013-05-08 Ondřej Bílka <neleai@seznam.cz>
15138
15139 * benchtests/bench-skeleton.c (main): Preheat CPU.
15140
ba853947
AJ
151412013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15142
15143 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15144
8347c74c
RM
151452013-05-07 Roland McGrath <roland@hack.frob.com>
15146
15147 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15148 and _dl_skip_args_internal.
15149
e8dd4791
CD
151502013-05-07 Carlos O'Donell <carlos@redhat.com>
15151
15152 * manual/message.texi (Message Translation): Talk about users.
15153 Message to key mapping impacts design.
15154
c7405830
RM
151552013-05-06 Roland McGrath <roland@hack.frob.com>
15156
a9173057
RM
15157 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15158
976e2f03
RM
15159 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15160
9723ffc5
RM
15161 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15162 * sysdeps/wordsize-64/glob64.c: ... here.
15163
962e6658
RM
15164 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15165 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15166 New macros.
15167
ee586a6d
RM
15168 * debug/getlogin_r_chk.c: Moved to ...
15169 * login/getlogin_r_chk.c: ... here.
15170 * debug/Makefile (routines): Move getlogin_r_chk to ...
15171 * login/Makefile (routines): ... here.
15172 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15173 * login/Versions (libc: GLIBC_2.4): ... here.
15174
355f9165
RM
15175 * io/poll.c (__poll): Renamed from poll.
15176 Add libc_hidden_def.
15177 (poll): Define as weak alias.
15178
bd9ffde6
RM
15179 * debug/ptsname_r_chk.c: Moved to ...
15180 * login/ptsname_r_chk.c: ... here.
15181 * debug/Makefile (routines): Move ptsname_r_chk to ...
15182 * login/Makefile (routines): ... here.
15183 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15184 * login/Versions (libc: GLIBC_2.4): ... here.
15185
8fb16a04
RM
15186 * posix/getlogin.c: Moved to ...
15187 * login/getlogin.c: ... here.
15188 * posix/getlogin_r.c: Moved to ...
15189 * login/getlogin_r.c: ... here.
15190 * posix/getlogin_r.c: Moved to ...
15191 * login/getlogin_r.c: ... here.
15192 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15193 * login/Makefile (routines): ... here.
15194 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15195 * login/Versions (libc: GLIBC_2.0): ... here.
15196
b99b892f
RM
15197 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15198 (setrlimit): Define as weak alias.
15199
c7405830
RM
15200 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15201 Call __ names for open, ftruncate, and close.
15202 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15203 (truncate): Define as weak alias.
15204
5bf96de5
JM
152052013-05-06 Joseph Myers <joseph@codesourcery.com>
15206
9ea3513c
JM
15207 * math/gen-libm-test.pl (parse_args): Initialize x before each
15208 test of frexp, modf and remquo.
15209
5bf96de5
JM
15210 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15211 test signgam value.
15212
16e616a7
AZ
152132013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15214
15215 [BZ #15418]
15216 [BZ #15419]
15217 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15218 internal tests.
15219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15220
d5e82754
RM
152212013-05-06 Roland McGrath <roland@hack.frob.com>
15222
15223 * elf/dl-writev.h: New file.
15224 * elf/dl-misc.c: Include it.
15225 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15226 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15227
a7548d41
JM
152282013-05-04 Joseph Myers <joseph@codesourcery.com>
15229
b7dab1e4
JM
15230 * math/libm-test.inc (noXFails): Remove variable.
15231 (noXPasses): Likewise.
15232 (BUILD_COMPLEX_INT): Remove macro.
15233 (print_screen): Remove xfail argument.
15234 (print_screen_max_error): Likewise.
15235 (update_stats): Likewise.
15236 (print_max_error): Likewise. Update calls to other affected
15237 functions.
15238 (print_complex_max_error): Likewise.
15239 (test_single_exception): Update calls to print_screen.
15240 (test_single_errno): Likewise.
15241 (check_float_internal): Remove xfail argument. Update calls to
15242 other affected functions.
15243 (check_float): Likewise.
15244 (check_complex): Likewise.
15245 (check_int): Likewise.
15246 (check_long): Likewise.
15247 (check_bool): Likewise.
15248 (check_longlong): Likewise.
15249 (main): Don't print noXFails and noXPasses.
15250 * math/gen-libm-test.pl (top level): Don't mention expected
15251 failure handling in comment.
15252 (new_test): Don't handle expected failures.
15253 (parse_args): Don't mention expected failure handling in comment.
15254 (generate_testfile): Don't handle expected failures.
15255 (parse_ulps): Likewise.
15256 (print_ulps_file): Likewise.
15257 (get_failure): Remove function.
15258 (output_test): Don't handle expected failures.
15259 * make/README.libm-test: Don't mention expected failure handling.
15260
a7548d41
JM
15261 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15262 (minus_zero): Likewise.
15263 (plus_infty): Likewise.
15264 (minus_infty): Likewise.
15265 (qnan_value): Likewise.
15266 (max_value): Likewise.
15267 (min_value): Likewise.
15268 (min_subnorm_value): Likewise.
15269 (initialize): Do not initialize those variables dynamically.
15270
60bfd54c
RM
152712013-05-03 Roland McGrath <roland@hack.frob.com>
15272
cc0e6ed8
RM
15273 * io/open.c (__open_2): Moved to ...
15274 * io/open_2.c: ... this new file.
15275 * io/open64.c (__open64_2): Moved to ...
15276 * io/open64_2.c: ... this new file.
15277 * io/openat.c (__openat_2): Moved to ...
15278 * io/openat_2.c: ... this new file.
15279 * io/openat64.c (__openat64_2): Moved to ...
15280 * io/openat64_2.c: ... this new file.
15281 * io/Makefile (routines): Add them.
15282 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15283 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15284 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15285 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15286 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15287 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15288 (__openat64): Add hidden_ver.
15289 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15290 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15291
60bfd54c
RM
15292 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15293 Separately conditionalize setting of GLRO(dl_sysinfo) so
15294 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15295 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15296
83e7640f
AZ
152972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15298
15299 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15300 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15301 definition.
15302 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15303 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15304 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15305 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15306 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15307
d5dc2af3
JM
153082013-05-03 Joseph Myers <joseph@codesourcery.com>
15309
c31a5b1e
JM
15310 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15311 test signgam value.
15312
d5dc2af3
JM
15313 * math/libm-test.inc (hypot_test): Do not use
15314 IGNORE_ZERO_INF_SIGN.
15315
164fd39d
AJ
153162013-05-03 Andreas Jaeger <aj@suse.de>
15317
15318 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15319 Linux 3.9.
15320 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15321 (PF_MAX): Adjust for VSOCK change.
15322
8237f48c
AZ
153232013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15324
15325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15326
9df02941
CD
153272013-05-02 Carlos O'Donell <carlos@redhat.com>
15328
15329 [BZ #15264]
15330 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15331 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15332 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15333
d422395e
DM
153342013-05-02 David S. Miller <davem@davemloft.net>
15335
15336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15337
a07c5731
OB
153382013-05-01 Ondřej Bílka <neleai@seznam.cz>
15339
15340 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15341
1324e37f
RM
153422013-05-01 Roland McGrath <roland@hack.frob.com>
15343
15344 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15345
0695940b
RS
153462013-05-01 Richard Smith <richard@metafoo.co.uk>
15347
bb5f27ad 15348 [BZ #14952]
0695940b
RS
15349 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15350 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15351 Use __attribute__ ((__gnu_inline__)).
15352 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15353 Don't use __attribute__ ((__gnu_inline__)).
15354
10de07f5
JM
153552013-05-01 Joseph Myers <joseph@codesourcery.com>
15356
15357 [BZ #15423]
15358 * math/s_catan.c (__catan): Handle small real or imaginary part of
15359 input specially to avoid spurious underflow.
15360 * math/s_catanf.c (__catanf): Likewise.
15361 * math/s_catanh.c (__catanh): Likewise.
15362 * math/s_catanhf.c (__catanhf): Likewise.
15363 * math/s_catanhl.c (__catanhl): Likewise.
15364 * math/s_catanl.c (__catanl): Likewise.
15365 * math/libm-test.inc (catan_test): Add more tests.
15366 (catanh_test): Likewise.
15367 * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369
cb4d5414
AZ
153702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15371
15372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15373
caf84319
JM
153742013-04-30 Joseph Myers <joseph@codesourcery.com>
15375
15376 [BZ #15416]
15377 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15378 accurately for denominator in atan2.
15379 * math/s_catanf.c (__catanf): Likewise.
15380 * math/s_catanh.c (__catanh): Likewise.
15381 * math/s_catanhf.c (__catanhf): Likewise.
15382 * math/s_catanhl.c (__catanhl): Likewise.
15383 * math/s_catanl.c (__catanl): Likewise.
15384 * math/libm-test.inc (catan_test): Add more tests.
15385 (catanh_test): Likewise.
15386 * sysdeps/i386/fpu/libm-test-ulps: Update.
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15388
d569c6ee
SP
153892013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15390
6dbe713d
SP
15391 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15392
f0ee064b
SP
15393 * benchtests/Makefile (bench): Remove slow benchmarks.
15394 * benchtests/atan-inputs: Add slow benchmark inputs.
15395 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15396 (BENCH_FUNC): Accept variant offset.
15397 (VARIANT): Define.
15398 * benchtests/bench-skeleton.c (main): Run benchmark for each
15399 variant.
15400 * benchtests/cos-inputs: Add slow benchmark inputs.
15401 * benchtests/exp-inputs: Likewise.
15402 * benchtests/pow-inputs: Likewise.
15403 * benchtests/sin-inputs: Likewise.
15404 * benchtests/slowatan-inputs: Remove.
15405 * benchtests/slowatan.c: Remove.
15406 * benchtests/slowcos-inputs: Remove.
15407 * benchtests/slowcos.c: Remove.
15408 * benchtests/slowexp-inputs: Remove.
15409 * benchtests/slowexp.c: Remove.
15410 * benchtests/slowpow-inputs: Remove.
15411 * benchtests/slowpow.c: Remove.
15412 * benchtests/slowsin-inputs: Remove.
15413 * benchtests/slowsin.c: Remove.
15414 * benchtests/slowtan-inputs: Remove.
15415 * benchtests/slowtan.c: Remove.
15416 * benchtests/tan-inputs: Add slow benchmark inputs.
15417 * scripts/bench.pl: Parse comments and directives.
15418
d569c6ee
SP
15419 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15420 in CPPFLAGS.
15421 ($(objpfx)bench-%.c): Remove *-ITER.
15422 * benchtests/bench-modf.c: Remove definition of ITER.
15423 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15424 (main): Loop for DURATION seconds instead of fixed number of
15425 iterations.
15426 * scripts/bench.pl: Don't expect iterations in parameters.
15427
a6a242fe
RM
154282013-04-29 Roland McGrath <roland@hack.frob.com>
15429
15430 * io/fchdir.c (__fchdir): Renamed from fchdir.
15431 (fchdir): Define as weak alias.
15432
f2da7793
JM
154332013-04-29 Joseph Myers <joseph@codesourcery.com>
15434
15435 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15436 (ERRNO_EDOM): Likewise.
15437 (ERRNO_ERANGE): Likewise.
15438 (noErrnoTests): New variable.
15439 (init_max_error): Set errno to 0.
15440 (test_single_errno): New function.
15441 (test_errno): Likewise.
15442 (check_float_internal): Call test_errno. Set errno to 0.
15443 (check_complex): Refer to errno tests in comment.
15444 (check_int): Call test_errno. Set errno to 0.
15445 (check_long): Likewise.
15446 (check_bool): Likewise.
15447 (check_longlong): Likewise.
15448 (cos_test): Use ERRNO_* flags for errno tests instead of
15449 check_int.
15450 (expm1_test): Likewise.
15451 (fmod_test): Likewise.
15452 (ilogb_test): Likewise.
15453 (lgamma_test): Likewise.
15454 (pow_test): Likewise.
15455 (remainder_test): Likewise.
15456 (sin_test): Likewise.
15457 (tan_test): Likewise.
15458 (yn_test): Likewise.
15459 (initialize): Set errno to 0.
15460 (main): Print number of errno tests.
15461 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15462
b1a36ceb
AJ
154632013-04-29 Andreas Jaeger <aj@suse.de>
15464
c3ed8088
AJ
15465 [BZ #15084]
15466 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15467 and RES_USEVC.
15468
f1a24198
AJ
15469 [BZ #15085]
15470 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15471 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15472 unimplemented.
15473
9ce3b2cb
AJ
15474 [BZ #15380]
15475 * stdlib/random.c (__initstate): Return NULL if
15476 __initstate fails.
15477
f1a24198 15478 [BZ #15086]
b1a36ceb
AJ
15479 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15480 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15481 RES_SNGLKUPREOP.
15482
7e7b6f36
AZ
154832013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15484
15485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15486
4d14f449
JM
154872013-04-29 Joseph Myers <joseph@codesourcery.com>
15488
15489 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15490 of individual tests.
15491 (casin_test): Likewise.
15492 (casinh_test): Likewise.
15493
5b4217d7
JM
154942013-04-27 Joseph Myers <joseph@codesourcery.com>
15495
15496 [BZ #15409]
15497 * math/s_catan.c (__catan): Handle arguments with large real or
15498 imaginary part separately without squaring.
15499 * math/s_catanf.c (__catanf): Likewise.
15500 * math/s_catanh.c (__catanh): Likewise.
15501 * math/s_catanhf.c (__catanhf): Likewise.
15502 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15503 and redefine.
15504 (__catanhl): Handle arguments with large real or imaginary part
15505 separately without squaring.
15506 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15507 and redefine.
15508 (__catanl): Handle arguments with large real or imaginary part
15509 separately without squaring.
15510 * math/libm-test.inc (catan_test): Add more tests.
15511 (catanh_test): Likewise.
15512 * sysdeps/i386/fpu/libm-test-ulps: Update.
15513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15514
4220c3ef
AJ
155152013-04-27 Andreas Jaeger <aj@suse.de>
15516
15517 [BZ #15007]
15518 * stdlib/stdlib.h: Update guards for qecvt.
15519 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15520 <stdlib.h>.
15521
4721b2d1
AM
155222013-04-27 Allan McRae <allan@archlinux.org>
15523
15524 * sysdeps/i386/fpu/libm-test-ulps: Update.
15525
f0302940
JM
155262013-04-26 Joseph Myers <joseph@codesourcery.com>
15527
9457fd95
JM
15528 [BZ #15406]
15529 * math/s_catan.c: Include <float.h>.
15530 (__catan): Ensure underflow exception occurs for underflowed
15531 result.
15532 * math/s_catanf.c: Include <float.h>.
15533 (__catanf): Ensure underflow exception occurs for underflowed
15534 result.
15535 * math/s_catanh.c: Include <float.h>.
15536 (__catanh): Ensure underflow exception occurs for underflowed
15537 result.
15538 * math/s_catanhf.c: Include <float.h>.
15539 (__catanhf): Ensure underflow exception occurs for underflowed
15540 result.
15541 * math/s_catanhl.c: Include <float.h>.
15542 (__catanhl): Ensure underflow exception occurs for underflowed
15543 result.
15544 * math/s_catanl.c: Include <float.h>.
15545 (__catanl): Ensure underflow exception occurs for underflowed
15546 result.
15547 * math/libm-test.inc (catan_test): Add more tests.
15548 (catanh_test): Likewise.
15549
f0302940
JM
15550 [BZ #15405]
15551 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15552 underflowed result.
15553 * math/s_ccoshf.c (__ccoshf): Likewise.
15554 * math/s_ccoshl.c (__ccoshl): Likewise.
15555 * math/s_csin.c (__csin): Likewise.
15556 * math/s_csinf.c (__csinf): Likewise.
15557 * math/s_csinh.c (__csinh): Likewise.
15558 * math/s_csinhf.c (__csinhf): Likewise.
15559 * math/s_csinhl.c (__csinhl): Likewise.
15560 * math/s_csinl.c (__csinl): Likewise.
15561 * math/libm-test.inc (ccos_test): Add more tests.
15562 (ccosh_test): Likewise.
15563 (csin_test): Likewise.
15564 (csinh_test): Likewise.
15565
aa630f59
AZ
155662013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15567
15568 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15569 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15570 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15571 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15572 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15573 powerpc/power5+/fpu folders.
15574 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15575
15576
1b835983
MT
155772013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15578
15579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15580
73709b26
JM
155812013-04-25 Joseph Myers <joseph@codesourcery.com>
15582
15583 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15584 additions to variable.
15585 [$(config-machine) = x86_64] (modules-names): Likewise.
15586 ($(objpfx)tst-audit3): Remove dependency.
15587 ($(objpfx)tst-audit3.out): Likewise.
15588 ($(objpfx)tst-audit4): Likewise.
15589 ($(objpfx)tst-audit4.out): Likewise.
15590 ($(objpfx)tst-audit5): Likewise.
15591 ($(objpfx)tst-audit5.out): Likewise.
15592 ($(objpfx)tst-audit6): Likewise.
15593 ($(objpfx)tst-audit6.out): Likewise.
15594 ($(objpfx)tst-audit7): Likewise.
15595 ($(objpfx)tst-audit7.out): Likewise.
15596 (tst-audit3-ENV): Remove variable.
15597 (tst-audit4-ENV): Likewise.
15598 (tst-audit5-ENV): Likewise.
15599 (tst-audit6-ENV): Likewise.
15600 (tst-audit7-ENV): Likewise.
15601 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15602 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15603 addition to variable.
15604 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15605 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15606 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15607 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15608 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15609 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15610 tst-audit3, tst-audit4 and tst-audit5.
15611 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15612 tst-audit6 and tst-audit7.
15613 [$(subdir) = elf] (modules-names): Add audit modules for those
15614 tests.
15615 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15616 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15617 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15618 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15619 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15620 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15621 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15622 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15623 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15624 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15625 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15626 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15627 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15628 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15629 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15630 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15631 Likewise.
15632 [$(subdir) = elf && $(config-cflags-avx) = yes]
15633 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15634 [$(subdir) = elf && $(config-cflags-avx) = yes]
15635 (CFLAGS-tst-auditmod4a.c): Likewise.
15636 [$(subdir) = elf && $(config-cflags-avx) = yes]
15637 (CFLAGS-tst-auditmod4b.c): Likewise.
15638 [$(subdir) = elf && $(config-cflags-avx) = yes]
15639 (CFLAGS-tst-auditmod6b.c): Likewise.
15640 [$(subdir) = elf && $(config-cflags-avx) = yes]
15641 (CFLAGS-tst-auditmod6c.c): Likewise.
15642 [$(subdir) = elf && $(config-cflags-avx) = yes]
15643 (CFLAGS-tst-auditmod7b.c): Likewise.
15644 * elf/tst-audit3.c: Move to ...
15645 * sysdeps/x86_64/tst-audit3.c: ... here.
15646 * elf/tst-audit4.c: Move to ...
15647 * sysdeps/x86_64/tst-audit4.c: ... here.
15648 * elf/tst-audit5.c: Move to ...
15649 * sysdeps/x86_64/tst-audit5.c: ... here.
15650 * elf/tst-audit6.c: Move to ...
15651 * sysdeps/x86_64/tst-audit6.c: ... here.
15652 * elf/tst-audit7.c: Move to ...
15653 * sysdeps/x86_64/tst-audit7.c: ... here.
15654 * elf/tst-auditmod3a.c: Move to ...
15655 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15656 * elf/tst-auditmod3b.c: Move to ...
15657 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15658 * elf/tst-auditmod4a.c: Move to ...
15659 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15660 * elf/tst-auditmod4b.c: Move to ...
15661 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15662 * elf/tst-auditmod5a.c: Move to ...
15663 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15664 * elf/tst-auditmod5b.c: Move to ...
15665 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15666 * elf/tst-auditmod6a.c: Move to ...
15667 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15668 * elf/tst-auditmod6b.c: Move to ...
15669 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15670 * elf/tst-auditmod6c.c: Move to ...
15671 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15672 * elf/tst-auditmod7a.c: Move to ...
15673 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15674 * elf/tst-auditmod7b.c: Move to ...
15675 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15676
1ef74943
PP
156772013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15678
15679 [BZ #15366]
15680 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15681 define unconditionally.
15682 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15683 define unconditionally.
15684 (INT8_C, INT16_C, etc.): Likewise.
15685
93fd48c5
MR
156862013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15687
ae9552cf
MR
15688 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15689 __ehdr_start with hidden visibility.
15690
93fd48c5
MR
15691 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15692
418601aa
CD
156932013-04-24 Carlos O'Donell <carlos@redhat.com>
15694
15695 * math/libm-test.inc (cos_test): Use accurate hex constants.
15696 (sincost_test): Likewise.
15697
2f38fbfe
JM
156982013-04-24 Joseph Myers <joseph@codesourcery.com>
15699
5e221800
JM
15700 * math/libm-test.inc (catan_test): Add more tests.
15701 (catanh_test): Likewise.
15702
77f143fd
JM
15703 * math/s_catanf.c (__catanf): Use suffixed floating-point
15704 constants.
15705 * math/s_catanhf.c (__catanhf): Likewise.
15706 * math/s_catanhl.c (__catanhl): Likewise.
15707 * math/s_catanl.c (__catanl): Likewise.
15708
2f38fbfe
JM
15709 [BZ #15394]
15710 * math/s_catan.c (__catan): Calculate imaginary part of result
15711 with log1p not log unless computing log of number close to 0.
15712 * math/s_catanf.c (__catanf): Likewise.
15713 * math/s_catanl.c (__catanl): Likewise.
15714 * math/s_catanh.c (__catanh): Calculate real part of result with
15715 log1p not log unless computing log of number close to 0.
15716 * math/s_catanhf.c (__catanhf): Likewise.
15717 * math/s_catanhl.c (__catanhl): Likewise.
15718 * math/libm-test.inc (catan_test): Add more tests.
15719 (catanh_test): Likewise.
15720 * sysdeps/i386/fpu/libm-test-ulps: Update.
15721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15722
45d69176
SP
157232013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15724
15725 * benchtests/Makefile: Mention files in which fast and slow
15726 paths of math functions are implemented.
15727
87f51853
RM
157282013-04-23 Roland McGrath <roland@hack.frob.com>
15729
15730 * sysdeps/posix/timespec_get.c: New file.
15731
3c026539
AZ
157322013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15733
15734 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15735 POWER.
15736 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15737 for POWER.
15738 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15739 powerpc/power5/fpu folders.
15740 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15741 * benchtests/Makefile: Add modf testcase.
15742 * benchtests/bench-modf.c: New file: Benchmark test for mo
15743
ff491d14
SP
157442013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15745
15746 [BZ #14888]
15747 * time/Makefile (tests): Add tst-strptime-whitespace.
15748 * time/strptime_l.c (get_number): Use ISSPACE.
15749 (__strptime_internal): Likewise.
15750 * time/tst-strptime-whitespace.c: New test case.
15751
7ed3f4e8
AS
157522013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15753
15754 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15755 member.
15756 (_nss_files_init): Set it here.
15757
5c95f7b6
HC
157582013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15759
15760 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15761 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15762 unsigned.
15763
d34c9158
JBG
157642013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15765
15766 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15767
2169712d
SP
157682013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15769
15770 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15771 size just once.
15772
29c5de99
DM
157732013-04-21 David S. Miller <davem@davemloft.net>
15774
15775 * po/ru.po: Update Russion translation from translation project.
15776
ccdad15d
AC
157772013-04-17 Adam Conrad <adconrad@0c3.net>
15778
15779 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15780 and setfsgid.
15781
0f122b8d
CD
157822013-04-17 Carlos O'Donell <carlos@redhat.com>
15783
5c5b07da 15784 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15785 * configure: Regenerate.
5c5b07da 15786 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15787 Add example to error message.
15788 * sysdeps/i386/configure: Regenerate.
15789
037714dd
SP
157902013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15791
15792 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15793 slowtan.
15794 * benchtests/cos-inputs: New file.
15795 * benchtests/slowcos-inputs: New file.
15796 * benchtests/slowcos.c: New file.
15797 * benchtests/slowtan-inputs: New file.
15798 * benchtests/slowtan.c: New file.
15799 * benchtests/tan-inputs: New file.
15800
e913141d
RM
158012013-04-16 Roland McGrath <roland@hack.frob.com>
15802
15803 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15804 considered kosher.
15805
a2964074
SP
158062013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15807
4856bcd2
SP
15808 * benchtests/Makefile: Include cppflags-iterator.mk to add
15809 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15810
a2964074
SP
15811 * Makefile.in (bench-clean): New target.
15812 * benchtests/Makefile (bench-clean): Likewise.
15813
9fbf9aca
DH
158142013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15815
15816 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15817
207d1e2a
TS
158182013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15819
15820 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15821
306dfba9
AS
158222013-04-15 Andreas Schwab <schwab@suse.de>
15823
15824 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15826 * nscd/pwdcache.c (cache_addpw): Likewise.
15827 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15828 more than recsize.
15829
206a6699
SP
158302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15831
15832 * benchtests/Makefile (bench): Write all output to
15833 bench-out.tmp together.
15834
0582f6b3
AS
158352013-04-15 Andreas Schwab <schwab@suse.de>
15836
15837 * nscd/nscd.c (main): Don't fork again after closing files.
15838
acb4325f
SP
158392013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15840
5cb26d0a
SP
15841 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15842
acb4325f
SP
15843 * benchtests/Rules (bench-deps): Collect dependencies into a
15844 single variable. Add Makefile to dependencies.
15845 ($(objpfx)bench-%.c): Depend on bench-deps.
15846
47792506
RM
158472013-04-12 Roland McGrath <roland@hack.frob.com>
15848 Xavier Roche <roche+kml2@exalead.com>
15849
15850 [BZ #15361]
15851 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15852 just that it's a file descriptor.
15853 * manual/llio.texi (Synchronizing AIO Operations): Update description
15854 for EBADF error from aio_fsync.
15855
8fc1bee5
SP
158562013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15857
15858 * Rules (bench): Move target definition...
15859 * benchtests/Makefile: ... here.
15860
aba5e333
CD
158612013-04-11 Carlos O'Donell <carlos@redhat.com>
15862
15863 * math/libm-test.inc (cos_test): Fix PI/2 test.
15864 (sincos_test): Likewise.
15865 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15866 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15867
273cdee8
AS
158682013-04-11 Andreas Schwab <schwab@suse.de>
15869
6ecec3b6
AS
15870 [BZ #13988]
15871 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15872 accept exponent character only when digits were seen.
15873 * stdio-common/Makefile (tests): Add bug26.
15874 * stdio-common/bug26.c: New file.
15875
273cdee8
AS
15876 [BZ #14293]
15877 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15878 non-freeable.
15879
8da491f5
SP
158802013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15881
01dc6df9
SP
15882 * Makeconfig (rtld-prefix): Define built linker prefix.
15883 * Rules (run-bench): Use it.
15884 * math/Makefile (run-regen-ulps): Likewise.
15885
8da491f5
SP
15886 * Rules (bench): Remove eval.
15887
abe7f530
SP
158882013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15889 Roland McGrath <roland@hack.frob.com>
15890 Ondrej Bilka <neleai@seznam.cz>
15891
15892 [BZ #15346]
15893 * time/getdate.c: Include ctype.h and alloca.h.
15894 (__getdate_r): Trim leading and trailing spaces of input.
15895 * time/tst-getdate.c (tests): Add tests with leading and
15896 trailing spaces.
15897
61c23e62
RM
158982013-04-08 Roland McGrath <roland@hack.frob.com>
15899
15900 [BZ #14280]
15901 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15902 when computing value.
15903
7208a313
CD
159042013-04-06 Carlos O'Donell <carlos@redhat.com>
15905
085b2d41
CD
15906 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15907 Use testrun.sh to run libm tests.
15908
7208a313
CD
15909 [BZ #15309]
15910 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15911
872c0acd
MM
159122013-04-06 Marko Myllynen <myllynen@redhat.com>
15913
15914 [BZ #15264]
15915 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15916
26510bdd
CD
159172013-04-06 Carlos O'Donell <carlos@redhat.com>
15918
15919 * Makefile.in (regen-ulps): New target.
15920 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15921 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15922 [ifneq (no,$(PERL)] (regen-ulps): New target.
15923 [ifeq (no,$(PERL)] (regen-ulps): New target.
15924 * math/libm-test.inc (ulps_file_name): Define.
15925 (output_dir): New variable.
15926 (options): Add "output-dir" option.
15927 (parse_opt): Handle 'o' case.
15928 (main): If output_dir is non-NULL use it as a prefix
15929 otherwise use "".
15930 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15931
a01f19c8
CD
159322013-04-06 Carlos O'Donell <carlos@redhat.com>
15933
15934 [BZ #10060, #10062]
15935 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15936 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15937 fail configure if __sync_val_compare_and_swap is not inlined.
15938 * sysdeps/i386/configure: Regenerate.
15939 * configure.in: Build for i686 when configured for i386.
15940 * configure: Regenerate.
15941 * README: Remove i386 reference.
15942
b7a329a5
CD
159432013-04-06 Carlos O'Donell <carlos@redhat.com>
15944
15945 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15947
bf0f50df
TS
159482013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15949
ee091edf
TS
15950 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15951 (lmsnanval): New variables.
15952 (F): Add conversion tests.
15953 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15954 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15955
a8b792d6
TS
15956 * stdio-common/tstdiomisc.c (F): Properly collect individual
15957 tests' results.
15958
a1cbf437
TS
15959 [BZ #14686, #15336]
15960 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15961 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15962 Instead, use input NaN values or generate a qNaN by arithmetic
15963 operation. Also fix bugs to comply with the standard.
15964 * math/libm-test.inc (remainder_test): Add more tests.
15965
8b43a0c9
TS
15966 [BZ #15335, #15342]
15967 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15969 input NaN values or generate a qNaN by arithmetic operation.
15970
d91da4ce
TS
15971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15972 unreachable code.
15973
bf0f50df
TS
15974 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15975 definitions.
15976
05e166c8
JM
159772013-04-03 Joseph Myers <joseph@codesourcery.com>
15978
15979 [BZ #14478]
15980 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15981 underflowed result.
15982 * math/s_cexpf.c (__cexpf): Likewise.
15983 * math/s_cexpl.c (__cexpl): Likewise.
15984 * math/libm-test.inc (cexp_test): Add more tests.
15985
1cef1b19
AS
159862013-04-03 Andreas Schwab <schwab@suse.de>
15987
15988 [BZ #15330]
15989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15990 order arrays from heap if bigger than alloca cutoff.
15991
74d87055
TS
159922013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15993
15994 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15995 (SNAN_TESTS_double): Refer to GCC PR56831.
15996 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15997 GCC PR56828.
15998
d755bba4
SP
159992013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16000
90d5d5bb
SP
16001 * Rules (bench): Move bench.out after the run is complete.
16002
73e0cd5d
SP
16003 * Rules (bench): Echo currently running benchmark.
16004
64aabd4b
SP
16005 * benchtests/Makefile (bench): Add atan and slowatan.
16006 * benchtests/atan-inputs: New file.
16007 * benchtests/slowatan-inputs: New file.
16008 * benchtests/slowatan.c: New file.
16009
c871eccd
SP
16010 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16011 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16012 its value.
16013
d755bba4
SP
16014 [BZ #15305]
16015 * sysdeps/unix/sysv/linux/kernel-features.h
16016 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16017 __ASSUME_XFS_RESTRICTED_CHOWN.
16018 * sysdeps/unix/sysv/linux/pathconf.c
16019 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16020 Save and restore errno.
16021
52ce4860
JM
160222013-04-02 Joseph Myers <joseph@codesourcery.com>
16023
16024 [BZ #15327]
16025 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16026 arguments using __kernel_casinh.
16027 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16028 arguments using __kernel_casinhf.
16029 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16030 arguments using __kernel_casinhl.
16031 * math/libm-test.inc (cacosh_test): Add more tests.
16032 * sysdeps/i386/fpu/libm-test-ulps: Update.
16033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16034
81f311c2
SP
160352013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16036
e7906a47
SP
16037 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16038 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16039
92e3664b
SP
16040 * bench/Makefile (bench): Add sin and slowsin.
16041 * benchtests/sin-inputs: New file.
16042 * benchtests/slowsin-inputs: New file.
16043 * benchtests/slowsin.c: New file.
16044
81f311c2
SP
16045 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16046 (bench): Add slowexp and slowpow.
16047 (exp-ITER): Increase iterations.
16048 (pow-ITER): Likewise.
16049 * benchtests/exp-inputs: Change input.
16050 * benchtests/pow-inputs: Likewise.
16051 * benchtests/slowexp-inputs: New file.
16052 * benchtests/slowexp.c: New file.
16053 * benchtests/slowpow-inputs: New file.
16054 * benchtests/slowpow.c: New file.
16055
ab0f1aa9
AZ
160562013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16057
16058 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16059 instructions.
16060 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16062 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16063 * benchtests/Makefile: Add rint benchtest.
16064 * benchtests/rint-inputs: Input for rint benchtest.
16065
57267616
TS
160662013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16067
16068 * Versions.def (libm): Add GLIBC_2.18.
16069 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16070 hidden libm prototypes.
16071 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16072 * math/Makefile (libm-calls): Add s_issignaling.
16073 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16074 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16075 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16076 declaration.
16077 * math/math.h [__USE_GNU] (issignaling): New macro.
16078 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16079 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16080 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16081 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16084 * manual/arith.texi (issignaling): New section.
16085 * manual/libm-err-tab.pl (@all_functions): Update comment.
16086 * math/gen-libm-test.pl (parse_args): Apply special handling for
16087 issignaling.
16088 * math/libm-test.inc (print_float, issignaling_test): New
16089 functions.
16090 (check_float_internal): Add issignaling checks.
16091 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16092 default definition.
16093 * sysdeps/powerpc/math-tests.h: New file.
16094 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16095 tests.
16096 * math/test-snan.c (TEST_FUNC): Likewise.
16097
6142896d
DM
160982013-03-30 David S. Miller <davem@davemloft.net>
16099
16100 * po/de.po: Update from translation team.
16101
ccc8cadf
JM
161022013-03-30 Joseph Myers <joseph@codesourcery.com>
16103
16104 [BZ #10357]
16105 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16106 imaginary part less than 1.0 and real part less than 0.5
16107 specially.
16108 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16109 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16110 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16111 (cacos_test): Add more tests.
16112 (casin_test): Likewise.
16113 (casinh_test): Likewise.
16114 * sysdeps/i386/fpu/libm-test-ulps: Update.
16115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16116
0f6a8d4b
SP
161172013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16118
0d1029de
SP
16119 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16120 ONE with its value.
16121
c2d94018
SP
16122 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16123 (__pow_mp): Replace ONE and MONE with their values.
16124 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16125 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16127 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16128 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16129 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16130
27ec37f1
SP
16131 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16132
a64d7e0e
SP
16133 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16134 (__pow_mp): Replace ZERO and MZERO with their values.
16135 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16137 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16140 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16141 (__sqr): Likewise.
16142
d26dd3eb
SP
16143 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16144
0f6a8d4b
SP
16145 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16146
e57b0c61
RM
161472013-03-28 Roland McGrath <roland@hack.frob.com>
16148
16149 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16150 Declare with __attribute__ ((weak)).
16151 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16152 Call __call_tls_dtors only if it's not NULL.
16153
356b3480
RM
161542013-03-28 Roland McGrath <roland@hack.frob.com>
16155
288f7d79
RM
16156 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16157 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16158 magic __ehdr_start linker symbol if it's defined.
16159 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16160 them up here if it was already done.
16161
dc0a0263
RM
16162 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16163 (_dl_aux_init): Use const in cast when setting it.
16164 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16165 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16166 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16167
3d3436ae
RM
16168 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16169 Declare them here.
16170 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16171 * csu/libc-tls.c: Nor here.
16172 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16173
356b3480
RM
16174 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16175 (__libc_message): Never call vsyslog.
16176
b0f1246a
AM
161772013-03-28 Alan Modra <amodra@gmail.com>
16178
16179 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16180 Define as empty.
16181 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16182 Likewise.
16183
fbbe2b9a
AZ
161842013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16185
16186 [BZ #15214]
16187 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16188 underflow.
16189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16190
1728ab37
SP
161912013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16192
7a86be6e
SP
16193 [BZ #15304]
16194 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16195 Don't add gid passed as argument.
16196
1728ab37
SP
16197 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16198
3a7182a1
JM
161992013-03-27 Joseph Myers <joseph@codesourcery.com>
16200
16201 [BZ #15307]
16202 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16203 imaginary part between 1.0 and 1.5 and real part less than 0.5
16204 specially.
16205 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16206 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16207 * math/libm-test.inc (cacos_test): Add more tests.
16208 (casin_test): Likewise.
16209 (casinh_test): Likewise.
16210 * sysdeps/i386/fpu/libm-test-ulps: Update.
16211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16212
6f2e90e7
SP
162132013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16214
5739f705
SP
16215 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16216 constants.
16217 (norm): Likewise.
16218 (denorm): Likewise.
16219 (__dbl_mp): Likewise.
16220 (add_magnitudes): Likewise.
16221 (sub_magnitudes): Likewise.
16222 (__add): Likewise.
16223 (__sub): Likewise.
16224 (__mul): Likewise.
16225 (__sqr): Likewise.
16226 (__inv): Likewise.
16227 (__dvd): Likewise.
16228
e375e83d
SP
16229 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16230 commented code.
16231 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16232 (__dubcos): Likewise.
16233 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16234 (__ieee754_acos): Likewise.
16235 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16236 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16237 (__exp1): Likewise.
16238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16239 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16240 (log1): Likewise.
16241 (my_log2): Likewise.
16242 (checkint): Likewise.
16243 * sysdeps/ieee754/dbl-64/e_remainder.c
16244 (__ieee754_remainder): Likewise.
16245 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16247 (bsloww): Likewise.
16248 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16249
6f2e90e7
SP
16250 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16251 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16252 MANTISSA_STORE_T to store computations on mantissa. Use
16253 macros for rounding and division.
16254 (denorm): Likewise.
16255 (__dbl_mp): Likewise.
16256 (add_magnitudes): Likewise.
16257 (sub_magnitudes): Likewise.
16258 (__mul): Likewise.
16259 (__sqr): Likewise.
16260 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16261 powers of two in terms of TWOPOW macro.
16262 (mp_no): Make type of mantissa as MANTISSA_T.
16263 [!RADIXI]: Define RADIXI.
16264 [!TWO52]: Define TWO52.
16265 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16266
fce14d4e
AZ
162672013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16268
16269 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16270 llroundl symbol when building for PPC32.
16271
9ad027fb
MW
162722013-03-24 Mark H Weaver <mhw@netris.org>
16273
16274 * manual/arith.texi (Normalization Functions): Fix prototypes for
16275 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16276
e42a38dd
AZ
162772013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16278
16279 [BZ #13889]
16280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16281 high value to check if expl overflow.
16282 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16283 to check for underflow and overflow.
16284 * math/libm-test.inc: Add exp test.
16285
2e0fb521
DL
162862013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16287
16288 [BZ #11120]
16289 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16290 with NOT_IN_libc.
16291
b5784d95
AZ
162922013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16293
16294 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16295 symbol.
16296
5aa4a1a1
TS
162972013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16298
bdef0be7
TS
16299 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16300 wrap blocks consisting of several statements.
16301
5aa4a1a1
TS
16302 * sysdeps/generic/math-tests.h: New file.
16303 * sysdeps/i386/fpu/math-tests.h: Likewise.
16304 * math/test-snan.c: Include it.
16305 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16306
98c48fe5
JM
163072013-03-21 Joseph Myers <joseph@codesourcery.com>
16308
16309 [BZ #15285]
16310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16311 (__ieee754_j0l): Do not improve calculations using cos of twice
16312 input for inputs above LDBL_MAX / 2.0L.
16313 (__ieee754_y0l): Likewise.
16314 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16315 (__ieee754_j1l): Do not improve calculations using cos of twice
16316 input for inputs above LDBL_MAX / 2.0L.
16317 (__ieee754_y1l): Likewise.
16318 * math/libm-test.inc (j0_test): Add another test.
16319 (j1_test): Likewise.
16320 (y0_test): Likewise.
16321 (y1_test): Likewise.
16322 * sysdeps/i386/fpu/libm-test-ulps: Update.
16323
3775a8bc
SP
163242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16325
16326 * Rules ($(objpfx)bench-%.c): Include code from a C source
16327 file.
16328
0a1b2ae6
JM
163292013-03-21 Joseph Myers <joseph@codesourcery.com>
16330
16331 [BZ #15287]
16332 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16333 imaginary part 1.0 and real part less than 0.5 specially.
16334 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16335 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16336 * math/libm-test.inc (cacos_test): Add more tests.
16337 (casin_test): Likewise.
16338 (casinh_test): Likewise.
16339 * sysdeps/i386/fpu/libm-test-ulps: Update.
16340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16341
b33d4ce4
SP
163422013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16343
16344 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16345 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16346
bef0b507
JM
163472013-03-20 Joseph Myers <joseph@codesourcery.com>
16348
16349 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16350 * config.make.in (config-cflags-sse4): Remove variable.
16351 (config-cflags-avx): Likewise.
16352 (config-cflags-sse2avx): Likewise.
16353 (config-cflags-novzeroupper): Likewise.
16354 (config-asflags-i686): Likewise.
16355 (have-mfma4): Likewise.
16356 (have-as-vis3): Likewise.
16357 (MIG): Likewise.
16358 * configure.in (MIG): Do not AC_SUBST.
16359 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16360 (libc_cv_cc_sse4): Do not AC_SUBST.
16361 (libc_cv_cc_avx): Likewise.
16362 (libc_cv_cc_sse2avx): Likewise.
16363 (libc_cv_cc_novzeroupper): Likewise.
16364 (libc_cv_cc_fma4): Likewise.
16365 (libc_cv_as_i686): Likewise.
16366 (libc_cv_sparc_as_vis3): Likewise.
16367 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16368 LIBC_CONFIG_VAR.
16369 (config-asflags-i686): Likewise.
16370 (config-cflags-avx): Likewise.
16371 (config-cflags-sse2avx): Likewise.
16372 (have-mfma4): Likewise.
16373 (config-cflags-novzeroupper): Likewise.
16374 * sysdeps/mach/configure.in (MIG): Likewise.
16375 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16376 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16377 LIBC_CONFIG_VAR.
16378 (config-cflags-avx): Likewise.
16379 (config-cflags-sse2avx): Likewise.
16380 (have-mfma4): Likewise.
16381 (config-cflags-novzeroupper): Likewise.
16382 * configure: Regenerated.
16383 * sysdeps/i386/configure: Likewise.
16384 * sysdeps/mach/configure: Likewise.
16385 * sysdeps/sparc/configure: Likewise.
16386 * sysdeps/x86_64/configure: Likewise.
16387
912cc4b3
RM
163882013-03-20 Roland McGrath <roland@hack.frob.com>
16389
16390 [BZ #14812]
16391 * locale/programs/localedef.c (options): Put N_ translation marker
16392 on argument names, not just descriptions.
16393
04eed2b0
MS
163942013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16395
16396 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16397
a065ceff
OB
163982013-03-20 Ondřej Bílka <neleai@seznam.cz>
16399
9bb2a810 16400 [BZ #14176]
a065ceff
OB
16401 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16402
a600e5ce
RM
164032013-03-19 Roland McGrath <roland@hack.frob.com>
16404
16405 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16406 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16407 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16408 [!BEFORE_ABORT] (before_abort): New function.
16409 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16410 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16411 (writev_for_fatal): New function.
16412 (WRITEV_FOR_FATAL): New macro; call that.
16413 (backtrace_and_maps): New function.
16414 (BEFORE_ABORT): New macro; call that.
16415 (struct str_list): Type removed.
16416 (__libc_message, __libc_fatal): Functions removed.
16417 Include <sysdeps/posix/libc_fatal.c> instead.
16418
6b18bea6
JM
164192013-03-19 Joseph Myers <joseph@codesourcery.com>
16420
16421 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16422 constants.
16423 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16424 double constants.
16425
aaa8cb4b
AS
164262013-03-19 Andreas Schwab <schwab@suse.de>
16427
44673770
AS
16428 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16429 * sysdeps/gnu/configure: Regenerate.
16430
aaa8cb4b
AS
16431 * configure.in: Substitute libc_cv_rtlddir.
16432 * configure: Regenerate.
16433 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16434 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16435 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16436 * elf/Makefile (install-others, CFLAGS-interp.c)
16437 (ldso_install, common-ldd-rewrite): Likewise.
16438 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16439 $(inst_slibdir)/$(rtld-installed-name).
16440 * scripts/rellns-sh: Add -p option.
16441 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16442 for source.
16443
d3cfc668
SP
164442013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16445
16446 * manual/nptl.texi: Renamed to ...
16447 * manual/threads.texi: ... this.
16448 * manual/Makefile (chapters): Update.
16449
0e2b9cdd
RM
164502013-03-18 Roland McGrath <roland@hack.frob.com>
16451
16452 [BZ #14812]
16453 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16454 on argument names, not just descriptions.
0e2b9cdd
RM
16455 * malloc/memusagestat.c (options): Likewise.
16456 * nss/getent.c (options): Likewise.
63270c24
RM
16457
164582013-03-18 Benno Schulenberg <bensberg@justemail.net>
16459
16460 [BZ #14812]
16461 * iconv/iconv_prog.c (options): Put N_ translation marker
16462 on argument names, not just descriptions.
16463 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16464
b2e1393c
OB
164652013-03-18 Ondrej Bilka <neleai@seznam.cz>
16466
16467 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16468 implementation which is faster on all x86_64 architectures.
16469 Tested on AMD, Intel Nehalem, SNB, IVB.
16470 * sysdeps/x86_64/strnlen.S: Likewise.
16471
16472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16473 Remove all multiarch strlen and strnlen versions.
16474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16475 Remove strlen and strnlen related parts.
16476
16477 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16478 Inline strlen part.
16479 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16480
16481 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16482 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16483 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16484 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16485 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16486 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16487
ec4ff04d
CD
164882013-03-17 Carlos O'Donell <carlos@redhat.com>
16489
16490 * manual/memory.texi (Malloc Tunable Parameters):
16491 Sort parameters alphabetically. Add comments for missing entries.
16492
cd18e90a
DM
164932013-03-17 David S. Miller <davem@davemloft.net>
16494
16495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16496
2a185d32
JM
164972013-03-16 Joseph Myers <joseph@codesourcery.com>
16498
d2f9799e
JM
16499 [BZ #15283]
16500 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16501 for arguments at most half maximum finite value.
16502 * math/libm-test.inc (j0_test): Add more tests.
16503 (j1_test): Likewise.
16504 (y0_test): Likewise.
16505 (y1_test): Likewise.
16506 * sysdeps/i386/fpu/libm-test-ulps: Update.
16507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16508
2a185d32
JM
16509 [BZ #14155]
16510 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16511 1 / x and functions P and Q for arguments above 0x1p256L.
16512 (__ieee754_y0l): Likewise.
16513 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16514 (__ieee754_y1l): Likewise.
16515 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16516 (j1_test): Likewise.
16517 (y0_test): Likewise.
16518 (y1_test): Likewise.
16519
6cbec759
TS
165202013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16521
16522 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16523 variable.
16524
bc16e260
RM
165252013-03-15 Roland McGrath <roland@hack.frob.com>
16526
aefc9b8c
RM
16527 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16528 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16529 zero since it's initialized to EXEC_PAGESIZE.
16530
bc16e260
RM
16531 * sysdeps/unix/sysv/linux/ldsodefs.h
16532 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16533 * sysdeps/generic/ldsodefs.h: ... here.
16534
a57da955
TS
165352013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16536
af00a34d
TS
16537 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16538
495ded2c
TS
16539 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16540 math/test-snan.c.
16541 * math/test-snan.c: Renamed from
16542 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16543 * math/Makefile (tests): Add test-snan.
16544 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16545 test-powerpc-snan.
16546
777b0332
TS
16547 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16548 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16549 functions.
16550 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16551 __builtin_nan family of functions.
16552 * math/libm-test.inc (initialize): Initialize qnan_value with
16553 __builtin_nan family of functions.
16554 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16555 Remove variables.
16556 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16557 Remove functions.
16558 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16559 storage class. Initialize qNaN_var and sNaN_var with
16560 __builtin_nan and __builtin_nans families of functions,
16561 respectively.
16562
64d063b8
TS
16563 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16564 (sqrt_test): Remove duplicate test with qNaN input.
16565 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16566 (round_test, signbit_test, significand_test): Note missing +/-Inf
16567 as well as qNaN tests.
16568
67e971f1
TS
16569 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16570 qNaN_var. Fix a few strings, too.
16571 * math/libm-test.inc (nan_value): Rename to qnan_value.
16572 * math/gen-libm-test.pl (%beautify): Adjust to that.
16573 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16574 * math/test-misc.c (main): Likewise.
16575 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16576 to __qnan_bytes, and __qnan_union, respectively.
16577 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16578 Likewise.
16579 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16580 and lqnanval, respectively.
16581 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16582 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16583 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16584 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16585
64487e12
TS
16586 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16587 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16588 doubles.
16589
e015e27b
TS
16590 * math/test-misc.c (main): Fix copy'n'pastos.
16591 * misc/tst-efgcvt.c (special): Likewise.
16592
a57da955
TS
16593 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16594 Remove declarations.
16595
1e380345
SP
165962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16597
16598 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16599 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16600 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16601 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16602
ef26eece
AZ
166032013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16604
16605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16606 macro to return vdso values correctly in IFUNC implementations.
16607 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16608 Optimization by using IFUNC.
16609
8cfdb7e0
SP
166102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16611 Richard Henderson <rth@redhat.com>
16612 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16613
16614 * Makefile.in (bench): New target.
16615 * NEWS: Mention the benchmark framework.
16616 * Rules (bench): Likewise.
16617 (binaries-bench): Generate binaries for functions to
16618 benchmark.
16619 * benchtests/Makefile: New makefile for benchmark tests.
16620 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16621 programs.
16622 * benchtests/exp-inputs: New input file for EXP function.
16623 * benchtests/pow-inputs: New input file for POW function.
16624 * scripts/bench.pl: New script to generate source files for
16625 benchmark programs.
16626
bcda9880
SP
166272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16628
d22ca8cd
SP
16629 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16630 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16631 computations on mantissa. Use macros for rounding and
16632 division.
16633 (denorm): Likewise.
16634 (__dbl_mp): Likewise.
16635 (add_magnitudes): Likewise.
16636 (sub_magnitudes): Likewise.
16637 (__mul): Likewise.
16638 (__sqr): Likewise.
16639 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16640 powers of two in terms of TWOPOW macro.
16641 (mp_no): Make type of mantissa as MANTISSA_T.
16642 [!RADIXI]: Define RADIXI.
16643 [!TWO52]: Define TWO52.
16644 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16645
bcda9880
SP
16646 * manual/nptl.texi (cindex): Modify threads to pthreads.
16647
06d5adfb
JM
166482013-03-15 Joseph Myers <joseph@codesourcery.com>
16649
16650 * sysdeps/x86_64/preconfigure: Regenerated.
16651
41c7328e
JM
166522013-03-14 Joseph Myers <joseph@codesourcery.com>
16653
16654 [BZ #14155]
16655 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16656 0x1p28 and above.
16657 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16658 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16659 0x1p28 and above.
16660 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16661 * math/libm-test.inc (j0_test): Do not allow one spurious
16662 underflow exception.
16663 (y1_test): Likewise.
16664
e25cfa60
SP
166652013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16666
0409959c
SP
16667 * manual/Makefile (chapters): Add nptl.
16668 * manual/debug.texi (Debugging Support): Add link to Threads
16669 chapter.
16670 * manual/nptl.texi: New file.
16671
e25cfa60
SP
16672 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16673
58a1335e
PB
166742013-03-14 Petr Baudis <pasky@ucw.cz>
16675
16676 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16677 for non-NULL pointer before the memory validity test. Pointed
16678 out by Holger Brunck <holger.brunck@keymile.com>.
16679
9dc7c64f
AS
166802013-03-13 Andreas Schwab <schwab@suse.de>
16681
16682 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16683 instead of .os.
16684
54206aa6
JM
166852013-03-13 Joseph Myers <joseph@codesourcery.com>
16686
16687 * timezone/zic.c: Update from tzcode 2013b.
16688
e98cdb38
CD
166892013-03-12 Carlos O'Donell <carlos@redhat.com>
16690
16691 * manual/install.texi (Configuring and compiling):
16692 Mention i686 and i586.
16693 * INSTALL: Regenerate.
16694
9967e003
RM
166952013-03-12 Roland McGrath <roland@hack.frob.com>
16696
16697 * sysdeps/init_array/elf-init.c: New file.
16698 * csu/elf-init.c
16699 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16700 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16701
16702 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16703 __gmon_start__ as global, but as static with a .preinit_array pointer.
16704 * sysdeps/init_array/gmon-start.c: New file. Use that.
16705 * sysdeps/init_array/crti.S: New file, empty except for comments.
16706 * sysdeps/init_array/crtn.S: Likewise.
16707
e6b5a293 167082013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16709
16710 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16711 definining bcopy.
80f844c9
OB
16712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16713 Remove Prefer_SSE_for_memop.
16714 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16715 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16716 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16718 memset-x86-64.
80f844c9 16719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16720 Remove bzero, memset ifunc support.
80f844c9
OB
16721 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16722 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16723 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16724 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16725
fb6b0fcb
AS
167262013-03-11 Andreas Schwab <schwab@suse.de>
16727
16728 [BZ #15234]
16729 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16730 by SHLIB_COMPAT.
16731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16732 (GLIBC_2.16): Remove pthread_atfork.
16733
3e6bd4b1
PP
167342013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16735
16736 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16737 (ptestcases.h): Likewise.
16738
222d7f00
RM
167392013-03-08 Roland McGrath <roland@hack.frob.com>
16740
16741 * Makeconfig ($(common-objpfx)config.status): Depend on
16742 sysdeps/*/preconfigure{,.in} too.
16743
1ba4f030
JM
167442013-03-08 Joseph Myers <joseph@codesourcery.com>
16745
a222d91a
JM
16746 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16747 (__free_hook): Use void * instead of __malloc_ptr_t.
16748 (__malloc_hook): Likewise.
16749 (__realloc_hook): Likewise.
16750 (__memalign_hook): Likewise.
16751 (__after_morecore_hook): Likewise.
16752 * malloc/arena.c (save_malloc_hook): Likewise.
16753 (save_free_hook): Likewise.
16754 * malloc/hooks.c (malloc_hook_ini): Likewise.
16755 (realloc_hook_ini): Likewise.
16756 (memalign_hook_ini): Likewise.
16757 * malloc/malloc.c (malloc_hook_ini): Likewise.
16758 (realloc_hook_ini): Likewise.
16759 (memalign_hook_ini): Likewise.
16760 (__free_hook): Likewise.
16761 (__malloc_hook): Likewise.
16762 (__realloc_hook): Likewise.
16763 (__memalign_hook): Likewise.
16764 (__libc_malloc): Likewise.
16765 (__libc_free): Likewise.
16766 (__libc_realloc): Likewise.
16767 (__libc_memalign): Likewise.
16768 (__libc_valloc): Likewise.
16769 (__libc_pvalloc): Likewise.
16770 (__libc_calloc): Likewise.
16771 (__posix_memalign): Likewise.
16772 * malloc/morecore.c (__sbrk): Likewise.
16773 (__default_morecore): Likewise.
16774
5cc45e10
JM
16775 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16776
dd54b864
JM
16777 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16778 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16779 __malloc_ptrdiff_t.
16780
1ba4f030
JM
16781 * malloc/malloc.h (__malloc_size_t): Remove macro.
16782 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16783 __malloc_size_t.
16784 (old_memalign_hook): Likewise.
16785 (old_realloc_hook): Likewise.
16786 (struct hdr): Likewise.
16787 (flood): Likewise.
16788 (mallochook): Likewise.
16789 (memalignhook): Likewise.
16790 (reallochook): Likewise.
16791 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16792 (tr_old_realloc_hook): Likewise.
16793 (tr_old_memalign_hook): Likewise.
16794 (tr_mallochook): Likewise.
16795 (tr_reallochook): Likewise.
16796 (tr_memalignhook): Likewise.
16797
edf66e57
AZ
167982013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16799
16800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16801 default_ldbl_pack and using as default implementation.
16802 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16803 implementation.
16804 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16805 redundant definition.
16806 (ldbl_insert_mantissa): Likewise.
16807 (ldbl_canonicalize): Likewise.
16808 (ldbl_nearbyint): Likewise.
16809 (ldbl_pack): Rename to ldbl_pack_ppc.
16810 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16811 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16812 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16813
6d9145d8
SP
168142013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16815
16816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16817 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16818 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16819 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16821 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16822 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16823 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16824
4dd4e157
AJ
168252013-03-07 Andreas Jaeger <aj@suse.de>
16826
16827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16828 bits/mman-linux.h.
16829
adbb8027
SP
168302013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16831
ce544b5b
SP
16832 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16833 Include mpa.h and declare __MPEXP.
16834 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16835 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16836 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16837 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16838 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16839 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16840 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16841
4cc149fd
SP
16842 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16843 (__slowpow): Use long double EXPL and LOGL functions to
16844 compute POW.
16845 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16846 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16847 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16849 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16850 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16851
e6ebd4a7
SP
16852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16853 intermediate variable to calculate exponent.
16854 (__sqr): Likewise.
16855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16856 Likewise.
16857 (__sqr): Likewise.
16858
82a9811d
SP
16859 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16860 [!NO__SQR]: Define __sqr.
16861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16862 and NO__SQR. Remove all code except __mul and __sqr. Include
16863 sysdeps/ieee754/dbl-64/mpa.c.
16864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16865
adbb8027
SP
16866 [BZ #12723]
16867 * posix/Makefile (tests): Add tst-pathconf.
16868 * posix/tst-pathconf.c: New test case.
16869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16870 _PC_PIPE_BUF.
16871 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16872
39120df9
PF
168732013-03-06 Patsy Franklin <pfrankli@redhat.com>
16874
16875 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16876
67525cb8
AJ
168772013-03-06 Andreas Jaeger <aj@suse.de>
16878
664a9ce4
AJ
16879 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16880 definition via __MAP_ANONYMOUS.
16881
8e39047d
AJ
16882 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16883 it's not part of Linux headers.
16884
67525cb8
AJ
16885 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16886 (MAP_HUGE_MASK): Define.
16887
16888 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16889 Define.
16890 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16892 Define.
16893 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16894 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16895 Define.
16896 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16898 Define.
16899 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16900
16901 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16902 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16903 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16904 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16905 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16906 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16907
16908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16909 Handle f2fs.
16910
16911 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16912 Handle f2fs and efivarfs.
16913
16914 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16915 f2fs.
16916
16917 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16918 (EFIVARFS_MAGIC): Add.
16919 (F2FS_LINK_MAX): Add.
16920
e1b42695
PP
169212013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16922
16923 * stdio-common/vfprintf.c: Replace __builtin_expect with
16924 __glibc_unlikely.
16925
2d67d91a
JM
169262013-03-06 Joseph Myers <joseph@codesourcery.com>
16927
16928 [BZ #13550]
16929 * sysdeps/generic/bp-sym.h: Remove file.
16930 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16931 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16932 <bp-sym.h> and <bp-asm.h>.
16933 (__longjmp): Don't use BP_SYM.
16934 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16935 and <bp-asm.h>.
16936 (memcpy): Don't use BP_SYM.
16937 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16938 <bp-sym.h> and <bp-asm.h>.
16939 (memcpy): Don't use BP_SYM.
16940 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16941 <bp-asm.h>.
16942 (memcpy): Don't use BP_SYM.
16943 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16944 <bp-asm.h>.
16945 (memset): Don't use BP_SYM.
16946 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16947 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16948 (__bzero): Don't use BP_SYM.
16949 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16950 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16951 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16952 <bp-sym.h> and <bp-asm.h>.
16953 (memcmp): Don't use BP_SYM. Remove comment about bounded
16954 pointers.
16955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16956 <bp-sym.h> and <bp-asm.h>.
16957 (memcpy): Don't use BP_SYM.
16958 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16959 <bp-sym.h> and <bp-asm.h>.
16960 (memset): Don't use BP_SYM.
16961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16963 (__bzero): Don't use BP_SYM.
16964 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16965 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (strncmp): Don't use BP_SYM. Remove comment about bounded
16969 pointers.
16970 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16971 <bp-sym.h> and <bp-asm.h>.
16972 (memcpy): Don't use BP_SYM.
16973 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16974 <bp-sym.h> and <bp-asm.h>.
16975 (memset): Don't use BP_SYM.
16976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16978 (__bzero): Don't use BP_SYM.
16979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16981 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16982 <bp-sym.h> and <bp-asm.h>.
16983 (__memchr): Don't use BP_SYM.
16984 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16985 <bp-sym.h> and <bp-asm.h>.
16986 (memcmp): Don't use BP_SYM. Remove comment about bounded
16987 pointers.
16988 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16989 <bp-sym.h> and <bp-asm.h>.
16990 (memcpy): Don't use BP_SYM.
16991 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16992 <bp-sym.h> and <bp-asm.h>.
16993 (__mempcpy): Don't use BP_SYM.
16994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16995 <bp-sym.h> and <bp-asm.h>.
16996 (__memrchr): Don't use BP_SYM.
16997 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16998 <bp-sym.h> and <bp-asm.h>.
16999 (memset): Don't use BP_SYM.
17000 (__bzero): Likewise.
17001 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17002 <bp-sym.h> and <bp-asm.h>.
17003 (__rawmemchr): Don't use BP_SYM.
17004 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17005 <bp-sym.h> and <bp-asm.h>.
17006 (__STRCMP): Don't use BP_SYM.
17007 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17008 <bp-sym.h> and <bp-asm.h>.
17009 (strchr): Don't use BP_SYM.
17010 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17011 <bp-sym.h> and <bp-asm.h>.
17012 (__strchrnul): Don't use BP_SYM.
17013 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17014 <bp-sym.h> and <bp-asm.h>.
17015 (strlen): Don't use BP_SYM.
17016 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17017 <bp-sym.h> and <bp-asm.h>.
17018 (strncmp): Don't use BP_SYM. Remove comment about bounded
17019 pointers.
17020 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17021 <bp-sym.h> and <bp-asm.h>.
17022 (__strnlen): Don't use BP_SYM.
17023 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17024 <bp-sym.h> and <bp-asm.h>.
17025 (__GI__setjmp): Don't use BP_SYM.
17026 (_setjmp): Likewise.
17027 (__sigsetjmp): Likewise.
17028 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17029 (L(start_addresses)): Don't use BP_SYM.
17030 (_start): Likewise.
17031 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17032 <bp-asm.h>.
17033 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17034 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17035 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17036 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17037 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17038 <bp-asm.h>.
17039 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17040 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17041 about bounded pointers.
17042 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17043 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17044 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17045 <bp-asm.h>.
17046 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17047 about bounded pointers. Remove GKM FIXME comments.
17048 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17049 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17050 <bp-asm.h>.
17051 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17052 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17053 Remove GKM FIXME comments.
17054 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17055 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17056 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17057 <bp-asm.h>.
17058 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17059 about bounded pointers. Remove GKM FIXME comment.
17060 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17061 and <bp-asm.h>.
17062 (strncmp): Don't use BP_SYM. Remove comment about bounded
17063 pointers.
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17065 <bp-sym.h> and <bp-asm.h>.
17066 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17068 <bp-sym.h> and <bp-asm.h>.
17069 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17070 comment.
17071
cdcf361f
PP
170722013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17073
17074 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17075 call free(NULL).
17076
3c4a2b15
DM
170772013-03-05 David S. Miller <davem@davemloft.net>
17078
17079 * po/es.po: Update from translation team.
17080
cdcf361f 170812013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17082
17083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17084 <bits/mman-linux.h>.
17085 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17086 is fine.
17087 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17088 <bits/mman-linux.h> to end of file.
17089 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17090 is fine.
17091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17092 <bits/mman-linux.h> to end of file.
17093 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17094 is fine.
17095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17096 <bits/mman-linux.h> to end of file.
17097
17098 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17099 (MCL_CURRENT, MCL_FUTURE): Define here.
17100
5f67c04f
AK
171012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17102
8a4473cc 17103 [BZ #15232]
5f67c04f
AK
17104 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17105 attribute_hidden.
17106 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17107
c3e94a95
AK
171082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17109
17110 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17111 fourth parameter needed for rt_sigprocmask syscall.
17112 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17113 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17114 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17115 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17116 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17117 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17118
cfb6382a
JM
171192013-03-04 Joseph Myers <joseph@codesourcery.com>
17120
17121 [BZ #13550]
17122 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17123 comment about bounded pointers.
17124 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17125 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17126
539d8e01
AJ
171272013-03-04 Andreas Jaeger <aj@suse.de>
17128
17129 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17130 common definitions.
17131
17132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17133 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17134 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17135 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17136 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17138
2e167a70 171392013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17140
17141 [BZ #15055]
17142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17143 __ieee754_sqrl instead of __sqrl.
17144
68508633
JM
171452013-03-01 Joseph Myers <joseph@codesourcery.com>
17146
17147 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17148 * sysdeps/powerpc/fpu_control.h: ... here.
17149 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17150 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17151 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17152 * sysdeps/powerpc/bits/mathinline.h: ... here.
17153
7775448e
RM
171542013-03-01 Roland McGrath <roland@hack.frob.com>
17155
17156 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17157 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17158 to just [NEED_DL_SYSINFO_DSO].
17159 * elf/dl-support.c: Likewise.
17160 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17161 * elf/rtld.c (dl_main): Likewise.
17162 * elf/setup-vdso.h (setup_vdso): Likewise.
17163 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17164 * sysdeps/unix/sysv/linux/dl-sysdep.c
17165 (_dl_discover_osversion): Likewise.
17166
4e9b5995
CD
171672013-03-01 Carlos O'Donell <carlos@redhat.com>
17168
17169 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17170 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17171
e23872c8
SP
171722013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17173
e5c74c63
SP
17174 * NEWS: Mention libm performance improvements and non-x86 PI
17175 futex support.
17176
e23872c8
SP
17177 * csu/libc-start.c (__pthread_initialize_minimal): Change
17178 function arguments.
17179 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17180
b5510883
JM
171812013-02-28 Joseph Myers <joseph@codesourcery.com>
17182
17183 [BZ #13550]
17184 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17185 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17186 <bp-sym.h> and <bp-asm.h>.
17187 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17188 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17189 and <bp-asm.h>.
17190 (memcpy): Don't use BP_SYM.
17191 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17192 <bp-asm.h>.
17193 (__mpn_add_n): Don't use BP_SYM.
17194 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17195 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17196 and <bp-asm.h>.
17197 (__mpn_addmul_1): Don't use BP_SYM.
17198 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17199 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17200 <bp-sym.h>.
17201 (_setjmp): Don't use BP_SYM.
17202 (__novmx_setjmp): Likewise.
17203 (__GI__setjmp): Likewise.
17204 (__vmx_setjmp): Likewise.
17205 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17206 <bp-sym.h>.
17207 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17208 (__bzero): Don't use BP_SYM.
17209 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17210 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17211 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17212 <bp-sym.h> and <bp-asm.h>.
17213 (memcpy): Don't use BP_SYM.
17214 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17215 <bp-sym.h> and <bp-asm.h>.
17216 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17217 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17218 <bp-sym.h> and <bp-asm.h>.
17219 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17220 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17221 <bp-asm.h>.
17222 (__mpn_lshift): Don't use BP_SYM.
17223 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17224 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17225 <bp-asm.h>.
17226 (memset): Don't use BP_SYM.
17227 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17228 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17229 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17230 <bp-asm.h>.
17231 (__mpn_mul_1): Don't use BP_SYM.
17232 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17233 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17234 <bp-sym.h> and <bp-asm.h>.
17235 (memcmp): Don't use BP_SYM.
17236 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17237 <bp-sym.h> and <bp-asm.h>.
17238 (memcpy): Don't use BP_SYM.
17239 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17240 <bp-sym.h> and <bp-asm.h>.
17241 (memset): Don't use BP_SYM.
17242 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17243 <bp-sym.h> and <bp-asm.h>.
17244 (strncmp): Don't use BP_SYM.
17245 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17246 <bp-sym.h> and <bp-asm.h>.
17247 (memcpy): Don't use BP_SYM.
17248 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17249 <bp-sym.h> and <bp-asm.h>.
17250 (memset): Don't use BP_SYM.
17251 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17252 <bp-sym.h> and <bp-asm.h>.
17253 (__memchr): Don't use BP_SYM.
17254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17255 <bp-sym.h> and <bp-asm.h>.
17256 (memcmp): Don't use BP_SYM.
17257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17258 <bp-sym.h> and <bp-asm.h>.
17259 (memcpy): Don't use BP_SYM.
17260 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17261 <bp-sym.h> and <bp-asm.h>.
17262 (__mempcpy): Don't use BP_SYM.
17263 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17264 <bp-sym.h> and <bp-asm.h>.
17265 (__memrchr): Don't use BP_SYM.
17266 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17267 <bp-sym.h> and <bp-asm.h>.
17268 (memset): Don't use BP_SYM.
17269 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17270 <bp-sym.h> and <bp-asm.h>.
17271 (__rawmemchr): Don't use BP_SYM.
17272 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17273 <bp-sym.h> and <bp-asm.h>.
17274 (__STRCMP): Don't use BP_SYM.
17275 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17276 <bp-sym.h> and <bp-asm.h>.
17277 (strchr): Don't use BP_SYM.
17278 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17279 <bp-sym.h> and <bp-asm.h>.
17280 (__strchrnul): Don't use BP_SYM.
17281 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17282 <bp-sym.h> and <bp-asm.h>.
17283 (strlen): Don't use BP_SYM.
17284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17285 <bp-sym.h> and <bp-asm.h>.
17286 (strncmp): Don't use BP_SYM.
17287 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17288 <bp-sym.h> and <bp-asm.h>.
17289 (__strnlen): Don't use BP_SYM.
17290 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17291 <bp-asm.h>.
17292 (__mpn_rshift): Don't use BP_SYM.
17293 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17294 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17295 <bp-sym.h> and <bp-asm.h>.
17296 (__sigsetjmp): Don't use BP_SYM.
17297 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17298 (L(start_addresses)): Don't use BP_SYM.
17299 (_start): Likewise.
17300 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17301 <bp-asm.h>.
17302 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17303 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17304 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17305 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17306 <bp-asm.h>.
17307 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17308 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17309 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17310 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17311 <bp-asm.h>.
17312 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17313 comments.
17314 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17315 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17316 <bp-asm.h>.
17317 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17318 FIXME comments.
17319 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17320 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17321 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17322 <bp-asm.h>.
17323 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17324 comment.
17325 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17326 and <bp-asm.h>.
17327 (strncmp): Don't use BP_SYM,
17328 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17329 <bp-asm.h>.
17330 (__mpn_sub_n): Don't use BP_SYM.
17331 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17332 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17333 and <bp-asm.h>.
17334 (__mpn_submul_1): Don't use BP_SYM.
17335 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17337 <bp-sym.h> and <bp-asm.h>.
17338 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17340 <bp-sym.h> and <bp-asm.h>.
17341 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17342 comment.
17343
8d19fe64
SP
173442013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17345
17346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17347 Use ZK to minimize writes to Z.
17348 (sub_magnitudes): Simplify code a bit.
17349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17350 Use ZK to minimize writes to Z.
17351 (sub_magnitudes): Simplify code a bit.
17352
85bd816a
RM
173532013-02-27 Roland McGrath <roland@hack.frob.com>
17354
17355 * csu/gmon-start.c: Add special exception to license text.
17356
b5977bf2
RH
173572013-02-27 Richard Henderson <rth@redhat.com>
17358
17359 * scripts/config.guess: Update from config.git.
17360 * scripts/config.sub: Likewise.
17361
11d6e2f2
SP
173622013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17363
09c14ed2
SP
17364 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17365
a688864e
SP
17366 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17367
6295157a
SP
17368 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17369
b8de2202
SP
17370 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17371
11d6e2f2
SP
17372 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17373
7e80ddb8
RM
173742013-02-26 Roland McGrath <roland@hack.frob.com>
17375
17376 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17377 [$(build-shared = yes].
7e80ddb8 17378
7da6d9ed
SP
173792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17380
45f05884
SP
17381 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17382 (__mul): Reduce iterations for calculating mantissa.
17383
2236d359
SP
17384 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17385 MPTWO.
17386 (__mpranred): Likewise.
17387
7da6d9ed
SP
17388 [BZ #15160]
17389 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17390 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17391
b7688c42
PE
173922013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17393
17394 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17395 Define __attribute__.
17396
53a5c423
SP
173972013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17398
17399 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17400 unused.
17401 * posix/regex_internal.h (__attribute): Remove.
17402 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17403 (re_string_context_at): Likewise.
17404 (bitset_not): Use __attribute__ and mark function as possibly
17405 unused.
17406 (bitset_merge): Likewise.
17407 (bitset_mask): Likewise.
17408 (re_string_char_size_at): Likewise.
17409 (re_string_wchar_at): Likewise.
17410 (re_string_elem_size_at): Likewise.
17411
60f5a8b5
SP
174122013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17413
2a983a2e
SP
17414 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17415 code.
17416 (cc32): Likewise.
17417
e69804d1
SP
17418 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17419 (__acr): Likewise.
17420 (__cpy): Likewise.
17421 (norm): Likewise.
17422 (denorm): Likewise.
17423 (__dbl_mp): Likewise.
17424 (add_magnitudes): Likewise.
17425 (sub_magnitudes): Likewise.
17426 (__mul): Likewise.
17427 (__inv): Likewise.
17428
2f22a1e8
SP
17429 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17430 style.
17431
8930ddc7
SP
17432 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17433 style.
17434
dc60cb11
SP
17435 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17436 code.
17437
60f5a8b5
SP
17438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17439 up changes with default code.
17440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17441 Likewise.
17442
b4d1fd33
AM
174432013-02-24 Allan McRae <allan@archlinux.org>
17444
faf6f8bc
AM
17445 * manual/socket.texi (The Internet Namespace): Order menu items
17446 to match that in the file.
17447
b4d1fd33
AM
17448 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17449 node listing of the info page menu.
17450
2366713d
JM
174512013-02-21 Joseph Myers <joseph@codesourcery.com>
17452
17453 [BZ #13550]
17454 * sysdeps/i386/bp-asm.h: Remove file.
17455 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17456 (PARMS): Do not use macros from bp-asm.h.
17457 (S1): Likewise.
17458 (S2): Likewise.
17459 (SIZE): Likewise.
17460 (__mpn_add_n): Do not use BP_SYM
17461 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17462 "bp-asm.h".
17463 (PARMS): Do not use macros from bp-asm.h.
17464 (S1): Likewise.
17465 (SIZE): Likewise.
17466 (__mpn_addmul_1): Do not use BP_SYM
17467 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17468 "bp-asm.h".
17469 (PARMS): Do not use macros from bp-asm.h.
17470 (SIGMSK): Likewise.
17471 (_setjmp): Likewise. Do not use BP_SYM.
17472 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17473 "bp-asm.h".
17474 (PARMS): Do not use macros from bp-asm.h.
17475 (SIGMSK): Likewise.
17476 (setjmp): Likewise. Do not use BP_SYM.
17477 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (__frexp): Do not use BP_SYM.
17481 (frexp): Likewise.
17482 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17483 "bp-asm.h".
17484 (PARMS): Do not use macros from bp-asm.h.
17485 (__frexpf): Do not use BP_SYM.
17486 (frexpf): Likewise.
17487 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17488 "bp-asm.h".
17489 (PARMS): Do not use macros from bp-asm.h.
17490 (__frexpl): Do not use BP_SYM.
17491 (frexpl): Likewise.
17492 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17493 "bp-asm.h".
17494 (PARMS): Do not use macros from bp-asm.h.
17495 (__remquo): Do not use BP_SYM.
17496 (remquo): Likewise.
17497 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17498 "bp-asm.h".
17499 (PARMS): Do not use macros from bp-asm.h.
17500 (__remquof): Do not use BP_SYM.
17501 (remquof): Likewise.
17502 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17503 "bp-asm.h".
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (__remquol): Do not use BP_SYM.
17506 (remquol): Likewise.
17507 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17508 "bp-asm.h".
17509 (PARMS): Do not use macros from bp-asm.h.
17510 (DEST): Likewise.
17511 (SRC): Likewise.
17512 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17513 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17514 "bp-asm.h".
17515 (PARMS): Do not use macros from bp-asm.h.
17516 (strlen): Do not use BP_SYM.
17517 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17518 "bp-asm.h".
17519 (PARMS): Do not use macros from bp-asm.h.
17520 (S1): Likewise.
17521 (S2): Likewise.
17522 (SIZE): Likewise.
17523 (__mpn_add_n): Do not use BP_SYM.
17524 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17525 "bp-asm.h".
17526 (PARMS): Do not use macros from bp-asm.h.
17527 (S1): Likewise.
17528 (SIZE): Likewise.
17529 (__mpn_addmul_1): Do not use BP_SYM.
17530 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17531 weak_alias.
17532 (bzero): Likewise.
17533 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17534 "bp-asm.h".
17535 (PARMS): Do not use macros from bp-asm.h.
17536 (S): Likewise.
17537 (SIZE): Likewise.
17538 (__mpn_lshift): Do not use BP_SYM.
17539 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17540 "bp-asm.h".
17541 (PARMS): Do not use macros from bp-asm.h.
17542 (DEST): Likewise.
17543 (SRC): Likewise.
17544 (LEN): Likewise.
17545 (memcpy): Likewise. Do not use BP_SYM.
17546 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17547 libc_hidden_def and weak_alias.
17548 (mempcpy): Do not use BP_SYM in weak_alias.
17549 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17550 "bp-asm.h".
17551 (PARMS): Do not use macros from bp-asm.h.
17552 (DEST): Likewise.
17553 (LEN): Likewise.
17554 [!BZERO_P] (CHR): Likewise.
17555 (memset): Likewise. Do not use BP_SYM.
17556 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17557 "bp-asm.h".
17558 (PARMS): Do not use macros from bp-asm.h.
17559 (S1): Likewise.
17560 (SIZE): Likewise.
17561 (__mpn_mul_1): Do not use BP_SYM.
17562 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17563 "bp-asm.h".
17564 (PARMS): Do not use macros from bp-asm.h.
17565 (S): Likewise.
17566 (SIZE): Likewise.
17567 (__mpn_rshift): Do not use BP_SYM.
17568 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17569 "bp-asm.h".
17570 (PARMS): Do not use macros from bp-asm.h.
17571 (STR): Likewise.
17572 (CHR): Likewise.
17573 (strchr): Likewise. Do not use BP_SYM.
17574 (index): Do not use BP_SYM in weak_alias.
17575 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17576 "bp-asm.h".
17577 (PARMS): Do not use macros from bp-asm.h.
17578 (DEST): Likewise.
17579 (SRC): Likewise.
17580 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17581 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17582 "bp-asm.h".
17583 (PARMS): Do not use macros from bp-asm.h.
17584 (strlen): Do not use BP_SYM.
17585 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17586 "bp-asm.h".
17587 (PARMS): Do not use macros from bp-asm.h.
17588 (S1): Likewise.
17589 (S2): Likewise.
17590 (SIZE): Likewise.
17591 (__mpn_sub_n): Do not use BP_SYM.
17592 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17593 "bp-asm.h".
17594 (PARMS): Do not use macros from bp-asm.h.
17595 (S1): Likewise.
17596 (SIZE): Likewise.
17597 (__mpn_submul_1): Do not use BP_SYM.
17598 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17599 "bp-asm.h".
17600 (PARMS): Do not use macros from bp-asm.h.
17601 (S1): Likewise.
17602 (S2): Likewise.
17603 (SIZE): Likewise.
17604 (__mpn_add_n): Do not use BP_SYM.
17605 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17606 weak_alias.
17607 (bzero): Likewise.
17608 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17609 "bp-asm.h".
17610 (PARMS): Do not use macros from bp-asm.h.
17611 (BLK2): Likewise.
17612 (LEN): Likewise.
17613 (memcmp): Do not use BP_SYM.
17614 (bcmp): Do not use BP_SYM in weak_alias.
17615 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17616 "bp-asm.h".
17617 (PARMS): Do not use macros from bp-asm.h.
17618 (DEST): Likewise.
17619 (SRC): Likewise.
17620 (LEN): Likewise.
17621 (memcpy): Likewise. Do not use BP_SYM.
17622 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17623 "bp-asm.h".
17624 (PARMS): Do not use macros from bp-asm.h.
17625 (DEST): Likewise.
17626 (SRC): Likewise.
17627 (LEN): Likewise.
17628 (memmove): Likewise. Do not use BP_SYM.
17629 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17630 "bp-asm.h".
17631 (PARMS): Do not use macros from bp-asm.h.
17632 (DEST): Likewise.
17633 (SRC): Likewise.
17634 (LEN): Likewise.
17635 (__mempcpy): Likewise. Do not use BP_SYM.
17636 (mempcpy): Do not use BP_SYM in weak_alias.
17637 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17638 "bp-asm.h".
17639 (PARMS): Do not use macros from bp-asm.h.
17640 (DEST): Likewise.
17641 (LEN): Likewise.
17642 [!BZERO_P] (CHR): Likewise.
17643 (memset): Likewise. Do not use BP_SYM.
17644 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17645 "bp-asm.h".
17646 (PARMS): Do not use macros from bp-asm.h.
17647 (STR2): Likewise.
17648 (strcmp): Do not use BP_SYM.
17649 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17650 "bp-asm.h".
17651 (PARMS): Do not use macros from bp-asm.h.
17652 (STR): Likewise.
17653 (DELIM): Likewise.
17654 [USE_AS_STRTOK_R] (SAVE): Likewise.
17655 (FUNCTION): Likewise. Do not use BP_SYM.
17656 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17657 aliases.
17658 (strtok_r): Likewise.
17659 (__GI___strtok_r): Likewise.
17660 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17661 (PARMS): Do not use macros from bp-asm.h.
17662 (S): Likewise.
17663 (SIZE): Likewise.
17664 (__mpn_lshift): Do not use BP_SYM.
17665 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17666 (PARMS): Do not use macros from bp-asm.h.
17667 (STR): Likewise.
17668 (CHR): Likewise.
17669 (__memchr): Do not use BP_SYM.
17670 (memchr): Do not use BP_SYM in weak_alias.
17671 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17672 (PARMS): Do not use macros from bp-asm.h.
17673 (BLK2): Likewise.
17674 (LEN): Likewise.
17675 (memcmp): Do not use BP_SYM.
17676 (bcmp): Do not use BP_SYM in weak_alias.
17677 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17678 (PARMS): Do not use macros from bp-asm.h.
17679 (S1): Likewise.
17680 (SIZE): Likewise.
17681 (__mpn_mul_1): Do not use BP_SYM.
17682 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17683 "bp-asm.h".
17684 (PARMS): Do not use macros from bp-asm.h.
17685 (STR): Likewise.
17686 (CHR): Likewise.
17687 (__rawmemchr): Do not use BP_SYM.
17688 (rawmemchr): Do not use BP_SYM in weak_alias.
17689 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17690 (PARMS): Do not use macros from bp-asm.h.
17691 (S): Likewise.
17692 (SIZE): Likewise.
17693 (__mpn_rshift): Do not use BP_SYM.
17694 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17695 (PARMS): Do not use macros from bp-asm.h.
17696 (SIGMSK): Likewise.
17697 (__sigsetjmp): Likewise. Do not use BP_SYM.
17698 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17699 (_start): Do not use BP_SYM.
17700 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17701 (PARMS): Do not use macros from bp-asm.h.
17702 (DEST): Likewise.
17703 (SRC): Likewise.
17704 (__stpcpy): Likewise. Do not use BP_SYM.
17705 (stpcpy): Do not use BP_SYM in weak_alias.
17706 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17707 "bp-asm.h".
17708 (PARMS): Do not use macros from bp-asm.h.
17709 (DEST): Likewise.
17710 (SRC): Likewise.
17711 (LEN): Likewise.
17712 (__stpncpy): Likewise. Do not use BP_SYM.
17713 (stpncpy): Do not use BP_SYM in weak_alias.
17714 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17715 (PARMS): Do not use macros from bp-asm.h.
17716 (STR): Likewise.
17717 (CHR): Likewise.
17718 (strchr): Likewise. Do not use BP_SYM.
17719 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17720 "bp-asm.h".
17721 (PARMS): Do not use macros from bp-asm.h.
17722 (STR): Likewise.
17723 (CHR): Likewise.
17724 (__strchrnul): Likewise. Do not use BP_SYM.
17725 (strchrnul): Do not use BP_SYM in weak_alias.
17726 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17727 "bp-asm.h".
17728 (PARMS): Do not use macros from bp-asm.h.
17729 (STOP): Likewise.
17730 (strcspn): Do not use BP_SYM.
17731 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17732 "bp-asm.h".
17733 (PARMS): Do not use macros from bp-asm.h.
17734 (STR): Likewise.
17735 (STOP): Likewise.
17736 (strpbrk): Likewise. Do not use BP_SYM.
17737 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17738 "bp-asm.h".
17739 (PARMS): Do not use macros from bp-asm.h.
17740 (STR): Likewise.
17741 (CHR): Likewise.
17742 (strrchr): Likewise. Do not use BP_SYM.
17743 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17744 (PARMS): Do not use macros from bp-asm.h.
17745 (SKIP): Likewise.
17746 (strspn): Do not use BP_SYM.
17747 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17748 (PARMS): Do not use macros from bp-asm.h.
17749 (STR): Likewise.
17750 (DELIM): Likewise.
17751 (SAVE): Likewise.
17752 (FUNCTION): Likewise. Do not use BP_SYM.
17753 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17754 aliases.
17755 (strtok_r): Likewise.
17756 (__GI___strtok_r): Likewise.
17757 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17758 (PARMS): Do not use macros from bp-asm.h.
17759 (S1): Likewise.
17760 (S2): Likewise.
17761 (SIZE): Likewise.
17762 (__mpn_sub_n): Do not use BP_SYM.
17763 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17764 "bp-asm.h".
17765 (PARMS): Do not use macros from bp-asm.h.
17766 (S1): Likewise.
17767 (SIZE): Likewise.
17768 (__mpn_submul_1): Do not use BP_SYM.
17769 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17770 <bp-sym.h>.
17771 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17772 and <bp-asm.h>.
17773 (PARMS): Do not use macros from bp-asm.h.
17774 (FLAGS): Likewise.
17775 (PTID): Likewise.
17776 (TLS): Likewise.
17777 (CTID): Likewise.
17778 (__clone): Do not use BP_SYM.
17779 (clone): Do not use BP_SYM in weak_alias.
17780 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17781 and <bp-asm.h>.
17782 (PARMS): Do not use macros from bp-asm.h.
17783 (LEN): Likewise.
17784 (__mmap64): Do not use BP_SYM.
17785 (mmap64): Do not use BP_SYM in weak_alias.
17786 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17787 <bp-sym.h> and <bp-asm.h>.
17788 (PARMS): Do not use macros from bp-asm.h.
17789 (__posix_fadvise64_l64): Do not use BP_SYM.
17790 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17791 (PARMS): Do not use macros from bp-asm.h.
17792 (NSOPS): Likewise.
17793 (semtimedop): Do not use BP_SYM.
17794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17795 and <bp-asm.h>.
17796
582a3cff
AM
177972013-02-21 Allan McRae <allan@archlinux.org>
17798
17799 * manual/message.texi (Charset conversion in gettext):
17800 Move @end statement to beginning of line.
17801
bab8a695
SP
178022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17803
80945231
SP
17804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17805 static.
17806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17807 Likewise.
17808
bab8a695
SP
17809 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17810 (denorm): Likewise.
17811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17813
e21d7aa7
AK
178142013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17815
17816 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17817 tail-call to the resolved function if pltexit isn't needed.
17818
4c7a4263
SP
178192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17820
17821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17822 or Y being zero as being unlikely.
17823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17824 Likewise.
17825
41f49342
CD
178262013-02-20 Carlos O'Donell <carlos@redhat.com>
17827
17828 * manual/nss.texi (System Databases and Name Service Switch):
17829 Remove frobnicate @pxref.
17830
50022a93
TS
178312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17832
17833 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17834 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17835
08cbd996
PM
178362013-02-20 Petr Machata <pmachata@redhat.com>
17837
17838 * elf/elf.h (R_ARM_TARGET1): New macro.
17839 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17840 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17841 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17842 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17843 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17844 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17845 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17846 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17847 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17848 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17849 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17850 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17851 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17852 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17853 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17854 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17855 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17856 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17857 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17858 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17859 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17860 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17861 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17862 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17863 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17864 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17865 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17866 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17867 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17868 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17869 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17870 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17871 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17872 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17873 (R_ARM_THM_GOT_BREL12): Likewise.
17874 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17875 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17876 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17877 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17878 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17879 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17880 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17881 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17882 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17883
c7b275d6
TS
178842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17885
17886 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17887 __attribute_used__ to __attribute__ ((unused)).
17888
20cd7fb3
SP
178892013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17890
17891 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17892 powerpc mpa.c.
17893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17894 comment formatting.
17895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17896
92945b52
JM
178972013-02-19 Joseph Myers <joseph@codesourcery.com>
17898
17899 [BZ #13550]
17900 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17901 Remove macro.
17902 (ENTER): Remove both macro definitions.
17903 (LEAVE): Likewise.
17904 (CHECK_BOUNDS_LOW): Likewise.
17905 (CHECK_BOUNDS_HIGH): Likewise.
17906 (CHECK_BOUNDS_BOTH): Likewise.
17907 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17908 (RETURN_BOUNDED_POINTER): Likewise.
17909 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17910 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17911 (POP_ERRNO_LOCATION_RETURN): Likewise.
17912 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17913 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17914 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17915 macros.
17916 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17917 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17918 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17919 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17920 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17921 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17922 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17923 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17924 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17925 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17926 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17927 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17928 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17929 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17930 removed macros.
17931 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17932 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17933 macros.
17934 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17935 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17936 * sysdeps/i386/i586/memset.S (memset): Likewise.
17937 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17938 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17939 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17940 macros.
17941 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17942 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17943 Change uses of L(2) to L(out).
17944 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17945 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17946 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17947 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17948 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17949 removed macros.
17950 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17951 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17952 macros.
17953 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17954 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17955 (RETURN): Do not use macro LEAVE.
17956 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17957 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17958 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17959 * sysdeps/i386/i686/memset.S (memset): Likewise.
17960 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17961 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17962 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17963 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17964 Likewise.
17965 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17966 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17967 L(1_2) and L(1_3) into L(1).
17968 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17969 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17970 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17971 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17972 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17973 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17974 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17975 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17976 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17977 macros.
17978 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17980 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17981 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17982 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17983 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17984 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17985 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17986 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17987 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17988 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17989 * sysdeps/i386/strspn.S (strspn): Likewise.
17990 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17991 conditional code.
17992 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17993 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17994 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17995 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17996 L(1_3) into L(1_1).
17997 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17998 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17999 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18000 macros.
18001 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18002
2389741a
JJ
180032013-02-19 Jakub Jelinek <jakub@redhat.com>
18004
18005 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18006 macro.
18007
2016b3cd
SP
180082013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18009
e4f22324
SP
18010 * math/atest-exp.c (exp_mpn): Remove ROUND.
18011 * math/atest-exp2.c (exp_mpn): Likewise.
18012 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18013
2016b3cd
SP
18014 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18015 * stdlib/tst-tls-atexit-lib.c: Likewise.
18016 * stdlib/tst-tls-atexit.c: Likewise.
18017
4be9b544
MF
180182013-02-18 Mike Frysinger <vapier@gentoo.org>
18019
18020 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18021 and __attribute_alloc_size__.
18022
2f62b9ee
MF
180232013-02-18 Mike Frysinger <vapier@gentoo.org>
18024
18025 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18026 __attribute_alloc_size__.
18027 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18028 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18029
6ff444c4
MF
180302013-02-18 Mike Frysinger <vapier@gentoo.org>
18031
18032 * include/programs/xmalloc.h: New file.
18033 * catgets/gencat.c: Include it.
18034 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18035 * elf/pldd.c: Likewise.
18036 * iconv/iconv_charmap.c: Likewise.
18037 * iconv/iconvconfig.c: Likewise.
18038 * iconv/strtab.c: Likewise.
18039 * locale/programs/locale.c: Likewise.
18040 * locale/programs/localedef.h: Likewise.
18041 * locale/programs/simple-hash.c: Likewise.
18042 * nscd/nscd.h: Likewise.
18043 * nss/makedb.c: Likewise.
18044 * sysdeps/generic/ldconfig.h: Likewise.
18045
be179c8a
SP
180462013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18047
ba384f6e
SP
18048 * Versions.def: Add GLIBC_2.18.
18049 * include/link.h (struct link_map): New member l_tls_dtor_count.
18050 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18051 (__call_tls_dtors): Likewise.
18052 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18053 __cxa_thread_atexit_impl.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18055 Likewise.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18057 Likewise.
18058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18059 Likewise.
18060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18061 Likewise.
18062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18064 Likewise.
18065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18066 Likewise.
18067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18069 Likewise.
18070 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18071 (tests): Add test case tst-tls-atexit.
18072 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18073 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18074 (GLIBC_PRIVATE): Add __call_tls_dtors.
18075 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18076 for libstdc++.
18077 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18078 * stdlib/tst-tls-atexit.c: New test case.
18079 * stdlib/tst-tls-atexit-lib.c: New test case.
18080
ffaa74cf 18081 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18082
be179c8a
SP
18083 * elf/Versions (ld): Add _dl_find_dso_for_object.
18084 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18085 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18086 (dl_open_worker): Use _dl_find_dso_for_object.
18087 * elf/dl-sym.c (do_sym): Likewise.
18088 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18089
f78b5caa
AK
180902013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18091
18092 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18093 Syntactic changes only.
18094 (_dl_runtime_profile): Do a tail-call to the resolved function.
18095
29691210
JM
180962013-02-17 Joseph Myers <joseph@codesourcery.com>
18097
18098 [BZ #13550]
18099 * sysdeps/x86_64/bp-asm.h: Remove file.
18100 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18101 <bp-sym.h> and <bp-asm.h>.
18102 (__clone): Do not use BP_SYM.
18103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18104 <bp-sym.h> and <bp-asm.h>.
18105 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18106 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18107 "bp-asm.h".
18108 (_setjmp): Do not use BP_SYM.
18109 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18110 "bp-asm.h".
18111 (setjmp): Do not use BP_SYM.
18112 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18113 libc_hidden_def.
18114 (mempcpy): Do not use BP_SYM in weak_alias.
18115 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18116 "bp-asm.h".
18117 (strchr): Do not use BP_SYM.
18118 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18119 "bp-asm.h".
18120 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18121 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18122 (_start): Do not use BP_SYM.
18123 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18124 "bp-asm.h".
18125 (strcat): Do not use BP_SYM.
18126 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18127 "bp-asm.h".
18128 (STRCMP): Do not use BP_SYM.
18129 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18130 "bp-asm.h".
18131 (STRCPY): Do not use BP_SYM.
18132 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18133 "bp-asm.h".
18134 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18135 "bp-asm.h".
18136 (FUNCTION): Do not use BP_SYM.
18137 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18138 weak_alias.
18139 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18140
f238fd19
AJ
181412013-02-17 Andreas Jaeger <aj@suse.de>
18142
18143 * time/Versions: Sort entries.
18144 * string/Versions: Likewise.
18145 * resolv/Versions: Likewise.
18146 * posix/Versions: Likewise.
18147 * iconv/Versions: Likewise.
18148 * elf/Versions: Likewise.
18149 * wcsmbs/Versions: Likewise.
18150
bd07f23c 181512013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18152
22af19f9
SP
18153 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18154 loop termination condition.
18155
4709fe76
SP
18156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18157 variable to calculate EZ.
18158 (__sqr): Likewise.
2d0e0f29
SP
18159
18160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18161 the lower precision input.
18162
daaa7713
JM
181632013-02-15 Joseph Myers <joseph@codesourcery.com>
18164
18165 [BZ #13550]
18166 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18167 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18168 (run-via-rtld-prefix): Do not handle %-bp tests.
18169 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18170 (all-object-suffixes): Remove .ob.
18171 (bppfx): Remove variable.
18172 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18173 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18174 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18175 [$(build-bounded) = yes] (libtype.ob): Likewise.
18176 * Makerules (elide-routines.ob): Remove variable.
18177 (do-tests-clean): Do not handle *-bp.out.
18178 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18179 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18180 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18181 (tests): Do not include $(tests-bp.out).
18182 (xtests): Do not include $(xtests-bp.out).
18183 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18184 [$(build-bounded) = yes] ($(addprefix
18185 $(objpfx),$(binaries-bounded))): Remove rule.
18186 ($(objpfx)%-bp.out): Remove rule.
18187 * config.make.in (build-bounded): Remove variable.
18188 * crypt/Makefile [$(build-bounded) = yes]
18189 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18190 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18191 append to variable.
18192 [$(build-bounded) = yes] (install-lib): Likewise.
18193 [$(build-bounded) = yes] (generated): Likewise.
18194 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18195 Remove rule.
18196 * intl/Makefile [$(build-bounded) = yes]
18197 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18198 * math/Makefile [$(build-bounded) = yes]
18199 ($(tests:%=$(objpfx)%-bp): Likewise.
18200 * misc/Makefile [$(build-bounded) = yes]
18201 ($(objpfx)tst-tsearch-bp): Likewise.
18202 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18203 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18204 Remove dependency.
18205 * string/Makefile (o-objects.ob): Remove variable.
18206 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18207 (CFLAGS-.ob): Remove variable.
18208 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18209 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18210 both definitions of variable.
18211 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18212 (ASFLAGS-.ob): Remove variable.
18213
e97ed6dd
JM
182142013-02-14 Joseph Myers <joseph@codesourcery.com>
18215
2bdd4ca6
JM
18216 [BZ #13550]
18217 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18218 Remove __BOUNDED_POINTERS__ from condition.
18219 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18220 * string/bits/string2.h [!__NO_STRING_INLINES &&
18221 !__BOUNDED_POINTERS__]: Likewise.
18222 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18223 Likewise.
18224 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18225 Remove conditional code.
18226 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18227 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18228 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18229 condition.
18230
e97ed6dd
JM
18231 [BZ #13550]
18232 * csu/libc-start.c: Do not include <bp-sym.h>.
18233 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18234 * elf/dl-open.c: Do not include <bp-sym.h>.
18235 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18236 * math/fegetenv.c: Do not include <bp-sym.h>.
18237 (fegetenv): Do not use BP_SYM in versioned symbols.
18238 * nptl/sysdeps/pthread/bits/libc-lockP.h
18239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18240 <bp-sym.h>.
18241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18242 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18244 (__pthread_mutex_destroy): Likewise.
18245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18246 (__pthread_mutex_lock): Likewise.
18247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18248 (__pthread_mutex_trylock): Likewise.
18249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18250 (__pthread_mutex_unlock): Likewise.
18251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18252 (__pthread_mutexattr_init): Likewise.
18253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18254 (__pthread_mutexattr_destroy): Likewise.
18255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18256 (__pthread_mutexattr_settype): Likewise.
18257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18258 (__pthread_rwlock_init): Likewise.
18259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18260 (__pthread_rwlock_destroy): Likewise.
18261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18262 (__pthread_rwlock_rdlock): Likewise.
18263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18264 (__pthread_rwlock_tryrdlock): Likewise.
18265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18266 (__pthread_rwlock_wrlock): Likewise.
18267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18268 (__pthread_rwlock_trywrlock): Likewise.
18269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18270 (__pthread_rwlock_unlock): Likewise.
18271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18272 (__pthread_key_create): Likewise.
18273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18274 (__pthread_setspecific): Likewise.
18275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18276 (__pthread_getspecific): Likewise.
18277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18278 Likewise.
18279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18280 (_pthread_cleanup_push_defer): Likewise.
18281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18282 (_pthread_cleanup_pop_restore): Likewise.
18283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18284 (pthread_setcancelstate): Likewise.
18285 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18286 <bp-sym.h>.
18287 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18288 (memchr): Do not use BP_SYM in weak_alias.
18289 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18290 (fegetenv): Do not use BP_SYM in versioned symbols.
18291 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18292 (fesetenv): Do not use BP_SYM in versioned symbols.
18293 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18294 (feupdateenv): Do not use BP_SYM in versioned symbols.
18295 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18296 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18297 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18298 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18299 (open64): Do not use BP_SYM in weak_alias.
18300 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18301 (fegetenv): Do not use BP_SYM in versioned symbols.
18302 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18303 (fesetenv): Do not use BP_SYM in versioned symbols.
18304 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18305 (feupdateenv): Do not use BP_SYM in versioned symbols.
18306 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18307 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18308 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18309 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18310 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18311 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18312 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18313 <bp-sym.h>.
18314 (__libc_start_main): Do not use BP_SYM.
18315
d6752ccd
SP
183162013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18317
cb57ce60
SP
18318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18319 redundant return line.
18320 (norm): Likewise.
18321 (denorm): Likewise.
18322 (dbl_mp): Likewise.
18323 (sub_magnitudes): Likewise.
18324 (__add): Likewise.
18325 (__sub): Likewise.
18326 (__mul): Likewise.
18327 (__inv): Likewise.
18328 (__dvd): Likewise.
18329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18330 (norm): Likewise.
18331 (denorm): Likewise.
18332 (dbl_mp): Likewise.
18333 (sub_magnitudes): Likewise.
18334 (__add): Likewise.
18335 (__sub): Likewise.
18336 (__mul): Likewise.
18337 (__inv): Likewise.
18338 (__dvd): Likewise.
18339
f414520d
SP
18340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18341 instead of __mul.
18342 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18343 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18344 (cc32): Likewise.
18345
d6752ccd
SP
18346 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18347 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18349 of __mul for squares.
18350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18351 function
18352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18353 Likewise.
18354 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18356
70d9946a
JM
183572013-02-13 Joseph Myers <joseph@codesourcery.com>
18358
18359 [BZ #13550]
18360 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18361 code.
18362 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18363 prototype or function definition. Rename ubp_* variables and
18364 parameters. Remove argv definitions conditional on
18365 [__BOUNDED_POINTERS__].
18366 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18367 * elf/dl-runtime.c (_dl_fixup): Likewise.
18368 * include/set-hooks.h (RUN_HOOK): Likewise.
18369 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18370 definition.
18371 * string/strcpy.c (strcpy): Do not use __unbounded.
18372 * sysdeps/generic/frame.h (struct layout): Likewise.
18373 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18374 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18375 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18376 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18377 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18378 (__backtrace): Likewise.
18379 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18380 use __ptrvalue.
18381 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18382 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18383 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18384 Likewise.
18385 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18386 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18387 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18388 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18389 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18390 Do not use __unbounded.
18391 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18392 Rename __unboundedrlimits parameter to rlimits in prototype.
18393 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18394 Do not use __unbounded.
18395 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18396 not use __ptrvalue.
18397 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18398 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18399 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18400 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18401 __ptrvalue or __unbounded.
18402 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18403 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18404 use __unbounded.
18405 (__new_msgctl): Do not use __ptrvalue.
18406 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18407 __unbounded.
18408 (__libc_msgrcv): Do not use __ptrvalue.
18409 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18410 startup_info): Do not use __unbounded.
18411 (__libc_start_main): Likewise. Rename ubp_* variables and
18412 parameters. Remove argv definitions conditional on
18413 [__BOUNDED_POINTERS__].
18414 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18415 __ptrvalue.
18416 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18417 use __unbounded.
18418 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18419 or __ptrvalue.
18420 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18421 use __unbounded.
18422 (__new_shmctl): Do not use __ptrvalue.
18423 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18424 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18425 Likewise.
18426 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18428 (__libc_sigaction): Likewise.
18429 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18431 Likewise.
18432 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18433
cc7834d6
OB
184342013-02-13 Ondřej Bílka <neleai@seznam.cz>
18435
ffb1ec7b 18436 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18437
18438 * string/mempcpy.c: Implement by calling memcpy.
18439
bdf02814
SP
184402013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18441
c2af38aa
SP
18442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18443
4e92d59e
SP
18444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18445 evaluation.
18446
909279a5
SP
18447 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18448 values in the mantissa.
18449
bdf02814
SP
18450 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18451 minimize writes to Z.
18452 (sub_magnitudes): Simplify code a bit.
18453
cd525923
RM
184542013-02-12 Roland McGrath <roland@hack.frob.com>
18455
18456 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18457 from the message. The linker prefixes all warnings with that already.
18458
7e2f0d2d
AS
184592013-02-12 Andreas Schwab <schwab@suse.de>
18460
a445af0b
AS
18461 [BZ #15078]
18462 * posix/regexec.c (extend_buffers): Add parameter min_len.
18463 (check_matching): Pass minimum needed length.
18464 (clean_state_log_if_needed): Likewise.
18465 (get_subexp): Likewise.
18466 * posix/Makefile (tests): Add bug-regex34.
18467 (bug-regex34-ENV): Define.
18468 * posix/bug-regex34.c: New file.
18469
7e2f0d2d
AS
18470 [BZ #11561]
18471 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18472 elements compare against the byte sequence of it, not its name.
18473 * posix/Makefile (tests): Add bug-regex35.
18474 (bug-regex35-ENV): Define.
18475 * posix/bug-regex35.c: New file.
18476
a175b684
TV
184772013-02-11 Tom de Vries <tom@codesourcery.com>
18478
18479 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18480 comment.
18481 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18482 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18483 (CHECK_EOL): Add undef.
18484
310998fe 184852013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18486
18487 * bits/stdlib-bsearch.h: New file.
18488 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18489 * stdlib/stdlib.h: Likewise.
41eda41d 18490
8ded91fb
RM
184912013-02-11 Roland McGrath <roland@hack.frob.com>
18492
18493 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18494 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18495 declaration.
18496 * manual/search.texi (Array Search Function): Add missing const in
18497 lfind prototype.
18498 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18499 declaration to use rlim_t.
18500 (Basic Scheduling Functions): Remove erroneous const from
18501 sched_getparam prototype. Remove erroneous * from
18502 sched_get_priority_max and sched_get_priority_min prototypes.
18503 (Resource Usage): Fix summary @comment on vtimes to refer to
18504 sys/vtimes.h rather than vtimes.h.
18505 Add missing *s in vtimes prototype.
18506 (Limits on Resources): Fix ulimit prototype to return long int.
18507 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18508 prototypes to use long int rather than double.
18509 (BSD Random): Fix initstate and setstate to use char *, not void *.
18510 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18511 prototype to make second argument 'struct aiocb64 *const[]'.
18512 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18513 (Status of AIO Operations): Remove erroneous const in aio_return and
18514 aio_return64 prototypes.
18515 (Synchronizing I/O): Fix sync prototype to return void.
18516 * manual/startup.texi (Suboptions): Remove an erroneous const in
18517 getsubopt prototype.
18518 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18519 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18520 use size_t rather than int.
18521 (Scanning All Users): Likewise for getpwent_r.
18522 (Setting Groups): Add missing const to setgroups prototype.
18523 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18524 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18525 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18526 'const void *' rather than 'const char *'.
18527 (Host Address Functions): Likewise for inet_ntop.
18528 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18529 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18530 ssize_t for return value.
18531 (Sending Data): Likewise for send, sendto, sendmsg.
18532 (Socket Option Functions): Add a missing const in setsockopt prototype.
18533 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18534 use wchar_t for the argument.
18535 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18536 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18537 take no arguments.
18538 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18539 double/float/long double for second argument.
18540 Fix return types of significand, significandf, significandl.
18541 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18542 argument in fchmod prototype.
18543 (File Owner): Use uid_t and gid_t in fchown prototype.
18544 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18545 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18546 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18547 use 'const struct dirent **' as argument types to CMP function pointer
18548 argument.
18549 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18550 (File Times): Fix summary magic @comment for struct utimbuf and utime
18551 to refer to utime.h, not time.h.
18552 * manual/string.texi (Argz Functions): Add missing const in
18553 argz_extract and argz_next prototypes.
18554 (Finding Tokens in a String): Likewise for basename.
18555 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18556 (Copying and Concatenation): Fix typo in wmemmove prototype.
18557 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18558 (Signal Stack): Remove erroneous const in sigstack prototype.
18559 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18560 prototype.
18561 (Simple Calendar Time): Likewise for stime.
18562 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18563 prototype.
18564 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18565 say sys/sysctl.h instead.
18566 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18567 and vsyslog prototypes.
18568
fe77fe6d
TV
185692013-02-11 Tom de Vries <tom@codesourcery.com>
18570
18571 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18572 Remove.
18573
3a09b620
RM
185742013-02-11 Roland McGrath <roland@hack.frob.com>
18575
18576 * misc/sys/mman.h: Fix typo in mremap comment.
18577
550a0b89
RM
185782013-02-08 Roland McGrath <roland@hack.frob.com>
18579
18580 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18581 the '\0' terminator.
18582
a2da1673
JM
185832013-02-08 Joseph Myers <joseph@codesourcery.com>
18584
18585 [BZ #13550]
18586 * debug/segfault.c: Don't include <bp-checks.h>.
18587 * sysdeps/generic/bp-checks.h: Remove file.
18588 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18589 (__GETDENTS): Don't use CHECK_N.
18590 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18591 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18592 (__getgroups): Don't use CHECK_N.
18593 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18594 (setgroups): Don't use CHECK_N.
18595 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18596 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18597 (__libc_msgrcv): Don't use CHECK_N.
18598 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18599 (__libc_msgsnd): Don't use CHECK_N.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18601 <bp-checks.h>.
18602 (__libc_pread): Don't use CHECK_N.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18604 include <bp-checks.h>.
18605 (__libc_pread64): Don't use CHECK_N.
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18607 include <bp-checks.h>.
18608 (__libc_pwrite): Don't use CHECK_N.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18610 include <bp-checks.h>.
18611 (__libc_pwrite64): Don't use CHECK_N.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18613 <bp-checks.h>.
18614 (__libc_pread): Don't use CHECK_N.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18616 include <bp-checks.h>.
18617 (__libc_pread64): Don't use CHECK_N.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18619 include <bp-checks.h>.
18620 (__libc_pwrite): Don't use CHECK_N.
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18622 include <bp-checks.h>.
18623 (__libc_pwrite64): Don't use CHECK_N.
18624 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18625 (do_pread): Don't use CHECK_N.
18626 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18627 (do_pread64): Don't use CHECK_N.
18628 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18629 (do_pwrite): Don't use CHECK_N.
18630 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18631 (do_pwrite64): Don't use CHECK_N.
18632 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18633 (__libc_readv): Don't use CHECK_N.
18634 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18635 (semop): Don't use CHECK_N.
18636 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18637 <bp-checks.h>.
18638 (semtimedop): Don't use CHECK_N.
18639 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18640 (__libc_pread): Don't use CHECK_N.
18641 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18642 <bp-checks.h>.
18643 (__libc_pread64): Don't use CHECK_N.
18644 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18645 <bp-checks.h>.
18646 (__libc_pwrite): Don't use CHECK_N.
18647 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18648 <bp-checks.h>.
18649 (__libc_pwrite64): Don't use CHECK_N.
18650 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18651 <bp-checks.h>.
18652 (__libc_msgrcv): Don't use CHECK_N.
18653 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18654 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18655 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18656 (__libc_writev): Don't use CHECK_N.
18657
b84660a8
RM
186582013-02-08 Roland McGrath <roland@hack.frob.com>
18659
7f3e75f8
RM
18660 * string/strcpy.c: Removed unused variable.
18661
b84660a8
RM
18662 * Makeconfig (+sysdep-includes): Define with := rather than =.
18663 Use an existing include/ subdir of each sysdeps dir before it.
18664
471514d3
CD
186652013-02-08 Carlos O'Donell <carlos@redhat.com>
18666
18667 * nscd/connection.c (register_traced_file): Comment function.
18668 [HAVE_INOTIFY] (union __inev): Define.
18669 [HAVE_INOTIFY] (inotify_check_files): New function.
18670 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18671 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18672 clear_db_cache.
18673 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18674
b2d3c3be
CD
186752013-02-08 Carlos O'Donell <carlos@redhat.com>
18676
18677 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18678 loaded if not already and that a failure is permanent.
18679
b39949d2
CD
186802013-02-08 Carlos O'Donell <carlos@redhat.com>
18681
ddacd1db 18682 [BZ #15006]
b39949d2
CD
18683 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18684 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18685
b2c9eff4
JM
186862013-02-08 Joseph Myers <joseph@codesourcery.com>
18687
f3aae3f3
JM
18688 [BZ #13550]
18689 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18690 (CHECK_1_NULL_OK): Likewise.
18691 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18692 (__fxstat): Do not use CHECK_1.
18693 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18694 <bp-checks.h>.
18695 (___fxstat64): Do not use CHECK_1.
18696 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18697 <bp-checks.h>.
18698 (__fxstatat): Do not use CHECK_1.
18699 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18700 <bp-checks.h>.
18701 (__fxstatat64): Do not use CHECK_1.
18702 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18703 <bp-checks.h>.
18704 (__fxstat): Do not use CHECK_1.
18705 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18706 <bp-checks.h>.
18707 (__fxstatat): Do not use CHECK_1.
18708 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18709 <bp-checks.h>.
18710 (__getresgid): Do not use CHECK_1.
18711 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18712 <bp-checks.h>.
18713 (__getresuid): Do not use CHECK_1.
18714 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18715 <bp-checks.h>.
18716 (__lxstat): Do not use CHECK_1.
18717 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18718 <bp-checks.h>.
18719 (__old_msgctl): Do not use CHECK_1.
18720 (__new_msgctl): Likewise.
18721 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18722 <bp-checks.h>.
18723 (__new_setrlimit): Do not use CHECK_1.
18724 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18725 <bp-checks.h>.
18726 (__old_shmctl): Do not use CHECK_1.
18727 (__new_shmctl): Likewise.
18728 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18729 <bp-checks.h>.
18730 (__xstat): Do not use CHECK_1.
18731 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18732 (__lxstat): Do not use CHECK_1.
18733 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18734 <bp-checks.h>.
18735 (___lxstat64): Do not use CHECK_1.
18736 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18737 (__old_msgctl): Do not use CHECK_1.
18738 (__new_msgctl): Likewise.
18739 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18740 <bp-checks.h>.
18741 (__gettimeofday): Do not use CHECK_1.
18742 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18743 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18744 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18745 <bp-checks.h>.
18746 (__gettimeofday): Do not use CHECK_1.
18747 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18748 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18749 (__new_shmctl): Do not use CHECK_1.
18750 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18751 <bp-checks.h>.
18752 (do_sigtimedwait): Do not use CHECK_1.
18753 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18754 <bp-checks.h>.
18755 (do_sigwaitinfo): Do not use CHECK_1.
18756 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18757 <bp-checks.h>.
18758 (msgctl): Do not use CHECK_1.
18759 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18760 <bp-checks.h>.
18761 (shmctl): Do not use CHECK_1.
18762 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18763 (ustat): Do not use CHECK_1.
18764 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18765 <bp-checks.h>.
18766 (__fxstat): Do not use CHECK_1.
18767 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18768 <bp-checks.h>.
18769 (__fxstatat): Do not use CHECK_1.
18770 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18771 <bp-checks.h>.
18772 (__lxstat): Do not use CHECK_1.
18773 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18774 <bp-checks.h>.
18775 (__xstat): Do not use CHECK_1.
18776 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18777 (__xstat): Do not use CHECK_1.
18778 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18779 (___xstat64): Do not use CHECK_1.
18780
b2c9eff4
JM
18781 [BZ #13550]
18782 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18783 definitions.
18784 (CHECK_BOUNDS_HIGH): Likewise.
18785 * string/strcpy.c: Do not include <bp-checks.h>.
18786 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18787
f1d70dad
RM
187882013-02-07 Roland McGrath <roland@hack.frob.com>
18789
18790 * nscd/nscd-client.h (__nscd_drop_map_ref):
18791 Add __attribute__ ((unused)).
18792 * nis/nss-nisplus.h (niserr2nss): Likewise.
18793
18794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18795 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18796
18797 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18798 Remove inline keyword.
18799 * include/rounding-mode.h (round_away): Likewise.
18800 * libio/wfileops.c (adjust_wide_data): Likewise.
18801 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18802 (__m128i_strloadu_tolower): Likewise.
18803 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18804 (__m128i_strloadu_tolower): Likewise.
18805 * time/mktime.c (ydhms_diff): Likewise.
18806 * locale/elem-hash.h (elem_hash): Likewise.
18807 * locale/setlocale.c (setdata): Likewise.
18808 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18809 (re_string_wchar_at): Likewise.
18810 (bitset_not, bitset_merge, bitset_mask): Likewise.
18811 [!(__GNUC__ > 3)] (inline): Remove macro.
18812 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18813 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18814 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18815 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18816 * string/memcmp.c (memcmp_bytes): Likewise.
18817 * locale/programs/locarchive.c (compute_hashval): Likewise.
18818 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18819 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18820 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18821 * nss/getent.c (print_rpc, print_protocols): Likewise.
18822 (print_passwd, print_group, print_aliases): Likewise.
18823 * nis/nss-nisplus.h (niserr2nss): Likewise.
18824 * nscd/connections.c (restart_p): Likewise.
18825 Change return type to bool.
18826
eab55bfb
RM
188272013-02-05 Roland McGrath <roland@hack.frob.com>
18828
7bd642f5
RM
18829 * Makeconfig (all-Depend-files): Add existing
18830 $(sorted-subdirs:=/Depend) files.
18831 (all-subdirs): Remove nss.
18832 * sysdeps/unix/inet/Subdirs: Add it here instead.
18833 * hesiod/Depend: New file.
18834
573c29b2
RM
18835 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18836 instead of calling alloca.
18837
b2e25af0
RM
18838 * io/lseek.c (__lseek): Rename to __libc_lseek.
18839 Define __lseek as an alias.
18840
eab55bfb
RM
18841 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18842
9a0d1941
CD
188432013-02-04 Carlos O'Donell <carlos@redhat.com>
18844
18845 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18846 else clause and remove check for non-standard endianness.
18847
b83bbec4
DM
188482013-02-04 David S. Miller <davem@davemloft.net>
18849
18850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18851
6277fdab
JM
188522013-02-04 Joseph Myers <joseph@codesourcery.com>
18853
18854 [BZ #13550]
18855 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18856 (__ubp_memchr): Remove prototype.
18857 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18858 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18859 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18860 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18861 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18862 Remove alias.
18863 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18864 (__ubp_memchr): Likewise.
18865 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18866 (__ubp_memchr): Likewise.
18867 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18868 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18869 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18871 CHECK_STRING.
18872 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18873 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18874 (__getcwd): Do not use CHECK_STRING.
18875 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18876 <bp-checks.h>.
18877 (__real_chown): Do not use CHECK_STRING.
18878 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18879 <bp-checks.h>.
18880 (fchownat): Do not use CHECK_STRING.
18881 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18882 CHECK_STRING.
18883 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18884 <bp-checks.h>.
18885 (__lchown): Do not use CHECK_STRING.
18886 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18887 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18888 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18889 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18891 include <bp-checks.h>.
18892 (truncate64): Do not use CHECK_STRING.
18893 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18894 <bp-checks.h>.
18895 (__real_chown): Do not use CHECK_STRING.
18896 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18897 <bp-checks.h>.
18898 (__lchown): Do not use CHECK_STRING.
18899 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18900 <bp-checks.h>.
18901 (__chown): Do not use CHECK_STRING.
18902 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18903 <bp-checks.h>.
18904 (truncate64): Do not use CHECK_STRING.
18905 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18906 Likewise.
18907 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18908 (__xmknod): Do not use CHECK_STRING.
18909 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18910 <bp-checks.h>.
18911 (__xmknodat): Do not use CHECK_STRING.
18912 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18913 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18914
903ae060
AS
189152013-02-04 Andreas Schwab <schwab@suse.de>
18916
18917 [BZ #14142]
18918 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18919 * include/netdb.h: Likewise for h_errno.
18920 * elf/tst-stackguard1.c: Include <tls.h>.
18921
542f9466
JK
189222013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18923
18924 * elf/link.h (struct link_map): Extend the l_addr comment.
18925 * include/link.h (struct link_map): Likewise.
18926
e782a927
JM
189272013-02-01 Joseph Myers <joseph@codesourcery.com>
18928
18929 [BZ #13550]
18930 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18931 (BOUNDED_1): Remove macro.
18932 * debug/backtrace.c: Don't include <bp-checks.h>.
18933 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18934 (__backtrace): Likewise.
18935 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18936 <bp-checks.h>.
18937 (__backtrace): Don't use BOUNDED_1.
18938 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18939 <bp-checks.h>.
18940 (__backtrace): Don't use BOUNDED_1.
18941 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18942 (__backtrace): Don't use BOUNDED_1.
18943 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18944 (shmat): Don't use BOUNDED_N.
18945
8cf28c5e
JM
189462013-01-31 Joseph Myers <joseph@codesourcery.com>
18947
3a7ac8a0
JM
18948 [BZ #13550]
18949 * sysdeps/generic/bp-start.h: Remove file.
18950 * csu/libc-start.c: Don't include <bp-start.h>.
18951 (LIBC_START_MAIN): Set up __environ directly instead of using
18952 INIT_ARGV_and_ENVIRON.
18953 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18954 <bp-start.h>.
18955
f3499f95
JM
18956 [BZ #13550]
18957 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18958 definitions.
18959 (CHECK_FCNTL): Likewise.
18960 (CHECK_N_PAGES): Likewise.
18961
32a45bea
JM
18962 [BZ #13550]
18963 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18964 definitions.
18965 (CHECK_SIGSET_NULL_OK): Likewise.
18966 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18967 <bp-checks.h>.
18968 (sigpending): Don't use CHECK_SIGSET.
18969 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18970 <bp-checks.h>.
18971 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18972 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18973 <bp-checks.h>.
18974 (do_sigsuspend): Don't use CHECK_SIGSET.
18975 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18976 use CHECK_SIGSET.
18977 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18978 (do_sigwait): Don't use CHECK_SIGSET.
18979 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18980 use CHECK_SIGSET.
18981 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18982 include <bp-checks.h>.
18983 (sigpending): Don't use CHECK_SIGSET.
18984 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18985 include <bp-checks.h>.
18986 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18987 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18988 <bp-checks.h>.
18989 (sigpending): Don't use CHECK_SIGSET.
18990 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18991 <bp-checks.h>.
18992 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18993
2e8a5c8c
JM
18994 [BZ #13550]
18995 * sysdeps/generic/bp-semctl.h: Remove file.
18996 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18997 <bp-checks.h> and <bp-semctl.h>.
18998 (__old_semctl): Don't use CHECK_SEMCTL.
18999 (__new_semctl): Likewise.
19000 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19001 and <bp-semctl.h>.
19002 (__old_semctl): Don't use CHECK_SEMCTL.
19003 (__new_semctl): Likewise.
19004 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19005 <bp-checks.h> and <bp-semctl.h>.
19006 (__old_semctl): Don't use CHECK_SEMCTL.
19007 (__new_semctl): Likewise.
19008 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19009 <bp-checks.h> and <bp-semctl.h>.
19010 (semctl): Don't use CHECK_SEMCTL.
19011
c2d54929
JM
19012 [BZ #13550]
19013 * Makerules (elide-bp-thunks): Remove variable.
19014 (elide-routines.oS): Don't use $(elide-bp-thunks).
19015 (elide-routines.os): Likewise.
19016 (elide-routines.o): Likewise.
19017 (elide-routines.op): Likewise.
19018 (elide-routines.og): Likewise.
19019 (objects): Don't use $(bp-thunks).
19020 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19021 include.
19022 (common-generated): Do not add s-proto-bp.d.
19023 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19024 (int): Likewise.
19025 (typ): Likewise.
19026 Do not generate makefile rules for bounded-pointer thunks.
19027 * sysdeps/generic/bp-thunks.h: Remove file.
19028 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19029 * sysdeps/unix/s-proto-bp.S: Likewise.
19030
8cf28c5e
JM
19031 [BZ #15062]
19032 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19033 parts of result separately when argument is not close to line from
19034 -i to i and one part of argument is small.
19035 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19036 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19037 * math/libm-test.inc (cacos_test): Add more tests.
19038 (casin_test): Likewise.
19039 (casinh_test): Likewise.
19040 * sysdeps/i386/fpu/libm-test-ulps: Update.
19041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19042
c4e33b8d
DM
190432013-01-31 David S. Miller <davem@davemloft.net>
19044
19045 * po/de.po: Update from translation team.
19046
3b60b421
MK
190472013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19048
19049 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19050
bb931195
TS
190512013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19052
b5a5da23
TS
19053 * configure.in (_AC_PROG_CC_C89): New definition.
19054 * configure: Regenerate.
19055
bb931195
TS
19056 * configure.in (AC_PROG_CPP): New definition.
19057 * configure: Regenerate.
19058
8c53a12c
JM
190592013-01-23 Joseph Myers <joseph@codesourcery.com>
19060
19061 * debug/tst-backtrace.h: New file.
19062 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19063 (ret): Remove variable.
19064 (x): Likewise.
19065 (FAIL): Remove macro.
19066 (NO_INLINE): Likewise.
19067 (fn1): Use match function instead of strstr.
19068 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19069 (ret): Remove variable.
19070 (x): Likewise.
19071 (FAIL): Remove macro.
19072 (NO_INLINE): Likewise.
19073 (fn): Use match function instead of strstr.
19074 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19075 (ret): Remove variable.
19076 (x): Likewise.
19077 (FAIL): Remove macro.
19078 (NO_INLINE): Likewise.
19079 (handle_signal): Use match function instead of strstr.
19080 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19081 (ret): Remove variable.
19082 (x): Likewise.
19083 (FAIL): Remove macro.
19084 (NO_INLINE): Likewise.
19085 (handle_signal): Use match function instead of strstr.
19086
4858fa2a
RM
190872013-01-23 Roland McGrath <roland@hack.frob.com>
19088
19089 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19090
bae8e7f5
DM
190912013-01-23 David S. Miller <davem@davemloft.net>
19092
19093 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19094 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19095 argument of CAS if possible.
19096 * sysdeps/sparc/sparc64/bits/atomic.h
19097 (__arch_compare_and_exchange_val_32_acq): Likewise.
19098 (__arch_compare_and_exchange_val_64_acq): Likewise.
19099
9cbbc4ae
PT
191002013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19101
19102 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19103 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19104 Include <limits.h>.
67b3f58c 19105 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19106
5655a0b5
AC
191072013-01-23 Adam Conrad <adconrad@0c3.net>
19108
19109 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19110 (LDFLAGS-tst-array5): Likewise.
19111
052aff95
JM
191122013-01-23 Joseph Myers <joseph@codesourcery.com>
19113
19114 [BZ #15036]
19115 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19116 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19117 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19118 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19119
7c1e01aa
DM
191202013-01-21 David S. Miller <davem@davemloft.net>
19121
19122 * sysdeps/sparc/backtrace.c: New file.
19123 * sysdeps/sparc/sparc32/backtrace.h: New file.
19124 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19125 * sysdeps/sparc/sparc64/backtrace.h: New file.
19126 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19127 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19128 -funwind-tables.
19129
ab087e0a
AS
191302013-01-21 Andreas Schwab <schwab@suse.de>
19131
19132 [BZ #15020]
19133 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19134 closed its stdout.
19135
ed689c2f
AS
191362013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19137
19138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19139 "mpa2.h".
19140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19141
31d470ac
JM
191422013-01-18 Joseph Myers <joseph@codesourcery.com>
19143 Mark Mitchell <mark@codesourcery.com>
19144 Tom de Vries <tom@codesourcery.com>
19145 Paul Pluzhnikov <ppluzhnikov@google.com>
19146
19147 * debug/tst-backtrace2.c: New file.
19148 * debug/tst-backtrace3.c: Likewise.
19149 * debug/tst-backtrace4.c: Likewise.
19150 * debug/tst-backtrace5.c: Likewise.
19151 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19152 (CFLAGS-tst-backtrace3.c): Likewise.
19153 (CFLAGS-tst-backtrace4.c): Likewise.
19154 (CFLAGS-tst-backtrace5.c): Likewise.
19155 (LDFLAGS-tst-backtrace2): Likewise.
19156 (LDFLAGS-tst-backtrace3): Likewise.
19157 (LDFLAGS-tst-backtrace4): Likewise.
19158 (LDFLAGS-tst-backtrace5): Likewise.
19159 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19160 tst-backtrace4 and tst-backtrace5.
19161
90567f30 191622013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19163 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19164
19165 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19166 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19167 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19168 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19170 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19171 "+r" and remove output regs list as redundant. Add explicit inline
19172 asm to specify register of return val to work around compiler codegen
19173 bug. Remove (int) cast on return value. Add return type parameter to
19174 use in macro so that this macro does not truncate return value for
19175 64-bit values.
19176 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19177 pass to INTERNAL_VSYSCALL_NCS.
19178 (INLINE_VSYSCALL): Add 'long int' as return type to
19179 INTERNAL_VSYSCALL_NCS macro invocation.
19180 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19181 INTERNAL_VSYSCALL_NCS macro invocation.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19183
d3b9ea61
SP
191842013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19185
0b57daeb
SP
19186 [BZ #14496]
19187 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19188 Fix application of SIMD FP exception mask.
19189
caa99d06
SP
19190 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19191 mp_no from a power of two.
19192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19193 __mpexp_twomm1. Use __pow_mp.
19194
d3b9ea61
SP
19195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19196 multiplication.
19197
1dbaee3c
DM
191982013-01-17 David S. Miller <davem@davemloft.net>
19199
19200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19201
728d7b43
JM
192022013-01-17 Joseph Myers <joseph@codesourcery.com>
19203
19204 [BZ #15023]
19205 * include/complex.h: Condition contents on [!_COMPLEX_H].
19206 (__kernel_casinhf): New prototype.
19207 (__kernel_casinh): Likewise.
19208 (__kernel_casinhl): Likewise.
19209 * math/Makefile (libm_calls): Add k_casinh.
19210 * math/k_casinh.c: New file.
19211 * math/k_casinhf.c: Likewise.
19212 * math/k_casinhl.c: Likewise.
19213 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19214 finite nonzero arguments.
19215 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19216 finite nonzero arguments.
19217 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19218 finite nonzero arguments.
19219 * math/s_casinh.c: Do not include <float.h>.
19220 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19221 * math/s_casinhf.c: Do not include <float.h>.
19222 (__casinhf): Move code for finite nonzero arguments to
19223 k_casinhf.c.
19224 * math/s_casinhl.c: Do not include <float.h>.
19225 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19226 redefine.
19227 (__casinhl): Move code for finite nonzero arguments to
19228 k_casinhl.c.
19229 * math/libm-test.inc (cacos_test): Add more tests.
19230 * sysdeps/i386/fpu/libm-test-ulps: Update.
19231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19232
2a26ef3a
PT
192332013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19234
19235 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19236 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19237 [!HAVE_MREMAP]: Remove [defined linux] case.
19238 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19239
a897655d
SP
192402013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19241
19242 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19243
881ebe89 192442013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19245
19246 * elf/elf.h (R_386_SIZE32): New relocation.
19247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19248 R_386_SIZE32.
19249 (elf_machine_rela): Likewise.
19250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19251 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19252
59981e9b
JM
192532013-01-17 Joseph Myers <joseph@codesourcery.com>
19254
19255 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19256 (FP_FAST_FMA): Do not define.
19257 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19258 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19259 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19260 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19261 !_SOFT_FLOAT]: Likewise.
19262 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19263 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19264 value.
19265 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19266 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19267 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19268 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19269 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19270 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19271 file.
19272
cfa8054f
AS
192732013-01-16 Andreas Schwab <schwab@suse.de>
19274
19275 [BZ #14327]
19276 * include/stdlib.h (__mktemp): Add declaration.
19277 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19278 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19279
dd930cc5
SP
192802013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19281
881ebe89
SP
19282 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19283 definitions.
19284 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19285 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19286 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19287 definitions here.
19288 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19289 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19290 definitions.
19291 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19292 and ONE.
19293 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19294 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19295 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19296 definitions.
19297 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19298 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19299 definitions.
19300 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19301
dd930cc5
SP
19302 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19303
c19a9f89
DM
193042013-01-15 David S. Miller <davem@davemloft.net>
19305
1aa61767
DM
19306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19307 trunc{,f} to libm-sysdep_routes.
19308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19310 file.
19311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19313 file.
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19315 file.
19316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19318 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19319 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19320 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19321 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19322 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19323 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19324
c42d5e98
DM
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19326 nearbyint{,f} to libm-sysdep_routes.
19327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19329 New file.
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19331 file.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19333 New file.
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19335 file.
19336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19338 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19339 file.
19340 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19341 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19342 file.
19343 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19344 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19345 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19346
c19a9f89
DM
19347 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19348 libc_feholdexcept and libc_fesetenv.
19349
357679d2
MF
193502013-01-15 Mike Frysinger <vapier@gentoo.org>
19351
19352 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19353
65a82e3d
DM
193542013-01-14 David S. Miller <davem@davemloft.net>
19355
8b954ab9
DM
19356 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19357 (SPARC_ASM_VIS2_IFUNC): Likewise.
19358 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19360 use of 'siam' instruction.
19361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19362 Likewise.
19363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19364 Likewise.
19365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19366 Likewise.
19367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19372 file.
19373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19374 file.
19375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19376 file.
19377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19378 file.
19379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19384 new VIS2 routines.
19385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19388 Likewise.
19389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19394 routines to libm-sysdep_routines.
19395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19396
65a82e3d
DM
19397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19398 fdim/fdimf to libm-sysdep_routines.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19400 file.
19401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19403 file.
19404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19407 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19408 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19409 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19410 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19411
e34ab705
SP
194122013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19413
2a91b573
SP
19414 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19415 to optimize copies.
19416
1066a534
SP
19417 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19420
e34ab705
SP
19421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19422 local variable MPTWO.
19423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19424 Likewise.
19425
aba5e596
MF
194262013-01-13 Mike Frysinger <vapier@gentoo.org>
19427
19428 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19429 GLOB_NOESCAPE.
19430
e557e9e5
MF
194312013-01-13 Mike Frysinger <vapier@gentoo.org>
19432
19433 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19434
0428cec9
MF
194352013-01-13 Mike Frysinger <vapier@gentoo.org>
19436
19437 * manual/pattern.texi (glob_t): Document gl_flags.
19438 (glob64_t): Likewise.
19439
8794a964
DM
194402013-01-11 David S. Miller <davem@davemloft.net>
19441
66438c3f
RM
19442 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19443 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19444 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19445 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19446 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19447 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19448 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19449 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19450 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19451 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19452 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19453 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19454 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19455
4ae4244d
DM
19456 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19457 sparc V9 rather than using V8 code.
19458 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19459 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19460
8794a964
DM
19461 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19462 Move to...
19463 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19464 Here.
19465
6270516e
RM
194662013-01-11 Roland McGrath <roland@hack.frob.com>
19467
19468 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19469 not in the main loop.
19470 * configure: Regenerated.
19471
6a57d931
JM
194722013-01-11 Joseph Myers <joseph@codesourcery.com>
19473
19474 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19475 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19476 to just #else.
19477 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19478 [!__GLIBC_HAVE_LONG_LONG] case.
19479 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19480 condition to just #else.
19481 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19482 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19483 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19484 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19485 unconditional.
19486 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19487 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19488 #elif condition to just #else.
19489 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19490 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19491 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19492 #elif condition to just #else.
19493
0e8529e9
SE
194942013-01-11 Steve Ellcey <sellcey@mips.com>
19495
19496 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19497 (EF_MIPS_ARCH_64): Fix value.
19498 (EF_MIPS_ARCH_32R2): New.
19499 (EF_MIPS_ARCH_64R2): New.
19500
740b3dbe
L
195012013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19502
19503 * Makeconfig (+link-pie-before-libc): New.
19504 (+link-pie-after-libc): Likewise.
19505 (+link-pie-tests): Likewise.
19506 (+link-pie): Rewritten.
19507 (link-before-libc): Remove $(config-LDFLAGS).
19508 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19509 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19510 (config-LDFLAGS): Renamed to ...
19511 (rtld-LDFLAGS): This.
19512 (rtld-tests-LDFLAGS): New macro.
19513 (link-libc-rpath-link): Likewise.
19514 (link-libc-tests-rpath-link): Likewise.
19515 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19516 (link-libc): Prepand $(link-libc-rpath-link).
19517 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19518 (test-program-prefix): New macro.
19519 (test-via-rtld-prefix): Likewise.
19520 (test-program-cmd): Likewise.
19521 (host-test-program-cmd): Likewise.
19522 * Makefile ($(common-objpfx)testrun.sh): Replace
19523 $(run-program-prefix) with $(test-program-prefix).
19524 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19525 $(rtld-LDFLAGS).
19526 ($(common-objpfx)shlib.lds): Likewise.
19527 (build-module-helper): Likewise.
19528 ($(common-objpfx)format.lds): Likewise.
19529 * Rules (binaries-pie-tests): New.
19530 (binaries-pie-notests): Likewise.
19531 (binaries-pie): Rewritten.
19532 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19533 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19534 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19535 (make-test-out): Replace $(host-built-program-cmd) with
19536 $(host-test-program-cmd).
19537 * config.make.in (build-hardcoded-path-in-tests): New variable.
19538 * configure.in (--enable-hardcoded-path-in-tests): New configure
19539 option.
19540 (hardcoded_path_in_tests): New AC_SUBST.
19541 * configure: Regenerated.
19542 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19543 $(built-program-cmd) with $(test-program-cmd).
19544 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19545 (test_program_cmd): This.
19546 * elf/Makefile ($(objpfx)order.out): Run test with
19547 $(test-program-prefix).
19548 ($(objpfx)order2.out): Likewise.
19549 ($(objpfx)tst-initorder.out): Likewise.
19550 ($(objpfx)tst-initorder2.out): Likewise.
19551 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19552 $(test-program-cmd).
19553 ($(objpfx)tst-array1-static.out): Likewise.
19554 ($(objpfx)tst-array2.out): Likewise.
19555 ($(objpfx)tst-array3.out): Likewise.
19556 ($(objpfx)tst-array4.out): Likewise.
19557 ($(objpfx)tst-array5.out): Likewise.
19558 ($(objpfx)tst-array5-static.out): Likewise.
19559 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19560 $(test-program-cmd).
19561 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19562 $(run-program-prefix) with $(test-program-prefix).
19563 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19564 (test_program_prefix): This.
19565 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19566 $(run-program-prefix) with $(test-program-prefix).
19567 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19568 (test_program_prefix): This.
19569 * iconvdata/tst-tables.sh: Likewise.
19570 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19571 $(run-program-prefix) with $(test-program-prefix).
19572 ($(objpfx)tst-translit.out): Likewise.
19573 ($(objpfx)tst-gettext2.out): Likewise.
19574 ($(objpfx)tst-gettext4.out): Likewise.
19575 ($(objpfx)tst-gettext6.out): Likewise.
19576 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19577 (test_program_prefix): This.
19578 * intl/tst-gettext2.sh: Likewise.
19579 * intl/tst-gettext4.sh Likewise.
19580 * intl/tst-gettext6.sh: Likewise.
19581 * intl/tst-translit.sh: Likewise.
19582 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19583 with $(test-program-cmd).
19584 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19585 $(run-program-prefix) with $(test-program-prefix).
19586 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19587 (test_program_prefix): This.
19588 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19589 $(run-program-prefix) with $(test-program-prefix).
19590 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19591 (test_program_prefix): This.
19592 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19593 * posix/Makefile ($(objpfx)globtest.out): Replace
19594 $(run-via-rtld-prefix) and $(test-wrapper) with
19595 $(test-program-prefix) and $(test-via-rtld-prefix).
19596 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19597 $(test-program-prefix).
19598 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19599 $(host-test-program-cmd).
19600 (tst-spawn-ARGS): Likewise.
19601 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19602 $(test-program-prefix).
19603 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19604 (test_via_rtld_prefix): This.
19605 (test_wrapper): Renamed to ...
19606 (test_program_prefix): This.
19607 (run_program_prefix): Replaced by test_program_prefix.
19608 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19609 (test_program_prefix): This.
19610 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19611 with $(host-test-program-cmd).
19612 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19613 $(run-program-prefix) with $(test-program-prefix).
19614 ($(objpfx)tst-printf.out): Likewise.
19615 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19616 $(test-program-cmd).
19617 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19618 (test_program_prefix): This.
19619 * stdio-common/tst-unbputc.sh: Likewise.
19620 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19621 $(run-program-prefix) with $(test-program-prefix).
19622 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19623 (test_program_prefix): This.
19624 * string/Makefile ($(objpfx)tst-svc.out): Replace
19625 $(built-program-cmd) with $(test-program-cmd).
19626
c6fe55cf
AJ
196272013-01-11 Andreas Jaeger <aj@suse.de>
19628
19629 [BZ #15003]
19630 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19631 value. Sync with Linux 3.7.
19632
9e6919c8
DM
196332013-01-10 David S. Miller <davem@davemloft.net>
19634
19635 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19636 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19637 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19638
1c9f1a02
RM
196392013-01-10 Roland McGrath <roland@hack.frob.com>
19640
19641 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19642 never set.
19643 * configure: Regenerated.
19644
b9de2dde
DM
196452013-01-10 David S. Miller <davem@davemloft.net>
19646
19647 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19648 sparc V9 rather than using V8 code.
19649 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19650 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19651
e7f68ef4
RM
196522013-01-10 Roland McGrath <roland@hack.frob.com>
19653
19654 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19655 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19656 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19657 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19658 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19659 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19660 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19661 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19662 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19663 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19664 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19665 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19666 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19667 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19668 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19669 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19670 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19671 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19672 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19673 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19674 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19675 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19676 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19677 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19678 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19679 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19680 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19681
5a47cc9c
DM
196822013-01-10 David S. Miller <davem@davemloft.net>
19683
19684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19685
4cf8f209
L
196862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19687
19688 * posix/Makefile (tests-static): New variable.
19689 (tests): Add $(tests-static).
19690 (tst-exec-static-ARGS): New variable.
19691 (tst-spawn-static-ARGS): Likewise.
19692 * posix/tst-exec-static.c: New file.
19693 * posix/tst-spawn-static.c: Likewise.
19694 * posix/tst-exec.c: Support run directly.
19695 * posix/tst-spawn.c: Likewise.
19696
fed0faa1
JM
196972013-01-10 Joseph Myers <joseph@codesourcery.com>
19698
828beb13
JM
19699 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19700 long.
19701 * math/bits/mathcalls.h (llrint): Likewise.
19702 (llround): Likewise.
19703 * stdlib/stdlib.h (struct drand48_data): Likewise.
19704 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19705 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19706 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19707 Likewise.
19708 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19709 Likewise.
19710 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19711 (elf_greg_t): Likewise.
19712 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19713 (__jmp_buf): Likewise.
19714 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19715 definitions.
19716 (llrint): Likewise, for all definitions.
19717 (llrintl): Likewise.
19718
fed0faa1
JM
19719 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19720 Remove [__GNUC__] condition.
19721 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19722 condition to just [__USE_ISOC99].
19723 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19724
1a20cb20
L
197252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19726
19727 [BZ #14200]
19728 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19729 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19730 defined.
19731 (_POSIX_V6_ILP32_OFF32): Likewise.
19732 (_XBS5_ILP32_OFF32): Likewise.
19733 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19734 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19735
751b85f7
SP
197362013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19737
7490eb81
SP
19738 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19739
751b85f7
SP
19740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19741 doubles __mpexp_twomm1. Adjust usage.
19742 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19743 Remove.
19744
988197f0
AS
197452013-01-10 Andreas Schwab <schwab@suse.de>
19746
19747 [BZ #14964]
19748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19749 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19750
e83d7298
DM
197512013-01-09 David S. Miller <davem@davemloft.net>
19752
034ed64b 19753 [BZ #15003]
57f41c40
AS
19754 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19755 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19756 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19757 (TCP_FASTOPEN): Define.
e83d7298
DM
19758 (tcp_repair_opt): New structure.
19759 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19760 enum values.
57f41c40
AS
19761 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19762 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19763 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19764 (tcp_cookie_transactions): New structure.
19765
d5e0b9bd
AB
197662013-01-09 Anton Blanchard <anton@samba.org>
19767
19768 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19769 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19770 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19771 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19772
0c07e3ea
JM
197732013-01-09 Joseph Myers <joseph@codesourcery.com>
19774
19775 * include/features.h (__USE_ANSI): Remove.
19776
232f7002
RM
197772013-01-09 Roland McGrath <roland@hack.frob.com>
19778
ad98e30c
RM
19779 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19780
232f7002
RM
19781 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19782
950c99ca
SP
197832013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19784
b5792741
SP
19785 * sysdeps/s390/fpu/libm-test-ulps: Update.
19786
47cf2278
SP
19787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19788
950c99ca
SP
19789 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19790 (__acr): Likewise.
19791 (__cpy): Likewise.
19792 (norm): Likewise.
19793 (denorm): Likewise.
19794 (__mp_dbl): Likewise.
19795 (__dbl_mp): Likewise.
19796 (add_magnitudes): Likewise.
19797 (sub_magnitudes): Likewise.
19798 (__add): Likewise.
19799 (__sub): Likewise.
19800 (__mul): Likewise.
19801 (__inv): Likewise.
19802 (__dvd): Likewise.
19803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19804 (__acr): Likewise.
19805 (__cpy): Likewise.
19806 (norm): Likewise.
19807 (denorm): Likewise.
19808 (__mp_dbl): Likewise.
19809 (__dbl_mp): Likewise.
19810 (add_magnitudes): Likewise.
19811 (sub_magnitudes): Likewise.
19812 (__add): Likewise.
19813 (__sub): Likewise.
19814 (__mul): Likewise.
19815 (__inv): Likewise.
19816 (__dvd): Likewise.
19817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19818 (__acr): Likewise.
19819 (__cpy): Likewise.
19820 (norm): Likewise.
19821 (denorm): Likewise.
19822 (__mp_dbl): Likewise.
19823 (__dbl_mp): Likewise.
19824 (add_magnitudes): Likewise.
19825 (sub_magnitudes): Likewise.
19826 (__add): Likewise.
19827 (__sub): Likewise.
19828 (__mul): Likewise.
19829 (__inv): Likewise.
19830 (__dvd): Likewise.
19831
eede9df9
JM
198322013-01-08 Joseph Myers <joseph@codesourcery.com>
19833
19834 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19835 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19836 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19837 2 && __USE_EXTERN_INLINES]: Likewise.
19838
c40ea3d9
AJ
198392013-01-08 Andreas Jaeger <aj@suse.de>
19840
19841 [BZ# 14985]
19842 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19843 Remove.
19844 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19845 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19846
2ccdea26
AB
198472013-01-07 Anton Blanchard <anton@samba.org>
19848
19849 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19850 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19851 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19852 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19853 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19854 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19855 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19856 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19859 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19860 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19861 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19862 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19864 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19867 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19869 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19870 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19872 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19873 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19874 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19875 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19876 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19878 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19879 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19881 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19882 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19883 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19884 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19885 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19886 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19887 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19889 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19890 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19891 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19892
a9708fed
JM
198932013-01-07 Joseph Myers <joseph@codesourcery.com>
19894
375607b9
JM
19895 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19896 (__MALLOC_PMT): Likewise.
19897 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19898 [__GNUC__], only on [_LIBC].
19899 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19900 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19901 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19902 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19903 forward declaration.
19904 (realloc_hook_ini): Likewise.
19905 (memalign_hook_ini): Likewise.
19906 (__libc_memalign): Do not use __MALLOC_PMT in variable
19907 declaration.
19908 (__libc_valloc): Likewise.
19909 (__libc_pvalloc): Likewise.
19910 (__libc_calloc): Likewise.
19911 (__posix_memalign): Likewise.
19912
a9708fed
JM
19913 [BZ #14996]
19914 * math/s_casinh.c: Include <float.h>.
19915 (__casinh): Do not do computation with squaring and square root
19916 for large arguments.
19917 * math/s_casinhf.c: Include <float.h>.
19918 (__casinhf): Do not do computation with squaring and square root
19919 for large arguments.
19920 * math/s_casinhl.c: Include <float.h>.
19921 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19922 (__casinhl): Do not do computation with squaring and square root
19923 for large arguments.
19924 * math/libm-test.inc (casin_test): Add more tests.
19925 (casinh_test): Likewise.
19926 * sysdeps/i386/fpu/libm-test-ulps: Update.
19927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19928
afec409a
L
199292013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19930
19931 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19932 (__x86_64_raw_data_cache_size): Likewise.
19933 (__x86_64_data_cache_size_half): Likewise.
19934 (__x86_64_raw_data_cache_size_half): Likewise.
19935 (__x86_64_shared_cache_size): Likewise.
19936 (__x86_64_raw_shared_cache_size): Likewise.
19937 (__x86_64_shared_cache_size_half): Likewise.
19938 (__x86_64_raw_shared_cache_size_half): Likewise.
19939 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19940 to ...
19941 (__x86_data_cache_size): This.
19942 (__x86_64_raw_data_cache_size): Renamed to ...
19943 (__x86_raw_data_cache_size): This.
19944 (__x86_64_data_cache_size_half): Renamed to ...
19945 (__x86_data_cache_size_half): This.
19946 (__x86_64_raw_data_cache_size_half): Renamed to ...
19947 (__x86_raw_data_cache_size_half): This.
19948 (__x86_64_shared_cache_size): Renamed to ...
19949 (__x86_shared_cache_size): This.
19950 (__x86_64_raw_shared_cache_size): Renamed to ...
19951 (__x86_raw_shared_cache_size): This.
19952 (__x86_64_shared_cache_size_half): Renamed to ...
19953 (__x86_shared_cache_size_half): This.
19954 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19955 (__x86_raw_shared_cache_size_half): This.
19956 * sysdeps/x86_64/memcpy.S: Updated.
19957 * sysdeps/x86_64/memset.S: Likewise.
19958 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19961
0b3986d0
DM
199622013-01-04 David S. Miller <davem@davemloft.net>
19963
19964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19965
e47686e9
AS
199662013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19967
d643bac1
AS
19968 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19969 1 to avoid redefinition warning.
19970 (__USE_GNU): Don't define.
19971 (init_signaling_nan): Protoize.
19972
e47686e9
AS
19973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19974
b18decba
SP
199752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
fffb407f
SP
19977 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19979 (__cpymn): Likewise.
19980 (norm): Remove commented code.
19981 (denorm): Likewise.
19982 (__mp_dbl): Likewise.
19983 (__inv): Likewise.
19984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19985 (__cpymn): Likewise.
19986 (norm): Remove commented code.
19987 (denorm): Likewise.
19988 (__mp_dbl): Likewise.
19989 (__inv): Likewise.
19990
b18decba
SP
19991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19992 mp_no value for 1.0 and 2.0.
19993 (norm): Use RADIXI instead of radixi.d.
19994 (denorm): Likewise.
19995 (__mul): Use 0.0 instead of zero.d.
19996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19997 mp_no value for 1.0 and 2.0.
19998 (norm): Use RADIXI instead of radixi.d.
19999 (denorm): Likewise.
20000 (__mul): Use 0.0 instead of zero.d.
20001
cdc1c96f
JM
200022013-01-04 Joseph Myers <joseph@codesourcery.com>
20003
20004 [BZ #14994]
20005 * math/s_casinh.c (__casinh): Reduce finite argument to first
20006 quadrant then set signs of results at the end.
20007 * math/s_casinhf.c (__casinhf): Likewise.
20008 * math/s_casinhl.c (__casinhl): Likewise.
20009 * math/libm-test.inc (casin_test): Add more tests.
20010 (casinh_test): Likewise.
20011 * sysdeps/i386/fpu/libm-test-ulps: Update.
20012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20013
302913e1
SP
200142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20015
6420d207
SP
20016 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20017
a9e48ab4
SP
20018 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20019
b7837264
SP
20020 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20021 declarations.
20022 (denorm): Likewise.
20023 (__mp_dbl): Likewise.
20024 (__inv): Likewise.
20025
f8af25d2
SP
20026 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20027 and adjust the header comment.
20028
302913e1
SP
20029 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20030 variable name from declaration.
20031
5d7dd1ca
L
200322013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20033
20034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20035 Initialize COMMON_CPUID_INDEX_7 element.
20036 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20037 (CPUID_RTM): Likewise.
20038 (HAS_RTM): Likewise.
20039 (COMMON_CPUID_INDEX_7): New enum.
20040
2f5f40f4
AS
200412013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20042
20043 [BZ #14981]
20044 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20045 size is zero, record memory as freed.
20046
4056f4a0
AJ
200472013-01-03 Andreas Jaeger <aj@suse.de>
20048
20049 * po/ia.po: Add new Interlingua translation.
20050
ab15736f 200512012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20052
20053 * locale/programs/localedef.c: Fix description of '--posix' flag.
20054
568035b7
JM
200552013-01-02 Joseph Myers <joseph@codesourcery.com>
20056
e6898b8d
JM
20057 * NEWS: Update dates in second copyright notice.
20058 * README: Update copyright dates in example.
20059 * manual/libc.texinfo: Update copyright dates.
20060 * scripts/test-installation.pl: Update copyright date in --version
20061 output.
20062
0e2f9562
JM
20063 * hurd/ctty-input.c: Fix copyright notice formatting.
20064 * hurd/ctty-output.c: Likewise.
20065 * hurd/dtable.c: Likewise.
20066 * hurd/hurd-raise.c: Likewise.
20067 * hurd/hurdprio.c: Likewise.
20068 * hurd/msgportdemux.c: Likewise.
20069 * misc/sys/file.h: Likewise.
20070 * misc/sys/ioctl.h: Likewise.
20071 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20072 * sysdeps/mach/hurd/chdir.c: Likewise.
20073 * sysdeps/mach/hurd/fchdir.c: Likewise.
20074 * sysdeps/mach/hurd/rename.c: Likewise.
20075 * sysdeps/mach/hurd/rmdir.c: Likewise.
20076 * sysdeps/mach/hurd/seekdir.c: Likewise.
20077 * sysdeps/mach/hurd/setsid.c: Likewise.
20078 * sysdeps/posix/wait3.c: Likewise.
20079
568035b7
JM
20080 * All files with FSF copyright notices: Update copyright dates
20081 using scripts/update-copyrights.
20082 * intl/plural.c: Regenerated.
20083 * locale/programs/charmap-kw.h: Likewise.
20084 * locale/programs/locfile-kw.h: Likewise.
20085
da08f647
SP
200862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20087
0f5477af
SP
20088 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20089 four values.
20090
44e0d4c2
SP
20091 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20092 calculation loop and add branch prediction.
20093
4d55b4e5
SP
20094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20095 check access beyond bounds of m1np.
20096
da08f647
SP
20097 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20098 MPTWO.
20099 (__inv): Remove local variable MPTWO to use the global
20100 constant.
20101 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20102 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20103 variable MPTWO.
20104 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20105 MP3HALFS static const.
20106
8e051029
DM
201072013-01-01 David S. Miller <davem@davemloft.net>
20108
20109 * po/ca.po: Update from translation team.
20110
f4cf5f2d
JM
201112013-01-01 Joseph Myers <joseph@codesourcery.com>
20112
20113 * scripts/update-copyrights: New file.
20114 * Makeconfig: Reformat copyright notice.
20115 * ctype/ctype.h: Likewise.
20116 * debug/swprintf_chk.c: Likewise.
20117 * elf/dl-cache.c: Likewise.
20118 * elf/dl-debug.c: Likewise.
20119 * elf/dl-object.c: Likewise.
20120 * grp/initgroups.c: Likewise.
20121 * hurd/Makefile: Likewise.
20122 * hurd/hurd/signal.h: Likewise.
20123 * hurd/hurdfault.c: Likewise.
20124 * hurd/hurdioctl.c: Likewise.
20125 * hurd/hurdlookup.c: Likewise.
20126 * hurd/intr-msg.c: Likewise.
20127 * iconv/gconv_open.c: Likewise.
20128 * libio/swprintf.c: Likewise.
20129 * locale/lc-ctype.c: Likewise.
20130 * locale/nl_langinfo.c: Likewise.
20131 * mach/Machrules: Likewise.
20132 * mach/Makefile: Likewise.
20133 * malloc/obstack.h: Likewise.
20134 * manual/Makefile: Likewise.
20135 * manual/tsort.awk: Likewise.
20136 * misc/bits/stab.def: Likewise.
20137 * nis/nis_print_group_entry.c: Likewise.
20138 * nis/nis_table.c: Likewise.
20139 * nis/nss_compat/compat-pwd.c: Likewise.
20140 * nis/nss_compat/compat-spwd.c: Likewise.
20141 * po/Makefile: Likewise.
20142 * posix/fnmatch.c: Likewise.
20143 * posix/regex.h: Likewise.
20144 * resolv/Makefile: Likewise.
20145 * resolv/nss_dns/dns-network.c: Likewise.
20146 * resolv/res_hconf.c: Likewise.
20147 * scripts/gen-sorted.awk: Likewise.
20148 * soft-fp/soft-fp.h: Likewise.
20149 * stdio-common/printf.h: Likewise.
20150 * stdlib/monetary.h: Likewise.
20151 * stdlib/random.c: Likewise.
20152 * stdlib/random_r.c: Likewise.
20153 * sysdeps/generic/Makefile: Likewise.
20154 * sysdeps/gnu/Makefile: Likewise.
20155 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20169 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20171 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20173 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20176 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20183 * sysdeps/mach/hurd/errnos.awk: Likewise.
20184 * sysdeps/mach/hurd/fork.c: Likewise.
20185 * sysdeps/mach/hurd/getcwd.c: Likewise.
20186 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20187 * sysdeps/mach/hurd/mmap.c: Likewise.
20188 * sysdeps/mach/hurd/utimes.c: Likewise.
20189 * sysdeps/mach/hurd/xmknod.c: Likewise.
20190 * sysdeps/posix/profil.c: Likewise.
20191 * sysdeps/posix/readdir_r.c: Likewise.
20192 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20193 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20194 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20195 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20197 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20198 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20199 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20201 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20202 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20203 * sysdeps/pthread/lio_listio.c: Likewise.
20204 * sysdeps/sparc/dl-procinfo.h: Likewise.
20205 * sysdeps/unix/i386/sysdep.S: Likewise.
20206 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20207 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20208 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20209 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20211 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20212 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20213 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20214 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20215 * sysdeps/wordsize-32/divdi3.c: Likewise.
20216 * time/sys/time.h: Likewise.
20217 * wcsmbs/Makefile: Likewise.
20218
0549fbba
DM
202192013-01-01 David S. Miller <davem@davemloft.net>
20220
a141f1a7
DM
20221 * po/fr.po: Update from translation team.
20222
0549fbba
DM
20223 * catgets/gencat.c: Update copyright year.
20224 * csu/version.c: Likewise.
20225 * debug/catchsegv.sh: Likewise.
20226 * debug/pcprofiledump.c: Likewise.
20227 * debug/xtrace.sh: Likewise.
20228 * elf/ldconfig.c: Likewise.
20229 * elf/ldd.bash.in: Likewise.
20230 * elf/pldd.c: Likewise.
20231 * elf/sotruss.ksh: Likewise.
20232 * elf/sprof.c: Likewise.
20233 * iconv/iconv_prog.c: Likewise.
20234 * iconv/iconvconfig.c: Likewise.
20235 * locale/programs/locale.c: Likewise.
20236 * locale/programs/localedef.c: Likewise.
20237 * login/programs/pt_chown.c: Likewise.
20238 * malloc/memusage.sh: Likewise.
20239 * malloc/memusagestat.c: Likewise.
20240 * malloc/mtrace.pl: Likewise.
20241 * nscd/nscd.c: Likewise.
20242 * nss/getent.c: Likewise.
20243 * nss/makedb.c: Likewise.
20244 * posix/getconf.c: Likewise.
20245
18ea052c
SP
202462012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20247
20248 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20249 numbers.
20250
9c89fca6
MF
202512012-12-30 Mike Frysinger <vapier@gentoo.org>
20252
20253 * math/bits/mathcalls.h (modf): Use __nonnull.
20254
085ec079
SP
202552012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20256
20257 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20258 (split): Use macro CN instead of the bare value.
20259 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20260 could be used.
20261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20262 instead of the bare value.
20263 (power1): Likewise.
20264
6d9f97e1
SP
202652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20266
d63f73be
SP
20267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20268 __ATAN_TWOM.
20269 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20270
6d9f97e1
SP
20271 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20272 their values.
20273 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20275 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20276 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20277
4c4febf5
AJ
202782012-12-28 Andreas Jaeger <aj@suse.de>
20279
af5843ef
AJ
20280 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20281 values are from Linux 3.7.
20282
4c4febf5
AJ
20283 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20284 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20285
99136f82
SP
202862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20287
2f216c3c 20288 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20289 TRUE case.
20290
99136f82
SP
20291 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20292 (norm): Likewise.
20293 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20294 variables with preprocessor constants.
20295 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20296 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20297 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20298
7fffbdff
BH
202992012-12-27 Bruno Haible <bruno@clisp.org>
20300
20301 [BZ #14317]
20302 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20303 only if needed.
20304
b76eb5f0
SP
203052012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20306
31a7fe5c
SP
20307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20308 and use variable directly.
20309 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20310
b76eb5f0
SP
20311 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20312 MPONE.
20313 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20315 variable MPONE.
20316 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20318 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20319 include directive. Remove local variable MPONE.
20320 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20321 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20322 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20323
2c8bfe7d
DM
203242012-12-25 David S. Miller <davem@davemloft.net>
20325
20326 * version.h (RELEASE): Set to "development".
20327 (VERSION): Set to "2.17.90".
20328 * NEWS: Add 2.18 section.
20329
147d03b0
DM
203302012-12-21 David S. Miller <davem@davemloft.net>
20331
20332 * po/hr.po: Update from translation team.
20333
a8ebb2b9
AK
203342012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20335
20336 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20337
95b4f1b6
SE
203382012-12-19 Steve Ellcey <sellcey@mips.com>
20339
b2d94007 20340 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20341
cedb2a90
MS
203422012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20343
20344 * manual/contrib.texi (Contributors): Spelling correction.
20345
bbf527d6
DM
203462012-12-15 David S. Miller <davem@davemloft.net>
20347
20348 * po/ru.po: Update from translation team.
20349
bc38c906
DM
203502012-12-13 David S. Miller <davem@davemloft.net>
20351
85429b1a
DM
20352 * NEWS: Mention IFUNC testsuite enhancements.
20353
d283e353
DM
20354 * po/pl.po: Update from translation team.
20355 * po/bg.po: Likewise.
20356
bc38c906
DM
20357 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20358 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20359
a181b0d7
DM
203602012-12-11 David S. Miller <davem@davemloft.net>
20361
4641d57e
DM
20362 * po/sv.po: Update from translation team.
20363
f7bc6495
DM
20364 * po/vi.po: Update from translation team.
20365
6fc9048f
DM
20366 * po/cs.po: Update from translation team.
20367
a181b0d7
DM
20368 * po/de.po: Update from translation team.
20369 * po/eo.po: Likewise.
20370 * po/nl.po: Likewise.
20371
f70bfe80
SP
203722012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20373
3c8b4190
SP
20374 [BZ #14246]
20375 * manual/argp.texi (Argp Helper Functions): Move node to follow
20376 Argp Parsing State.
20377
f70bfe80
SP
20378 [BZ #14872]
20379 * manual/conf.texi (Limits on File System Capacity): Mention if
20380 terminating null is included in the max size.
20381
188f0adf
AJ
203822012-12-10 Andreas Jaeger <aj@suse.de>
20383
20384 * po/cs.po: Update from translation team.
20385
56e7d3ad
SP
203862012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20387
20388 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20389 void pointer and cast to uintptr_t.
20390 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20391 path.
20392 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20393 * sysdeps/s390/s390-64/memset.S: Likewise.
20394
76f2d2ea 203952012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20396
20397 [BZ #14833]
20398 * menual/message.texi (Message Translation): Fix typos.
20399 (Helper programs for gettext): Likewise.
20400
67cbf9a2
AS
204012012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20402
20403 [BZ #14898]
20404 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20405 Change to -1.
20406
682d0e9a
DM
204072012-12-07 David S. Miller <davem@davemloft.net>
20408
20409 * po/libc.pot: Update.
20410
573cd484
RH
204112012-12-07 Richard Henderson <rth@redhat.com>
20412
7e9da188 20413 [BZ #10114]
573cd484
RH
20414 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20415 normal/normal case to before the switch.
20416 (_FP_DIV): Likewise.
20417
e933a943
MF
204182012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20419 Mike Frysinger <vapier@gentoo.org>
20420
20421 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20422 check for __NR_fadvise64_64.
20423
82123268
CM
204242012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20425
20426 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20427 0, not just to plain "0" as a statement.
20428 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20429 with cw.
20430
d9814526
JM
204312012-12-06 Joseph Myers <joseph@codesourcery.com>
20432
20433 * NEWS: Use sourceware.org in Bugzilla URL.
20434
7728c574
SP
204352012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20436
f16946dd
SP
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20438 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20439
5704bbcb
SP
20440 * stdio-common/tst-put-error.c (do_test): Add newline to the
20441 padded test to ensure flush.
20442
17aa0516
JL
204432012-12-05 Jeff Law <law@redhat.com>
20444
20445 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20446
363313b5
JM
204472012-12-05 Joseph Myers <joseph@codesourcery.com>
20448
effbd42a
JM
20449 * README: Don't refer to ports add-on as distributed separately.
20450 Mention AArch64 in list of systems supported in the ports add-on.
20451
87600365
JM
20452 * LICENSES: Add more non-FSF copyright and license notices.
20453
a0d7066a
JM
20454 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20455 ((unused)).
20456
66ca5a5b
JM
20457 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20458
363313b5
JM
20459 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20460 10000 as width of padded output.
20461
b37984ad
JM
204622012-12-04 Joseph Myers <joseph@codesourcery.com>
20463
9003570a
JM
20464 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20465
b37984ad
JM
20466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20467 variable LX with __attribute__ ((unused)).
20468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20469 Likewise.
20470 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20471 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20472 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20473 with __attribute__ ((unused)).
20474
c8df52ec
DM
204752012-12-04 David S. Miller <davem@abraco.davemloft.net>
20476
20477 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20478
b3b099af
JM
204792012-12-04 Joseph Myers <joseph@codesourcery.com>
20480
c33aa6e3
JM
20481 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20482 (CFLAGS-nldbl-acos.c): New variable.
20483 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20484 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20485 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20486 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20487 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20488 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20506 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20507 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20508 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20509 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20510 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20511 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20512 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20513 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20514 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20515 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20516 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20517 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20518 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20519 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20520 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20521 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20522 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20523 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20524 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20525 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20526 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20527 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20528 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20529 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20530 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20531 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20532 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20533 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20534 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20535 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20536 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20537 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20538 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20539 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20540 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20541 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20542 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20543 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20544 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20545 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20546 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20547 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20548 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20549 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20550 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20551 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20552 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20553 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20554 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20555 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20556 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20557 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20558 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20559 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20560 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20561 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20562 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20563 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20564 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20565 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20566 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20567 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20568 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20569 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20570 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20571 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20572 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20573 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20574 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20575 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20576 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20577 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20578 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20579 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20580
20f0018d
JM
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20582 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20583
b3b099af
JM
20584 [BZ #14914]
20585 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20586 whole low double instead of just low 47 bits when splitting values
20587 into two parts.
20588
029264d1
AM
205892012-12-03 Allan McRae <allan@archlinux.org>
20590
20591 * manual/stdio.texi (Predefined Printf Handlers): Remove
20592 @hsep and @vsep usage.
20593
c9d6789e
MF
205942012-12-03 Mike Frysinger <vapier@gentoo.org>
20595
20596 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20597 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20598
4b7634a5
JL
205992012-12-03 Jeff Law <law@redhat.com>
20600
20601 * time/sys/time.h (settimeofday): Do not mark TV argument
20602 as __nonnull.
20603
eb6cbd24
MF
206042012-12-01 Mike Frysinger <vapier@gentoo.org>
20605
20606 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20607 when currently writing and seek to current position when not.
20608 * libio/Makefile (tests): Remove bug-fclose1.
20609 * libio/bug-fclose1.c: Delete.
20610
f638872a
JM
206112012-12-01 Joseph Myers <joseph@codesourcery.com>
20612
20613 * manual/arith.texi (feenableexcept): Fix typo.
20614 (fedisableexcept): Likewise.
20615
48085d14
RM
206162012-11-30 Roland McGrath <roland@hack.frob.com>
20617
20618 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20619 second, differently-typed declaration, rather than a cast.
20620
1a538b9f
SP
206212012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20622
20623 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20624 * include/rpc/svc.h: ... here.
20625
d07f2ff1 206262012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20627
20628 [BZ #13013]
20629 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20630 depending n and resplen2 to catch cases where answer
20631 equals answerp2.
20632
c93ec1f0
CD
206332012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20634
20635 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20636 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20637
37db69de
MF
206382012-11-29 Mike Frysinger <vapier@gentoo.org>
20639
20640 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20641
e10c4e4f
RM
206422012-11-29 Roland McGrath <roland@hack.frob.com>
20643
20644 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20645
2af1b328
JL
206462012-11-28 Jeff Law <law@redhat.com>
20647
20648 [BZ #13761]
20649 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20650 dataset_temporary. Track alloca usage into alloca_used.
20651 If dataset is large allocate and release it via malloc/free.
20652
111db5b1
FW
206532012-06-04 Florian Weimer <fweimer@redhat.com>
20654
f06cc227 20655 [BZ #14197]
111db5b1
FW
20656 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20657
dd694abd
DM
206582012-11-28 David S. Miller <davem@davemloft.net>
20659
20660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20661
9984dd01
JM
206622012-11-28 Joseph Myers <joseph@codesourcery.com>
20663
20664 [BZ #14803]
20665 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20666 of pi/2 rounded to nearest to 64 bits.
20667 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20668 nearest to 64 bits.
20669 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20670 bits.
20671
14bc93a9
JL
206722012-11-28 Jeff Law <law@redhat.com>
20673 Martin Osvald <mosvald@redhat.com>
20674
20675 [BZ #14889]
20676 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20677 * sunrpc/svc.c: Include time.h.
20678 (__svc_accept_failed): New function.
20679 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20680 any reason other than EINTR, call __svc_accept_failed.
20681 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20682 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20683
e3c6aa3a
AS
206842012-11-28 Andreas Schwab <schwab@suse.de>
20685
20686 * scripts/abilist.awk: Also handle indirect functions in .opd
20687 section.
20688
1bead169
JM
206892012-11-28 Joseph Myers <joseph@codesourcery.com>
20690
20691 [BZ #13881]
20692 * sysdeps/x86/fpu/powl_helper.c: New file.
20693 * sysdeps/x86/fpu/Makefile: Likewise.
20694 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20695 (p3): New object.
20696 (__ieee754_powl): Use __powl_helper for finite arguments except
20697 integer exponents below 8.
20698 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20699 (p3): New object.
20700 (__ieee754_powl): Use __powl_helper for finite arguments except
20701 integer exponents below 8.
20702 * math/libm-test.inc (pow_test): Add more tests and enable some
20703 previously disabled tests.
20704 * sysdeps/i386/fpu/libm-test-ulps: Update.
20705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20706
0817d63d
SP
207072012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20708 Carlos O'Donell <carlos_odonell@mentor.com>
20709
20710 * nss/makedb.c (is_prime): Assert that input is odd and greater
20711 than 4. Note that fact in a comment too.
20712 (next_prime): Add 4 to input.
20713
de2fd463
SP
207142012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20715
20716 [BZ #11741]
20717 * libio/Makefile (tests): Add test case tst-fwrite-error.
20718 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20719 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20720 * libio/tst-fwrite-error.c: New test case.
20721
c515fb51
L
207222012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20725 before casting to void *.
20726 * include/libc-internal.h (__pointer_type): New macro.
20727 (__integer_if_pointer_type_sub): Likewise.
20728 (__integer_if_pointer_type): Likewise.
20729 (cast_to_integer): Likewise.
20730 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20731 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20732 before casting to atomic64_t.
20733 (atomic_exchange_acq): Likewise.
20734 (__arch_exchange_and_add_body): Likewise.
20735 (__arch_add_body): Likewise.
20736 (atomic_add_negative): Likewise.
20737 (atomic_add_zero): Likewise.
20738
4cf77aa9
JM
207392012-11-26 Joseph Myers <joseph@codesourcery.com>
20740
20741 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20742 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20743 (add_fdes): Likewise.
20744 (linear_search_fdes): Likewise.
20745 (binary_search_unencoded_fdes): Likewise.
20746
d260b3b4
AS
207472012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20748
20749 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20750
67060746
AC
207512012-11-24 Adam Conrad <adconrad@0c3.net>
20752
20753 * configure.in: Autodetect C++ header directories.
20754 * configure: Regenerated.
20755
800938a1
MF
207562012-11-23 Mike Frysinger <vapier@gentoo.org>
20757
20758 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20759
4e6e34e6
AS
207602012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20761
20762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20763
7c7feb47
JM
207642012-11-22 Joseph Myers <joseph@codesourcery.com>
20765
7184dcdf
JM
20766 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20767 LDBL_MANT_DIG == 106]: Disable some tests.
20768 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20769 Likewise.
20770 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20771 Likewise.
20772
0a42601f
JM
20773 [BZ #14871]
20774 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20775 input for small inputs. Return +/- pi/2 for large inputs.
20776 * math/libm-test.inc (atan_test): Add more tests.
20777
79c9b9fe
JM
20778 * sysdeps/generic/unwind-dw2-fde-glibc.c
20779 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20780 __attribute__ ((unused)).
20781
c60d3bf2
JM
20782 [BZ #14645]
20783 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20784 x * y if x and y are nonzero and z is zero.
20785
ef1e0867
JM
20786 [BZ #14811]
20787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20788 nonzero exponents with absolute value below 0x1p-117 to +/-
20789 0x1p-117.
20790
1468ded3
JM
20791 [BZ #14869]
20792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20793 up arguments below 2**-450, not just those below 2**-500.
20794 * math/libm-test.inc (hypot_test): Add another test.
20795
8e27e3cc
JM
20796 [BZ #14868]
20797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20798 Return a+b for ratio over 2**120, not 2**60.
20799 * math/libm-test.inc (hypot_test): Add another test.
20800
c9c0279b
JM
20801 * math/libm-test.inc (clog_test): Use
20802 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20803 (clog10_test): Likewise.
20804
7c7feb47
JM
20805 [BZ #6778]
20806 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20807
fff1530e
AS
208082012-11-22 Andreas Schwab <schwab@suse.de>
20809
20810 * sysdeps/i386/fpu/libm-test-ulps: Update.
20811
94558d30
PT
208122012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20813
20814 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20815 printf output with newline.
20816
7e1be741
L
208172012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20818
6bfea974
L
20819 [BZ #14865]
20820 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20821 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20822 -z nodlopen, -z initfirst and -z execstack support.
20823 * configure: Regenerated.
20824
7e1be741
L
20825 * elf/elf.h (DF_1_NODIRECT): New macro.
20826 (DF_1_IGNMULDEF): Likewise.
20827 (DF_1_NOKSYMS): Likewise.
20828 (DF_1_NOHDR): Likewise.
20829 (DF_1_EDITED): Likewise.
20830 (DF_1_NORELOC): Likewise.
20831 (DF_1_SYMINTPOSE): Likewise.
20832 (DF_1_GLOBAUDIT): Likewise.
20833 (DF_1_SINGLETON): Likewise.
20834 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20835 DT_1_SUPPORTED_MASK bits.
20836 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20837
105ce2ce
CD
208382012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20839
20840 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20841
123be9de
TS
208422012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20843
d072f3f7
TS
20844 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20845 macro.
20846
123be9de
TS
20847 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20848 (sendmmsg): Move declarations...
20849 * socket/sys/socket.h: ... here.
20850 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20851 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20852 include it from...
20853 * socket/recvmmsg.c: ... this new file.
20854 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20855 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20856 definition of __sendmmsg hidden.
20857 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20858 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20859 Move ENOSYS stub into and include it from...
20860 * socket/sendmmsg.c: ... this new file.
20861 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20862 (sysdep_routines): Move recvmmsg and sendmmsg...
20863 * socket/Makefile (routines): ... here.
20864 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20865 (GLIBC_PRIVATE): Add __sendmmsg.
20866 * include/sys/socket.h (__sendmmsg): Add declarations.
20867 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20868 sendmmsg.
20869
cf9a5d18
JM
208702012-11-20 Joseph Myers <joseph@codesourcery.com>
20871
20872 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20873 variable I1 with __attribute__ ((unused)).
20874 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20875
ecd4caf9
JM
208762012-11-19 Joseph Myers <joseph@codesourcery.com>
20877
be14d48f
JM
20878 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20879 DUMMY variables with __attribute__ ((unused)).
20880
ecd4caf9
JM
20881 * bits/byteswap.h: Include <bits/types.h>.
20882 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20883
986cab95
PT
208842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20885
20886 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20887 string_t. Do not manually set errno.
20888 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20889 length with __strnlen. Make sure to both set errno and return it on
20890 failure.
20891
6d33cc9d
DM
208922012-11-19 David S. Miller <davem@davemloft.net>
20893
20894 With help from Joseph Myers.
20895 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20896 very large arguments properly.
20897 * math/libm-test.inc (atan_test): New tests.
20898 (atan2_test): New tests.
20899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20901
ee663277
JM
209022012-11-19 Joseph Myers <joseph@codesourcery.com>
20903
877f2d8e
JM
20904 [BZ #14856]
20905 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20906 Define to 3.
20907
116fc08a
JM
20908 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20909 [POSIX] (EADDRNOTAVAIL): Likewise.
20910 [POSIX] (EAFNOSUPPORT): Likewise.
20911 [POSIX] (EALREADY): Likewise.
20912 [POSIX] (ECONNABORTED): Likewise.
20913 [POSIX] (ECONNREFUSED): Likewise.
20914 [POSIX] (ECONNRESET): Likewise.
20915 [POSIX] (EDESTADDRREQ): Likewise.
20916 [POSIX] (EDQUOT): Likewise.
20917 [POSIX] (EHOSTUNREACH): Likewise.
20918 [POSIX] (EIDRM): Likewise.
20919 [POSIX] (EISCONN): Likewise.
20920 [POSIX] (ELOOP): Likewise.
20921 [POSIX] (EMULTIHOP): Likewise.
20922 [POSIX] (ENETDOWN): Likewise.
20923 [POSIX] (ENETUNREACH): Likewise.
20924 [POSIX] (ENOBUFS): Likewise.
20925 [POSIX] (ENODATA): Likewise.
20926 [POSIX] (ENOLINK): Likewise.
20927 [POSIX] (ENOMSG): Likewise.
20928 [POSIX] (ENOPROTOOPT): Likewise.
20929 [POSIX] (ENOSR): Likewise.
20930 [POSIX] (ENOSTR): Likewise.
20931 [POSIX] (ENOTCONN): Likewise.
20932 [POSIX] (ENOTSOCK): Likewise.
20933 [POSIX] (EOPNOTSUPP): Likewise.
20934 [POSIX] (EOVERFLOW): Likewise.
20935 [POSIX] (EPROTO): Likewise.
20936 [POSIX] (EPROTONOSUPPORT): Likewise.
20937 [POSIX] (EPROTOTYPE): Likewise.
20938 [POSIX] (ESTALE): Likewise.
20939 [POSIX] (ETIME): Likewise.
20940 [POSIX] (ETXTBSY): Likewise.
20941 [POSIX] (EWOULDBLOCK): Likewise.
20942 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20943 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20944 [POSIX] (SEEK_CUR): Likewise.
20945 [POSIX] (SEEK_END): Likewise.
20946 [POSIX || UNIX98] (mode_t): Do not require.
20947 [POSIX] (off_t): Likewise.
20948 [POSIX] (pid_t): Likewise.
20949 [POSIX] (sys/stat.h): Do not allow header.
20950 [POSIX] (unistd.h): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20952 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20953 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20954 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20955 require.
20956 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20957 sigevent): Specify elements.
20958 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20959 entry.
20960 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20961 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20962
a483863f
JM
20963 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20964 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20965 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20966 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20967 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20968 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20969 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20970 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20971 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20972 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20973 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20974 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20975 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20976 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20977 Likewise.
20978 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20979 Likewise.
20980 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20981 Likewise.
20982 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20983 Likewise.
20984 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20985 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20986 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20987 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20988 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20989 Specify lower bound on value.
20990 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20996 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20997 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20998 value.
20999 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21000 as optional.
21001 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21012 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21013 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21014 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21015 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21016 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21017 entry.
21018 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21019 optional.
21020 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21022 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21023 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21024 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21025 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21026 Likewise.
21027 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21029 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21030 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21031 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21032 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21033 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21034 as optional.
21035 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21036 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21037 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21038 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21039 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21040 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21041 specify as optional.
21042 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21043 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21044 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21045 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21046 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21047 [XPG3] (NL_LANGMAX): Likewise.
21048 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21049 [POSIX || XPG3] (NL_NMAX): Likewise.
21050 [POSIX || XPG3] (NL_SETMAX): Likewise.
21051 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21052 [XPG3] (NZERO): Likewise.
21053 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21054 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21055 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21056 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21057 (REG_ERANGE): Expect.
21058 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21059 optional-constant.
21060 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21061 Use (void) in prototype.
21062 [POSIX] (*_t): Allow.
21063 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21064 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21065 (WRDE_BADVAL): Expect.
21066
5ba924e3
JM
21067 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21068 expect.
21069 [XPG3 || XPG4] (O_RSYNC): Likewise.
21070 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21071 Likewise.
21072 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21073 [XPG3 || XPG4] (sigqueue): Likewise.
21074 [XPG3 || XPG4] (sigtimedwait): Likewise.
21075 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21076 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21077 [XPG3 || XPG4] (vsnprintf): Likewise.
21078 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21079 Likewise.
21080 [XPG3 || XPG4] (blksize_t): Likewise.
21081 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21082 Likewise.
21083 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21084 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21085 [XPG3 || XPG4] (struct itimerspec): Likewise.
21086 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21087 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21088 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21089 [XPG3 || XPG4] (clockid_t): Likewise.
21090 [XPG3 || XPG4] (timer_t): Likewise.
21091 [XPG3 || XPG4] (clock_getres): Likewise.
21092 [XPG3 || XPG4] (clock_gettime): Likewise.
21093 [XPG3 || XPG4] (clock_settime): Likewise.
21094 [XPG3 || XPG4] (nanosleep): Likewise.
21095 [XPG3 || XPG4] (timer_create): Likewise.
21096 [XPG3 || XPG4] (timer_delete): Likewise.
21097 [XPG3 || XPG4] (timer_gettime): Likewise.
21098 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21099 [XPG3 || XPG4] (timer_settime): Likewise.
21100 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21101 [XPG3 || XPG4] (getlogin_r): Likewise.
21102 [XPG3 || XPG4] (pread): Likewise.
21103 [XPG3 || XPG4] (pthread_atfork): Likewise.
21104 [XPG3 || XPG4] (pwrite): Likewise.
21105
ee663277
JM
21106 [BZ #14835]
21107 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21108 <bits/siginfo.h>.
21109
942caa16
PT
211102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21111
e19af380
PT
21112 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21113 finalizing MALLSTREAM.
21114
942caa16
PT
21115 * sysdeps/mach/hurd/syncfs.c: New file.
21116
cfde9b46
SP
211172012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21118
21119 [BZ #14719]
21120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21121 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21123 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21124 (_nss_dns_gethostbyname4_r): Likewise.
21125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21126 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21127
f6da27e5
PH
211282012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21129
21130 [BZ #13763]
21131 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21132
6665d4a2
SM
211332012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21134
1f51ee92
SM
21135 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21136 * elf/cache.c (print_entry): Print ",AArch64" for
21137 FLAG_AARCH64_LIB64
21138
6665d4a2
SM
21139 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21140 * elf/cache.c (print_entry): Print ",hard-float" for
21141 FLAG_ARM_LIBHF.
21142
05b227bd
DM
211432012-11-18 David S. Miller <davem@davemloft.net>
21144
21145 With help from Joseph Myers.
21146 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21147 cutoff to 2**-13.
21148 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21149 cutoff to 2**-25.
21150 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21151 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21152 small.
21153 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21154 * math/libm-test.inc (y0_test): New tests.
21155 (y1_test): New tests.
21156 * sysdeps/i386/fpu/libm-test-ulps: Update.
21157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21159
786b0b67
AS
211602012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21161
21162 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21163 64-bit targets.
21164 * configure: Regenerated.
21165
8e18b86d
DM
211662012-11-17 David S. Miller <davem@davemloft.net>
21167
21168 [BZ #14811]
21169 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21170 nonzero exponents with absolute value below 0x1p-128 to +/-
21171 0x1p-128.
21172
531f1ae0
JM
211732012-11-17 Joseph Myers <joseph@codesourcery.com>
21174
12df29e2
JM
21175 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21176
150dc1a0
JM
21177 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21178
531f1ae0
JM
21179 * posix/getconf-speclist.c: New file.
21180 * posix/posix-envs.def: Likewise.
21181 * posix/confstr.c (START_ENV_GROUP): New macro.
21182 (END_ENV_GROUP): Likewise.
21183 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21184 (KNOWN_PRESENT_ENV_STRING): Likewise.
21185 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21186 (UNKNOWN_ENVIRONMENT): Likewise.
21187 (confstr): Include posix-envs.def instead of handling
21188 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21189 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21190 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21191 (END_ENV_GROUP): Likewise.
21192 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21193 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21194 (UNKNOWN_ENVIRONMENT): Likewise.
21195 (__sysconf): Include posix-envs.def instead of handling associated
21196 cases directly here.
21197 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21198 preprocessing getconf-speclist.c rather than running getconf or
21199 generating empty file.
21200
a93f9cbc
PT
212012012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21202
21203 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21204
d64d9f87
AL
212052012-11-16 Andrej Lajovic <natrij@gmail.com>
21206
21207 [BZ #14672]
21208 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21209
447885eb
DM
212102012-11-16 David S. Miller <davem@davemloft.net>
21211
21212 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21213 smaller than LDBL_EPSILON/2.0L, just return xm1.
21214
bcbf9830
L
212152012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21216
21217 * elf/tst-array1.c (init): Set constructor priority to 1000.
21218 (fini): Set destructor priority to 1000.
21219 * elf/tst-array2dep.c: Likewise.
21220
2b766585
SP
212212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21222
21223 [BZ #11741]
21224 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21225 (_IO_new_file_xsputn): Also return EOF if none of the input
21226 data was written when overflow failed.
21227 * libio/iopadn.c (_IO_padn): Likewise.
21228 * libio/iowpadn.c (_IO_wpadn): Likewise.
21229 * stdio-common/tst-put-error.c: Add copyright notice.
21230 (do_test): Add case for printing padded string.
21231 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21232 _IO_padn returned error.
21233 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21234 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21235 return EOF.
21236
b1848fde
SP
212372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21238
21239 * libio/libioP.h: Add comment note that the references to C++
21240 bits are now obsolete.
21241
2fd89785
MS
212422012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21243
21244 * math/libm-test.inc (check_complex): Use asprintf.
21245
e3ea5409
JM
212462012-11-14 Joseph Myers <joseph@codesourcery.com>
21247
21248 * debug/pcprofiledump.c (print_version): Update copyright year.
21249 * malloc/memusagestat.c (print_version): Likewise.
21250
2e64d265
L
212512012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21252
21253 [BZ #14831]
21254 * elf/Makefile (tests): Add tst-audit8.
21255 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21256 ($(objpfx)tst-audit8.out): New target.
21257 (tst-audit8-ENV): New variable.
21258 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21259 audit if l_reloc_result is NULL.
21260 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21261 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21262 * elf/tst-audit8.c: New file.
21263
c485e4d2
MS
212642012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21265
21266 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21267 * misc/Makefile (CFLAGS-select.c): Define.
21268 * posix/Makefile (CFLAGS-pause.c): Define.
21269
3a0d900a
DM
212702012-11-13 David S. Miller <davem@davemloft.net>
21271
21272 * crypt/Makefile: Move test targets after toplevel Rules
21273 inclusion. Grab any necessary sysdep routines when linking.
21274 * crypt/md5.c (md5_process_block): Remove define, we will always
21275 name it __md5_process_block.
21276 (md5_finish_ctx): Update md5_process_block call.
21277 (md5_stream): Likewise.
21278 (md5_process_bytes): Likewise.
21279 (md5_process_block): Rename to __md5_process_block and move to ...
21280 * crypt/md5-block.c: ... here.
21281 * crypt/sha256.c (sha256_process_block): Move to ...
21282 * crypt/sha256-block.c: ... here.
21283 * crypt/sha512.c (sha512_process_block): Move to ...
21284 * crypt/sha512-block.c: ... here.
21285 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21286 path.
21287 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21288 * sysdeps/sparc/sparc64/multiarch/Makefile
21289 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21290 crypt subdir.
21291 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21292 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21293 multiarch changes.
21294 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21295 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21296 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21297 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21298 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21299 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21300 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21301 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21302 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21303 file.
21304 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21305 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21306 file.
21307 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21308
8ca89318
JM
213092012-11-13 Joseph Myers <joseph@codesourcery.com>
21310
e27d476a
JM
21311 * timezone/tzselect.ksh: Update from tzcode git revision
21312 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21313 * timezone/zdump.c: Likewise.
21314 * timezone/zic.c: Likewise.
21315 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21316 in TZVERSION setting, not $(PKGVERSION).
21317 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21318 REPORT_BUGS_TO settings.
21319
8ca89318
JM
21320 [BZ #14838]
21321 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21322 macro.
21323
47594329
MS
213242012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21325
21326 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21327 detection to immediately after _FP_ROUND().
21328 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21329 bits are 0.
21330
640ac3f1
DM
213312012-11-11 David S. Miller <davem@davemloft.net>
21332
21333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21334 inttypes.h
21335 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21336 __close rather than their public counterparts.
21337
3d2577bb
JM
213382012-11-10 Joseph Myers <joseph@codesourcery.com>
21339
21340 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21341 file.
21342 [UNIX98] (sem_timedwait): Do not expect.
21343 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21344 [XPG4 || UNIX98] (sockatmark): Do not expect.
21345 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21346 (clock_getcpuclockid): Do not expect.
21347 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21348 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21349 Do not expect.
21350 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21351 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21352 [UNIX98] (vwscanf): Likewise.
21353 [UNIX98] (vswscanf): Likewise.
21354
fb1ae1ee
JM
213552012-11-09 Joseph Myers <joseph@codesourcery.com>
21356
9ec6f8bd
JM
21357 * timezone/version.h: Remove file.
21358 * timezone/README: Do not refer to version.h.
21359 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21360 $(objpfx)version.h.
21361 ($(objpfx)zdump.o): Likewise.
c3f81911 21362 ($(objpfx)version.h): New target.
9ec6f8bd 21363
0aa8f8a1
JM
21364 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21365 2012i.
21366 * timezone/README: Don't mention modification to tzselect.ksh.
21367 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21368 work on unmodified tzselect.ksh. Substitute version numbers in
21369 tzselect.ksh.
21370
4e87147f
JM
21371 * Makefile (format-me): Remove.
21372 (INSTALL): Adjust indentation. Use commands directly instead of
21373 using $(format-me).
21374
8b748aed
JM
21375 * aclocal.m4 (ACX_PKGVERSION): New macro.
21376 (ACX_BUGURL): Likewise.
21377 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21378 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21379 (REPORT_BUGS_TO): Likewise.
21380 * configure: Regenerated.
21381 * config.h.in (PKGVERSION): New macro.
21382 (REPORT_BUGS_TO): Likewise.
21383 * config.make.in (PKGVERSION): New variable.
21384 (PKGVERSION_TEXI): Likewise.
21385 (REPORT_BUGS_TO): Likewise.
21386 (REPORT_BUGS_TEXI): Likewise.
21387 * Makefile (format-me): Use -I$(common-objpfx)manual.
21388 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21389 ($(common-objpfx)manual/%): New target.
21390 (manual/%): Remove target.
21391 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21392 (print_version): Use PKGVERSION.
21393 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21394 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21395 and REPORT_BUGS_TO.
21396 ($(objpfx)xtrace): Likewise.
21397 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21398 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21399 (print_version): Use PKGVERSION.
21400 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21401 (do_version): Use PKGVERSION.
21402 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21403 REPORT_BUGS_TO.
21404 (common-ldd-rewrite): Likewise.
21405 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21406 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21407 (print_version): Use PKGVERSION.
21408 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21409 * elf/pldd.c (argp_program_bug_address): Remove variable.
21410 (more_help): New function.
21411 (argp): Use more_help.
21412 (print_version): Use PKGVERSION.
21413 * elf/sln.c (main): Use PKGVERSION.
21414 (usage): Use REPORT_BUGS_TO.
21415 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21416 (top level): Use PKGVERSION.
21417 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21418 (print_version): Use PKGVERSION.
21419 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21420 (print_version): Use PKGVERSION.
21421 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21422 (print_version): Use PKGVERSION.
21423 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21424 (print_version): Use PKGVERSION.
21425 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21426 (print_version): Use PKGVERSION.
21427 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21428 (print_version): Use PKGVERSION.
21429 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21430 and BUGURL.
21431 ($(objpfx)memusage): Likewise.
21432 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21433 (do_version): Use PKGVERSION.
21434 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21435 (print_version): Use PKGVERSION.
21436 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21437 ($PKGVERSION): New variable.
21438 ($REPORT_BUGS_TO): Likewise.
21439 (usage): Use $REPORT_BUGS_TO.
21440 (top level): Use $PKGVERSION.
21441 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21442 ($(objpfx)pkgvers.texi): New rule.
21443 ($(objpfx)stamp-pkgvers): Likewise.
21444 * manual/install.texi: Include pkgvers.texi.
21445 (--with-pkgversion): Document new configure option.
21446 (--with-bugurl): Likewise.
21447 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21448 than necessarily for this particular distribution. Use
21449 REPORT_BUGS_TO for where to report bugs.
21450 * INSTALL: Regenerated.
21451 * manual/libc.texinfo: Include pkgvers.texi.
21452 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21453 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21454 (print_version): Use PKGVERSION.
21455 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21456 (print_version): Use PKGVERSION.
21457 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21458 (print_version): Use PKGVERSION.
21459 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21460 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21461 macro.
21462 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21463 (print_version): Use PKGVERSION.
21464 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21465 (print_version): Use PKGVERSION.
21466 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21467 and PKGVERSION.
21468
92e4b6a9
JM
21469 * timezone/checktab.awk: Update from tzcode 2012i.
21470 * timezone/ialloc.c: Likewise.
21471 * timezone/private.h: Likewise.
21472 * timezone/scheck.c: Likewise.
21473 * timezone/tzfile.h: Likewise.
21474 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21475 (TZVERSION): Hardcode tzcode version number.
21476 * timezone/zdump.c: Update from tzcode 2012i.
21477 * timezone/zic.c: Likewise.
21478 * timezone/version.h: New file.
21479 * timezone/README: Describe version.h. Update upstream location.
21480
9bde902c
JM
21481 [BZ #14824]
21482 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21483 (mktemp): Enable declaration.
21484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21488 Likewise.
21489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21490 Likewise.
21491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21492 Likewise.
21493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21494 Likewise.
21495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21496 Likewise.
21497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21498 Likewise.
21499
fb1ae1ee
JM
21500 [BZ #14821]
21501 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21502 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21503 for copies of such integer values.
21504 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21505 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21506
2c1adbcb
AJ
215072012-11-09 Andreas Jaeger <aj@suse.de>
21508
21509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21510 definitions and declarations that are provided by
21511 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21512
d0f8457e
AK
215132012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21514
3a235abb 21515 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21516 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21517 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21518 definition.
21519
57241e26
MS
215202012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21521
21522 * elf/elf.h: Update comment before AArch64 relocations.
21523
60e8270d
DM
215242012-11-07 David S. Miller <davem@davemloft.net>
21525
21526 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21527 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21528 (__start_context): Declare.
21529 (__makecontext_ret): Delete.
21530 (__makecontext): Hook up __start_context instead of
21531 __makecontext_ret.
21532 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21533 (sysdep_routines): Add __start_context when in stdlib.
21534
0fbb0fbc
JM
215352012-11-07 Joseph Myers <joseph@codesourcery.com>
21536
21537 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21538 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21539 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21540 hardcoded "nm".
21541 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21542 (READELF): New variable. Use it instead of hardcoded "readelf".
21543
eb48db7e
L
215442012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21545
21546 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21547 * sysdeps/x86/Makefile: Here.
21548 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21549 * sysdeps/x86/tst-xmmymm.sh: This.
21550
05bcf62a
JM
215512012-11-07 Joseph Myers <joseph@codesourcery.com>
21552
c4b6cf53
JM
21553 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21554 expectations.
21555 [UNIX98] (pthread_barrier_t): Do not expect.
21556 [UNIX98] (pthread_barrierattr_t): Likewise.
21557 [UNIX98] (pthread_spinlock_t): Likewise.
21558 [UNIX98] (pthread_barrier_destroy): Likewise.
21559 [UNIX98] (pthread_barrier_init): Likewise.
21560 [UNIX98] (pthread_barrier_wait): Likewise.
21561 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21562 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21563 [UNIX98] (pthread_barrierattr_init): Likewise.
21564 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21565 [UNIX98] (pthread_getcpuclockid): Likewise.
21566 [UNIX98] (pthread_mutex_timedlock): Likewise.
21567 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21568 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21569 [UNIX98] (pthread_sigmask): Likewise.
21570 [UNIX98] (pthread_spin_destroy): Likewise.
21571 [UNIX98] (pthread_spin_init): Likewise.
21572 [UNIX98] (pthread_spin_lock): Likewise.
21573 [UNIX98] (pthread_spin_trylock): Likewise.
21574 [UNIX98] (pthread_spin_unlock): Likewise.
21575 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21576 Do not expect.
21577 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21578 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21579 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21580 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21581 [XPG3 || XPG4] (pthread_key_t): Likewise.
21582 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21583 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21584 [XPG3 || XPG4] (pthread_once_t): Likewise.
21585 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21586 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21587 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21588 [XPG3 || XPG4] (pthread_t): Likewise.
21589
cbe6e120
JM
21590 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21591 not expect.
21592 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21593
1b126443
JM
21594 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21595 Change function return type to int.
21596
b961a573
JM
21597 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21598 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21599 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21600 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21601 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21602 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21603 [!POSIX] (posix_madvise): Likewise.
21604 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21605 && !UNIX98].
21606 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21607 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21608 (mode_t): Likewise.
21609 (posix_mem_offset): Likewise.
21610 (posix_typed_mem_get_info): Likewise.
21611 (posix_typed_mem_open): Likewise.
21612
9e188909
JM
21613 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21614 Change condition to [XOPEN2K8].
21615
05bcf62a
JM
21616 * conform/conformtest.pl: Preprocess allow-header data with -x c
21617 instead of from stdin.
21618 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21619 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21620 [C99-based standards] (cerfc): Likewise.
21621 [C99-based standards] (cexp2): Likewise.
21622 [C99-based standards] (cexpm1): Likewise.
21623 [C99-based standards] (clog10): Likewise.
21624 [C99-based standards] (clog1p): Likewise.
21625 [C99-based standards] (clog2): Likewise.
21626 [C99-based standards] (clgamma): Likewise.
21627 [C99-based standards] (ctgamma): Likewise.
21628 [C99-based standards] (cerff): Likewise.
21629 [C99-based standards] (cerfcf): Likewise.
21630 [C99-based standards] (cexp2f): Likewise.
21631 [C99-based standards] (cexpm1f): Likewise.
21632 [C99-based standards] (clog10f): Likewise.
21633 [C99-based standards] (clog1pf): Likewise.
21634 [C99-based standards] (clog2f): Likewise.
21635 [C99-based standards] (clgammaf): Likewise.
21636 [C99-based standards] (ctgammaf): Likewise.
21637 [C99-based standards] (cerfl): Likewise.
21638 [C99-based standards] (cerfcl): Likewise.
21639 [C99-based standards] (cexp2l): Likewise.
21640 [C99-based standards] (cexpm1l): Likewise.
21641 [C99-based standards] (clog10l): Likewise.
21642 [C99-based standards] (clog1pl): Likewise.
21643 [C99-based standards] (clog2l): Likewise.
21644 [C99-based standards] (clgammal): Likewise.
21645 [C99-based standards] (ctgammal): Likewise.
21646 * conform/data/inttypes.h-data [C99-based standards]: Include
21647 stdint.h-data. Remove all expectations for stdint.h contents.
21648 [C99-based standards] (PRI*): Do not allow.
21649 [C99-based standards] (SCN*): Likewise.
21650 [C99-based standards] (*_t): Likewise.
21651 [C99-based-standards] (PRId8): Expect macro.
21652 [C99-based-standards] (PRIi8): Likewise.
21653 [C99-based-standards] (PRIo8): Likewise.
21654 [C99-based-standards] (PRIu8): Likewise.
21655 [C99-based-standards] (PRIx8): Likewise.
21656 [C99-based-standards] (PRIX8): Likewise.
21657 [C99-based-standards] (SCNd8): Likewise.
21658 [C99-based-standards] (SCNi8): Likewise.
21659 [C99-based-standards] (SCNo8): Likewise.
21660 [C99-based-standards] (SCNu8): Likewise.
21661 [C99-based-standards] (SCNx8): Likewise.
21662 [C99-based-standards] (PRIdLEAST8): Likewise.
21663 [C99-based-standards] (PRIiLEAST8): Likewise.
21664 [C99-based-standards] (PRIoLEAST8): Likewise.
21665 [C99-based-standards] (PRIuLEAST8): Likewise.
21666 [C99-based-standards] (PRIxLEAST8): Likewise.
21667 [C99-based-standards] (PRIXLEAST8): Likewise.
21668 [C99-based-standards] (SCNdLEAST8): Likewise.
21669 [C99-based-standards] (SCNiLEAST8): Likewise.
21670 [C99-based-standards] (SCNoLEAST8): Likewise.
21671 [C99-based-standards] (SCNuLEAST8): Likewise.
21672 [C99-based-standards] (SCNxLEAST8): Likewise.
21673 [C99-based-standards] (PRIdFAST8): Likewise.
21674 [C99-based-standards] (PRIiFAST8): Likewise.
21675 [C99-based-standards] (PRIoFAST8): Likewise.
21676 [C99-based-standards] (PRIuFAST8): Likewise.
21677 [C99-based-standards] (PRIxFAST8): Likewise.
21678 [C99-based-standards] (PRIXFAST8): Likewise.
21679 [C99-based-standards] (SCNdFAST8): Likewise.
21680 [C99-based-standards] (SCNiFAST8): Likewise.
21681 [C99-based-standards] (SCNoFAST8): Likewise.
21682 [C99-based-standards] (SCNuFAST8): Likewise.
21683 [C99-based-standards] (SCNxFAST8): Likewise.
21684 [C99-based-standards] (PRId16): Likewise.
21685 [C99-based-standards] (PRIi16): Likewise.
21686 [C99-based-standards] (PRIo16): Likewise.
21687 [C99-based-standards] (PRIu16): Likewise.
21688 [C99-based-standards] (PRIx16): Likewise.
21689 [C99-based-standards] (PRIX16): Likewise.
21690 [C99-based-standards] (SCNd16): Likewise.
21691 [C99-based-standards] (SCNi16): Likewise.
21692 [C99-based-standards] (SCNo16): Likewise.
21693 [C99-based-standards] (SCNu16): Likewise.
21694 [C99-based-standards] (SCNx16): Likewise.
21695 [C99-based-standards] (PRIdLEAST16): Likewise.
21696 [C99-based-standards] (PRIiLEAST16): Likewise.
21697 [C99-based-standards] (PRIoLEAST16): Likewise.
21698 [C99-based-standards] (PRIuLEAST16): Likewise.
21699 [C99-based-standards] (PRIxLEAST16): Likewise.
21700 [C99-based-standards] (PRIXLEAST16): Likewise.
21701 [C99-based-standards] (SCNdLEAST16): Likewise.
21702 [C99-based-standards] (SCNiLEAST16): Likewise.
21703 [C99-based-standards] (SCNoLEAST16): Likewise.
21704 [C99-based-standards] (SCNuLEAST16): Likewise.
21705 [C99-based-standards] (SCNxLEAST16): Likewise.
21706 [C99-based-standards] (PRIdFAST16): Likewise.
21707 [C99-based-standards] (PRIiFAST16): Likewise.
21708 [C99-based-standards] (PRIoFAST16): Likewise.
21709 [C99-based-standards] (PRIuFAST16): Likewise.
21710 [C99-based-standards] (PRIxFAST16): Likewise.
21711 [C99-based-standards] (PRIXFAST16): Likewise.
21712 [C99-based-standards] (SCNdFAST16): Likewise.
21713 [C99-based-standards] (SCNiFAST16): Likewise.
21714 [C99-based-standards] (SCNoFAST16): Likewise.
21715 [C99-based-standards] (SCNuFAST16): Likewise.
21716 [C99-based-standards] (SCNxFAST16): Likewise.
21717 [C99-based-standards] (PRId32): Likewise.
21718 [C99-based-standards] (PRIi32): Likewise.
21719 [C99-based-standards] (PRIo32): Likewise.
21720 [C99-based-standards] (PRIu32): Likewise.
21721 [C99-based-standards] (PRIx32): Likewise.
21722 [C99-based-standards] (PRIX32): Likewise.
21723 [C99-based-standards] (SCNd32): Likewise.
21724 [C99-based-standards] (SCNi32): Likewise.
21725 [C99-based-standards] (SCNo32): Likewise.
21726 [C99-based-standards] (SCNu32): Likewise.
21727 [C99-based-standards] (SCNx32): Likewise.
21728 [C99-based-standards] (PRIdLEAST32): Likewise.
21729 [C99-based-standards] (PRIiLEAST32): Likewise.
21730 [C99-based-standards] (PRIoLEAST32): Likewise.
21731 [C99-based-standards] (PRIuLEAST32): Likewise.
21732 [C99-based-standards] (PRIxLEAST32): Likewise.
21733 [C99-based-standards] (PRIXLEAST32): Likewise.
21734 [C99-based-standards] (SCNdLEAST32): Likewise.
21735 [C99-based-standards] (SCNiLEAST32): Likewise.
21736 [C99-based-standards] (SCNoLEAST32): Likewise.
21737 [C99-based-standards] (SCNuLEAST32): Likewise.
21738 [C99-based-standards] (SCNxLEAST32): Likewise.
21739 [C99-based-standards] (PRIdFAST32): Likewise.
21740 [C99-based-standards] (PRIiFAST32): Likewise.
21741 [C99-based-standards] (PRIoFAST32): Likewise.
21742 [C99-based-standards] (PRIuFAST32): Likewise.
21743 [C99-based-standards] (PRIxFAST32): Likewise.
21744 [C99-based-standards] (PRIXFAST32): Likewise.
21745 [C99-based-standards] (SCNdFAST32): Likewise.
21746 [C99-based-standards] (SCNiFAST32): Likewise.
21747 [C99-based-standards] (SCNoFAST32): Likewise.
21748 [C99-based-standards] (SCNuFAST32): Likewise.
21749 [C99-based-standards] (SCNxFAST32): Likewise.
21750 [C99-based-standards] (PRId64): Likewise.
21751 [C99-based-standards] (PRIi64): Likewise.
21752 [C99-based-standards] (PRIo64): Likewise.
21753 [C99-based-standards] (PRIu64): Likewise.
21754 [C99-based-standards] (PRIx64): Likewise.
21755 [C99-based-standards] (PRIX64): Likewise.
21756 [C99-based-standards] (SCNd64): Likewise.
21757 [C99-based-standards] (SCNi64): Likewise.
21758 [C99-based-standards] (SCNo64): Likewise.
21759 [C99-based-standards] (SCNu64): Likewise.
21760 [C99-based-standards] (SCNx64): Likewise.
21761 [C99-based-standards] (PRIdLEAST64): Likewise.
21762 [C99-based-standards] (PRIiLEAST64): Likewise.
21763 [C99-based-standards] (PRIoLEAST64): Likewise.
21764 [C99-based-standards] (PRIuLEAST64): Likewise.
21765 [C99-based-standards] (PRIxLEAST64): Likewise.
21766 [C99-based-standards] (PRIXLEAST64): Likewise.
21767 [C99-based-standards] (SCNdLEAST64): Likewise.
21768 [C99-based-standards] (SCNiLEAST64): Likewise.
21769 [C99-based-standards] (SCNoLEAST64): Likewise.
21770 [C99-based-standards] (SCNuLEAST64): Likewise.
21771 [C99-based-standards] (SCNxLEAST64): Likewise.
21772 [C99-based-standards] (PRIdFAST64): Likewise.
21773 [C99-based-standards] (PRIiFAST64): Likewise.
21774 [C99-based-standards] (PRIoFAST64): Likewise.
21775 [C99-based-standards] (PRIuFAST64): Likewise.
21776 [C99-based-standards] (PRIxFAST64): Likewise.
21777 [C99-based-standards] (PRIXFAST64): Likewise.
21778 [C99-based-standards] (SCNdFAST64): Likewise.
21779 [C99-based-standards] (SCNiFAST64): Likewise.
21780 [C99-based-standards] (SCNoFAST64): Likewise.
21781 [C99-based-standards] (SCNuFAST64): Likewise.
21782 [C99-based-standards] (SCNxFAST64): Likewise.
21783 [C99-based-standards] (PRIdMAX): Likewise.
21784 [C99-based-standards] (PRIiMAX): Likewise.
21785 [C99-based-standards] (PRIoMAX): Likewise.
21786 [C99-based-standards] (PRIuMAX): Likewise.
21787 [C99-based-standards] (PRIxMAX): Likewise.
21788 [C99-based-standards] (PRIXMAX): Likewise.
21789 [C99-based-standards] (SCNdMAX): Likewise.
21790 [C99-based-standards] (SCNiMAX): Likewise.
21791 [C99-based-standards] (SCNoMAX): Likewise.
21792 [C99-based-standards] (SCNuMAX): Likewise.
21793 [C99-based-standards] (SCNxMAX): Likewise.
21794 [C99-based-standards] (PRIdPTR): Likewise.
21795 [C99-based-standards] (PRIiPTR): Likewise.
21796 [C99-based-standards] (PRIoPTR): Likewise.
21797 [C99-based-standards] (PRIuPTR): Likewise.
21798 [C99-based-standards] (PRIxPTR): Likewise.
21799 [C99-based-standards] (PRIXPTR): Likewise.
21800 [C99-based-standards] (SCNdPTR): Likewise.
21801 [C99-based-standards] (SCNiPTR): Likewise.
21802 [C99-based-standards] (SCNoPTR): Likewise.
21803 [C99-based-standards] (SCNuPTR): Likewise.
21804 [C99-based-standards] (SCNxPTR): Likewise.
21805 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21806 allow.
21807 * conform/data/stdint.h-data: Update comments to clarify
21808 requirements.
21809 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21810 type.
21811 [C99-based standards] (INT8_MAX): Likewise.
21812 [C99-based standards] (INT16_MIN): Likewise.
21813 [C99-based standards] (INT16_MAX): Likewise.
21814 [C99-based standards] (INT32_MIN): Likewise.
21815 [C99-based standards] (INT32_MAX): Likewise.
21816 [C99-based standards] (INT64_MIN): Likewise.
21817 [C99-based standards] (INT64_MAX): Likewise.
21818 [C99-based standards] (UINT8_MAX): Likewise.
21819 [C99-based standards] (UINT16_MAX): Likewise.
21820 [C99-based standards] (UINT32_MAX): Likewise.
21821 [C99-based standards] (UINT64_MAX): Likewise.
21822 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21823 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21824 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21825 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21826 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21827 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21828 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21829 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21830 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21831 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21832 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21833 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21834 [C99-based standards] (INT_FAST8_MIN): Likewise.
21835 [C99-based standards] (INT_FAST8_MAX): Likewise.
21836 [C99-based standards] (INT_FAST16_MIN): Likewise.
21837 [C99-based standards] (INT_FAST16_MAX): Likewise.
21838 [C99-based standards] (INT_FAST32_MIN): Likewise.
21839 [C99-based standards] (INT_FAST32_MAX): Likewise.
21840 [C99-based standards] (INT_FAST64_MIN): Likewise.
21841 [C99-based standards] (INT_FAST64_MAX): Likewise.
21842 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21843 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21844 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21845 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21846 [C99-based standards] (INTPTR_MIN): Likewise.
21847 [C99-based standards] (INTPTR_MAX): Likewise.
21848 [C99-based standards] (UINTPTR_MAX): Likewise.
21849 [C99-based standards] (INTMAX_MIN): Likewise.
21850 [C99-based standards] (INTMAX_MAX): Likewise.
21851 [C99-based standards] (UINTMAX_MAX): Likewise.
21852 [C99-based standards] (PTRDIFF_MIN): Likewise.
21853 [C99-based standards] (PTRDIFF_MAX): Likewise.
21854 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21855 [C99-based standards] (SIZE_MAX): Likewise.
21856 [C99-based standards] (WCHAR_MAX): Likewise.
21857 [C99-based standards] (WINT_MAX): Likewise.
21858 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21859 constraint on value.
21860 [C99-based standards] (WCHAR_MIN): Likewise.
21861 [C99-based standards] (WINT_MIN): Likewise.
21862 [C99-based standards] (*_t): Allow.
21863 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21864 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21865 Include math.h-data and complex.h-data. Remove all expectations
21866 of math.h and complex.h contents.
21867 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21868 at end of line.
21869 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21870 (struct tm): Expect tag.
21871 [C99-based-standards] (wcstof): Expect function.
21872 [C99-based-standards] (wcstold): Likewise.
21873 [C99-based-standards] (wcstoll): Likewise.
21874 [C99-based-standards] (wcstoull): Likewise.
21875 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21876 macro-int-constant. Specify type.
21877 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21878 constraint on value.
21879 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21880 Specify type.
21881 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21882 Specify value.
21883 [ISO C standards]: Do not allow headers.
21884 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21885 wcs[abcdefghijklmnopqrstuvwxyz]*.
21886 [ISO C standards] (*_t): Do not allow.
21887 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21888 Expect function.
21889 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21890 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21891 Specify type.
21892 [ISO C standards]: Do not allow headers.
21893 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21894 is[abcdefghijklmnopqrstuvwxyz]*.
21895 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21896 to[abcdefghijklmnopqrstuvwxyz]*.
21897 [ISO C standards] (*_t): Do not allow.
21898 * conform/data/stdalign.h-data: New file.
21899 * conform/data/stdbool.h-data: Likewise.
21900 * conform/data/stdnoreturn.h-data: Likewise.
21901
7514feb8
RM
219022012-11-07 Roland McGrath <roland@hack.frob.com>
21903
21904 [BZ #14815]
21905 * manual/filesys.texi (Directory Entries): Typo fix.
21906 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21907
19b2ecfc
MS
219082012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21909
21910 * elf/elf.h (EM_AARCH64): New macro.
21911 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21912 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21913 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21914 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21915 (R_AARCH64_TLSDESC): Likewise.
21916 (NT_ARM_TLS): Likewise.
21917 (NT_ARM_HW_BREAK): Likewise.
21918 (NT_ARM_HW_WATCH): Likewise.
21919
60e235ee
JM
219202012-11-07 Joseph Myers <joseph@codesourcery.com>
21921
21922 [BZ #14811]
21923 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21924 (__ieee754_powl): Saturate nonzero exponents with absolute value
21925 below 0x1p-79 to +/- 0x1p-79.
21926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21927 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21928 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21929 nonzero exponents with absolute value below 0x1p-32 to +/-
21930 0x1p-32.
21931 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21932 (__ieee754_powl): Saturate nonzero exponents with absolute value
21933 below 0x1p-79 to +/- 0x1p-79.
21934 * math/libm-test.inc (pow_test): Add more tests.
21935
0ab234b7
AK
219362012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21937
21938 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21939 _dl_s390_cap_flags with kernel. Increase string length.
21940 (_dl_s390_platforms): Add z196 and zEC12.
21941
45832f74
JM
219422012-11-07 Joseph Myers <joseph@codesourcery.com>
21943
21944 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21945 Change XOPEN21K to XOPEN2K.
21946
19218757
MK
219472012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21948
21949 * string/memmove.c: Use memcpy when possible.
21950
c5f45721
AJ
219512012-11-06 Andreas Jaeger <aj@suse.de>
21952
21953 * po/eo.po: Update from translation team.
21954
82477c28
JM
219552012-11-06 Joseph Myers <joseph@codesourcery.com>
21956
21957 [BZ #14793]
21958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21959 exponent and small x and y exponents, scale x or y up. Increase
21960 by 2 the exponent used in scaling up.
21961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21963 * math/libm-test.inc (fma_test): Add more tests.
21964 (fma_test_towardzero): Likewise.
21965 (fma_test_downward): Likewise.
21966 (fma_test_upward): Likewise.
21967
99252c8c
JM
219682012-11-05 Joseph Myers <joseph@codesourcery.com>
21969
acfa885f
JM
21970 [BZ #14805]
21971 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21972 fenv_t *.
21973
99252c8c
JM
21974 [BZ #14801]
21975 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21976 namespace for names of struct fields.
21977 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21978 fenv_t fields.
21979 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21980 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21981
d6d98dea
ST
219822012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21983
21984 [BZ #3665]
21985 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21986
e10bb107
TS
219872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21988
21989 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21990 PTR_DEMANGLE.
21991
21992 [BZ #5246]
21993 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21994 PTR_DEMANGLE.
21995
a0c2940d
JM
219962012-11-04 Joseph Myers <joseph@codesourcery.com>
21997
21998 [BZ #14797]
21999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22000 definitely overflow as x * y not x * y + z.
22001 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22002 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22003 * math/libm-test.inc (fma_test): Add more tests.
22004 (fma_test_towardzero): Likewise.
22005 (fma_test_downward): Likewise.
22006 (fma_test_upward): Likewise.
22007
b830319d
TS
220082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22009
22010 [BZ #157]
22011
22012 * include/stub-tag.h: Remove file.
22013 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22014 '#include' of it.
22015 * manual/maint.texi (Porting): Don't reference it.
22016 * Makerules ($(objpfx)stubs): Likewise.
22017 * dirent/closedir.c: Don't include <stub-tag.h>.
22018 * dirent/dirfd.c: Likewise.
22019 * dirent/fdopendir.c: Likewise.
22020 * dirent/getdents.c: Likewise.
22021 * dirent/getdents64.c: Likewise.
22022 * dirent/opendir.c: Likewise.
22023 * dirent/readdir.c: Likewise.
22024 * dirent/readdir64.c: Likewise.
22025 * dirent/readdir64_r.c: Likewise.
22026 * dirent/readdir_r.c: Likewise.
22027 * dirent/rewinddir.c: Likewise.
22028 * dirent/seekdir.c: Likewise.
22029 * dirent/telldir.c: Likewise.
22030 * gmon/profil.c: Likewise.
22031 * grp/setgroups.c: Likewise.
22032 * inet/if_index.c: Likewise.
22033 * io/access.c: Likewise.
22034 * io/chdir.c: Likewise.
22035 * io/chmod.c: Likewise.
22036 * io/chown.c: Likewise.
22037 * io/close.c: Likewise.
22038 * io/dup.c: Likewise.
22039 * io/dup2.c: Likewise.
22040 * io/dup3.c: Likewise.
22041 * io/euidaccess.c: Likewise.
22042 * io/faccessat.c: Likewise.
22043 * io/fchdir.c: Likewise.
22044 * io/fchmod.c: Likewise.
22045 * io/fchmodat.c: Likewise.
22046 * io/fchown.c: Likewise.
22047 * io/fchownat.c: Likewise.
22048 * io/fcntl.c: Likewise.
22049 * io/flock.c: Likewise.
22050 * io/fstatfs.c: Likewise.
22051 * io/fstatfs64.c: Likewise.
22052 * io/fstatvfs.c: Likewise.
22053 * io/fstatvfs64.c: Likewise.
22054 * io/futimens.c: Likewise.
22055 * io/fxstat.c: Likewise.
22056 * io/fxstat64.c: Likewise.
22057 * io/fxstatat.c: Likewise.
22058 * io/fxstatat64.c: Likewise.
22059 * io/getcwd.c: Likewise.
22060 * io/isatty.c: Likewise.
22061 * io/lchmod.c: Likewise.
22062 * io/lchown.c: Likewise.
22063 * io/link.c: Likewise.
22064 * io/linkat.c: Likewise.
22065 * io/lseek.c: Likewise.
22066 * io/lseek64.c: Likewise.
22067 * io/lxstat64.c: Likewise.
22068 * io/mkdir.c: Likewise.
22069 * io/mkdirat.c: Likewise.
22070 * io/mkfifo.c: Likewise.
22071 * io/mkfifoat.c: Likewise.
22072 * io/open.c: Likewise.
22073 * io/open64.c: Likewise.
22074 * io/openat.c: Likewise.
22075 * io/openat64.c: Likewise.
22076 * io/pipe.c: Likewise.
22077 * io/pipe2.c: Likewise.
22078 * io/poll.c: Likewise.
22079 * io/posix_fadvise.c: Likewise.
22080 * io/posix_fadvise64.c: Likewise.
22081 * io/posix_fallocate.c: Likewise.
22082 * io/posix_fallocate64.c: Likewise.
22083 * io/read.c: Likewise.
22084 * io/readlink.c: Likewise.
22085 * io/readlinkat.c: Likewise.
22086 * io/rmdir.c: Likewise.
22087 * io/sendfile.c: Likewise.
22088 * io/sendfile64.c: Likewise.
22089 * io/statfs.c: Likewise.
22090 * io/statfs64.c: Likewise.
22091 * io/statvfs.c: Likewise.
22092 * io/statvfs64.c: Likewise.
22093 * io/symlink.c: Likewise.
22094 * io/symlinkat.c: Likewise.
22095 * io/ttyname.c: Likewise.
22096 * io/ttyname_r.c: Likewise.
22097 * io/umask.c: Likewise.
22098 * io/unlink.c: Likewise.
22099 * io/unlinkat.c: Likewise.
22100 * io/utime.c: Likewise.
22101 * io/utimensat.c: Likewise.
22102 * io/write.c: Likewise.
22103 * io/xmknod.c: Likewise.
22104 * io/xmknodat.c: Likewise.
22105 * io/xstat.c: Likewise.
22106 * io/xstat64.c: Likewise.
22107 * login/getpt.c: Likewise.
22108 * login/grantpt.c: Likewise.
22109 * login/unlockpt.c: Likewise.
22110 * math/e_acoshl.c: Likewise.
22111 * math/e_acosl.c: Likewise.
22112 * math/e_asinl.c: Likewise.
22113 * math/e_atan2l.c: Likewise.
22114 * math/e_atanhl.c: Likewise.
22115 * math/e_coshl.c: Likewise.
22116 * math/e_expl.c: Likewise.
22117 * math/e_fmodl.c: Likewise.
22118 * math/e_gammal_r.c: Likewise.
22119 * math/e_hypotl.c: Likewise.
22120 * math/e_j0l.c: Likewise.
22121 * math/e_j1l.c: Likewise.
22122 * math/e_jnl.c: Likewise.
22123 * math/e_lgammal_r.c: Likewise.
22124 * math/e_log10l.c: Likewise.
22125 * math/e_log2l.c: Likewise.
22126 * math/e_logl.c: Likewise.
22127 * math/e_powl.c: Likewise.
22128 * math/e_rem_pio2l.c: Likewise.
22129 * math/e_sinhl.c: Likewise.
22130 * math/e_sqrtl.c: Likewise.
22131 * math/fclrexcpt.c: Likewise.
22132 * math/fedisblxcpt.c: Likewise.
22133 * math/feenablxcpt.c: Likewise.
22134 * math/fegetenv.c: Likewise.
22135 * math/fegetexcept.c: Likewise.
22136 * math/fegetround.c: Likewise.
22137 * math/feholdexcpt.c: Likewise.
22138 * math/fesetenv.c: Likewise.
22139 * math/fesetround.c: Likewise.
22140 * math/feupdateenv.c: Likewise.
22141 * math/fgetexcptflg.c: Likewise.
22142 * math/fraiseexcpt.c: Likewise.
22143 * math/fsetexcptflg.c: Likewise.
22144 * math/ftestexcept.c: Likewise.
22145 * math/k_cosl.c: Likewise.
22146 * math/k_rem_pio2l.c: Likewise.
22147 * math/k_sinl.c: Likewise.
22148 * math/k_tanl.c: Likewise.
22149 * math/s_asinhl.c: Likewise.
22150 * math/s_atanl.c: Likewise.
22151 * math/s_cbrtl.c: Likewise.
22152 * math/s_erfl.c: Likewise.
22153 * math/s_expm1l.c: Likewise.
22154 * math/s_log1pl.c: Likewise.
22155 * math/s_tanhl.c: Likewise.
22156 * misc/acct.c: Likewise.
22157 * misc/brk.c: Likewise.
22158 * misc/chflags.c: Likewise.
22159 * misc/chroot.c: Likewise.
22160 * misc/fchflags.c: Likewise.
22161 * misc/fgetxattr.c: Likewise.
22162 * misc/flistxattr.c: Likewise.
22163 * misc/fremovexattr.c: Likewise.
22164 * misc/fsetxattr.c: Likewise.
22165 * misc/fsync.c: Likewise.
22166 * misc/ftruncate.c: Likewise.
22167 * misc/futimes.c: Likewise.
22168 * misc/futimesat.c: Likewise.
22169 * misc/getdomain.c: Likewise.
22170 * misc/getdtsz.c: Likewise.
22171 * misc/gethostid.c: Likewise.
22172 * misc/gethostname.c: Likewise.
22173 * misc/getloadavg.c: Likewise.
22174 * misc/getpagesize.c: Likewise.
22175 * misc/getsysstats.c: Likewise.
22176 * misc/getxattr.c: Likewise.
22177 * misc/gtty.c: Likewise.
22178 * misc/ioctl.c: Likewise.
22179 * misc/lgetxattr.c: Likewise.
22180 * misc/listxattr.c: Likewise.
22181 * misc/llistxattr.c: Likewise.
22182 * misc/lremovexattr.c: Likewise.
22183 * misc/lsetxattr.c: Likewise.
22184 * misc/lutimes.c: Likewise.
22185 * misc/madvise.c: Likewise.
22186 * misc/mincore.c: Likewise.
22187 * misc/mlock.c: Likewise.
22188 * misc/mlockall.c: Likewise.
22189 * misc/mmap.c: Likewise.
22190 * misc/mprotect.c: Likewise.
22191 * misc/msync.c: Likewise.
22192 * misc/munlock.c: Likewise.
22193 * misc/munlockall.c: Likewise.
22194 * misc/munmap.c: Likewise.
22195 * misc/preadv.c: Likewise.
22196 * misc/preadv64.c: Likewise.
22197 * misc/ptrace.c: Likewise.
22198 * misc/pwritev.c: Likewise.
22199 * misc/pwritev64.c: Likewise.
22200 * misc/readv.c: Likewise.
22201 * misc/reboot.c: Likewise.
22202 * misc/remap_file_pages.c: Likewise.
22203 * misc/removexattr.c: Likewise.
22204 * misc/revoke.c: Likewise.
22205 * misc/select.c: Likewise.
22206 * misc/setdomain.c: Likewise.
22207 * misc/setegid.c: Likewise.
22208 * misc/seteuid.c: Likewise.
22209 * misc/sethostid.c: Likewise.
22210 * misc/sethostname.c: Likewise.
22211 * misc/setregid.c: Likewise.
22212 * misc/setreuid.c: Likewise.
22213 * misc/setxattr.c: Likewise.
22214 * misc/sstk.c: Likewise.
22215 * misc/stty.c: Likewise.
22216 * misc/swapoff.c: Likewise.
22217 * misc/swapon.c: Likewise.
22218 * misc/sync.c: Likewise.
22219 * misc/syncfs.c: Likewise.
22220 * misc/syscall.c: Likewise.
22221 * misc/truncate.c: Likewise.
22222 * misc/ualarm.c: Likewise.
22223 * misc/usleep.c: Likewise.
22224 * misc/ustat.c: Likewise.
22225 * misc/utimes.c: Likewise.
22226 * misc/vhangup.c: Likewise.
22227 * misc/writev.c: Likewise.
22228 * posix/_exit.c: Likewise.
22229 * posix/alarm.c: Likewise.
22230 * posix/execve.c: Likewise.
22231 * posix/fexecve.c: Likewise.
22232 * posix/fork.c: Likewise.
22233 * posix/fpathconf.c: Likewise.
22234 * posix/getaddrinfo.c: Likewise.
22235 * posix/getegid.c: Likewise.
22236 * posix/geteuid.c: Likewise.
22237 * posix/getgid.c: Likewise.
22238 * posix/getgroups.c: Likewise.
22239 * posix/getlogin.c: Likewise.
22240 * posix/getlogin_r.c: Likewise.
22241 * posix/getpgid.c: Likewise.
22242 * posix/getpid.c: Likewise.
22243 * posix/getppid.c: Likewise.
22244 * posix/getresgid.c: Likewise.
22245 * posix/getresuid.c: Likewise.
22246 * posix/getsid.c: Likewise.
22247 * posix/getuid.c: Likewise.
22248 * posix/glob64.c: Likewise.
22249 * posix/nanosleep.c: Likewise.
22250 * posix/pathconf.c: Likewise.
22251 * posix/pause.c: Likewise.
22252 * posix/posix_madvise.c: Likewise.
22253 * posix/pread.c: Likewise.
22254 * posix/pread64.c: Likewise.
22255 * posix/pwrite.c: Likewise.
22256 * posix/pwrite64.c: Likewise.
22257 * posix/sched_getaffinity.c: Likewise.
22258 * posix/sched_getp.c: Likewise.
22259 * posix/sched_gets.c: Likewise.
22260 * posix/sched_primax.c: Likewise.
22261 * posix/sched_primin.c: Likewise.
22262 * posix/sched_rr_gi.c: Likewise.
22263 * posix/sched_setaffinity.c: Likewise.
22264 * posix/sched_setp.c: Likewise.
22265 * posix/sched_sets.c: Likewise.
22266 * posix/sched_yield.c: Likewise.
22267 * posix/setgid.c: Likewise.
22268 * posix/setlogin.c: Likewise.
22269 * posix/setpgid.c: Likewise.
22270 * posix/setresgid.c: Likewise.
22271 * posix/setresuid.c: Likewise.
22272 * posix/setsid.c: Likewise.
22273 * posix/setuid.c: Likewise.
22274 * posix/sleep.c: Likewise.
22275 * posix/spawni.c: Likewise.
22276 * posix/sysconf.c: Likewise.
22277 * posix/times.c: Likewise.
22278 * posix/wait.c: Likewise.
22279 * posix/wait3.c: Likewise.
22280 * posix/wait4.c: Likewise.
22281 * posix/waitpid.c: Likewise.
22282 * resolv/gai_sigqueue.c: Likewise.
22283 * resource/getpriority.c: Likewise.
22284 * resource/getrlimit.c: Likewise.
22285 * resource/getrusage.c: Likewise.
22286 * resource/nice.c: Likewise.
22287 * resource/setpriority.c: Likewise.
22288 * resource/setrlimit.c: Likewise.
22289 * resource/ulimit.c: Likewise.
22290 * rt/aio_cancel.c: Likewise.
22291 * rt/aio_fsync.c: Likewise.
22292 * rt/aio_read.c: Likewise.
22293 * rt/aio_sigqueue.c: Likewise.
22294 * rt/aio_suspend.c: Likewise.
22295 * rt/aio_write.c: Likewise.
22296 * rt/clock_getres.c: Likewise.
22297 * rt/clock_gettime.c: Likewise.
22298 * rt/clock_nanosleep.c: Likewise.
22299 * rt/clock_settime.c: Likewise.
22300 * rt/lio_listio.c: Likewise.
22301 * rt/mq_close.c: Likewise.
22302 * rt/mq_getattr.c: Likewise.
22303 * rt/mq_notify.c: Likewise.
22304 * rt/mq_open.c: Likewise.
22305 * rt/mq_receive.c: Likewise.
22306 * rt/mq_send.c: Likewise.
22307 * rt/mq_setattr.c: Likewise.
22308 * rt/mq_timedreceive.c: Likewise.
22309 * rt/mq_timedsend.c: Likewise.
22310 * rt/mq_unlink.c: Likewise.
22311 * rt/shm_open.c: Likewise.
22312 * rt/shm_unlink.c: Likewise.
22313 * rt/timer_create.c: Likewise.
22314 * rt/timer_delete.c: Likewise.
22315 * rt/timer_getoverr.c: Likewise.
22316 * rt/timer_gettime.c: Likewise.
22317 * rt/timer_settime.c: Likewise.
22318 * setjmp/__longjmp.c: Likewise.
22319 * setjmp/setjmp.c: Likewise.
22320 * signal/kill.c: Likewise.
22321 * signal/killpg.c: Likewise.
22322 * signal/raise.c: Likewise.
22323 * signal/sigaction.c: Likewise.
22324 * signal/sigaltstack.c: Likewise.
22325 * signal/sigblock.c: Likewise.
22326 * signal/sigignore.c: Likewise.
22327 * signal/sigintr.c: Likewise.
22328 * signal/signal.c: Likewise.
22329 * signal/sigpause.c: Likewise.
22330 * signal/sigpending.c: Likewise.
22331 * signal/sigqueue.c: Likewise.
22332 * signal/sigreturn.c: Likewise.
22333 * signal/sigset.c: Likewise.
22334 * signal/sigsetmask.c: Likewise.
22335 * signal/sigstack.c: Likewise.
22336 * signal/sigsuspend.c: Likewise.
22337 * signal/sigtimedwait.c: Likewise.
22338 * signal/sigvec.c: Likewise.
22339 * signal/sigwait.c: Likewise.
22340 * signal/sigwaitinfo.c: Likewise.
22341 * signal/sysv_signal.c: Likewise.
22342 * socket/accept.c: Likewise.
22343 * socket/accept4.c: Likewise.
22344 * socket/bind.c: Likewise.
22345 * socket/connect.c: Likewise.
22346 * socket/getpeername.c: Likewise.
22347 * socket/getsockname.c: Likewise.
22348 * socket/getsockopt.c: Likewise.
22349 * socket/isfdtype.c: Likewise.
22350 * socket/listen.c: Likewise.
22351 * socket/recv.c: Likewise.
22352 * socket/recvfrom.c: Likewise.
22353 * socket/recvmsg.c: Likewise.
22354 * socket/send.c: Likewise.
22355 * socket/sendmsg.c: Likewise.
22356 * socket/sendto.c: Likewise.
22357 * socket/setsockopt.c: Likewise.
22358 * socket/shutdown.c: Likewise.
22359 * socket/sockatmark.c: Likewise.
22360 * socket/socket.c: Likewise.
22361 * socket/socketpair.c: Likewise.
22362 * stdio-common/ctermid.c: Likewise.
22363 * stdio-common/cuserid.c: Likewise.
22364 * stdio-common/remove.c: Likewise.
22365 * stdio-common/rename.c: Likewise.
22366 * stdio-common/renameat.c: Likewise.
22367 * stdio-common/tempname.c: Likewise.
22368 * stdlib/getcontext.c: Likewise.
22369 * stdlib/makecontext.c: Likewise.
22370 * stdlib/setcontext.c: Likewise.
22371 * stdlib/swapcontext.c: Likewise.
22372 * stdlib/system.c: Likewise.
22373 * streams/fattach.c: Likewise.
22374 * streams/fdetach.c: Likewise.
22375 * streams/getmsg.c: Likewise.
22376 * streams/getpmsg.c: Likewise.
22377 * streams/putmsg.c: Likewise.
22378 * streams/putpmsg.c: Likewise.
22379 * sysdeps/unix/bsd/getpt.c: Likewise.
22380 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22381 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22382 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22384 Likewise.
22385 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22386 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22387 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22388 * sysvipc/msgctl.c: Likewise.
22389 * sysvipc/msgget.c: Likewise.
22390 * sysvipc/msgrcv.c: Likewise.
22391 * sysvipc/msgsnd.c: Likewise.
22392 * sysvipc/semctl.c: Likewise.
22393 * sysvipc/semget.c: Likewise.
22394 * sysvipc/semop.c: Likewise.
22395 * sysvipc/semtimedop.c: Likewise.
22396 * sysvipc/shmat.c: Likewise.
22397 * sysvipc/shmctl.c: Likewise.
22398 * sysvipc/shmdt.c: Likewise.
22399 * sysvipc/shmget.c: Likewise.
22400 * termios/tcdrain.c: Likewise.
22401 * termios/tcflow.c: Likewise.
22402 * termios/tcflush.c: Likewise.
22403 * termios/tcgetattr.c: Likewise.
22404 * termios/tcgetpgrp.c: Likewise.
22405 * termios/tcsendbrk.c: Likewise.
22406 * termios/tcsetattr.c: Likewise.
22407 * termios/tcsetpgrp.c: Likewise.
22408 * time/adjtime.c: Likewise.
22409 * time/clock.c: Likewise.
22410 * time/getitimer.c: Likewise.
22411 * time/gettimeofday.c: Likewise.
22412 * time/setitimer.c: Likewise.
22413 * time/settimeofday.c: Likewise.
22414 * time/stime.c: Likewise.
22415 * time/time.c: Likewise.
22416
224172012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22418
a20492cf
PT
22419 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22420 /usr/old/bin.
22421
72e182e3
PT
22422 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22423 instead of spaces.
22424 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22425
fbeafede
JM
224262012-11-03 Joseph Myers <joseph@codesourcery.com>
22427
5b5b04d6
JM
22428 [BZ #14796]
22429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22430 FE_TONEAREST before applying Dekker multiplication and Knuth
22431 addition. Clear inexact exceptions and check for exact zero
22432 results afterwards.
22433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22434 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22436 * math/libm-test.inc (fma_test): Add more tests.
22437 (fma_test_towardzero): Likewise.
22438 (fma_test_downward): Likewise.
22439 (fma_test_upward): Likewise.
22440 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22441 function.
22442 (libc_fesetround): New macro.
22443 (libc_fesetroundf): Likewise.
22444 (libc_fesetroundl): Likewise.
22445 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22446 function.
22447 (libc_fesetround_387): Likewise.
22448 (libc_fesetroundf): New macro.
22449 (libc_fesetround): Likewise.
22450 (libc_fesetroundl): Likewise.
22451 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22452 function.
22453 (libc_fesetroundf): New macro.
22454 (libc_fesetround): Likewise.
22455 (libc_fesetroundl): Likewise.
22456 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22457 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22458 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22459 libm_hidden_ver.
22460 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22461 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22462 libm_hidden_def.
22463 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22464 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22465 libm_hidden_ver.
22466 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22467 libm_hidden_def.
22468
fbeafede
JM
22469 [BZ #3439]
22470 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22471 integer constant usable in #if and use that to give value to enum
22472 constant.
22473 (FE_DIVBYZERO): Likewise.
22474 (FE_UNDERFLOW): Likewise.
22475 (FE_OVERFLOW): Likewise.
22476 (FE_INVALID): Likewise.
22477 (FE_INVALID_SNAN): Likewise.
22478 (FE_INVALID_ISI): Likewise.
22479 (FE_INVALID_IDI): Likewise.
22480 (FE_INVALID_ZDZ): Likewise.
22481 (FE_INVALID_IMZ): Likewise.
22482 (FE_INVALID_COMPARE): Likewise.
22483 (FE_INVALID_SOFTWARE): Likewise.
22484 (FE_INVALID_SQRT): Likewise.
22485 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22486 (FE_TONEAREST): Likewise.
22487 (FE_TOWARDZERO): Likewise.
22488 (FE_UPWARD): Likewise.
22489 (FE_DOWNWARD): Likewise.
22490 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22491 (FE_DIVBYZERO): Likewise.
22492 (FE_OVERFLOW): Likewise.
22493 (FE_UNDERFLOW): Likewise.
22494 (FE_INEXACT): Likewise.
22495 (FE_TONEAREST): Likewise.
22496 (FE_DOWNWARD): Likewise.
22497 (FE_UPWARD): Likewise.
22498 (FE_TOWARDZERO): Likewise.
22499 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22500 (FE_UNDERFLOW): Likewise.
22501 (FE_OVERFLOW): Likewise.
22502 (FE_DIVBYZERO): Likewise.
22503 (FE_INVALID): Likewise.
22504 (FE_TONEAREST): Likewise.
22505 (FE_TOWARDZERO): Likewise.
22506 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22507 (FE_OVERFLOW): Likewise.
22508 (FE_UNDERFLOW): Likewise.
22509 (FE_DIVBYZERO): Likewise.
22510 (FE_INEXACT): Likewise.
22511 (FE_TONEAREST): Likewise.
22512 (FE_TOWARDZERO): Likewise.
22513 (FE_UPWARD): Likewise.
22514 (FE_DOWNWARD): Likewise.
22515 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22516 (FE_DIVBYZERO): Likewise.
22517 (FE_OVERFLOW): Likewise.
22518 (FE_UNDERFLOW): Likewise.
22519 (FE_INEXACT): Likewise.
22520 (FE_TONEAREST): Likewise.
22521 (FE_DOWNWARD): Likewise.
22522 (FE_UPWARD): Likewise.
22523 (FE_TOWARDZERO): Likewise.
22524
105ca950
CM
225252012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22526
22527 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22528
a542b389
AS
225292012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22530
22531 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22532 commands. Quote $PWD.
22533 (blacklist_exports): Don't use remove_newlines. Replace "declare
22534 -x" by "export".
22535 (remove_newlines): Remove.
22536
f62c8abc
L
225372012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22540 * stdlib/stdlib.h (atof): Moved to ...
22541 * include/bits/stdlib-float.h: Here. New file.
22542 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22543 * stdlib/bits/stdlib-float.h: New file.
22544 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22545 -mno-sse -mno-mmx.
22546 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22547 <xmmintrin.h>.
22548
0155d5b2
JM
225492012-11-02 Joseph Myers <joseph@codesourcery.com>
22550
a68d0680
JM
22551 * conform/conformtest.pl (@headers): Add fenv.h.
22552 * conform/data/fenv.h-data: New file.
22553 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22554 include of <math/fenv.h>.
22555
caf7f573
JM
22556 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22557 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22558 && !UNIX98]. Enables tests for XOPEN2K8.
22559 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22560 POSIX2008]: Likewise.
22561
6c073ad6
JM
22562 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22563 (struct rusage): Do not expect type or its members.
22564
0155d5b2
JM
22565 [BZ #3439]
22566 * math/math.h (FP_NAN): Define macro to integer constant usable in
22567 #if and use that to give value to enum constant.
22568 (FP_INFINITE): Likewise.
22569 (FP_ZERO): Likewise.
22570 (FP_SUBNORMAL): Likewise.
22571 (FP_NORMAL): Likewise.
22572
b5dcacb4
AS
225732012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22574
22575 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22576 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22577 arguments.
22578
f7934be8
RM
225792012-11-02 Roland McGrath <roland@hack.frob.com>
22580
22581 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22582 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22583 autoconf-time if not.
22584 * configure.in: Remove AC_PREREQ.
22585
d7d08bde
TMQMF
225862012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22587
22588 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22589 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22590 of the internal implementation.
22591
dcdae19a
JM
225922012-11-02 Joseph Myers <joseph@codesourcery.com>
22593
22594 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22595 except include of <misc/sys/syslog.h>.
22596
d6cffd3e
AS
225972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22598
22599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22600 function returns with a NULL context exit with zero.
22601
b3563932
TMQMF
226022012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22603
22604 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22605
b288a93d
L
226062012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22607
22608 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22609 (run_program_cmd): This.
22610 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22611 (tst_langinfo): New variable. Use it.
22612
a2421a68
SAS
226132012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22614
22615 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22616 floating point opcodes.
22617
6f796e1b
TS
226182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22619
7402596b
TS
22620 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22621 variable.
22622
d0d4f868
TS
22623 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22624
6f796e1b
TS
22625 * sysdeps/mach/hurd/powerpc: Remove directory.
22626 * sysdeps/mach/powerpc: Likewise.
22627
4da224a2
AS
226282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22629
22630 * scripts/check-local-headers.sh: Ignore c++ headers.
22631
341dd673
TS
226322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22633
22634 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22635 __libc_cleanup_region_start argument.
22636
473611b2
JM
226372012-11-01 Joseph Myers <joseph@codesourcery.com>
22638
22639 [BZ #14784]
22640 [BZ #14785]
22641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22642 x * y using scaling, not as x * y + z.
22643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22645 * math/libm-test.inc (fma_test): Add more tests.
22646 (fma_test_towardzero): Likewise.
22647 (fma_test_downward): Likewise.
22648 (fma_test_upward): Likewise.
22649
4078da3d
TS
226502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22651
22652 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22653
903252aa
JM
226542012-10-31 Joseph Myers <joseph@codesourcery.com>
22655
22656 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22657 New variable.
22658
cbc818d0
TS
226592012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22660
22661 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22662
5a03cb1e
AS
226632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22664
22665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22666 Fix sort order.
22667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22668 Likewise.
22669
90aff2ff
TMQMF
226702012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22671
22672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22673 Fix the order of the list for glibc 2.17.
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22675 Likewise.
22676
1818fcb7
AS
226772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22678
22679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22680
ef82f4da
JM
226812012-10-31 Joseph Myers <joseph@codesourcery.com>
22682
16a0e2ec
JM
22683 [BZ #14610]
22684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22685 for low part of x being zero before using __atanl (y).
22686 * math/libm-test.inc (atan2_test): Add another test.
22687
0eb69512
JM
22688 * manual/install.texi (Configuring and compiling): Document
22689 general use of test-wrapper and test-wrapper-env.
22690 * INSTALL: Regenerated.
22691
ef82f4da
JM
22692 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22693 (__fma): Do not extract and scale down low bits on after-rounding
22694 systems when result rounded to normal precision would have normal
22695 exponent.
22696 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22697 (__fmal): Do not extract and scale down low bits on after-rounding
22698 systems when result rounded to normal precision would have normal
22699 exponent.
22700 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22701 (__fmal): Do not extract and scale down low bits on after-rounding
22702 systems when result rounded to normal precision would have normal
22703 exponent.
22704 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22705 macro.
22706 (fma_test): Add more tests.
22707 (fma_test_towardzero): Likewise.
22708 (fma_test_downward): Likewise.
22709 (fma_test_upward): Likewise.
22710
954ef0d9
L
227112012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22712
22713 * sysdeps/i386/tininess.h: Renamed to ...
22714 * sysdeps/x86/tininess.h: This.
22715 * sysdeps/x86_64/tininess.h: Removed.
22716
df61ffb2
JM
227172012-10-30 Joseph Myers <joseph@codesourcery.com>
22718
22719 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22720 input. Use $(build-program-cmd).
22721 ($(objpfx)tst-array1-static.out): Likewise.
22722 ($(objpfx)tst-array2.out): Likewise.
22723 ($(objpfx)tst-array3.out): Likewise.
22724 ($(objpfx)tst-array4.out): Likewise.
22725 ($(objpfx)tst-array5.out): Likewise.
22726 ($(objpfx)tst-array5-static.out): Likewise.
22727
01767843
CM
227282012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22729
47cc1490
CM
22730 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22731 if defined.
22732
01767843
CM
22733 * nss/nsswitch.h (nss_interface_function): Provide new
22734 macro for use with NSS functions.
22735 * grp/initgroups.c: Use new macro.
22736 * nss/getXXbyYY.c: Likewise.
22737 * nss/getXXbyYY_r.c: Likewise.
22738 * nss/getXXent.c: Likewise.
22739 * nss/getXXent_r.c: Likewise.
22740 * sysdeps/posix/getaddrinfo.c: Likewise.
22741
8321aa97
AJ
227422012-10-30 Andreas Jaeger <aj@suse.de>
22743
22744 * po/ru.po: Update Russion translation from translation project.
22745
2a27fd6d
JM
227462012-10-30 Joseph Myers <joseph@codesourcery.com>
22747
8627a232
JM
22748 [BZ #14152]
22749 [BZ #14783]
22750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22751 result and shift together with sticky bit instead of replicating
22752 round-to-nearest rounding.
22753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22754 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22755 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22756 missing underflow exceptions.
22757 (fma_test_towardzero): Add more tests.
22758 (fma_test_downward): Likewise.
22759 (fma_test_upward): Likewise.
22760
2a27fd6d
JM
22761 [BZ #14047]
22762 * sysdeps/generic/tininess.h: New file.
22763 * sysdeps/i386/tininess.h: Likewise.
22764 * sysdeps/sh/tininess.h: Likewise.
22765 * sysdeps/x86_64/tininess.h: Likewise.
22766 * stdlib/tst-strtod-underflow.c: Likewise.
22767 * stdlib/tst-tininess.c: Likewise.
22768 * stdlib/strtod_l.c: Include <tininess.h>.
22769 (round_and_return): Do not set errno for exact underflow cases.
22770 Force an underflow exception when setting errno for underflow.
22771 Determine underflow based on rounding to normal precision if
22772 TININESS_AFTER_ROUNDING.
22773 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22774 ERANGE for exact underflow cases.
22775 * stdlib/Makefile (tests): Add tst-tininess and
22776 tst-strtod-underflow.
22777 ($(objpfx)tst-tininess): Use $(link-libm).
22778 ($(objpfx)tst-strtod-underflow): Likewise.
22779
e7170363
AJ
227802012-10-30 Andreas Jaeger <aj@suse.de>
22781
e5088dc6
AJ
22782 [BZ#14767]
22783 * elf/Makefile (tests): Remove conditional for have-initfini-array
22784 since this is now always required and the variable does not exist
22785 anymore.
22786 (tests-static): Likewise.
22787 (modules-names): Likewise.
22788
e7170363 22789 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22790
22791 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22792 merged with constructor/destructor.
22793 (init_array): Likewise.
22794 * elf/tst-array2dep.c (fini_array): Likewise.
22795 (init_array): Likewise.
22796
60457d8a
MF
227972012-10-29 Mike Frysinger <vapier@gentoo.org>
22798
22799 * manual/message.texi: Delete @cartouche tags.
22800
8bece752
PT
228012012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22802
94ce799f
PT
22803 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22804 EOPNOTSUPP.
22805 * sysdeps/mach/hurd/fsync.c: Likewise.
22806
8bece752
PT
22807 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22808 [_POSIX_REALTIME_SIGNALS]: Change condition to
22809 [_POSIX_REALTIME_SIGNALS > 0].
22810
86ebe6b1
AJ
228112012-10-27 Andreas Jaeger <aj@suse.de>
22812
22813 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22814 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22816 [__WORDSIZE != 64]: Likewise.
22817
54399c08
L
228182012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22819
22820 * iconvdata/tst-table.sh: Remove ${SHELL}.
22821 * iconvdata/tst-tables.sh: Likewise.
22822
e2211bed
DM
228232012-10-25 David S. Miller <davem@davemloft.net>
22824
22825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22826 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22827 of strtoull.
22828
f303f97c
DM
22829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22830 ifunc-impl-list.c
22831 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22832 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22833 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22834 file.
22835
1e9d84cd
RM
228362012-10-25 Roland McGrath <roland@hack.frob.com>
22837
22838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22839 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22840 __getdirentries.
22841
df381762
JM
228422012-10-25 Joseph Myers <joseph@codesourcery.com>
22843 Jim Blandy <jimb@codesourcery.com>
22844
22845 * scripts/cross-test-ssh.sh: New file.
22846 * manual/install.texi (Configuring and compiling): Document use of
22847 cross-test-ssh.sh.
22848 * INSTALL: Regenerated.
22849
bff64913
PT
228502012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22851
22852 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22853 EOPNOTSUPP.
22854
25fe8932
JM
228552012-10-25 Joseph Myers <joseph@codesourcery.com>
22856
22857 * Makeconfig (run-program-prefix): Fix comment.
22858
cc1290d0
JM
228592012-10-24 Joseph Myers <joseph@codesourcery.com>
22860 Jim Blandy <jimb@codesourcery.com>
22861
22862 * Makeconfig (test-wrapper): New variable,
22863 (test-wrapper-env): Likewise.
22864 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22865 (run-built-tests): Define to yes.
22866 (run-program-prefix): Use $(test-wrapper).
22867 (built-program-cmd): Likewise.
22868 * Rules (make-test-out): Use $(test-wrapper-env) and
22869 $(host-built-program-cmd).
22870 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22871 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22872 tst-pathopt.sh.
22873 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22874 $(test-wrapper-env) to tst-rtld-load-self.sh.
22875 ($(objpfx)order2.out): Use $(test-wrapper).
22876 ($(objpfx)tst-initorder.out): Likewise.
22877 ($(objpfx)tst-initorder2.out): Likewise.
22878 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22879 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22880 (test_wrapper_env): New variable. Use it to run ld.so.
22881 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22882 Use it to run ld.so.
22883 (test_wrapper_env): Likewise.
22884 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22885 $(test-wrapper) to run-iconv-test.sh.
22886 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22887 (ICONV): Use $test_wrapper.
22888 * posix/Makefile ($(objpfx)globtest.out): Pass
22889 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22890 globtest.sh, not $(run-program-prefix).
22891 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22892 (test_wrapper): Likewise.
22893 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22894 set together with run_via_rtld_prefix.
22895 (run_program_prefix): Define in terms of test_wrapper and
22896 run_via_rtld_prefix.
22897
6e6249d0
RM
228982012-10-24 Roland McGrath <roland@hack.frob.com>
22899
22900 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22901 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22902 Targets removed.
22903
22904 [BZ #14743]
22905 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22906 Declare __clock_getres, __clock_gettime, __clock_settime,
22907 __clock_nanosleep, and __clock_getcpuclockid.
22908 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22909 Remove librt_hidden_def (clock_gettime).
22910 * sysdeps/unix/clock_gettime.c: Likewise.
22911 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22912 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22913 * rt/clock_getres.c: Define __clock_getres as an alias.
22914 * sysdeps/posix/clock_getres.c: Likewise.
22915 * rt/clock_settime.c: Define __clock_settime as an alias.
22916 * sysdeps/unix/clock_settime.c: Likewise.
22917 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22918 * sysdeps/unix/clock_nanosleep.c: Likewise.
22919 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22920 * rt/clock-compat.c: New file.
22921 * rt/Makefile (librt-routines): Add clock-compat and move
22922 $(clock-routines) to ...
22923 (routines): ... here, new variable.
22924 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22925 Don't add get_clockfreq here.
22926 * rt/Versions (libc: GLIBC_2.17): New version set.
22927 Add clock_* symbols here.
22928 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22930 (GLIBC_2.17): Add clock_* symbols.
22931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22935 Likewise.
22936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22937 Likewise.
22938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22942 * NEWS: Mention the move.
22943
22944 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22945 Use __open, __read, __close rather than their public counterparts.
22946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22947 (__get_clockfreq_via_cpuinfo): Likewise.
22948 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22949 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22950
22951 * config.h.in (HAVE_IFUNC): New #undef.
22952 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22953 was successful.
22954 * configure: Regenerated.
22955
0cae3f4b
MF
229562012-10-24 Mike Frysinger <vapier@gentoo.org>
22957
22958 * configure.in: Move READELF check to start of file.
22959 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22960 libc_cv_asm_gnu_indirect_function in the process.
22961 * configure: Regenerated.
22962
8175a253
MF
229632012-10-24 Mike Frysinger <vapier@gentoo.org>
22964
22965 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22966 send the output to /dev/null.
22967 (libc_cv_cc_with_libunwind): Likewise.
22968 (libc_cv_as_noexecstack): Likewise.
22969 * configure: Regenerate.
22970
0708a7d1
JM
229712012-10-24 Joseph Myers <joseph@codesourcery.com>
22972
10b40d85
JM
22973 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22974
0708a7d1
JM
22975 * posix/globtest.sh (TMPDIR): Do not set.
22976 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22977 (testout): Likewise.
22978
9fddec1a
AJ
229792012-10-24 Andreas Jaeger <aj@suse.de>
22980
3a8db22f
AJ
22981 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22982 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22983 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22984 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22985 posix_fadvise64, posix_fallocate64.
22986
9fddec1a
AJ
22987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22988 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22989 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22990 Likewise.
22991 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22992 Likewise.
22993 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22994
22995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22996 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22997 <bits/fcntl-linux.h>.
22998 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22999
23000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23001 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23002 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23003 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23004 [__WORDSIZE != 64]: Likewise.
23005
ebfd1bbd
JM
230062012-10-23 Joseph Myers <joseph@codesourcery.com>
23007
03ac099f
JM
23008 * Makeconfig (run-built-tests): New variable.
23009 * Rules [$(cross-compiling) = yes]: Change condition to
23010 [$(run-built-tests) = no].
23011 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23012 to [$(run-built-tests) = yes].
23013 * elf/Makefile [$(cross-compiling) = no]: Likewise
23014 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23015 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23016 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23017 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23018 * io/Makefile [$(cross-compiling) = no]: Likewise.
23019 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23020 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23021 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23022 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23023 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23024 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23025 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23026 * string/Makefile [$(cross-compiling) = no]: Likewise.
23027
ebfd1bbd
JM
23028 * posix/Makefile ($(objpfx)globtest.out): Pass
23029 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23030 $(rtld-installed-name).
23031 * posix/globtest.sh (elf_objpfx): Remove variable.
23032 (rtld_installed_name): Likewise.
23033 (library_path): Likewise.
23034 (run_program_prefix): New variable. Use for running globtest
23035 binary.
23036
166bca24
JB
230372012-10-23 Jim Blandy <jimb@codesourcery.com>
23038 Joseph Myers <joseph@codesourcery.com>
23039
23040 * Makeconfig (host-built-program-cmd): New variable.
23041 * elf/Makefile (tst-stackguard1-ARGS): Use
23042 $(host-built-program-cmd).
23043 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23044 (tst-spawn-ARGS): Likewise.
23045 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23046
88866099
JM
230472012-10-23 Joseph Myers <joseph@codesourcery.com>
23048 Jim Blandy <jimb@codesourcery.com>
23049
23050 * Makeconfig (run-via-rtld-prefix): New variable.
23051 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23052 (built-program-cmd): Likewise.
23053
b4b4c296
AJ
230542012-10-22 Andreas Jaeger <aj@suse.de>
23055
23056 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23057 __O_RSYNC if it exists, otherwise to O_SYNC.
23058
6fb54a22
JB
230592012-10-22 Jim Blandy <jimb@codesourcery.com>
23060 Joseph Myers <joseph@codesourcery.com>
23061
23062 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23063 /dev/null.
23064 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23065 from /dev/null
23066 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23067 /dev/null.
23068
481b90b9
AJ
230692012-10-22 Andreas Jaeger <aj@suse.de>
23070
2a0e2669
AJ
23071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23072 Define always.
23073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23074
76e38f9a
AJ
23075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23076 bits/fcntl-linux.h.
23077
7cd37b43
AJ
23078 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23079 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23080
481b90b9
AJ
23081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23082 to __O_LARGEFILE.
23083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23084 to __O_LARGEFILE.
23085
aba75984
JB
230862012-10-21 Jim Blandy <jimb@codesourcery.com>
23087 Joseph Myers <joseph@codesourcery.com>
23088
23089 * config.make.in (NM): New variable.
23090
88d4247f
AJ
230912012-10-21 Andreas Jaeger <aj@suse.de>
23092
23093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23094 definitions and declarations that are provided by
23095 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23096
f2eed205
L
230972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23098
23099 [BZ #14683]
23100 * elf/Makefile (tests-static): Add tst-leaks1-static.
23101 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23102 ($(objpfx)tst-leaks1-static): New rule.
23103 ($(objpfx)tst-leaks1-static-mem): Likewise.
23104 (tst-leaks1-static-ENV): New macro.
23105 * elf/dl-open.c (dl_open_worker): Check the main application
23106 only if SHARED is defined.
23107 * elf/tst-leaks1-static.c: New file.
23108
335e6931
AJ
231092012-10-20 Andreas Jaeger <aj@suse.de>
23110
23111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23112 generic values for Linux.
23113 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23114 and declarations that are provided by <bits/fcntl-linux.h> and
23115 include <bits/fcntl-linux.h>.
23116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23118
ac5c94d3
RM
231192012-10-20 Roland McGrath <roland@hack.frob.com>
23120
23121 * io/fcntl.h: Move include of <bits/types.h> to the top and
23122 include it unconditionally.
23123
de54b33a
L
231242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23125
228cfb01
L
23126 * wcsmbs/Makefile (tests-ifunc): New variable.
23127 (tests): Add $(tests-ifunc).
23128 * wcsmbs/test-wcschr-ifunc.c: New file.
23129 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23130 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23131 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23132 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23133 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23134
69f07e5f
L
23135 * string/Makefile (tests-ifunc): New variable.
23136 (tests): Add $(tests-ifunc).
23137 * string/test-memccpy.c (TEST_NAME): New macro.
23138 * string/test-memchr.c (TEST_NAME): Likewise.
23139 * string/test-memcmp.c (TEST_NAME): Likewise.
23140 * string/test-memcpy.c (TEST_NAME): Likewise.
23141 * string/test-memmem.c (TEST_NAME): Likewise.
23142 * string/test-memmove.c (TEST_NAME): Likewise.
23143 * string/test-memset.c (TEST_NAME): Likewise.
23144 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23145 * string/test-stpcpy.c (TEST_NAME): Likewise.
23146 * string/test-stpncpy.c (TEST_NAME): Likewise.
23147 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23148 * string/test-strcasestr.c (TEST_NAME): Likewise.
23149 * string/test-strcat.c (TEST_NAME): Likewise.
23150 * string/test-strchr.c (TEST_NAME): Likewise.
23151 * string/test-strcmp.c(TEST_NAME): Likewise.
23152 * string/test-strcpy.c (TEST_NAME): Likewise.
23153 * string/test-strcspn.c (TEST_NAME): Likewise.
23154 * string/test-strlen.c (TEST_NAME): Likewise.
23155 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23156 * string/test-strncmp.c (TEST_NAME): Likewise.
23157 * string/test-strncpy.c (TEST_NAME): Likewise.
23158 * string/test-strnlen.c (TEST_NAME): Likewise.
23159 * string/test-strpbrk.c (TEST_NAME): Likewise.
23160 * string/test-strrchr.c (TEST_NAME): Likewise.
23161 * string/test-strspn.c (TEST_NAME): Likewise.
23162 * string/test-strstr.c (TEST_NAME): Likewise.
23163 * string/test-bcopy-ifunc.c: New file.
23164 * string/test-bzero-ifunc.c: Likewise.
23165 * string/test-memccpy-ifunc.c: Likewise.
23166 * string/test-memchr-ifunc.c: Likewise.
23167 * string/test-memcmp-ifunc.c: Likewise.
23168 * string/test-memcpy-ifunc.c: Likewise.
23169 * string/test-memmem-ifunc.c: Likewise.
23170 * string/test-memmove-ifunc.c: Likewise.
23171 * string/test-mempcpy-ifunc.c: Likewise.
23172 * string/test-memset-ifunc.c: Likewise.
23173 * string/test-rawmemchr-ifunc.c: Likewise.
23174 * string/test-stpcpy-ifunc.c: Likewise.
23175 * string/test-stpncpy-ifunc.c: Likewise.
23176 * string/test-strcasecmp-ifunc.c: Likewise.
23177 * string/test-strcasestr-ifunc.c: Likewise.
23178 * string/test-strcat-ifunc.c: Likewise.
23179 * string/test-strchr-ifunc.c: Likewise.
23180 * string/test-strchrnul-ifunc.c: Likewise.
23181 * string/test-strcmp-ifunc.c: Likewise.
23182 * string/test-strcpy-ifunc.c: Likewise.
23183 * string/test-strcspn-ifunc.c: Likewise.
23184 * string/test-strlen-ifunc.c: Likewise.
23185 * string/test-strncasecmp-ifunc.c: Likewise.
23186 * string/test-strncat-ifunc.c: Likewise.
23187 * string/test-strncmp-ifunc.c: Likewise.
23188 * string/test-strncpy-ifunc.c: Likewise.
23189 * string/test-strnlen-ifunc.c: Likewise.
23190 * string/test-strpbrk-ifunc.c: Likewise.
23191 * string/test-strrchr-ifunc.c: Likewise.
23192 * string/test-strspn-ifunc.c: Likewise.
23193 * string/test-strstr-ifunc.c: Likewise.
23194
de54b33a
L
23195 * debug/Makefile (tests-ifunc): New variable.
23196 (tests): Add $(tests-ifunc).
23197 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23198 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23199 * debug/test-stpcpy_chk-ifunc.c: New file.
23200 * debug/test-strcpy_chk-ifunc.c: Likewise.
23201
88481c16
SP
232022012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23203
23204 [BZ #13601]
23205 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23206 header is not read in.
23207
135948bd
JM
232082012-10-19 Joseph Myers <joseph@codesourcery.com>
23209
89f1c388
JM
23210 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23211 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23212 directly. Pass built executable to script as
23213 $(built-program-cmd).
23214 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23215 $testprogram without using LD_LIBRARY_PATH and $ldso.
23216
e40a0d21
JM
23217 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23218 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23219 $(rtld-installed-name).
23220 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23221 (rtld_installed_name): Likewise.
23222 (library_path): Likewise.
23223 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23224 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23225 $(run-program-prefix) to tst-tables.sh.
23226 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23227 it to run tst-table-from and tst-table-to.
23228 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23229 Pass it to tst-table.sh.
23230 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23231 $(run-program-prefix) to tst-gettext.sh.
23232 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23233 tst-translit.sh.
23234 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23235 tst-gettext2.sh.
23236 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23237 to run tst-gettext.
23238 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23239 to run tst-gettext2.
23240 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23241 to run tst-translit.
23242 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23243 $(run-program-prefix) to tst-mtrace.sh.
23244 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23245 to run tst-mtrace.
23246 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23247 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23248 $(rtld-installed-name).
23249 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23250 (rtld_installed_name): Likewise.
23251 (run_program_prefix): New variable. Use it to run wordexp-test.
23252
728e272a
JM
23253 * Makeconfig (ARCH): Remove all definitions.
23254 (machine): Likewise.
23255 [ARCH]: Remove conditional code.
23256 [!objdir]: Give error.
23257 [!objdir] (objpfx): Remove.
23258 [!objdir] (common-objpfx): Likewise.
23259 [!objdir] (common-objdir): Likewise.
23260 * configure.in (config_makefile): Remove. Hardcode Makefile in
23261 AC_CONFIG_FILES call.
23262 * configure: Regenerated.
23263
d528cdcf
JM
23264 [BZ #13888]
23265 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23266 or TMPDIR.
23267 (testout): Likewise.
23268
135948bd
JM
23269 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23270 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23271 $(rtld-installed-name).
23272 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23273 (rtld_installed_name): Likwise.
23274 (runit): Remove function.
23275 (run_getconf): New variable, Use it for running getconf binary.
23276
38c78296
L
232772012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23278
23279 [BZ #14716]
23280 * string/test-memmem.c (check_result): New function.
23281 (do_one_test): Use it.
23282 (check1): New function.
23283 (test_main): Use it.
23284
d077f65f
MT
232852012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23286
23287 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23288
ced52c71
JM
232892012-10-18 Joseph Myers <joseph@codesourcery.com>
23290
23291 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23292 (_G_LSEEK64): Likewise.
23293 (_G_MMAP64): Likewise.
23294 (_G_FSTAT64): Likewise.
23295 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23296 (_G_LSEEK64): Likewise.
23297 (_G_MMAP64): Likewise.
23298 (_G_FSTAT64): Likewise.
23299 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23300 unconditional. Call __mmap64 directly.
23301 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23302 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23303 __lseek64 directly.
23304 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23305 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23306 __mmap64 directly.
23307 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23308 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23309 __lseek64 directly.
23310 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23311 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23312 __lseek64 directly.
23313 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23314 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23315 __lseek64 directly.
23316 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23317 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23318 __fxstat64 directly.
23319 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23320 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23321 unconditional.
23322 (freopen64) [!_G_OPEN64]: Remove conditional code.
23323 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23324 unconditional.
23325 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23326 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23327 unconditional.
23328 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23329 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23330 unconditional.
23331 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23332 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23333 unconditional.
23334 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23335 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23336 unconditional.
23337 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23338 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23339 unconditional.
23340 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23341 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23342 unconditional.
23343 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23344
b741de23
SP
233452012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23346
23347 [BZ #12140]
23348 * manual/memory.texi (Malloc Tunable Parameters): Add note
23349 about free list pointers overwriting some perturb bytes.
23350 Wording suggested by Roland McGrath.
23351
f9b9d9c9
JM
233522012-10-17 Joseph Myers <joseph@codesourcery.com>
23353
23354 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23355 (lgamma_test): Likewise.
23356 (tgamma_test): Likewise.
23357
172a631a
FW
233582012-10-16 Florian Weimer <fweimer@redhat.com>
23359
23360 [BZ #14700]
23361 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23362 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23363
e9f37252
MK
233642012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23365
23366 * NEWS: Mention BZ #14716.
23367 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23368 when removing AVAILABLE1_USES_J macro.
23369
d394eb74
L
233702012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23371
23372 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23373 (__bswap_64): __uint64_t for unsigned 64-bit int.
23374
ca38dc17
AS
233752012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23376
23377 * include/string.h (memmem): Declare libc hidden alias.
23378 * string/memmem.c (memmem): Define libc hidden alias.
23379 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23380 __read, __close instead of open, read, close.
23381
9a387d1f
L
233822012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23383
ac49ecaf
L
23384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23385 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23386 global and hidden.
23387 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23388 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23389 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23390 Likewise.
23391 (__rawmemchr_sse2): Likewise.
23392 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23393 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23394 (__strchr_sse2): Likewise.
23395 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23396 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23397 (__strcasecmp_sse2): Likewise.
23398 (__strncasecmp_sse2): Likewise.
23399 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23400 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23401 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23402 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23403 (__strrchr_sse2): Likewise.
23404 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23405 ifunc-impl-list.c.
23406 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23407 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23408 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23409 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23410 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23411 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23412 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23413 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23414 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23415 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23416 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23417 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23418 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23419 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23420 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23421 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23422 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23423 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23424 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23425 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23426 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23427 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23428 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23429 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23430 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23431 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23432 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23433 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23434 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23435 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23436
b090e8ea
L
23437 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23438 global and hidden.
23439 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23440 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23441 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23442 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23443 Likewise.
23444 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23445 Likewise.
23446 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23447 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23448 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23449 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23450 ifunc-impl-list.c.
23451 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23452 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23453 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23454 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23455 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23456 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23457 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23458 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23459 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23460 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23461 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23462 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23463 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23464 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23465 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23466 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23467 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23468 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23469 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23470 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23472 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23473 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23474 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23475 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23482 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23483 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23484 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23485 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23486 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23487 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23490 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23492
11dd4af6
L
23493 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23494 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23495 * include/ifunc-impl-list.h: New file.
23496 * misc/ifunc-impl-list.c: Likewise.
23497 * misc/Makefile (routines): Add ifunc-impl-list.
23498 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23499 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23500 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23501 TEST_NAME]: New variables.
11dd4af6
L
23502 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23503 are defined.
23504 (test_init): Call __libc_ifunc_impl_list to initialize
23505 func_list if TEST_IFUNC and TEST_NAME are defined.
23506
9a387d1f
L
23507 * string/Makefile (strop-tests): Add bcopy and bzero.
23508 * string/test-bcopy.c: New file.
23509 * string/test-bzero.c: Likewise.
23510 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23511 defined.
23512 * string/test-memset.c: Support bzero test if TEST_BZERO is
23513 defined.
23514 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23515 __libc_memmove.
23516 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23517 __libc_memset.
23518 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23519 of memset.
23520
472371b9
JM
235212012-10-10 Joseph Myers <joseph@codesourcery.com>
23522
1e4a9536
JM
23523 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23524 * configure: Regenerated.
23525
d173d12e
JM
23526 * Makeconfig (+link-static-before-libc): Don't include
23527 $(link-static-libc).
23528
472371b9
JM
23529 * libio/libio.h (_IO_pos_t): Remove.
23530
89a3ad0b
AO
235312012-10-10 Alexandre Oliva <aoliva@redhat.com>
23532
23533 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23534 McGrath.
23535
e7451425
AO
235362012-10-10 Alexandre Oliva <aoliva@redhat.com>
23537
23538 * crypt/crypt-entry.c: Include fips-private.h.
23539 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23540 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23541 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23542 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23543
4ba74a35
AO
235442012-10-10 Alexandre Oliva <aoliva@redhat.com>
23545
23546 * crypt/crypt-private.h: Include stdbool.h.
23547 (_ufc_setup_salt_r): Return bool.
23548 * crypt/crypt-entry.c: Include errno.h.
23549 (__crypt_r): Return NULL with EINVAL for bad salt.
23550 * crypt/crypt_util.c (bad_for_salt): New.
23551 (_ufc_setup_salt_r): Check that salt is long enough and within
23552 the specified alphabet.
23553 * crypt/badsalttest.c: New file.
23554 * crypt/Makefile (tests): Add it.
23555 ($(objpfx)badsalttest): New.
23556
f96f1242
MK
235572012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23558
23559 * NEWS: Add entry for BZ #14602.
23560
0e8e0c1c
JM
235612012-10-09 Joseph Myers <joseph@codesourcery.com>
23562
23563 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23564 type-generic.
23565 * math/libm-test.inc: Update comment listing what functions and
23566 macros are tested.
23567 (isgreater_test): New function.
23568 (isgreaterequal_test): Likewise.
23569 (isless_test): Likewise.
23570 (islessequal_test): Likewise.
23571 (islessgreater_test): Likewise.
23572 (isunordered_test): Likewise.
23573 (main): Call the new functions.
23574
273edc5e
RM
235752012-10-09 Roland McGrath <roland@hack.frob.com>
23576
b8493de0
RM
23577 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23578 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23579 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23580 * sysdeps/i386/configure: Regenerated.
23581 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23582 * sysdeps/mach/configure: Regenerated.
23583 * sysdeps/mach/hurd/configure: Regenerated.
23584 * sysdeps/powerpc/configure: Regenerated.
23585 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23586 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23587 * sysdeps/s390/s390-32/configure: Regenerated.
23588 * sysdeps/s390/s390-64/configure: Regenerated.
23589 * sysdeps/sh/configure: Regenerated.
23590 * sysdeps/sparc/configure: Regenerated.
23591 * sysdeps/unix/sysv/linux/configure: Regenerated.
23592 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23593 * sysdeps/x86_64/configure: Regenerated.
23594
273edc5e
RM
23595 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23596 defined. Don't check if MAP is NULL.
23597
c8450f70
JM
235982012-10-09 Joseph Myers <joseph@codesourcery.com>
23599
23600 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23601 (_G_stat64): Likewise.
23602 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23603 (_G_stat64): Likewise.
23604 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23605 instead of struct _G_stat64.
23606 * libio/fileops.c (mmap_remap_check): Likewise.
23607 (decide_maybe_mmap): Likewise.
23608 (_IO_new_file_seekoff): Likewise.
23609 (_IO_file_stat): Likewise.
23610 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23611 _G_off64_t.
23612 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23613 instead of struct _G_stat64.
23614 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23615
57e605ba
MK
236162012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23617
23618 [BZ #14602]
23619 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23620 Replace with ...
23621 (CHECK_EOL): New macro.
23622 (two_way_short_needle): Check beginning of haystack for EOL. Use
23623 CHECK_EOL.
23624 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23625 Replace with CHECK_EOL.
23626 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23627 Replace with CHECK_EOL.
23628
ef1bb361
JM
236292012-10-08 Joseph Myers <joseph@codesourcery.com>
23630
23631 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23632 type-generic.
23633 * math/libm-test.inc: Update comment listing what functions and
23634 macros are tested.
23635 (finite_test): New function.
23636 (isinf_test): Likewise.
23637 (isnan_test): Likewise.
23638 (fpclassify_test): Test subnormal input.
23639 (isfinite_test): Likewise.
23640 (isnormal_test): Likewise.
23641 (main): Call the new functions.
23642
55f11534
JN
236432012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23644
23645 [BZ #14660]
23646 * Makerules (%.dynsym): Force C locale when running
23647 $(OBJDUMP) --dynamic-syms.
23648
1ab29350
AS
236492012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23650
23651 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23652 <stdint.h>.
23653
f1ecb7ef
DM
236542012-10-06 David S. Miller <davem@davemloft.net>
23655
23656 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23657 upper 32-bits of the length value in %o2 since we use branch-on-register
23658 tests which consider the entire 64-bit register.
23659
5d41d91a
L
236602012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23661
23662 * string/test-strstr.c (check2): Add a test for page boundary.
23663
3baddb72
DM
236642012-10-05 David S. Miller <davem@davemloft.net>
23665
23666 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23667 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23668 file.
23669 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23670 sysdep_routines.
23671 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23672 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23673 and bzero when HWCAP_SPARC_CRYPTO is present.
23674
9cee5585
L
236752012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23676
d7e0dab9
L
23677 [BZ #14602]
23678 * string/test-strstr.c (check2): New function.
23679 (test_main): Call check2.
23680
03759f47
L
23681 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23682 and bug-strchr1.
23683 * string/bug-strcasestr1.c (do_test): Moved to ...
23684 * string/test-strcasestr.c (check1): Here. New function.
23685 (do_one_test): Break out result checking code into ...
23686 (check_result): This. New function.
23687 (do_one_test): Call check_result.
23688 (test_main): Call check1.
23689 * string/bug-strchr1.c (do_test): Moved to ...
23690 * string/test-strchr.c (check1): Here. New function.
23691 (do_one_test): Break out result checking code into ...
23692 (check_result): This. New function.
23693 (do_one_test): Call check_result.
23694 (test_main): Call check1.
23695 * string/bug-strstr1.c (main): Moved to ...
046f153e 23696 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23697 (do_one_test): Break out result checking code into ...
23698 (check_result): This. New function.
23699 (do_one_test): Call check_result.
23700 (test_main): Call check1.
23701 * string/bug-strcasestr1.c: Removed.
23702 * string/bug-strchr1.c: Likewise.
23703 * string/bug-strstr1.c: Likewise.
23704
53cea63e
L
23705 * elf/Makefile (dl-routines): Add hwcaps.
23706 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23707 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23708 (_dl_important_hwcaps): Moved to ...
23709 * elf/dl-hwcaps.c: Here. New file.
23710 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23711
9cee5585 23712 [BZ #14557]
bb859b06
L
23713 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23714 if IS_IN_rtld isn't defined.
23715
9cee5585
L
23716 * elf/dl-support.c (_dl_sysinfo_map): New.
23717 Include "get-dynamic-info.h" and "setup-vdso.h".
23718 (_dl_non_dynamic_init): Call setup_vdso.
23719 * elf/dynamic-link.h: Don't include <assert.h>.
23720 (elf_get_dynamic_info): Moved to ...
23721 * elf/get-dynamic-info.h: Here. New file.
23722 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23723 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23724 * elf/setup-vdso.h: Here. New file.
23725 * elf/rtld.c: Include "setup-vdso.h".
23726 (dl_main): Call setup_vdso.
23727
23c31b76
JM
237282012-10-05 Joseph Myers <joseph@codesourcery.com>
23729
28234b07
JM
23730 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23731 creal in comment listing functions tested. List finite, isinf,
23732 isnan, isless, islessequal, isgreater, isgreaterequal,
23733 islessgreater, isunordered, lgamma_r and pow10 as functions and
23734 macros not tested. Mention which functions not tested are aliases
23735 for other functions. Fix typo. Note that signs of NaNs are not
23736 tested.
23737
23c31b76
JM
23738 * scripts/config.guess: Update from config.git.
23739 * scripts/config.sub: Likewise.
23740
9043e228
RM
237412012-10-04 Roland McGrath <roland@hack.frob.com>
23742
23743 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23744 * misc/madvise.c (madvise): Renamed to __madvise.
23745 Make madvise a weak alias.
23746 * include/sys/mman.h: Declare __madvise.
23747 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23748 * sysdeps/unix/syscalls.list
23749 (madvise): Make __madvise the strong name, and madvise a weak alias.
23750 * sysdeps/unix/sysv/linux/syscalls.list
23751 (madvise, mmap): Remove redundant entries.
23752 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23753 * malloc/malloc.c (mtrim): Likewise.
23754 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23755
f57f8055
RM
237562012-10-03 Roland McGrath <roland@hack.frob.com>
23757
23758 * sysdeps/mach/hurd/dl-cache.c: File removed.
23759 * config.h.in (USE_LDCONFIG): New #undef.
23760 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23761 * configure: Regenerated.
23762 * elf/Makefile (dl-routines): Add dl-cache only under
23763 [$(use-ldconfig) = yes].
23764 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23765 cache on [USE_LDCONFIG].
23766 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23767 [USE_LDCONFIG].
23768 * elf/rtld.c (dl_main): Likewise.
23769
5bb0c10a
PT
237702012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23771
23772 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23773 _SC_LEVEL4_CACHE_LINESIZE.
23774
010188c6
RM
237752012-10-03 Roland McGrath <roland@hack.frob.com>
23776
23777 * sysdeps/unix/bsd/confstr.h: File removed.
23778
b6c5ec07
AO
237792012-10-02 Alexandre Oliva <aoliva@redhat.com>
23780
23781 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23782 sys/sdt-config.h.
23783
408223d4
RM
237842012-10-02 Roland McGrath <roland@hack.frob.com>
23785
23786 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23787 Make 'mapoff' field ElfW(Off) rather than off_t.
23788
bb9510dc
DL
237892012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23790
fc997c6e
DL
23791 * nscd/Makefile: Remove nscd-cflags and all its users.
23792 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23793 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23794
bb9510dc
DL
23795 [BZ #10631]
23796 * malloc.c (malloc_printerr): Clarify error message.
23797
05699367
L
237982012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23799
23800 [BZ #14648]
23801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23802 Set bit_FMA_Usable if FMA is supported.
23803 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23804 macro.
23805 (bit_FMA4_Usable): Updated.
23806 (index_FMA_Usable): New macro.
23807 (CPUID_FMA): Likewise
23808 (HAS_FMA): Defined with bit_FMA_Usable.
23809
51367701
RM
238102012-10-01 Roland McGrath <roland@hack.frob.com>
23811
23812 * bits/types.h (__swblk_t): Type removed.
23813 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23814 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23816 (__SWBLK_T_TYPE): Likewise.
23817 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23818 (__SWBLK_T_TYPE): Likewise.
23819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23820 (__SWBLK_T_TYPE): Likewise.
23821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23822 (__SWBLK_T_TYPE): Likewise.
23823
4d57bf63 238242012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23825 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23826
23827 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23828 (xdr_mapname): Use YPMAXMAP as maxsize.
23829 (xdr_peername): Use YPMAXPEER as maxsize.
23830 (xdr_keydat): Use YPAXRECORD as maxsize.
23831 (xdr_valdat): Use YPMAXRECORD as maxsize.
23832
93c65d43
RM
238332012-10-01 Roland McGrath <roland@hack.frob.com>
23834
497a03d6
RM
23835 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23836
93c65d43
RM
23837 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23838 * csu/init-first.c: ... here.
23839 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23840 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23841 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23843 * sysdeps/i386/init-first.c: File removed.
23844 * sysdeps/sh/init-first.c: File removed.
23845
bec749fd
JM
238462012-10-01 Joseph Myers <joseph@codesourcery.com>
23847
23848 [BZ #14645]
23849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23850 if x * y might underflow to zero and z is zero.
23851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23853 * math/libm-test.inc (min_subnorm_value): New variable.
23854 (fma_test): Add more tests.
23855 (fma_test_towardzero): Likewise.
23856 (fma_test_downward): Likewise
23857 (fma_test_upward): Likewise.
23858 (initialize): Set min_subnorm_value.
23859
8ec5b013
JM
238602012-09-29 Joseph Myers <joseph@codesourcery.com>
23861
23862 [BZ #14638]
23863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23864 0 + 0.
23865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23866 mode for addition resulting in exact zero.
23867 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23869 exact 0 + 0.
23870 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23872 * math/libm-test.inc (fma_test): Add more tests.
23873 (fma_test_towardzero): New function.
23874 (fma_test_downward): Likewise.
23875 (fma_test_upward): Likewise.
23876 (main): Call the new functions.
23877
b1fa802e
DM
238782012-09-28 David S. Miller <davem@davemloft.net>
23879
23880 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23881
d3b9fd9e
RM
238822012-09-28 Roland McGrath <roland@hack.frob.com>
23883
ea4d37b3
RM
23884 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23885 instead of SIGALRM.
23886
ac51c949
RM
23887 * sysdeps/gnu/_G_config.h: Moved to ...
23888 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23889 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23890 * sysdeps/generic/_G_config.h: ... here.
23891
28c195f7
RM
23892 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23893
848917f9
RM
23894 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23895
6bacf05b
RM
23896 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23897 Conditionalize target on [libnss_test1.so-version].
23898
91363dbb
RM
23899 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23900
cc87f7d8
RM
23901 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23902 (elfobjdir): Move out of conditionals.
23903
b1c608fe
RM
23904 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23905 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23906 (__nss_lookup_function): Conditionalize label remove_from_tree on
23907 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23908
1d9a6d96
DM
239092012-09-28 David S. Miller <davem@davemloft.net>
23910
23911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23912 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23913 file.
23914 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23915 sysdep_routines.
23916 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23918 when HWCAP_SPARC_CRYPTO is present.
23919
72581615
PT
239202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23921
23922 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23923
715a900c
JL
239242012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23925
23926 [BZ #6530]
23927 * stdio-common/vfprintf.c (process_string_arg): Revert
23928 2000-07-22 change.
23929
239302011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23931
23932 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23933 for testcase.
23934 * stdio-common/tst-sprintf.c: Include <locale.h>
23935 (main): Test sprintf's handling of incomplete multibyte
23936 characters.
23937
9bac1d86
L
239382012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23939
23940 * elf/dl-runtime.c (VERSYMIDX): Removed.
23941 * elf/dl-version.c (VERSYMIDX): Likewise.
23942 * elf/do-rel.h (VERSYMIDX): Likewise.
23943 (VALIDX): Likewise.
23944 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23945 * elf/rtld.c (VALIDX): Likewise.
23946 (ADDRIDX): Likewise.
9bac1d86
L
23947 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23948 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23949 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23950 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23951 (VALIDX): Likewise.
23952 (ADDRIDX): Likewise.
9bac1d86 23953
b31606c0
PT
239542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23955
23956 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23957
11541177
JL
239582012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23959
23960 [BZ #11438]
23961 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23962 to global scope.
23963 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23964 addresses are in the same scope as 192.0.2/24.
23965 * posix/gai.conf: Document new scope table defaults.
23966
adb26fae
SP
239672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23968
23969 [BZ #5298]
23970 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23971 for ftell. Compute offsets from write pointers instead.
23972 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23973
4573c6b0
SP
239742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23975
23976 [BZ #14543]
23977 * libio/Makefile (tests): New test case tst-fseek.
23978 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23979 combination works in wide mode.
23980 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23981 state when the external buffer state changes.
23982
aa9bbfe6
DM
239832012-09-27 David S. Miller <davem@davemloft.net>
23984
23985 [BZ #14376]
23986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23987 pass reloc->r_addend in as the 'high' argument to
23988 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23989
784421e7
DM
23990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23991
c39bc8b8
PT
239922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23993
23994 * rt/tst-aio2.c: Include <pthread.h>.
23995 * rt/tst-aio3.c: Likewise.
23996
1ccc2399
SE
239972012-09-27 Steve Ellcey <sellcey@mips.com>
23998
23999 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24000
31ed4153
L
240012012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24002
25f5f885
L
24003 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24004 contents on [SHARED].
31ed4153 24005
b7bfe116
MP
240062012-09-26 Marek Polacek <polacek@redhat.com>
24007
24008 [BZ #14530]
24009 [BZ #13741]
24010 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24011 for C++ and GCC <4.3 as well as for non GCC compilers.
24012
43c4edba
MT
240132012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24014
24015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24016
6a1bf82f
RM
240172012-09-25 Roland McGrath <roland@hack.frob.com>
24018
24019 * Makefile.in (all, install): Declare with .PHONY.
24020 Reported by Michael Hope <michael.hope@linaro.org>.
24021
8ad11b9a
TMQMF
240222012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24023
24024 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24025 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24026 system header.
24027 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24028 Likewise.
24029 (sydep_routines): Add the new and the internal functions.
24030 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24031 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24033 (GLIBC_2.17): Add the new function.
24034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24035 (GLIBC_2.17): Likewise.
24036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24037 (GLIBC_2.17): Likewise.
24038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24039 (GLIBC_2.17): Likewise.
24040 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24041
7e2fca8d
AM
240422012-09-25 Alan Modra <amodra@gmail.com>
24043
24044 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24045 Add release barrier before setting once_control to say
24046 initialisation is done. Add hints on lwarx. Use macro in
24047 place of isync.
24048 (clear_once_control): Add release barrier.
24049
b87c4b24
JM
240502012-09-25 Joseph Myers <joseph@codesourcery.com>
24051
d032e0d2
JM
24052 [BZ #13629]
24053 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24054 specially.
24055 * math/s_clog10.c (__clog10): Likewise.
24056 * math/s_clog10f.c (__clog10f): Likewise.
24057 * math/s_clog10l.c (__clog10l): Likewise.
24058 * math/s_clogf.c (__clogf): Likewise.
24059 * math/s_clogl.c (__clogl): Likewise.
24060 * math/Makefile (libm-calls): Add x2y2m1.
24061 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24062 (__x2y2m1): Likewise.
24063 (__x2y2m1l): Likewise.
24064 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24065 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24068 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24069 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24070 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24071 * sysdeps/i386/fpu/libm-test-ulps: Update.
24072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24073
b87c4b24
JM
24074 [BZ #14621]
24075 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24076 int as type of variable DEPTH.
24077 (glob): Use size_t instead of int as type of variables NEWCOUNT
24078 and OLD_PATHC.
24079
6d3bf199
LD
240802012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24081
22bf5c17
LD
24082 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24083 Add s_sincosf-sse2.
24084 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24085 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24086 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24087 macros for using routine as __sincosf_ia32.
24088 Use macro for function declaration and weak_alias.
24089 * sysdeps/i386/fpu/libm-test-ulps: Update.
24090
24091 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24093
24094 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24095 subnormal argument.
24096 * math/s_cexpf.c (__cexpf): Likewise.
24097 * math/s_csinf.c (__csinf): Likewise.
24098 * math/s_csinhf.c (__csinhf): Likewise.
24099 * math/s_ctanf.c (__ctanf): Likewise.
24100 * math/s_ctanhf.c (__ctanhf): Likewise.
24101 * math/s_ccosh.c (__ccoshf): Likewise.
24102 * math/s_cexp.c (__cexpl): Likewise.
24103 * math/s_csin.c (__csin): Likewise.
24104 * math/s_csinh.c (__csinh): Likewise.
24105 * math/s_ctan.c (__ctan): Likewise.
24106 * math/s_ctanh.c (ctanh): Likewise.
24107 * math/s_ccoshl.c (__ccoshl): Likewise.
24108 * math/s_cexpl.c (__cexpl): Likewise.
24109 * math/s_csinl.c (__csinl): Likewise.
24110 * math/s_csinhl.c (__csinhl): Likewise.
24111 * math/s_ctanl.c (__ctanl): Likewise.
24112 * math/s_ctanhl.c (__ctanhl): Likewise.
24113
203e5603
JM
241142012-09-25 Joseph Myers <joseph@codesourcery.com>
24115
24116 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24117 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24118 (_IO_off_t): Define to __off_t, not _G_off_t.
24119 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24120 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24121 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24122 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24123 type of __dummy and __dummy2 fields.
24124 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24125 (_G_ssize_t): Likewise.
24126 (_G_off_t): Likewise.
24127 (_G_pid_t): Likewise.
24128 (_G_uid_t): Likewise.
24129 (_G_wchar_t): Likewise.
24130 (_G_wint_t): Likewise.
24131 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24132 (_G_ssize_t): Likewise.
24133 (_G_off_t): Likewise.
24134 (_G_pid_t): Likewise.
24135 (_G_uid_t): Likewise.
24136 (_G_wchar_t): Likewise.
24137 (_G_wint_t): Likewise.
24138 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24139 (_G_ssize_t): Likewise.
24140 (_G_off_t): Likewise.
24141 (_G_pid_t): Likewise.
24142 (_G_uid_t): Likewise.
24143 (_G_wchar_t): Likewise.
24144 (_G_wint_t): Likewise.
24145
9fab36eb
SP
241462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24147
24148 * malloc/arena.c: Include malloc-sysdep.h.
24149 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24150 is sufficient to shrink the heap or an unmap is needed.
24151 * sysdeps/generic/malloc-sysdep.h: New file. Define
24152 new function check_may_shrink_heap.
24153 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24154 new function check_may_shrink_heap.
24155
2b4f00d1
SP
241562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24157
24158 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24159 comments.
24160
9a9028b1
DL
241612012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24162
57c69bef
DL
24163 * catgets/test-gencat.sh: Add "set -e".
24164 * elf/tst-pathopt.sh: Likewise.
24165 * grp/tst_fgetgrent.sh: Likewise.
24166 * iconvdata/run-iconv-test.sh: Likewise.
24167 * intl/tst-gettext.sh: Likewise.
24168 * intl/tst-gettext2.sh: Likewise.
24169 * intl/tst-gettext4.sh: Likewise.
24170 * intl/tst-gettext6.sh: Likewise.
24171 * intl/tst-translit.sh: Likewise.
24172 * io/ftwtest-sh: Likewise.
24173 * libio/test-freopen.sh: Likewise.
24174 * malloc/tst-mtrace.sh: Likewise.
24175 * posix/globtest.sh: Likewise.
24176 * posix/tst-getconf.sh: Likewise.
24177 * posix/wordexp-tst.sh: Likewise.
24178 * stdio-common/tst-printf.sh: Likewise.
24179 * stdio-common/tst-unbputc.sh: Likewise.
24180 * stdlib/tst-fmtmsg.sh: Likewise.
24181 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24182 * catgets/Makefile: Do not specify -e option when running
24183 testsuite shell scripts.
24184 * elf/Makefile: Likewise.
24185 * grp/Makefile: Likewise.
24186 * iconvdata/Makefile: Likewise.
24187 * intl/Makefile: Likewise.
24188 * io/Makefile: Likewise.
24189 * libio/Makefile: Likewise.
24190 * malloc/Makefile: Likewise.
24191 * posix/Makefile: Likewise.
24192 * stdio-common/Makefile: Likewise.
24193 * stdlib/Makefile: Likewise.
24194 * sysdeps/x86_64/Makefile: Likewise.
24195
9a9028b1
DL
24196 * io/ftwtest-sh: Add copyright header.
24197 * posix/globtest.sh: Likewise.
24198 * posix/tst-getconf.sh: Likewise.
24199 * posix/wordexp-tst.sh: Likewise.
24200 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24201
ced6f16e
L
242022012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24203
94b32c39
L
24204 [BZ #13679]
24205 * Makeconfig (+link): Defined as $(+link-static) if
24206 $(build-shared) isn't yes.
24207 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24208 isn't yes.
24209 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24210
189e935b
L
24211 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24212
ced6f16e
L
24213 [BZ #14562]
24214 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24215 new chunk size with MALLOC_ALIGN_MASK.
24216
a9f8e53a
JM
242172012-09-24 Joseph Myers <joseph@codesourcery.com>
24218
24219 [BZ #5044]
24220 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24221 <rounding-mode.h>.
24222 (__printf_fphex): Determine rounding using get_rounding_mode and
24223 round_away.
24224 * stdio-common/tst-printf-round.c (struct hex_test): New
24225 structure.
24226 (hex_tests): New variable.
24227 (test_hex_in_one_mode): New function.
24228 (do_test): Also run tests for hex float output.
24229
43153109
JM
242302012-09-21 Joseph Myers <joseph@codesourcery.com>
24231
24232 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24233 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24234 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24235 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24236 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24237 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24238 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24239 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24240
8a26625d
JM
242412012-09-20 Joseph Myers <joseph@codesourcery.com>
24242
24243 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24244 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24245 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24246 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24247
f3fd569c
DL
242482012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24249
24250 [BZ #14579]
24251 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24252 mode only.
24253 * elf/tst-rtld-load-self.sh: New test.
24254 * elf/Makefile: Run it.
24255
63bbedd4
JM
242562012-09-18 Joseph Myers <joseph@codesourcery.com>
24257
24258 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24259 (tst-writev-ENV): Remove.
24260 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24261
626f8b6a
CM
242622012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24263
24264 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24265
b7aaa4d6
JM
242662012-09-17 Joseph Myers <joseph@codesourcery.com>
24267
24268 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24269 unconditional.
24270 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24271 Likewise.
24272 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24273 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24274 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24275 Likewise.
24276
65513990
L
242772012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24278
24279 [BZ #14587]
24280 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24281 * config.make.in (have-cpp-asm-debuginfo): Removed.
24282 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24283 * configure: Regenerated.
24284
784761be
JM
242852012-09-14 Joseph Myers <joseph@codesourcery.com>
24286
24287 [BZ #5044]
24288 * stdio-common/printf_fp.c: Include <stdbool.h> and
24289 <rounding-mode.h>.
24290 (___printf_fp): Determine rounding using get_rounding_mode and
24291 round_away.
24292 * stdio-common/tst-printf-round.c: New file.
24293 * stdio-common/Makefile (tests): Add tst-printf-round.
24294 (link-libm): New variable.
24295 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24296
9503345f
L
242972012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24298
24299 [BZ #14576]
24300 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24301 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24302 Likewise.
24303 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24304 Likewise.
24305
ad35fc00
JM
243062012-09-13 Joseph Myers <joseph@codesourcery.com>
24307
24308 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24309 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24310 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24312
6c9b0f68
JM
243132012-09-12 Joseph Myers <joseph@codesourcery.com>
24314
24315 [BZ #14518]
24316 * include/rounding-mode.h: New file.
24317 * sysdeps/generic/get-rounding-mode.h: Likewise.
24318 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24319 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24320 (MAX_VALUE): New macro.
24321 (MIN_VALUE): Likewise.
24322 (overflow_value): New function.
24323 (underflow_value): Likewise.
24324 (round_and_return): Use overflow_value and underflow_value to
24325 determine return values in overflow and underflow cases. Use
24326 round_away to determine rounding depending on rounding mode.
24327 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24328 determine return values in overflow and underflow cases.
24329 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24330 (struct test_results): New structure.
24331 (struct test): Use struct test_results to store expected results
24332 for all rounding modes.
24333 (TEST): Include expected results for all rounding modes.
24334 (test_in_one_mode): New function.
24335 (do_test): Use test_in_one_mode to compute and check results.
24336 Check results for all rounding modes.
24337 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24338 $(link-libm).
24339
19fcedd5
AM
243402012-12-09 Allan McRae <allan@archlinux.org>
24341
1e9d84cd 24342 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24343
8bbfd2f1
JM
243442012-09-11 Joseph Myers <joseph@codesourcery.com>
24345
24346 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24347 (_G_int32_t): Likewise.
24348 (_G_uint16_t): Likewise.
24349 (_G_uint32_t): Likewise.
24350 (_G_HAVE_BOOL): Likewise.
24351 (_G_HAVE_ATEXIT): Likewise.
24352 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24353 (_G_HAVE_IO_FILE_OPEN): Likewise.
24354 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24355 (_G_int32_t): Likewise.
24356 (_G_uint16_t): Likewise.
24357 (_G_uint32_t): Likewise.
24358 (_G_HAVE_BOOL): Likewise.
24359 (_G_HAVE_ATEXIT): Likewise.
24360 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24361 (_G_HAVE_IO_FILE_OPEN): Likewise.
24362 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24363 (_G_int32_t): Likewise.
24364 (_G_uint16_t): Likewise.
24365 (_G_uint32_t): Likewise.
24366 (_G_HAVE_BOOL): Likewise.
24367 (_G_HAVE_ATEXIT): Likewise.
24368 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24369 (_G_HAVE_IO_FILE_OPEN): Likewise.
24370
b1dc5912
L
243712012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24372
24373 * csu/libc-tls.c: Update copyright years.
24374
0e886ef9
JM
243752012-09-10 Joseph Myers <joseph@codesourcery.com>
24376
28361c5e
JM
24377 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24378 [!_G_USING_THUNKS]: Remove conditional code.
24379 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24380 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24381
0e886ef9
JM
24382 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24383 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24384 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24385 (_G_VTABLE_LABEL_PREFIX): Likewise.
24386 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24387 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24388 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24389 (_G_VTABLE_LABEL_PREFIX): Likewise.
24390 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24391 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24392 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24393 (_G_VTABLE_LABEL_PREFIX): Likewise.
24394 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24395
bcba7aa2
L
243962012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24397
24398 * libio/Makefile: Include ../Makeconfig before tests.
24399 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24400 only if $(build-shared) is yes.
24401
06585ee8
L
24402 * iconv/gconv_db.c: Update copyright years.
24403
80ccd52c
LD
244042012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24405
24406 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24407 unwind info if defined PIC. Fix special cases description.
24408 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24409
24410 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24411 DP_HI_MASK entry.
24412 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24413
691bc9c1
L
244142012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24415
3d9b46b3
L
24416 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24417
de2139a9
L
24418 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24419 is NULL.
24420
5ca78dd0
L
24421 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24422 (LDLIBS-tst-chk4): This.
24423 (LDFLAGS-tst-chk5): Renamed to ...
24424 (LDLIBS-tst-chk5): This.
24425 (LDFLAGS-tst-chk6): Renamed to ...
24426 (LDLIBS-tst-chk6): This.
24427 (LDFLAGS-tst-lfschk4): Renamed to ...
24428 (LDLIBS-tst-lfschk4): This.
24429 (LDFLAGS-tst-lfschk5): Renamed to ...
24430 (LDLIBS-tst-lfschk5): This.
24431 (LDFLAGS-tst-lfschk6): Renamed to ...
24432 (LDLIBS-tst-lfschk6): This.
24433
691bc9c1
L
24434 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24435 on $(common-objpfx)soversions.mk.
24436
65cafb1c
JM
244372012-09-07 Joseph Myers <joseph@codesourcery.com>
24438
24439 [BZ #10014]
24440 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24441 example host name.
24442
c78ab094
SP
244432012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24444
24445 * malloc/arena.c (arena_get_retry): New function that gets
24446 another arena for the caller to try its request on.
24447 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24448 current arena cannot fulfill the request.
24449 (__libc_memalign): Likewise.
24450 (__libc_memalign): Likewise.
24451 (__libc_pvalloc): Likewise.
24452 (__libc_calloc): Likewise.
24453
01f49f59
JT
244542012-09-05 John Tobey <john.tobey@gmail.com>
24455
24456 [BZ #13542]
24457 * manual/arith.texi (Operations on Complex): Fix description
24458 of carg branch cut.
24459
4c23fed5
JM
244602012-09-06 Joseph Myers <joseph@codesourcery.com>
24461
1d3c8572
JM
24462 [BZ #10014]
24463 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24464 host name.
24465
4c23fed5
JM
24466 [BZ #10038]
24467 * manual/memory.texi (Memory): Make order of menu items match
24468 order of sections.
24469
04570aaa
L
244702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24471
24472 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24473 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24474 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24475
b80af2f4
L
244762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24477
24478 * csu/libc-tls.c (static_dtv): Renamed to ...
24479 (_dl_static_dtv): This. Make it global.
24480 (_dl_initial_dtv): Removed.
24481 (__libc_setup_tls): Updated.
24482 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24483 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24484 DL_INITIAL_DTV.
24485
2abe9f15
PM
244862012-09-06 Petr Machata <pmachata@redhat.com>
24487
24488 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24489 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24490 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24491 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24492
0948c3af
L
244932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24494
24495 [BZ #14545]
24496 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24497 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24498 freeing dtv[-1].
24499
a5055ad1
L
245002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24501
24502 [BZ #14544]
24503 * Makeconfig (link-static-before-libc): Replace $(+prector)
24504 with $(+prectorT).
24505 (link-static-after-libc): Replace $(+postctor) with
24506 $(+postctorT).
24507 (link-bounded): Replace $(+prector)/$(+postctor) with
24508 $(+prectorT)/$(+postctorT).
24509 (+prectorT): New macro.
24510 (+postctorT): Likewise.
24511
ed8c2ecd
JM
245122012-09-06 Joseph Myers <joseph@codesourcery.com>
24513
24514 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24515 (round_str): Handle values above the maximum for IBM long double
24516 as inexact.
24517 * stdlib/tst-strtod-round.c (tests): Regenerated.
24518
14c996c8
AK
245192012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24520
24521 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24522 assembler flag.
24523 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24524 zarch_nohighgprs around the zarch optimized routines.
24525 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24526 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24527 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24528 for zarch.
24529
430d6ce6
DM
245302012-09-05 David S. Miller <davem@davemloft.net>
24531
24532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24533
57f41c40
AS
24534 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24535 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24536 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24537 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24538 entries.
24539
24d4e01b
AO
245402012-09-05 Alexandre Oliva <aoliva@redhat.com>
24541
24542 * malloc/arena.c: Fold copyright years.
24543 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24544
61d58174
AO
245452012-09-05 Alexandre Oliva <aoliva@redhat.com>
24546
24547 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24548
20196a5e
AO
245492012-09-05 Alexandre Oliva <aoliva@redhat.com>
24550
24551 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24552
5c447383
AO
245532012-09-05 Alexandre Oliva <aoliva@redhat.com>
24554
24555 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24556 change internal state upon failure.
24557
fad64255
AO
245582012-09-05 Alexandre Oliva <aoliva@redhat.com>
24559
24560 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24561 * malloc/memusage.c (mmap): Likewise.
24562 (mmap64, mremap): Likewise. Adjust name in comment.
24563
1ffb8c90
SP
245642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24565
24566 * libio/fileops.c: Fix typos in comments.
24567 * libio/oldfileops.c: Likewise.
24568 * libio/wfileops.c: Likewise.
24569
6ef9cc37
SP
245702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24571
24572 [BZ #1349]
24573 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24574 (tst-malloc-usable-ENV): Set environment for test case.
24575 * malloc/hooks.c (malloc_check_get_size): New function to get
24576 requested size.
24577 * malloc/malloc.c (musable): Use malloc_check_get_size.
24578 * malloc/tst-malloc-usable.c: New test case.
24579
4d038ae3
AS
245802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24581
24582 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24583
c4e85184
AM
245842012-09-05 Allan McRae <allan@archlinux.org>
24585
b9dafc56 24586 [BZ #13966]
c4e85184
AM
24587 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24588 determine header location.
24589 * configure: Regenerated.
24590
e1343020
AS
245912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24592
24593 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24594 float format.
24595 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24596 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24597 format.
e1343020
AS
24598 (test): Regenerate.
24599
0a9f1987
DM
246002012-09-04 David S. Miller <davem@davemloft.net>
24601
24602 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24603 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24604 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24605
29237804
FW
246062012-09-04 Florian Weimer <fweimer@redhat.com>
24607
24608 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24609 failures.
24610
edb3cb88
FW
24611 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24612
60160d83
JM
246132012-09-04 Joseph Myers <joseph@codesourcery.com>
24614
24615 [BZ #9914]
24616 * libio/iogetdelim.c: Include <limits.h>.
24617 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24618 + len + 1 would overflow.
24619
bcd6c8dc
AJ
246202012-09-03 Andreas Jaeger <aj@suse.de>
24621
24622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24623 * sysdeps/i386/fpu/libm-test-ulps: Update.
24624
4ffffbd2
LD
246252012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24626
24627 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24628 Add s_sinf-sse2, s_conf-sse2.
24629
24630 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24631 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24632 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24633 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24634
24635 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24636 for using routine as __sinf_ia32.
24637 Use macro for function declaration and weak_alias.
24638 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24639 for using routine as __cosf_ia32.
24640 Use macro for function declaration and weak_alias.
24641
24642 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24643 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24644
24645 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24646 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24648
24649 * math/libm-test.inc (cos_test): Add more test cases.
24650 (sin_test): Likewise.
24651 (sincos_test): Likewise.
24652
511fa286
AK
246532012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24654
24655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24656 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24657 hidden.
24658 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24659
5f30cfec
L
246602012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24661
24662 [BZ #14538]
24663 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24664 first element of the GOT.
24665 (elf_machine_load_address): Return the difference between
24666 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24667
0786794f
AM
246682012-09-01 Allan McRae <allan@archlinux.org>
24669
5f30cfec
L
24670 [BZ #13412]
24671 * configure.in (AWK): Require gawk version 3.0 or later.
24672 * configure: Regenerated.
0786794f 24673
26889eac
JM
246742012-09-01 Joseph Myers <joseph@codesourcery.com>
24675
24676 * sysdeps/unix/sysv/linux/kernel-features.h
24677 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24679 [__NR_clock_getres]: Make code unconditional.
24680 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24681 (clock_getcpuclockid): Remove code left unreachable by removal of
24682 conditionals.
24683 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24684 code unconditional.
24685 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24686 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24687 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24688 Make code unconditional.
24689 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24690 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24691 * sysdeps/unix/sysv/linux/clock_settime.c
24692 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24693 conditional code.
24694 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24695 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24696
d22e28b0
L
246972012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24698
24699 [BZ #14476]
24700 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24701 scripts/test-installation.pl.
24702
24703 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24704 and $ld_so_version if it is set.
24705
050af9c4
SP
247062012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24707
24708 [BZ #14516]
24709 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24710 failure if reading from procfs failed.
24711 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24712
ad845c0b
JM
247132012-08-27 Joseph Myers <joseph@codesourcery.com>
24714
24715 * sysdeps/unix/sysv/linux/kernel-features.h
24716 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24717 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24718 Remove conditional code.
24719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24720 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24721 Remove conditional code.
24722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24723 * sysdeps/unix/sysv/linux/i386/fxstat.c
24724 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24726 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24727 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24729 * sysdeps/unix/sysv/linux/i386/lxstat.c
24730 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24731 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24732 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24733 Remove conditional code.
24734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24735 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24736 Remove conditional code.
24737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24738 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24739 <kernel-features.h>.
24740 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24741 Remove.
24742 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24743 Remove conditional code.
24744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24745 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24746 Remove conditional.
24747
5dbf56af
MF
247482012-08-27 Mike Frysinger <vapier@gentoo.org>
24749
24750 [BZ #5400]
24751 * NEWS: Add fixed bug number.
24752
d6e70f43
JM
247532012-08-27 Joseph Myers <joseph@codesourcery.com>
24754
7efb4737
JM
24755 [BZ #14519]
24756 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24757 underflowing exponent in case of negative sign.
24758 * stdlib/tst-strtod-round-data: Add more tests.
24759 * stdlib/tst-strtod-round.c (tests): Regenerated.
24760
af92131a
JM
24761 [BZ #3479]
24762 * stdlib/strtod_l.c (NDIG): Remove.
24763 (HEXNDIG): Likewise.
24764 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24765 smallest representable value.
24766 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24767 lie within an exact representation of 1/2 ulp of the result.
24768 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24769 unconditionally.
24770 (TENS_P9_IDX): Define unconditionally.
24771 (TENS_P9_SIZE): Likewise.
24772 (TENS_P10_IDX): Likewise.
24773 (TENS_P10_SIZE): Likewise.
24774 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24775 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24776 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24777 entries for 10^2^13 and 10^2^14.
24778 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24779 (TENS_P13_IDX): Define.
24780 (TENS_P13_SIZE): Likewise.
24781 (TENS_P14_IDX): Likewise.
24782 (TENS_P14_SIZE): Likewise.
24783 (_fpioconst_pow10): Change array size to
24784 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24785 unconditional.
24786 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24787 1024]: Add entries for 10^2^13 and 10^2^14.
24788 [LAST_POW10 > _LAST_POW10]: Remove #error.
24789 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24790 (_fpioconst_pow10): Change array size to
24791 FPIOCONST_POW10_ARRAY_SIZE.
24792 * stdlib/gen-fpioconst.c: New file.
24793 * stdlib/gen-tst-strtod-round.c: Likewise.
24794 * stdlib/tst-strtod-round-data: Likewise.
24795 * stdlib/tst-strtod-round.c: Likewise.
24796 * stdlib/Makefile (tests): Add tst-strtod-round.
24797
d6e70f43
JM
24798 [BZ #14459]
24799 * stdlib/strtod_l.c: Include <stdint.h>.
24800 (NDEBUG): Do not define.
24801 (round_and_return): Change EXPONENT parameter to type intmax_t.
24802 Rearrange calculations to avoid internal overflow possibilities.
24803 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24804 Rearrange calculations to avoid internal overflow possibilities.
24805 Assert that number fits inside MPNSIZE limbs.
24806 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24807 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24808 calculations and add assertions to avoid internal overflow
24809 possibilities. Add casts to avoid signed/unsigned operations.
24810 * stdlib/tst-strtod-overflow.c: New file.
24811 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24812
1f529f7d
MP
248132012-08-25 Marek Polacek <polacek@redhat.com>
24814
24815 * time/time.h: Fix some typos in comments.
24816
59a629f1
RM
248172012-08-23 Roland McGrath <roland@hack.frob.com>
24818
24819 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24820 * posix/tst-rfc3484-2.c: Likewise.
24821 * posix/tst-rfc3484-3.c: Likewise.
24822
d3bafbc9
SM
248232012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24824
24825 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24826 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24827
4efcc022
JM
248282012-08-23 Joseph Myers <joseph@codesourcery.com>
24829
24830 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24831 #include of fxstatat64.c.
24832
3cc3ef96
RM
248332012-08-22 Roland McGrath <roland@hack.frob.com>
24834
f04e2132
RM
24835 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24836 * shadow/getspent_r.c: Likewise.
24837 * shadow/getspnam.c: Likewise.
24838 * shadow/getspnam_r.c: Likewise.
24839 * gshadow/getsgent.c: Likewise.
24840 * gshadow/getsgent_r.c: Likewise.
24841 * gshadow/getsgnam.c: Likewise.
24842 * gshadow/getsgnam_r.c: Likewise.
24843 * inet/getnetbyad.c: Likewise.
24844 * inet/getnetbyad_r.c: Likewise.
24845 * inet/getnetbynm.c: Likewise.
24846 * inet/getnetbynm_r.c: Likewise.
24847 * inet/getnetent.c: Likewise.
24848 * inet/getnetent_r.c: Likewise.
24849 * inet/getproto.c: Likewise.
24850 * inet/getproto_r.c: Likewise.
24851 * inet/getprtent.c: Likewise.
24852 * inet/getprtent_r.c: Likewise.
24853 * inet/getprtname.c: Likewise.
24854 * inet/getprtname_r.c: Likewise.
24855 * inet/getrpcbyname.c: Likewise.
24856 * inet/getrpcbyname_r.c: Likewise.
24857 * inet/getrpcbynumber.c: Likewise.
24858 * inet/getrpcbynumber_r.c: Likewise.
24859 * inet/getrpcent.c: Likewise.
24860 * inet/getrpcent_r.c: Likewise.
24861 * inet/getaliasent.c: Likewise.
24862 * inet/getaliasent_r.c: Likewise.
24863 * inet/getaliasname.c: Likewise.
24864 * inet/getaliasname_r.c: Likewise.
24865 * nscd/getgrgid_r.c: Likewise.
24866 * nscd/getgrnam_r.c: Likewise.
24867 * nscd/gethstbyad_r.c: Likewise.
24868 * nscd/gethstbynm3_r.c: Likewise.
24869 * nscd/getpwnam_r.c: Likewise.
24870 * nscd/getpwuid_r.c: Likewise.
24871 * nscd/getsrvbynm_r.c: Likewise.
24872 * nscd/getsrvbypt_r.c: Likewise.
24873 * nscd/gai.c: Likewise.
24874
c53d909c
RM
24875 * configure.in (build_nscd): New substituted variable, set
24876 by --disable-build-nscd and defaults to $use_nscd.
24877 * configure: Regenerated.
24878 * config.make.in (build-nscd): New substituted variable.
24879 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24880 Change conditional to require [$(build-nscd) = yes] as well.
24881 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24882
3cc3ef96
RM
24883 [BZ# 13696]
24884 * configure.in (use_nscd): New substituted variable, set by
24885 --disable-nscd. If enabled, define USE_NSCD.
24886 * configure: Regenerated.
24887 * config.h.in: Add USE_NSCD.
24888 * config.make.in (use-nscd): New substituted variable.
24889 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24890 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24891 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24892 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24893 (CFLAGS-getgrnam_r.c): Likewise.
24894 (CFLAGS-initgroups.c): Likewise.
24895 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24896 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24897 Variables removed.
24898 * inet/getnetgrent_r.c
24899 (nscd_setnetgrent): New function, broken out of ...
24900 (setnetgrent): ... here. Call it.
24901 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24902 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24903 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24904 * nscd/Makefile (routines, aux): Move definitions after include of
24905 Makeconfig. Conditionalize on [$(use-nscd) != no].
24906 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24907 Conditionalize on [USE_NSCD].
24908 (is_nscd, nscd_init_cb): Likewise.
24909 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24910 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24911 * nss/nss_db/db-init.c: Likewise.
24912 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24913 [USE_NSCD].
24914 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24915 (make_request): Use it.
24916 (cache_valid_p): New function.
24917 (__check_pf): Use it.
24918 * NEWS: Add item for --disable-nscd.
24919
07e51550
DL
249202012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24921
24922 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24923 to support sed >= 4.2.1-20-ga9bf076.
24924 * configure: Regenerated.
24925
35a5b08b
RM
249262012-08-22 Roland McGrath <roland@hack.frob.com>
24927
24928 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24929 Conditionalize whole body on [IREL].
24930
8479f23a
JL
249312012-08-22 Jeff Law <law@redhat.com>
24932
24933 [BZ #14505]
24934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24935 if the family is PF_UNSPEC.
24936
48da0b21
MF
249372012-08-22 Mike Frysinger <vapier@gentoo.org>
24938
24939 * Makerules (lib-version): Rename from V.
24940 (install-lib-nosubdir): Change V to lib-version.
24941
15d0da8c
WS
249422012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24943
24944 [BZ #14252]
24945 * powerpc32/power6/wcschr.c: New file.
24946 * powerpc32/power6/wcscpy.c: New file.
24947 * powerpc32/power6/wcsrchr.c: New file.
24948 * powerpc64/power6/wcschr.c: New file.
24949 * powerpc64/power6/wcscpy.c: New file.
24950 * powerpc64/power6/wcsrchr.c: New file.
24951
bcca0895
MK
249522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24953
24954 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24955 (two_way_short_needle): Use it.
5a4aaa33
RM
24956 * string/strstr.c (AVAILABLE1_USES_J): Define.
24957 * string/strcasestr.c: Likewise.
99677e57
MK
24958
24959 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24960 array references.
24961 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24962
400726de
MK
24963 [BZ #11607]
24964 * NEWS: Add an entry.
24965 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24966 define their defaults.
24967 (two_way_short_needle): Detect end-of-string on-the-fly.
24968 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24969 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24970 * string/bug-strcasestr1.c: New test.
24971 * string/Makefile: Run it.
24972
20a71f2c
MK
249732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24974
24975 [BZ #11607]
24976 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24977 the first character.
24978
21ad0558
RM
249792012-08-21 Roland McGrath <roland@hack.frob.com>
24980
24981 * csu/elf-init.c (__libc_csu_irel): Function removed.
24982 * csu/libc-start.c (apply_irel): New function.
24983 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24984
0e1d9911
JM
249852012-08-21 Joseph Myers <joseph@codesourcery.com>
24986
24987 * sysdeps/unix/sysv/linux/kernel-features.h
24988 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24989 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24990 <kernel-features.h>.
24991 [__NR_fadvise64_64]: Make code unconditional.
24992 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24993 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24994 !__NR_fadvise64_64)]: Likewise.
24995 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24996 !__NR_fadvise64_64))]: Likewise.
24997 [__NR_fadvise64]: Make code unconditional.
24998 [!__NR_fadvise64]: Remove conditional code.
24999 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25000 <kernel-features.h>.
25001 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25002 unconditional.
25003 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25004 conditional code.
25005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25006 not include <kernel-features.h>.
25007 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25008 unconditional.
25009 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25010 conditional code.
25011 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25012 include <kernel-features.h>.
25013 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25014 unconditional.
25015 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25016 conditional code.
25017
14a50c9d
WS
250182012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25019
25020 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25021 slight instruction rearrangements per scrollpipe analysis.
25022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25023
c0f4faf0
RM
250242012-08-20 Roland McGrath <roland@hack.frob.com>
25025
696da859
RM
25026 * manual/syslog.texi (syslog; vsyslog, closelog):
25027 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25028 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25029
c0f4faf0
RM
25030 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25031 DSOCAPS to match condition on defining it.
25032
348363b2
JM
250332012-08-20 Joseph Myers <joseph@codesourcery.com>
25034
a35cbf28
JM
25035 * sysdeps/unix/sysv/linux/kernel-features.h
25036 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25038 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25039 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25041 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25042 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25044 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25045 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25046
445f7ecd
JM
25047 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25048 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25049
348363b2
JM
25050 * sysdeps/unix/sysv/linux/kernel-features.h
25051 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25052 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25053 unconditional.
25054 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25055 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25056 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25057 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25058 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25059 Make code unconditional.
25060 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25061 (__mmap64) [!__NR_mmap2]: Likewise.
25062 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25063 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25064 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25065 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25066 [__NR_mmap2]: Make code unconditional.
25067 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25068 (__mmap64) [!__NR_mmap2]: Likewise.
25069
bc5bc0e5
AK
250702012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25071
25072 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25073
88d506de
AJ
250742012-08-18 Andreas Jaeger <aj@suse.de>
25075
25076 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25077
493387d2
MF
250782012-08-18 Mike Frysinger <vapier@gentoo.org>
25079
25080 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25081 * include/unistd.h (__have_sock_cloexec): Likewise.
25082 (__have_pipe2): Likewise.
25083 (__have_dup3): Likewise.
25084
a277af22
MF
250852012-08-18 Mike Frysinger <vapier@gentoo.org>
25086
25087 [BZ #9685]
25088 * include/unistd.h (__have_pipe2): Change define into an extern int.
25089 (__have_dup3): Likewise.
25090 * socket/have_sock_cloexec.c: Include fcntl.h.
25091 (__have_pipe2): New variable.
25092 (__have_dup3): Likewise.
25093
fdab8fd3
MF
250942012-08-17 Mike Frysinger <vapier@gentoo.org>
25095
25096 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25097
31035e80
MP
250982012-08-17 Marek Polacek <polacek@redhat.com>
25099
25100 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25101 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25102
3bd9e993
RM
251032012-08-17 Roland McGrath <roland@hack.frob.com>
25104
c91c505f
RM
25105 * configure.in: Add AC_SUBST for sysheaders.
25106 * configure: Regenerated.
25107 * config.make.in (sysheaders): New substituted variable.
25108
7c6f9d53
RM
25109 * sysdeps/unix/mkfifo.c: Moved ...
25110 * sysdeps/posix/mkfifo.c: ... here.
25111 * sysdeps/unix/mkfifoat.c: Moved ...
25112 * sysdeps/posix/mkfifoat.c: ... here.
25113
25114 * sysdeps/unix/utime.c: Moved ...
25115 * sysdeps/posix/utime.c: ... here.
25116
25117 * sysdeps/unix/time.c: Moved ...
25118 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25119 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25120 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25121
25122 * sysdeps/unix/nice.c: Moved ...
25123 * sysdeps/posix/nice.c: ... here.
25124
25125 * sysdeps/unix/alarm.c: Moved ...
25126 * sysdeps/posix/alarm.c: ... here.
25127
3bd9e993
RM
25128 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25129
d1f09384
JL
251302012-08-17 Jeff Law <law@redhat.com>
25131
25132 * intl/Makefile (codeset_mo): New variable.
25133 ($(codeset_mo)): New target.
25134 (tst-codeset.out): Depend on that. Remove explicit rule.
25135 (tst-gettext3.out, tst-gettext5.out): Likewise.
25136 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25137 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25138 * intl/tst-codeset.sh: Remove.
25139 * intl/tst-gettext3.sh: Likewise.
25140 * intl/tst-gettext5.sh: Likewise.
25141
2ae1ae5c
RM
251422012-08-17 Roland McGrath <roland@hack.frob.com>
25143
c31fdb83
RM
25144 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25145 * sysdeps/unix/syscalls.list: ... here.
25146
a0844057
RM
25147 * sysdeps/posix/getaddrinfo.c
25148 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25149 (gaiconf_init, gaiconf_reload): Use them.
25150 [!_STATBUF_ST_NSEC]
25151 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25152 Define using time_t rather than struct timespec.
25153
750c1f2a
RM
25154 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25155 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25156 Macros removed.
25157 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25158 [!NO_THREADS].
25159 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25160 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25161 Likewise.
25162
2ae1ae5c
RM
25163 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25164 __libc_cleanup_push argument.
25165
e66a42f5
RM
25166 * bits/param.h: New file.
25167 * misc/sys/param.h: New file.
25168 * include/sys/param.h: New file.
25169 * misc/Makefile (headers): Add bits/param.h.
25170 * sysdeps/generic/sys/param.h: File removed.
25171 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25172 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25173 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25174 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25175
b7c08a66
RM
25176 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25177 last change.
25178
b2e1c562
RM
25179 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25180 [_IO_MTSAFE_IO].
25181 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25182 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25183 New macros.
25184
c75ccd4c
RM
25185 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25186 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25187 rather than -D_IO_MTSAFE_IO conditionally.
25188 * stdio-common/Makefile (CPPFLAGS): Likewise.
25189 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25190 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25191 Use $(libio-mtsafe).
25192 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25193 of -D_IO_MTSAFE_IO.
25194 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25195 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25196 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25197 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25198 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25199 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25200 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25201 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25202 (CFLAGS-fread_u_chk.c): Likewise.
25203 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25204 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25205 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25206 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25207 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25208 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25209 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25210 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25211 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25212
25213 * libio/Makefile: Test [$(libc-reentrant) = yes]
25214 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25215
25216 * Makeconfig
25217 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25218 * sysdeps/pthread/configure: File removed.
25219 * sysdeps/pthread/Makeconfig: New file.
25220 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25221 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25222
d9195db8
GB
252232012-08-16 Gary Benson <gbenson@redhat.com>
25224
25225 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25226 unmapping the first object in a namespace.
25227
86466cd9
RM
252282012-08-16 Roland McGrath <roland@hack.frob.com>
25229
25230 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25231 (__internal_setnetgrent): ... this. Add internal_function to
25232 definition. Add libc_hidden_def.
25233 (setnetgrent): Update caller.
25234 (internal_endnetgrent): Renamed to ...
25235 (__internal_endnetgrent): ... this. Add internal_function to
25236 definition. Add libc_hidden_def.
25237 (endnetgrent): Update caller.
25238 (internal_getnetgrent_r): Renamed to ...
25239 (__internal_getnetgrent_r): ... this. Add internal_function to
25240 definition. Add libc_hidden_def.
25241 (__getnetgrent_r): Update caller.
25242 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25243
c3c8283c
JM
252442012-08-16 Joseph Myers <joseph@codesourcery.com>
25245
25246 * stdlib/longlong.h: Update from GCC.
25247
db1ee0a8
RM
252482012-08-16 Roland McGrath <roland@hack.frob.com>
25249
25250 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25251 on _QL, which is set by umul_ppmm but never used.
25252 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25253 variables, which are set by GMP macros but never used.
25254 * stdio-common/_itowa.c (_itowa): Likewise.
25255 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25256 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25257
30f69637
CD
252582012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25259
25260 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25261 struct La_sh_regs is not constant.
25262 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25263 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25264 and struct La_sparc64_regs are not constant.
25265
93a78ac4
JM
252662012-08-16 Joseph Myers <joseph@codesourcery.com>
25267
25268 * sysdeps/unix/sysv/linux/kernel-features.h
25269 (__ASSUME_POSIX_TIMERS): Remove.
25270 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25271 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25272 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25273 Make code unconditional.
25274 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25275 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25276 Make code unconditional.
25277 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25278 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25279 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25280 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25281 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25282 Make code unconditional.
25283 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25284 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25285 (__libc_missing_posix_timers): Remove.
25286
dd924cd7
RM
252872012-08-15 Roland McGrath <roland@hack.frob.com>
25288
4b4f2771
RM
25289 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25290 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25291
601c888b
RM
25292 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25293
176790a7
RM
25294 * elf/dl-sym.c: Include <stdlib.h>.
25295
329bc018
RM
25296 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25297 constants, which avoids warnings in 32-bit builds.
25298
e04e272d
RM
25299 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25300 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25301
952bf94a
RM
25302 * misc/lseek.c: File moved to ...
25303 * io/lseek.c: ... here.
25304
7c99b50a
RM
25305 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25306
dd924cd7
RM
25307 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25308 shifting LEN more than 31 bits at once.
25309
b3f479a8
LD
253102012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25311
25312 [BZ #14195]
8c4ae0d4
RM
25313 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25314 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25315 * string/test-strncasecmp.c (check1): Renamed to...
25316 (bz12205): ...this.
25317 (bz14195): Add new testcase for two empty input strings and N > 0.
25318 (test_main): Call new testcase, adapt for renamed function.
25319
9c55864e
AJ
253202012-08-15 Andreas Jaeger <aj@suse.de>
25321
25322 [BZ #14090]
25323 * crypt/md5test2.c: New test, based on test supplied by Serge
25324 Belyshev <belyshev@depni.sinp.msu.ru>.
25325 * crypt/Makefile (xtests): Add md5test-giant..
25326 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25327
02dcb6c5
PE
253282012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25329
25330 [BZ #14090]
25331 * crypt/md5.c (md5_process_block): Don't assume the buffer
25332 length is less than 2**32.
25333 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25334 length is less than 2**64.
25335
a3f95dcc
RM
253362012-08-15 Roland McGrath <roland@hack.frob.com>
25337
be75d758
RM
25338 * string/str-two-way.h: Include <sys/param.h>.
25339 (MAX): Macro removed.
25340
7312ca90
RM
25341 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25342 Move #define and #undef of memmove to just before and after
25343 including <string.h>.
25344
9a0a5486
RM
25345 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25346 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25347 and after including <string.h>. Move declarations of
25348 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25349 to before #include "string/memmove.c".
25350
67cc348d
RM
25351 * include/dirent.h: Declare __getdirentries.
25352
a3f95dcc
RM
25353 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25354 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25355
ca98e171
MF
253562012-08-14 Mike Frysinger <vapier@gentoo.org>
25357
25358 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25359 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25360 * sysdeps/i386/configure: Regenerated.
25361 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25362 STABS_CURRENT_FILE, and STABS_FUN.
25363 (END): Remove call to STABS_FUN_END.
25364 (STABS_CURRENT_FILE1): Delete.
25365 (STABS_CURRENT_FILE): Likewise.
25366 (STABS_FUN): Likewise.
25367 (STABS_FUN_END): Likewise.
25368 (STABS_FUN2): Likewise.
25369 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25370 * sysdeps/x86_64/configure: Regenerated.
25371
5908bf46
RM
253722012-08-14 Roland McGrath <roland@hack.frob.com>
25373
25374 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25375 * elf/dl-lookup.c: Likewise.
5908bf46 25376
f2c05b9e
JM
253772012-08-14 Joseph Myers <joseph@codesourcery.com>
25378
25379 * sysdeps/unix/sysv/linux/kernel-features.h
25380 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25381 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25382 unconditionally.
25383 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25384 unconditionally.
25385 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25386 condition on __ASSUME_CLONE_THREAD_FLAGS.
25387
e11f5155
AJ
253882012-08-14 Andreas Jaeger <aj@suse.de>
25389
25390 * sysdeps/i386/fpu/libm-test-ulps: Update.
25391
51a9ba86
MK
253922012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25393
2fdd4f78
AJ
25394 * include/atomic.h (atomic_exchange_and_add): Split into ...
25395 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25396 New atomic macros.
51a9ba86 25397
ba6cba9e
MT
253982012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25399
25400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25401
42443a47
JL
254022012-08-13 Jeff Law <law@redhat.com>
25403
25404 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25405 null byte in the output string.
25406
121dce05
JM
254072012-08-10 Joseph Myers <joseph@codesourcery.com>
25408
25409 * sysdeps/unix/sysv/linux/kernel-features.h
25410 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25411 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25412 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25413 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25414 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25415 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25416 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25417
bf51f568
JL
254182012-08-09 Jeff Law <law@redhat.com>
25419
25420 [BZ #13939]
25421 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25422 When avoid_arena is set, don't retry in the that arena. Pick the
25423 next one, whatever it might be.
25424 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25425 (arena_lock): Pass in new parameter to arena_get2.
25426 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25427 arena_get2.
25428 (__libc_malloc): Unify retrying after main arena failure with
25429 __libc_memalign version.
25430 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25431
f85fa270
L
254322012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25433
25434 [BZ #14166]
25435 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25436 to __redirect_strstr.
25437 (__strstr_sse42): Use typeof __redirect_strstr.
25438 (__strstr_ia32): Likewise.
25439 (__libc_strstr): New prototype.
25440 (strstr): Renamed to ...
25441 (__libc_strstr): This.
25442 (strstr): New strong alias of __libc_strstr.
25443 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25444 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25445 __redirect_time.
25446 Include <time.h>.
25447 (__libc_time): New prototype.
25448 (time_ifunc): Replace time with __libc_time.
25449 (time): New strong alias and hidden definition of __libc_time.
25450 (__GI_time): Remove strong alias.
25451 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25452 Include <stddef.h>.
25453 (memmove): Redefined to __redirect_memmove.
25454 (__memmove_sse2): Use typeof __redirect_memmove.
25455 (__memmove_ssse3): Likewise.
25456 (__memmove_ssse3_back): Likewise.
25457 (__libc_memmove): New prototype.
25458 (memmove): Renamed to ...
25459 (__libc_memmove): This.
25460 (memmove): New strong alias of __libc_memmove.
25461
33b4a91e
MS
254622012-08-08 Mark Salter <msalter@redhat.com>
25463
25464 * elf/elf.h
25465 (R_MN10300_TLS_GD): Define.
25466 (R_MN10300_TLS_LD): Likewise.
25467 (R_MN10300_TLS_LDO): Likewise.
25468 (R_MN10300_TLS_GOTIE): Likewise.
25469 (R_MN10300_TLS_IE): Likewise.
25470 (R_MN10300_TLS_LE): Likewise.
25471 (R_MN10300_TLS_DTPMOD): Likewise.
25472 (R_MN10300_TLS_DTPOFF): Likewise.
25473 (R_MN10300_TLS_TPOFF): Likewise.
25474 (R_MN10300_SYM_DIFF): Likewise.
25475 (R_MN10300_ALIGN): Likewise.
25476 (R_MN10300_NUM): Update.
25477
b36137f1
JM
254782012-08-08 Joseph Myers <joseph@codesourcery.com>
25479
25480 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25481 Remove.
25482
cdd915fd
RM
254832012-08-08 Roland McGrath <roland@hack.frob.com>
25484
a2433aac
RM
25485 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25486
cdd915fd
RM
25487 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25488 sysdeps/unix -> sysdeps/posix move.
25489 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25490
bf9b740a
AM
254912012-08-07 Allan McRae <allan@archlinux.org>
25492
25493 [BZ #14303]
25494 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25495 (SUNOS_CPP): Likewise.
25496 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25497 not found.
25498 (open_input): Call CPP using execvp.
25499
93df14ee
JM
255002012-08-07 Joseph Myers <joseph@codesourcery.com>
25501
25502 * sysdeps/unix/sysv/linux/kernel-features.h
25503 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25504 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25505 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25506 (__ASSUME_WAITID_SYSCALL): Likewise.
25507 * sysdeps/unix/sysv/linux/dl-execstack.c
25508 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25509 code unconditional.
25510 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25511 conditional code.
25512 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25513 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25514 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25515 code.
25516 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25517 unconditional.
25518 [__ASSUME_WAITID_SYSCALL]: Likewise.
25519 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25520
d34689de
RM
255212012-08-07 Roland McGrath <roland@hack.frob.com>
25522
a281decc
RM
25523 * sysdeps/unix/closedir.c: Renamed to ...
25524 * sysdeps/posix/closedir.c: ... here.
25525 * sysdeps/unix/dirfd.c: Renamed to ...
25526 * sysdeps/posix/dirfd.c: ... here.
25527 * sysdeps/unix/dirstream.h: Renamed to ...
25528 * sysdeps/posix/dirstream.h: ... here.
25529 * sysdeps/unix/fdopendir.c: Renamed to ...
25530 * sysdeps/posix/fdopendir.c: ... here.
25531 * sysdeps/unix/opendir.c: Renamed to ...
25532 * sysdeps/posix/opendir.c: ... here.
25533 * sysdeps/unix/readdir.c: Renamed to ...
25534 * sysdeps/posix/readdir.c: ... here.
25535 * sysdeps/unix/readdir_r.c: Renamed to ...
25536 * sysdeps/posix/readdir_r.c: ... here.
25537 * sysdeps/unix/rewinddir.c: Renamed to ...
25538 * sysdeps/posix/rewinddir.c: ... here.
25539 * sysdeps/unix/seekdir.c: Renamed to ...
25540 * sysdeps/posix/seekdir.c: ... here.
25541 * sysdeps/unix/telldir.c: Renamed to ...
25542 * sysdeps/posix/telldir.c: ... here.
25543 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25544 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25545 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25546 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25547
22895b47
RM
25548 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25549 * bits/fcntl.h: ... here.
25550
707a53b6
RM
25551 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25552 not 0.
25553 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25554 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25555 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25556 (struct flock): Move l_start, l_len to the beginning.
25557 Use __pid_t for l_pid.
25558 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25559 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25560 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25561 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25562 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25563 [__USE_LARGEFILE64] (struct flock64): New type.
25564 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25565
f0bd3e25
RM
25566 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25567 * bits/dirent.h: ... here.
25568
d34689de
RM
25569 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25570 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25571
6dad2c06
JM
255722012-08-07 Joseph Myers <joseph@codesourcery.com>
25573
25574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25575 Change from 2.6.0 to 2.6.16.
25576 * sysdeps/unix/sysv/linux/configure: Regenerated.
25577 * sysdeps/unix/sysv/linux/kernel-features.h
25578 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25579 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25580 version.
25581 (__ASSUME_UTIMES): Likewise.
25582 (__ASSUME_CLONE_STOPPED): Remove.
25583 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25584 architectures, not kernel version.
25585 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25586 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25587 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25588 (__ASSUME_WAITID_SYSCALL): Likewise.
25589 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25590 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25591 * README: State 2.6.16 as minimum Linux kernel version. Do not
25592 refer to older versions.
25593
03af9520
RM
255942012-08-06 Roland McGrath <roland@hack.frob.com>
25595
8e49df1d
RM
25596 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25597 Define alphasort64 as an alias.
25598 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25599 Define versionsort64 as an alias.
25600 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25601 Define scandir64 as an alias.
25602 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25603 Define scandirat64 as an alias.
25604 * dirent/alphasort64.c (alphasort64):
25605 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25606 * dirent/versionsort64.c: Likewise.
25607 * dirent/scandir64.c: Likewise.
25608 * dirent/scandirat64.c: Likewise.
25609 * sysdeps/wordsize-64/alphasort.c: File removed.
25610 * sysdeps/wordsize-64/alphasort64.c: File removed.
25611 * sysdeps/wordsize-64/scandir.c: File removed.
25612 * sysdeps/wordsize-64/scandir64.c: File removed.
25613 * sysdeps/wordsize-64/scandirat.c: File removed.
25614 * sysdeps/wordsize-64/scandirat64.c: File removed.
25615 * sysdeps/wordsize-64/versionsort.c: File removed.
25616 * sysdeps/wordsize-64/versionsort64.c: File removed.
25617 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25618 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25619 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25621 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25623 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25624 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25625
25626 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25628 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25630 [defined __arch64__ || defined __sparcv9]
25631 (__INO_T_MATCHES_INO64_T): New macro.
25632 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25633 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25634 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25635 * sysdeps/unix/sysv/linux/bits/dirent.h
25636 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25637 (_DIRENT_MATCHES_DIRENT64): New macro.
25638
03af9520
RM
25639 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25640 Define lockf64 as an alias.
25641 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25642 Define fseeko64 as an alias.
25643 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25644 Define ftello64 as an alias.
25645 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25646 Define _IO_fgetpos64 and fgetpos64 as aliases.
25647 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25648 Define _IO_fsetpos64 and fsetpos64 as aliases.
25649 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25650 Conditionalize body on this.
25651 * libio/fseeko64.c: Likewise.
25652 * libio/ftello64.c: Likewise.
25653 * libio/iofgetpos64.c: Likewise.
25654 * libio/iofsetpos64.c: Likewise.
25655 * sysdeps/wordsize-64/lockf.c: File removed.
25656 * sysdeps/wordsize-64/lockf64.c: File removed.
25657 * sysdeps/wordsize-64/fseeko.c: File removed.
25658 * sysdeps/wordsize-64/fseeko64.c: File removed.
25659 * sysdeps/wordsize-64/ftello.c: File removed.
25660 * sysdeps/wordsize-64/ftello64.c: File removed.
25661 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25662 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25663 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25664 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25665 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25666 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25667 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25668 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25669 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25670 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25671 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25673 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25675
25676 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25678 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25680 [defined __arch64__ || defined __sparcv9]
25681 (__OFF_T_MATCHES_OFF64_T): New macro.
25682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25683 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25685 (__OFF_T_MATCHES_OFF64_T): New macro.
25686
c5757acd
L
256872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25688
25689 * stdlib/secure-getenv.c (__secure_getenv): Replace
25690 GLIBC_2_16 with GLIBC_2_17.
25691
3a31811e
L
256922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25693
25694 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25695 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25696
faa2bccb
DM
256972012-08-03 David S. Miller <davem@davemloft.net>
25698
25699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25700
85fe1997
JM
257012012-08-03 Joseph Myers <joseph@codesourcery.com>
25702
25703 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25704 Remove.
25705 (__ASSUME_CORRECT_SI_PID): Likewise.
25706 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25707 (__ASSUME_TMPFS_NAME): Likewise.
25708 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25709 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25710 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25711 (HAVE_AUX_SECURE): Make definition unconditional.
25712 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25713 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25714
4f75b7a0
RM
257152012-08-03 Roland McGrath <roland@hack.frob.com>
25716
25717 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25718 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25719 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25720 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25721 __eloop_threshold instead of SYMLOOP_MAX.
25722
25723 * sysdeps/generic/eloop-threshold.h: New file.
25724 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25725 of MAXSYMLINKS.
25726 * elf/chroot_canon.c (chroot_canon): Likewise.
25727
7aab07e4
JM
257282012-08-03 Joseph Myers <joseph@codesourcery.com>
25729
25730 [BZ #13717]
25731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25732 Change to 2.6.0 everywhere.
25733 * sysdeps/unix/sysv/linux/configure: Regenerated.
25734 * sysdeps/unix/sysv/linux/kernel-features.h
25735 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25736 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25737 kernel versions.
25738 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25739 (__ASSUME_FUTEX_REQUEUE): Remove.
25740 (__ASSUME_STATFS64): Define unconditionally.
25741 (__ASSUME_AT_SECURE): Likewise.
25742 (__ASSUME_CORRECT_SI_PID): Likewise.
25743 (__ASSUME_TGKILL): Define without depending on kernel version for
25744 i386.
25745 (__ASSUME_UTIMES): Likewise.
25746 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25747 kernel version.
25748 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25749 (__ASSUME_TMPFS_NAME): Likewise.
25750 * README: Update reference to Linux kernel versions.
25751
b67e9372
MP
257522012-08-02 Marek Polacek <polacek@redhat.com>
25753
1f529f7d 25754 [BZ# 14150]
b67e9372
MP
25755 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25756 libc_cv_asm_type_prefix with %.
25757 * configure: Regenerated.
d2441631
RM
25758 * include/libc-symbols.h: Remove comment about
25759 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25760 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25761 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25762 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25763 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25764 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25765 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25766 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25767 * elf/tst-unique2mod1.c: Likewise.
25768 * elf/tst-unique1mod2.c: Likewise.
25769 * elf/tst-unique1mod1.c: Likewise.
25770 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25771 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25772 Replace ASM_TYPE_DIRECTIVE with .type.
25773 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25774 * sysdeps/i386/sysdep.h: Likewise.
25775 * sysdeps/x86_64/sysdep.h: Likewise.
25776 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25778 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25779 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25780 * sysdeps/powerpc/powerpc32/sysdep.h:
25781 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25782 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25784 * sysdeps/i386/fpu/e_powf.S: Likewise.
25785 * sysdeps/i386/fpu/e_expl.S: Likewise.
25786 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25787 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25788 * sysdeps/i386/fpu/e_pow.S: Likewise.
25789 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25790 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25791 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25792 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25793 * sysdeps/i386/fpu/e_log2.S: Likewise.
25794 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25795 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25796 * sysdeps/i386/fpu/e_powl.S: Likewise.
25797 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25798 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25799 * sysdeps/i386/fpu/e_logl.S: Likewise.
25800 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25801 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25802 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25803 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25804 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25805 * sysdeps/i386/fpu/e_log.S: Likewise.
25806 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25807 * sysdeps/i386/fpu/e_logf.S: Likewise.
25808 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25809 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25810 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25811 * sysdeps/i386/fpu/e_log10.S: Likewise.
25812 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25813 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25814 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25815 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25816 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25817 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25818 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25819 * sysdeps/i386/i686/strtok.S: Likewise.
25820 * sysdeps/i386/i386-mcount.S: Likewise.
25821 * sysdeps/i386/strtok.S: Likewise.
25822 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25823 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25824 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25825 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25826 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25827 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25828 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25829 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25830 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25831 * sysdeps/x86_64/_mcount.S: Likewise.
25832 * sysdeps/x86_64/strtok.S: Likewise.
25833 * sysdeps/sh/_mcount.S: Likewise.
25834
2747bf9a
RM
258352012-08-01 Roland McGrath <roland@hack.frob.com>
25836
25837 * libio/iofopen.c: Include <fcntl.h>.
25838 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25839 (_IO_fopen64, fopen64): Define as aliases.
25840 * libio/iofopen64.c: Include <fcntl.h>.
25841 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25842 Conditionalize body on this.
25843 * sysdeps/wordsize-64/iofopen.c: File removed.
25844 * sysdeps/wordsize-64/iofopen64.c: File removed.
25845
3fb791b8
MP
258462012-08-01 Marek Polacek <polacek@redhat.com>
25847
25848 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25849 Use dlfcn directly instead of a variable.
25850 (binfmt-subdir): Do not define.
25851 (dlfcn): Likewise.
25852
a9f1039f
JM
258532012-08-01 Joseph Myers <joseph@codesourcery.com>
25854
23bddc06
JM
25855 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25856 Remove all definitions.
25857 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25858 <kernel-features.h>.
25859 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25860 (miss_F_GETOWN_EX): Remove all definitions.
25861 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25862 macro definition.
25863 [!__ASSUME_FCNTL64]: Remove conditional code.
25864 [__ASSUME_FCNTL64]: Make code unconditional.
25865 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25866 <kernel-features.h>.
25867 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25868 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25869 (lockf64) [__NR_fcntl64]: Make code unconditional.
25870 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25871
a9f1039f
JM
25872 * sysdeps/unix/sysv/linux/kernel-features.h
25873 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25874 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25875 Make code unconditional.
25876 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25877 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25879 [__NR_vfork]: Make code unconditional.
25880 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25881 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25883 [__NR_vfork]: Make code unconditional.
25884 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25885 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25886
09c0ee5f
RM
258872012-08-01 Roland McGrath <roland@hack.frob.com>
25888
48aec5b9
RM
25889 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25890 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25891
cd97c966
RM
25892 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25893 Define mkstemp64 as an alias.
3f55550c
RM
25894 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25895 Define mkstemps64 as an alias.
cd97c966
RM
25896 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25897 Define mkostemp64 as an alias.
b8625cfc
RM
25898 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25899 Define mkostemps64 as an alias.
cd97c966
RM
25900 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25901 Conditionalize body on this.
25902 * misc/mkostemp64.c: Likewise.
b8625cfc 25903 * misc/mkostemps64.c: Likewise.
3f55550c 25904 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25905 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25906 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25907 * sysdeps/wordsize-64/mkostemp.c: File removed.
25908 * sysdeps/wordsize-64/mkstemp.c: File removed.
25909 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25910 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25911 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25912 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25913
09c0ee5f
RM
25914 [BZ #14138]
25915 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25916 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25917 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25918 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25919
25920 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25921 compat_symbol macros from <shlib-compat.h> rather than the underlying
25922 default_symbol_version and symbol_version macros, so that DEFAULT
25923 lines in shlib-versions are respected.
25924 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25925
7e66ee51
FW
259262012-08-01 Florian Weimer <fweimer@redhat.com>
25927
25928 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25929 Declare with warn_unused_result.
25930 (setgid, setregid, setegid, setresgid): Likewise.
25931 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25932 Likewise.
25933 * WUR-REPORT: Remove set*id functions.
25934
d2a54255
PT
259352012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25936
25937 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25938
7ecdb005
RM
259392012-07-31 Roland McGrath <roland@hack.frob.com>
25940
b4180a5e 25941 [BZ #10191]
789bd351
RM
25942 * include/sys/socket.h (__libc_accept, __libc_accept4):
25943 Add attribute_hidden.
25944 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25945
40ce302d
RM
25946 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25947 use of PTR_MANGLE.
25948 * inet/getnetgrent_r.c (setup): Likewise.
25949
7ecdb005
RM
25950 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25951
e2eabb2c
DM
259522012-07-31 David S. Miller <davem@davemloft.net>
25953
25954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25955
d0419dbf
JM
259562012-07-31 Joseph Myers <joseph@codesourcery.com>
25957
25958 [BZ #13629]
25959 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25960 value between 1.0 and 2.0 and smaller part has absolute value less
25961 than 1.0.
25962 * math/s_clog10.c (__clog10): Likewise.
25963 * math/s_clog10f.c (__clog10f): Likewise.
25964 * math/s_clog10l.c (__clog10l): Likewise.
25965 * math/s_clogf.c (__clogf): Likewise.
25966 * math/s_clogl.c (__clogl): Likewise.
25967 * math/libm-test.inc (clog_test): Add more tests.
25968 (clog10_test): Likewise.
25969 * sysdeps/i386/fpu/libm-test-ulps: Update.
25970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25971
2bc13872
FW
259722012-07-31 Florian Weimer <fweimer@redhat.com>
25973
25974 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25975 Exit with zero in case no suitable GID is found, and write a
25976 message to standard error.
25977
bea9b193
RM
259782012-07-30 Roland McGrath <roland@hack.frob.com>
25979
25980 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25981 rather than to 1.
25982 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25983 (MAXPATHLEN): Removed.
25984 (NOGROUP, NODEV): New macros.
25985 (setbit, clrbit, isset, isclr): New macros.
25986 (howmany, roundup, powerof2): New macros.
25987 (DEV_BSIZE): New macro.
25988
25989 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25990 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25991
25992 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25993 definition on [!__NO_LONG_DOUBLE_MATH].
25994
25995 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25996 PTR_MANGLE and PTR_DEMANGLE.
25997
25998 * socket/accept4.c (accept4): Rename to __libc_accept4.
25999 Define accept4 as a weak alias.
26000
26001 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26002 on [_DIRENT_HAVE_D_TYPE].
26003 * io/ftw.c (ftw_dir): Likewise.
26004
26005 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26006
26007 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26008
26009 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26010 Use the BSD numbers rather than the arbitrary ones we had.
26011 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26012 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26013 (SIGXCPU, SIGXFSZ): New macros.
26014 (_NSIG): Now 32.
26015
26016 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26017 initializer on [_LIBC_REENTRANT].
26018
26019 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26020 definitions inside [_POSIX_MAPPED_FILES].
26021
26022 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26023
26024 * dirent/opendir.c: Include <fcntl.h>.
26025
26026 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26027 (__libc_getspecific): Likewise.
26028 (__libc_key_create): Likewise.
26029
26030 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26031 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26032 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26033 (tmpfile64): Define as alias.
26034 * sysdeps/wordsize-64/tmpfile.c: File removed.
26035 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26036 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26038
26039 * stdio-common/vfscanf.c: Include <stdbool.h>.
26040 * nss/makedb.c: Likewise.
26041 * stdio-common/_i18n_number.h: Likewise.
26042 * argp/argp-help.c: Likewise.
26043 * posix/wordexp.c: Likewise.
26044 * sysdeps/posix/spawni.c: Likewise.
26045 * nss/nss_files/files-initgroups.c: Likewise.
26046 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26047 * nss/nss_files/files-initgroups.c: Likewise.
26048 * nss/nss_db/db-netgrp.c: Likewise.
26049 * nss/nss_db/db-initgroups.c: Likewise.
26050 * io/fchmodat.c: Include <sys/stat.h>.
26051
26052 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26053 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26054
26055 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26056 [HAVE_MMAP].
26057
26058 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26059 Add multiple inclusion protection.
26060
e5abc686
DM
260612012-07-27 David S. Miller <davem@davemloft.net>
26062
26063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26064
815e6fa3
GB
260652012-07-27 Gary Benson <gbenson@redhat.com>
26066
26067 [BZ #14298]
26068 * elf/rtld.c: Include <stap-probe.h>.
26069 (dl_main): Added static probes "init_start" and "init_complete".
26070 * elf/dl-load.c: Include <stap-probe.h>.
26071 (lose): Take new parameter "nsid".
26072 Added static probe "map_failed".
26073 (_dl_map_object_from_fd): Pass namespace id to lose.
26074 Added static probe "map_start".
26075 (open_verify): Pass namespace id to lose.
26076 * elf/dl-open.c: Include <stap-probe.h>.
26077 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26078 and "reloc_complete".
26079 * elf/dl-close.c: Include <stap-probe.h>.
26080 (_dl_close_worker): Added static probes "unmap_start" and
26081 "unmap_complete".
26082 * elf/rtld-debugger-interface.txt: New file documenting the above.
26083
9f98c16c
RM
260842012-07-26 Roland McGrath <roland@hack.frob.com>
26085
26086 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26087 rather than a string variable.
26088 * sunrpc/rpc_main.c (h_output): Likewise.
26089 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26090
f3c22df3
PT
260912012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26092
26093 * inet/check_native.c: New file.
26094
3129cfc6
JM
260952012-07-26 Joseph Myers <joseph@codesourcery.com>
26096
da865e95
JM
26097 [BZ #13629]
26098 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26099 if larger part has absolute value 1.0.
26100 * math/s_clog10.c (__clog10): Likewise.
26101 * math/s_clog10f.c (__clog10f): Likewise.
26102 * math/s_clog10l.c (__clog10l): Likewise.
26103 * math/s_clogf.c (__clogf): Likewise.
26104 * math/s_clogl.c (__clogl): Likewise.
26105 * math/libm-test.inc (clog_test): Add more tests.
26106 (clog10_test): Likewise.
26107 * sysdeps/i386/fpu/libm-test-ulps: Update.
26108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26109
3129cfc6
JM
26110 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26111 (pltexit): Likewise.
26112 (La_regs): Likewise.
26113 (La_retval): Likewise.
26114 (int_retval): Likewise.
26115 Update #error for removed macros to refer only to definitions in
26116 tst-audit.h.
26117 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26118 macro.
26119 (pltexit): Likewise.
26120 (La_regs): Likewise.
26121 (La_retval): Likewise.
26122 (int_retval): Likewise.
26123 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26124 macro.
26125 (pltexit): Likewise.
26126 (La_regs): Likewise.
26127 (La_retval): Likewise.
26128 (int_retval): Likewise.
26129 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26130 macro.
26131 (pltexit): Likewise.
26132 (La_regs): Likewise.
26133 (La_retval): Likewise.
26134 (int_retval): Likewise.
26135 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26136 macro.
26137 (pltexit): Likewise.
26138 (La_regs): Likewise.
26139 (La_retval): Likewise.
26140 (int_retval): Likewise.
26141 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26142 macro.
26143 (pltexit): Likewise.
26144 (La_regs): Likewise.
26145 (La_retval): Likewise.
26146 (int_retval): Likewise.
26147 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26148 macro.
26149 (pltexit): Likewise.
26150 (La_regs): Likewise.
26151 (La_retval): Likewise.
26152 (int_retval): Likewise.
26153 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26154 macro definitions in tst-audit.h.
26155 * sysdeps/i386/tst-audit.h: New file.
26156 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26157 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26158 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26159 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26160 * sysdeps/sh/tst-audit.h: Likewise.
26161 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26162 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26163 * sysdeps/x86_64/tst-audit.h: Likewise.
26164
bfc07087
AJ
261652012-07-26 Andreas Jaeger <aj@suse.de>
26166
b1b2aaf8
AJ
26167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26168 ptrace.
26169
26170 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26171 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26172 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26173 PTRACE_O_MASK.
26174 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26175 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26176 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26177
bfc07087
AJ
26178 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26179 value.
26180
26181 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26182 _sigsys.
26183 (si_call_addr, si_syscall, si_arch): Define new macro.
26184 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26185 _sigsys.
26186 (si_call_addr, si_syscall, si_arch): Define new marcro.
26187 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26188 _sigsys.
26189 (si_call_addr, si_syscall, si_arch): Define new macro.
26190 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26191 _sigsys.
26192 (si_call_addr, si_syscall, si_arch): Define new macro.
26193
89b4b02f
JM
261942012-07-25 Joseph Myers <joseph@codesourcery.com>
26195
26196 [BZ #13717]
26197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26198 Change to 2.4.21 where previously 2.4.1.
26199 * sysdeps/unix/sysv/linux/configure: Regenerated.
26200 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26201 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26202 Linux kernel version.
26203 (__ASSUME_STD_AUXV): Remove.
26204 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26205 kernel version.
26206 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26207 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26208 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26209 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26210 (__ASSUME_NETLINK_SUPPORT): Likewise.
26211 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26212 (__no_netlink_support): Remove conditional definition.
26213 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26214 Remove.
26215 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26216 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26217 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26218 (if_nameindex_ioctl): Remove.
26219 (if_nameindex_netlink): Do not handle __no_netlink_support.
26220 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26221 code.
26222 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26223 Remove conditional code.
26224 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26225 code.
26226 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26227 unconditional.
26228 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26229 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26230 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26231 Remove.
26232 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26233 [!__ASSUME_STD_AUXV]: Remove conditional code.
26234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26235 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26236 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26238 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26239 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26240 code.
26241 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26243 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26244 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26245 conditional code.
26246 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26248 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26249 code.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26251 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26252 conditional code.
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26254 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26255 code unconditional.
26256 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26257 conditional code.
26258 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26259 unconditional.
26260 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26261 conditional code.
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26263 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26264 unconditional.
26265 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26266 conditional code.
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26268 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26269 code unconditional.
26270 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26271 conditional code.
26272 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26273 unconditional.
26274 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26275 conditional code.
26276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26277 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26278 code unconditional.
26279 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26280 conditional code.
26281 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26282 unconditional.
26283 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26284 conditional code.
26285
842a39cd
AS
262862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26287
26288 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26289 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26290 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26291 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26292 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26293 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26294 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26295 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26296 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26297 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26298 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26299 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26300 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26301 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26302 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26303 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26304 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26305 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26306 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26308 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26309 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26311
84b3fd84
FW
263122012-07-25 Florian Weimer <fweimer@redhat.com>
26313
26314 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26315 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26316 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26317 Introduce __libc_secure_getenv.
0c7936d5
FW
26318 * stdlib/Versions (2.17): Add secure_getenv
26319 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26320 * stdlib/secure-getenv.c: Rename __secure_getenv to
26321 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26322 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26323 * stdlib/tst-secure-getenv.c: New.
26324 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26325 * manual/startup.texi (Environment Access): Document
26326 secure_getenv.
84b3fd84
FW
26327 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26328 __libc_secure_getenv.
26329 * inet/ruserpass.c (ruserpass): Likewise.
26330 * malloc/mtrace.c (mtrace): Likewise.
26331 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26332 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26333 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26334 * sysdeps/posix/tempname.c: Likewise. Evaluate
26335 HAVE_SECURE_GETENV.
26336 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26337 __secure_getenv to __libc_secure_getenv.
84b3fd84 26338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26340 Likewise.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26342 Likewise.
26343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26350
56e49b71
JM
263512012-07-25 Joseph Myers <joseph@codesourcery.com>
26352
26353 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26354 (struct La_i86_retval): Likewise.
26355 (struct La_x86_64_regs): Likewise.
26356 (struct La_x86_64_retval): Likewise.
26357 (struct La_x32_regs): Likewise.
26358 (struct La_x32_retval): Likewise.
26359 (struct La_ppc32_regs): Likewise.
26360 (struct La_ppc32_retval): Likewise.
26361 (struct La_ppc64_regs): Likewise.
26362 (struct La_ppc64_retval): Likewise.
26363 (struct La_sh_regs): Likewise.
26364 (struct La_sh_retval): Likewise.
26365 (struct La_s390_32_regs): Likewise.
26366 (struct La_s390_32_retval): Likewise.
26367 (struct La_s390_64_regs): Likewise.
26368 (struct La_s390_64_retval): Likewise.
26369 (struct La_sparc32_regs): Likewise.
26370 (struct La_sparc32_retval): Likewise.
26371 (struct La_sparc64_regs): Likewise.
26372 (struct La_sparc64_retval): Likewise.
26373 (struct audit_ifaces): Remove architecture-specific pltenter and
26374 pltexit members.
26375 * sysdeps/i386/ldsodefs.h: New file.
26376 * sysdeps/powerpc/ldsodefs.h: Likewise.
26377 * sysdeps/s390/ldsodefs.h: Likewise.
26378 * sysdeps/sh/ldsodefs.h: Likewise.
26379 * sysdeps/sparc/ldsodefs.h: Likewise.
26380 * sysdeps/x86_64/ldsodefs.h: Likewise.
26381
354691b7
MP
263822012-07-25 Marek Polacek <polacek@redhat.com>
26383
26384 [BZ #6808]
26385 * math/libm-test.inc (yn_test): Add another test.
26386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26387 to ERANGE when the result is +-Inf.
26388 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26389 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26390 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26391 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26392
bf9e2071
JM
263932012-07-24 Joseph Myers <joseph@codesourcery.com>
26394
26395 * conform/data/time.h-data (NULL): Use macro-constant. Require
26396 equal to 0.
26397 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26398 clock_t.
26399 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26400
57633811
TS
264012012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26402
26403 * configure.in <sysdeps resolving>: Correct printing
26404 Implies_before.
26405 * configure: Regenerate.
26406
c23c33b0
TS
264072012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26408
26409 * math/w_ilogb.c: Include <limits.h>.
26410 * math/w_ilogbl.c: Likewise.
26411
b5982523
JM
264122012-07-20 Joseph Myers <joseph@codesourcery.com>
26413
26414 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26415 va_copy. Document allowing for unavailable va_copy only as
26416 pre-C99 compatibility.
26417 * manual/string.texi (Copying and Concatenation): Use va_copy
26418 instead of __va_copy in concat example.
26419
ac4ea442
PT
264202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26421
26422 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26423 (__sendto): Use create_address_port. Initialize APORT and deallocate
26424 it if not null.
26425
f98eafbd
PT
26426 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26427 with O_NOLINK passed to __file_name_lookup.
26428
898c7aab
PT
26429 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26430 with O_NOLINK passed to __file_name_lookup.
26431
0ced335a
PT
26432 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26433 negative N or less than NGIDS.
26434
b3404dbd
PT
26435 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26436 type to string_t. Set ERANGE as errno and return it if NAME is not big
26437 enough. Use memcpy instead of strncpy.
26438
0f48659e
JM
264392012-07-20 Joseph Myers <joseph@codesourcery.com>
26440
26441 * elf/Makefile (check-data): Remove.
26442 (localplt.data): New vpath directive.
26443 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26444 instead of $(check-data).
26445 * scripts/data/localplt-generic.data: Move to ...
26446 * sysdeps/generic/localplt.data: ... here.
26447 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26448 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26449 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26451 ... here.
26452 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26454 ... here.
26455 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26457 ... here.
26458 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26460 ... here.
26461 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26463 ... here.
26464 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26466 ... here.
26467
d37cbdaa
AZ
264682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26469
26470 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26471 PPC32 and PPC64 files.
26472 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26473 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26474
46f85fc2
AK
264752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26476
26477 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26478 __makecontext_ret to ...
26479 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26480 ... here and call exit if uc_link is NULL. New file.
26481 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26482 __makecontext_ret.S.
26483 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26484 __makecontext_ret to ...
26485 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26486 ... here and call exit if uc_link is NULL. New file.
26487 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26488 __makecontext_ret.S.
26489
08f43f9b
AK
264902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26491
26492 * elf/elf.h (R_390_IRELATIVE): New definition.
26493 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26494 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26495 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26496 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26497 (elf_machine_lazy_rel): Likewise.
26498 * sysdeps/s390/dl-irel.h: New file.
26499 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26500 * sysdeps/s390/s390-64/memset.S: New asm code.
26501 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26502 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26503 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26504 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26505 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26506 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26507 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26508 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26509 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26510 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26511 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26512 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26513 * sysdeps/s390/s390-32/memset.S: New asm code.
26514 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26515
3b05db33
MP
265162012-07-17 Marek Polacek <polacek@redhat.com>
26517
26518 [BZ #14349]
26519 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26520 * sysdeps/s390/s390-64/configure.in: Likewise.
26521 * sysdeps/sparc/configure.in: Likewise.
26522 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26523 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26524 * sysdeps/i386/configure.in: Likewise.
26525 * sysdeps/x86_64/configure.in: Likewise.
26526 * sysdeps/sh/configure.in: Likewise.
26527 * sysdeps/s390/s390-32/configure: Regenerated.
26528 * sysdeps/s390/s390-64/configure: Likewise.
26529 * sysdeps/x86_64/configure: Likewise.
26530 * sysdeps/sh/configure: Likewise.
26531 * sysdeps/powerpc/powerpc64/configure: Likewise.
26532 * sysdeps/powerpc/powerpc32/configure: Likewise.
26533 * sysdeps/sparc/configure: Likwise.
26534 * sysdeps/i386/configure: Likewise.
26535
a66877c6
MP
26536 * elf/dl-open.c: Comment fixes.
26537
cfc82fd8
JM
265382012-07-17 Joseph Myers <joseph@codesourcery.com>
26539
bd29910a
JM
26540 * Makefile [CXX] (check-data): Remove.
26541 [CXX] (c++-types.data): New vpath directive.
26542 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26543 vpath. Do not allow for C++ type data being missing.
26544 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26545 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26546 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26547 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26548 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26549 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26550 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26552 ... here.
26553 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26555 ... here.
26556 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26558 ... here.
26559 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26561 ... here.
26562 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26564 ... here.
26565 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26567 ... here.
26568 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26570 ... here.
26571 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26573
cfc82fd8
JM
26574 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26575 definitions to architecture-specific files.
26576 (TLS_IE): Likewise.
26577 (TLS_LD): Likewise.
26578 (TLS_GD): Likewise.
26579 * sysdeps/i386/tls-macros.h: New file.
26580 * sysdeps/powerpc/tls-macros.h: Likewise.
26581 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26582 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26583 * sysdeps/sh/tls-macros.h: Likewise.
26584 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26585 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26586 * sysdeps/x86_64/tls-macros.h: Likewise.
26587
f7db3170
TS
265882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26589
07cbfc23
TS
26590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26591 zero value for regular exit case.
26592
f7db3170
TS
26593 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26594 (__start_context): Preserve zero value for regular exit case.
26595
dc97c227
TS
265962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26597 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26598
26599 * manual/setjmp.texi (setcontext): Clarify normal process
26600 termination when uc_link is the null pointer.
26601 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26602 exit call.
26603
d0cd7d02
AS
266042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26605
26606 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26607 preprocessor. Test for each exception mask separately.
26608
dd318934
AJ
266092012-07-16 Andreas Jaeger <aj@suse.de>
26610
26611 * po/ru.po: Update from translation team.
26612
8048311a
JM
266132012-07-15 Joseph Myers <joseph@codesourcery.com>
26614
26615 * conform/data/string.h-data (NULL): Use macro-constant. Require
26616 equal to 0.
26617 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26618 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26619 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26620 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26622
b637d46e
AJ
266232012-07-13 Andreas Jaeger <aj@suse.de>
26624
26625 * po/fr.po: Update from translation team.
26626
541428fe
MP
266272012-07-12 Marek Polacek <polacek@redhat.com>
26628
26629 [BZ #14173]
26630 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26631 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26632 loop condition.
26633
ec332e94
JM
266342012-07-12 Joseph Myers <joseph@codesourcery.com>
26635
26636 [BZ #13717]
26637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26638 Change to 2.4.1 where previously 2.4.0.
26639 * sysdeps/unix/sysv/linux/configure: Regenerated.
26640 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26641 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26642 version.
26643 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26644 (__ASSUME_AT_CLKTCK): Remove.
26645 (__ASSUME_AT_PAGESIZE): Likewise.
26646 (__ASSUME_AT_XID): Likewise.
26647 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26648 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26649 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26650 unconditionally.
26651 (HAVE_AUX_PAGESIZE): Likewise.
26652 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26653 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26654 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26655
7b6e99be
JB
266562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26657
26658 [BZ #14307]
26659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26660 the temporary buffer used to invoke __gethostbyname2_r,
26661 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26662 host_data / struct gaih_addrtuple.
26663 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26664 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26665 header file nss/nsswitch.h.
26666 * nss/nsswitch.h (global scope): Add definition of implementation
26667 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26668 resolv/nss_dns/dns-host.c).
26669
608404eb
AJ
266702012-07-11 Andreas Jaeger <aj@suse.de>
26671
26672 * po/fr.po: Update from translation team.
26673
71220aca
AJ
26674 * po/sv.po: Update from translation team
26675 * po/fr.po: Another update from translation team.
26676
28cfe843
AZ
266772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26678
26679 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26680 for subnormals or multiply small sinh result by itself.
26681 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26683
6b90f981
DM
266842012-07-11 David S. Miller <davem@davemloft.net>
26685
26686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26687
c6825772
AS
266882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26689
26690 [BZ #14347]
26691 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26692 (INTERNAL_MARK): Shift it here.
26693
7b8e0d49
MP
266942012-07-10 Marek Polacek <polacek@redhat.com>
26695
26696 [BZ #14151]
26697 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26698 libc_cv_asm_global_directive with .globl.
26699 * configure: Regenerated.
26700 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26701 with .globl.
26702 * sysdeps/i386/configure: Regenerated.
26703 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26704 with .globl.
26705 * sysdeps/x86_64/configure: Regenerated.
26706 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26707 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26708 * elf/tst-unique2mod2.c: Likewise.
26709 * elf/tst-unique2mod1.c: Likewise.
26710 * elf/tst-unique1mod2.c: Likewise.
26711 * elf/tst-unique1mod1.c: Likewise.
26712 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26713 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26715 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26716 * sysdeps/mach/sysdep.h: Likewise.
26717 * sysdeps/i386/sysdep.h: Likewise.
26718 * sysdeps/i386/i386-mcount.S: Likewise.
26719 * sysdeps/x86_64/_mcount.S: Likewise.
26720 * sysdeps/x86_64/sysdep.h: Likewise.
26721 * sysdeps/sh/_mcount.S: Likewise.
26722 * sysdeps/sh/sysdep.h: Likewise.
26723 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26724 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26725 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26727 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26728 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26729 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26730 * locale/localeinfo.h: Likewise.
26731 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26732 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26733
6c55cda3
RM
267342012-07-09 Roland McGrath <roland@hack.frob.com>
26735
26736 [BZ #14336]
26737 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26738 system".
26739 * manual/message.texi (The Uniforum approach): Likewise.
26740 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26741 (glibc iconv Implementation): Likewise.
26742
638a572e
JM
267432012-07-09 Joseph Myers <joseph@codesourcery.com>
26744
26745 [BZ #14337]
26746 * math/s_clog.c (__clog): Avoid scaling a value down where that
26747 could result in underflow.
26748 * math/s_clog10.c (__clog10): Likewise.
26749 * math/s_clog10f.c (__clog10f): Likewise.
26750 * math/s_clog10l.c (__clog10l): Likewise.
26751 * math/s_clogf.c (__clogf): Likewise.
26752 * math/s_clogl.c (__clogl): Likewise.
26753 * math/libm-test.inc (clog_test): Add more tests.
26754 (clog10_test): Likewise.
26755 * sysdeps/i386/fpu/libm-test-ulps: Update.
26756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26757
261f4859
AS
267582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26759
0abaf3e4
AS
26760 [BZ #14283]
26761 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26762 by 7 not 8 to examine high bit of fractional part.
26763
261f4859
AS
26764 [BZ #14042]
26765 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26766 for call to __mcount_internal.
26767 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26768 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26769 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26770
f17ac40d
JM
267712012-07-06 Joseph Myers <joseph@codesourcery.com>
26772
9ad63c23
JM
26773 [BZ #14154]
26774 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26775 approximation for values within 0x1p-13f of an odd multiple of
26776 pi/4.
26777 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26778 exception. Add more tests.
26779 * sysdeps/i386/fpu/libm-test-ulps: Update.
26780
f17ac40d
JM
26781 [BZ #6778]
26782 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26783 inputs and return -1 for them. Do not check for +Inf in case not
26784 reachable for +Inf.
26785 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26786 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26787 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26788 and return -1 for them. Do not check for +Inf in case not
26789 reachable for +Inf.
26790 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26791 define.
26792 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26793 and return -1 for them. Do not check for +Inf in case not
26794 reachable for +Inf.
26795 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26796 spurious underflow.
26797 * sysdeps/i386/fpu/libm-test-ulps: Update.
26798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26799
fb21f89b
MF
268002012-07-06 Mike Frysinger <vapier@gentoo.org>
26801
26802 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26803
cdfe2c5e
JM
268042012-07-05 Joseph Myers <joseph@codesourcery.com>
26805
26806 [BZ #14157]
26807 [BZ #14331]
26808 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26809 could result in spurious underflow. Scale down values above
26810 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26811 * math/s_csqrtf.c (__csqrtf): Likewise.
26812 * math/s_csqrtl.c (__csqrtl): Likewise.
26813 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26814 spurious underflow.
26815 * sysdeps/i386/fpu/libm-test-ulps: Update.
26816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26817
70d35b67
AS
268182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26819
704bc459
AS
26820 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26821 xopen-msg.sed.
26822 * catgets/xopen-msg.awk: New file.
26823 * catgets/xopen-msg.sed: Removed.
26824
70d35b67
AS
26825 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26826 po2text.sed.
26827 * intl/po2test.awk: New file.
26828 * intl/po2test.sed: Removed.
26829
ca61cf32
JM
268302012-07-04 Joseph Myers <joseph@codesourcery.com>
26831
26832 [BZ #14328]
26833 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26834 or multiply small sinh result by itself.
26835 * math/s_ctanf.c (__ctanf): Likewise.
26836 * math/s_ctanh.c (__ctanh): Likewise.
26837 * math/s_ctanhf.c (__ctanhf): Likewise.
26838 * math/s_ctanhl.c (__ctanhl): Likewise.
26839 * math/s_ctanl.c (__ctanl): Likewise.
26840 * math/libm-test.inc (ctan_test_tonearest): New function.
26841 (ctan_test_towardzero): Likewise.
26842 (ctan_test_downward): Likewise.
26843 (ctan_test_upward): Likewise.
26844 (ctanh_test_tonearest): Likewise.
26845 (ctanh_test_towardzero): Likewise.
26846 (ctanh_test_downward): Likewise.
26847 (ctanh_test_upward): Likewise.
26848 (main): Call these new functions.
26849 * sysdeps/i386/fpu/libm-test-ulps: Update.
26850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26851
ca48a46a
MF
268522012-07-03 Mike Frysinger <vapier@gentoo.org>
26853
26854 * .gitignore: Delete /ports entry.
26855
9d63d37d
AJ
268562012-07-03 Andreas Jaeger <aj@suse.de>
26857
26858 * po/bg.po: Update from translation team.
26859 * po/cs.po: Likewise.
26860 * po/de.po: Likewise.
26861 * po/hr.po: Likewise.
26862 * po/nl.pl: Likewise.
26863 * po/pl.po: Likewise.
26864 * po/vi.po: Likewise.
26865
370ca3d2
JM
268662012-07-03 Joseph Myers <joseph@codesourcery.com>
26867
95f5a9a8
JM
26868 * Makeconfig [!+link] (+link-before-libc): New variable.
26869 [!+link] (+link-after-libc): Likewise.
26870 [!+link] (+link-tests): Likewise.
26871 [!+link] (+link): Define in terms of $(+link-before-libc) and
26872 $(+link-after-libc).
26873 [!+link-static] (+link-static-before-libc): New variable.
26874 [!+link-static] (+link-static-after-libc): Likewise.
26875 [!+link-static] (+link-static-tests): Likewise.
26876 [!+link-static] (+link-static): Define in terms of
26877 $(+link-static-before-libc) and $(+link-static-after-libc).
26878 [build-shared] (link-libc-before-gnulib): New variable.
26879 [build-shared] (link-libc-tests): Likewise.
26880 [build-shared] (link-libc): Define in terms of
26881 $(link-libc-before-gnulib).
26882 [!build-shared] (link-libc-tests): New variable.
26883 (link-libc-static-tests): New variable.
26884 [!gnulib] (gnulib-arch): New variable.
26885 [!gnulib] (gnulib-tests): Likewise.
26886 [!gnulib] (static-gnulib-arch): Likewise.
26887 [!gnulib] (static-gnulib-tests): Likewise.
26888 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26889 Define with "=" instead of ":=".
26890 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26891 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26892 * Rules (binaries-all-notests): New variable.
26893 (binaries-all-tests): Likewise.
26894 (binaries-static-notests): Likewise.
26895 (binaries-static-tests): Likewise.
26896 (binaries-all): Define using $(binaries-all-notests) and
26897 $(binaries-all-tests).
26898 (binaries-static): Define using $(binaries-static-notests) and
26899 $(binaries-static-tests).
26900 (binaries-shared-tests): New variable.
26901 (binaries-shared-notests): Likewise.
26902 (binaries-shared): Remove variable.
26903 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26904 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26905 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26906 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26907 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26908 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26909 * elf/Makefile (sln-modules): New variable.
26910 (extra-objs): Add $(sln-modules:=.o).
26911 (ldconfig-modules): Add static-stubs.
26912 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26913 * elf/static-stubs.c: New file.
26914
7a845b2c
JM
26915 [BZ #14283]
26916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26917 by 7 not 8 to examine high bit of fractional part. Use volatile
26918 variables when splitting into final array of floats if
26919 __FLT_EVAL_METHOD__ != 0.
26920 * math/libm-test.inc (cos_test): Add another test.
26921 (sin_test): Likewise.
26922 * sysdeps/i386/fpu/libm-test-ulps: Update.
26923
e2283f38
JM
26924 [BZ #14273]
26925 * math/libm-test.inc (cosh_test): Add more tests.
26926
370ca3d2
JM
26927 * version.h (RELEASE): Set to "development".
26928 (VERSION): Set to "2.16.90".
26929
ee9247c3
CD
269302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26931
26932 * NEWS: Update copyright. Remove last-updated date.
26933 Mention math library bug fixes and timezone data changes.
26934 * README: Mention GNU/Hurd, x32, and HPPA support status.
26935
4648c381
TS
269362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26937
26938 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26939
aac78a43
AJ
269402012-06-27 Andreas Jaeger <aj@suse.de>
26941
26942 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26943
ed3dbfad
AJ
269442012-06-25 Andreas Jaeger <aj@suse.de>
26945
26946 * sysdeps/s390/fpu/libm-test-ulps: Update.
26947
4d0ee855
AS
269482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26949 Thomas Schwinge <thomas@codesourcery.com>
26950
26951 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26952 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26954 fanotify_mark.
26955
af1bce34
TS
269562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26957
a9fa33ba
TS
26958 * sysdeps/mach/start.c: Remove file.
26959 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26960 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26961 * sysdeps/sh/init-first.c: Likewise.
26962
58f902b8
TS
26963 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26964 registers for frame unwinding purposes, add CFI directives.
26965 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26966 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26967 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26968 Likewise.
26969
1518f58b
TS
26970 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26971 __fortify_fail returning.
26972 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26973
db9b5059
TS
26974 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26975 sysdeps/sh/____longjmp_chk.S.
26976 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26977 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26978 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26979 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26980
967705fe
TS
26981 * sysdeps/sh/abort-instr.h: New file.
26982 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26983 process in case exit returns.
26984
a9def8c4
TS
26985 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26986 initialize the GOT register before use.
26987
2a649725
TS
26988 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26989 calculation of ARGC > 4.
26990
af1bce34
TS
26991 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26992 meaningful names to some local labels.
26993
d230f50a
KK
269942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26995 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26996
26997 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26998 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26999 (__arch_compare_and_exchange_val_16_acq): Likewise.
27000 (__arch_compare_and_exchange_val_32_acq): Likewise.
27001 (atomic_exchange_and_add): Fix gUSA sequence.
27002 (atomic_add): Likewise.
27003 (atomic_add_negative): Likewise.
27004 (atomic_add_zero): Likewise.
27005 (atomic_bit_test_set): Likewise.
27006
0479b305
AS
270072012-06-22 Andreas Schwab <schwab@redhat.com>
27008
27009 [BZ #13579]
27010 * include/link.h (struct link_map): Add l_free_initfini.
27011 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27012 l_initfini.
27013 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27014 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27015 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27016 set.
27017
0e3933b9
CD
270182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27019
27020 * configure.in: Use AC_LANG_SOURCE.
27021 * configure: Regenerate.
27022
4248b1b1
RM
270232012-06-22 Roland McGrath <roland@hack.frob.com>
27024
27025 * configure.in (libc_cv_localstatedir): New substituted variable.
27026 * configure: Regenerated.
27027 * config.make.in (localstatedir): New variable, substituted from
27028 libc_cv_localstatedir.
27029 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27030 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27031 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27032 * sysdeps/gnu/configure: Regenerated.
27033
006dd861
JL
270342012-06-21 Jeff Law <law@redhat.com>
27035
27036 [BZ #14277]
27037 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27038 free. Simplify list management for _LIBC case.
27039
79662d42
JM
270402012-06-21 Joseph Myers <joseph@codesourcery.com>
27041
b7abb4bf
JM
27042 [BZ #14273]
27043 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27044 Clear sign bit of 64-bit integer value before comparing against
27045 overflow value.
27046
79662d42
JM
27047 * sysdeps/mach/configure: Regenerated.
27048
1f150908
L
270492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27050
27051 [BZ #14278]
27052 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27053
28363bbf
JL
270542012-06-21 Jeff Law <law@redhat.com>
27055
27056 [BZ #13882]
27057 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27058 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27059 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27060 * elf/dl-open.c (dl_open_worker): Likewise.
27061
09615db4
CD
270622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27063
27064 * scripts/list-sources.sh: Scan PORTS for translations.
27065 * po/libc.pot: Regenerated.
27066
2174c6dd
AJ
270672012-06-21 Andreas Jaeger <aj@suse.de>
27068
27069 [BZ #12194]
27070 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27071 warning.
27072 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27073 * bits/byteswap-16.h (__bswap_16): Likewise.
27074 * bits/byteswap.h (__bswap_constant_16): Likewise.
27075
3ee947b1
L
270762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27077
27078 [BZ #14117]
a2f34833
L
27079 * sysdeps/i386/fpu_control.h: Removed.
27080 * sysdeps/x86_64/fpu_control.h: Moved to ...
27081 * sysdeps/x86/fpu_control.h: Here.
27082
3ee947b1
L
27083 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27084 (_FPU_SETCW): Likewise.
27085
ed1825f8
L
270862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27087
25f1282a
L
27088 [BZ #14117]
27089 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27090 * sysdeps/x86/fpu/bits/mathinline.h: This.
27091 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27092
ed1825f8
L
27093 [BZ #14050]
27094 [BZ #14117]
27095 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27096 functions if __x86_64__ is defined.
27097
36d54b74
CLT
270982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27099
27100 * string/endian.h: Add !__ASSEMBLER__ condition for including
27101 conversion interfaces.
27102
10285c21
JM
271032012-06-15 Joseph Myers <joseph@codesourcery.com>
27104
27105 [BZ #14241]
27106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27107 of ABS(x) in calculating zero to negative powers other than odd
27108 integers.
27109 * math/libm-test.inc (pow_test): Add more tests.
27110
06c5abbd
AJ
271112012-06-15 Andreas Jaeger <aj@suse.de>
27112
27113 * manual/contrib.texi (Contributors): Update entry of Liubov
27114 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27115 Machado Filho.
27116
a3aeac40
CH
271172012-06-15 Cyril Hrubis <metan@ucw.cz>
27118
27119 * string/string.h: Add __wur to GNU version of strerror_r.
27120
49bdf4c1
L
271212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27122
27123 [BZ #14229]
27124 * string/Makefile (tests): Add tst-strtok_r.
27125 * string/tst-strtok_r.c: New file.
27126 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27127 RAX_LP/RDX_LP on SAVE_PTR.
27128
834f9b8d
RM
271292012-06-14 Roland McGrath <roland@hack.frob.com>
27130
27131 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27132
75fa1921
JM
271332012-06-14 Joseph Myers <joseph@codesourcery.com>
27134
27135 * libm_test.inc (csqrt_test): Allow more spurious underflow
27136 exceptions.
27137 (j0_test): Likewise.
27138 (j1_test): Likewise.
27139 (y0_test): Likewise.
27140 (y1_test): Likewise.
27141
771766df
CD
271422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27143
27144 * po/Makefile (libc.pot): Use UTF-8 charset.
27145
ceb9e56b
PP
271462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27147
27148 [BZ #14210]
27149 Suppress sign-conversion warning from FD_SET.
27150 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27151 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27152 not unsigned long int.
27153 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27154
ddb28975
L
271552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27156
27157 [BZ #14050]
27158 [BZ #14117]
27159 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27160 __extern_always_inline instead of __extern_inline.
27161 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27162 (__signbit): Likewise.
27163 (__signbitl): Support C++ namespace.
27164 (lrintf): New inline function.
27165 (lrint): Likewise.
27166 (llrintf): Likewise.
27167 (llrint): Likewise.
27168 (fmaxf): Likewise.
27169 (fmax): Likewise.
27170 (fminf): Likewise.
27171 (fmin): Likewise.
27172 (rint): Likewise.
27173 (rintf): Likewise.
27174 (ceil): Likewise.
27175 (ceilf): Likewise.
27176 (floor): Likewise.
27177 (floorf): Likewise.
27178 (nearbyint): Likewise.
27179 (nearbyintf): Likewise.
27180
d7b4fb26
TS
271812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27182
27183 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27184 non-default versions.
27185
eb55f5c2
RM
271862012-06-11 Roland McGrath <roland@hack.frob.com>
27187
27188 [BZ #14218]
27189 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27190
366af02c
TS
271912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27192
99ff6e5c
TS
27193 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27194 (FE_UPWARD, FE_DOWNWARD): Don't define.
27195 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27196 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27197
366af02c
TS
27198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27199 reading it.
27200 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27201 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27202
793ea851
KK
272032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27204
27205 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27207 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27208 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27209
a728a38f
L
272102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27211
27212 [BZ #14117]
c08010c7
L
27213 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27214 * sysdeps/i386/fpu/Implies: New file.
27215 * sysdeps/x86_64/fpu/Implies: Likewise.
27216 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27217 * sysdeps/x86/fpu/bits/fenv.h: This.
27218
a728a38f
L
27219 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27220 __SSE_MATH__.
27221
6e230d11
SP
272222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27223
27224 [BZ #14134]
27225 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27226 character 0xffff that matches the last element of the
27227 conversion table.
27228
1b671feb
AZ
272292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27230
27231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27232 fmodl commit.
27233
6043738b
AZ
272342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27235
27236 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27237 values higher than 25.6283.
27238
34ae0b32
AZ
272392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27240
27241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27242 subnormal exponent extraction and add some __builtin_expect.
27243 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27244 Fix for subnormal mantissa calculation.
27245
1214ec8f
MF
272462012-06-04 Mike Frysinger <vapier@gentoo.org>
27247
27248 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27249 cpu2 is -1 and errno is not ENOSYS.
27250
f3d1f93c
L
272512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27252
27253 [BZ #14117]
0e4a3cd7
L
27254 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27255 * sysdeps/x86/bits/string.h: This.
27256 * sysdeps/x86_64/bits/string.h: Removed.
27257
6704c645
L
27258 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27259 if not compiling for x86-64, but compiling for >= i486.
27260
48495318
L
27261 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27262 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27263
14adcbfc
L
27264 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27265 New macro from Linux kernel 3.4.0.
27266 (FP_XSTATE_MAGIC2): Likewise.
27267 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27268 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27269 (struct _fpx_sw_bytes): New struct.
27270 (struct _xsave_hdr): Likewise.
27271 (struct _ymmh_state): Likewise.
27272 (struct _xstate): Likewise.
27273
68e408ab
L
27274 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27275 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27276 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27277 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27278 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27279 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27280
f3d1f93c
L
27281 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27282 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27283 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27284 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27285 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27286 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27287
d9dc34cd
TMQMF
272882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27289
27290 [BZ #13743]
27291 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27292 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27293 (sysdep_headers): Include sys/platform/ppc.h.
27294 * sysdeps/powerpc/test-gettimebase.c: Test for
27295 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27296 * manual/Makefile (appendices): Include platform.texi.
27297 * manual/contrib.texi (Contributors): Update @node pointers.
27298 * manual/maint.texi (Maintenance): Likewise.
27299 (Platform): New node.
27300 * manual/platform.texi: New file. Document the new features.
27301
4af3879c
SP
273022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27303 Jakub Jelinek <jakub@redhat.com>
27304
27305 [BZ #14188]
27306 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27307 where __builtin_expect is unavailable.
27308
2fd6ff13
DM
273092012-06-03 David S. Miller <davem@davemloft.net>
27310
27311 * stdlib/longlong.h: Updated from GCC.
27312
173f7220
AS
273132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27314
27315 [BZ #14042]
27316 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27317 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27318 __mcount_internal.
27319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27320 (GLIBC_2.16): Likewise.
27321
f34a1c6f
L
273222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27323
27324 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27325
88a4576f
JM
273262012-06-01 Joseph Myers <joseph@codesourcery.com>
27327
ea32bcdd
JM
27328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27329 (default-abi): New variable.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27331 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27332 variable.
27333 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27334 Likewise.
27335 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27336 Likewise.
27337 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27338 Likewise.
27339
88a4576f
JM
27340 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27341 definition. Document in comment.
27342
402fe938
DM
273432012-06-01 David S. Miller <davem@davemloft.net>
27344
27345 * stdlib/longlong.h: Updated from GCC.
27346
3553723f
L
273472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27348
27349 [BZ #14117]
3bd872c4
L
27350 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27351 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27352 sys/debugreg.h sys/io.h here.
27353 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27354 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27355 sys/io.h.
27356 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27357 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27358 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27359 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27360 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27361 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27362
3553723f
L
27363 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27364 Define only if __x86_64__ is defined.
27365
4842e4fe
JM
273662012-06-01 Joseph Myers <joseph@codesourcery.com>
27367
c5bfe3d5
JM
27368 [BZ #14048]
27369 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27370 Use int64_t for variable i.
27371 * math/libm-test.inc (fmod_test): Add more tests.
27372
4842e4fe
JM
27373 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27374 z computation is not scheduled after fetestexcept.
27375 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27376 Use math_force_eval instead of asm to ensure calculation scheduled
27377 before exception test.
27378 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27379 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27380
efb73488
AJ
273812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27382
27383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27384 computation is not scheduled after fetestexcept.
27385
29bcce7c
L
273862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27387
27388 [BZ #14117]
27389 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27390 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27391
73a68f94
AZ
273922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27393
27394 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27395 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27396
67b6df78
L
273972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27398
edf2933a 27399 [BZ #14117]
ebc64a18
L
27400 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27401 <bits/wordsize.h>.
27402 (__WCHAR_MIN): Support __WORDSIZE == 64.
27403 (__WCHAR_MAX): Likewise.
27404
edf2933a
L
27405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27406 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27407
57c6cf40
L
27408 [BZ #14183]
27409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27410 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27411
67b6df78 27412 [BZ #14117]
8eb6281e
L
27413 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27414 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27415
aac639f4
L
27416 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27417 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27418
67b6df78
L
27419 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27420 Defined to 1 if __x86_64__ isn't defined.
27421 (_STAT_VER_LINUX_OLD): New.
27422 (st_atime): Remove duplicate.
27423 (st_mtime): Likewise.
27424 (st_ctime): Likewise.
27425
1c2cfe81
DM
274262012-05-31 David S. Miller <davem@davemloft.net>
27427
27428 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27429 entries.
27430
5be8418c
AS
274312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27432
e7725326
AS
27433 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27434 gen-libm-test.pl.
27435
5be8418c
AS
27436 [BZ #14132]
27437 * elf/dl-reloc.c: Include <_itoa.h>.
27438 (_dl_reloc_bad_type): Remove use of INTUSE.
27439 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27440 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27441 * stdio-common/psiginfo.c (psiginfo): Likewise.
27442 * stdio-common/psignal.c (psignal): Likewise.
27443 * string/strsignal.c (strsignal): Likewise.
27444 * include/signal.h (_sys_siglist): Declare hidden proto.
27445 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27446 INTVARDEF with libc_hidden_data_def.
27447 * stdio-common/itoa-udigits.c: Likewise.
27448 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27449 (_itoa_lower_digits_internal): Remove declaration.
27450 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27451 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27452 (_sys_sigabbrev_internal): Remove aliases.
27453 (_sys_siglist): Define hidden alias.
27454
507352f1
MT
274552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27456
27457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27458 bits/sysctl.h.
27459
42bbb1c3
L
274602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27461
27462 [BZ #14117]
6bd784b6
L
27463 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27464 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27465
8bca20f0
L
27466 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27467 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27468 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27469 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27470 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27471 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27472
f9e890a9
L
27473 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27474 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27475 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27476
471101a1
L
27477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27478 with __addr.
27479 (insw): Likewise.
27480 (insl): Likewise.
27481 (outsb): Likewise.
27482 (outsw): Likewise.
27483 (outsl): Likewise.
27484
6451c862
L
27485 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27486 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27487 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27488
a254b8c9
L
27489 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27490 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27492 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27493 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27494 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27495
b8dfdd92
L
27496 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27497 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27498
578cd270
L
27499 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27500 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27501
de662f5f
L
27502 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27504 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27505
25653439
L
27506 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27507 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27508 to ...
27509 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27510
6bad24a0
L
27511 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27512 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27513 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27514
42bbb1c3
L
27515 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27516 for x86-64.
27517 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27518
2d10d547
JM
275192012-05-31 Joseph Myers <joseph@codesourcery.com>
27520
27521 * math/math.h (M_El): Use two more decimal places.
27522 (M_LOG2El): Likewise.
27523 (M_LOG10El): Likewise.
27524 (M_LN2l): Likewise.
27525 (M_LN10l): Likewise.
27526 (M_PIl): Likewise.
27527 (M_PI_2l): Likewise.
27528 (M_PI_4l): Likewise.
27529 (M_1_PIl): Likewise.
27530 (M_2_PIl): Likewise.
27531 (M_2_SQRTPIl): Likewise.
27532 (M_SQRT2l): Likewise.
27533 (M_SQRT1_2l): Likewise.
27534
f230c29b
DM
275352012-05-31 David S. Miller <davem@davemloft.net>
27536
27537 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27538 values between float registers.
27539 * sysdeps/sparc/sparc64/memset.S: Likewise.
27540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27541
fed806c3
MF
275422012-05-31 Mike Frysinger <vapier@gentoo.org>
27543
27544 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27545 -D_FORTIFY_SOURCE=1.
27546 (CPPFLAGS-tst-longjmp_chk.c): Define.
27547 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27548 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27549 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27550 CFLAGS-tst-wchar-h.c.
27551
30917259
MP
275522012-05-31 Marek Polacek <polacek@redhat.com>
27553
27554 [BZ #14132]
27555 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27556 __endmntent_internal): Remove declaration.
27557 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27558 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27559 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27560
1c58d5dc
DM
275612012-05-30 David S. Miller <davem@davemloft.net>
27562
27563 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27564 (___Q_simulate_exceptions): Use real FP ops rather than writing
27565 into the %fsr.
27566 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27567 Likewise.
27568
7dc00e0d
L
275692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27570
27571 [BZ #14117]
0bd53985
L
27572 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27573 * sysdeps/x86/bits/xtitypes.h: This.
27574
3a257e66
L
27575 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27576 * sysdeps/x86/bits/wordsize.h: This.
27577
62f62904
L
27578 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27579 * sysdeps/x86/bits/huge_vall.h: This.
27580
404fe9d9
L
27581 * sysdeps/i386/bits/select.h: Removed.
27582 * sysdeps/x86_64/bits/select.h: Renamed to ...
27583 * sysdeps/x86/bits/select.h: This.
27584
d48d0446
L
27585 * sysdeps/i386/bits/setjmp.h: Removed.
27586 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27587 * sysdeps/x86/bits/setjmp.h: This.
27588
7dc00e0d
L
27589 * sysdeps/i386/bits/mathdef.h: Removed.
27590 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27591 * sysdeps/x86/bits/mathdef.h: This.
27592
03277f8f
AS
275932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27594
27595 [BZ #14132]
27596 * include/sys/socket.h (__connect_internal)
27597 (__libc_sa_len_internal): Remove declaration.
27598 (__connect, __libc_sa_len): Declare hidden_proto.
27599 (SA_LEN): Remove use of INTUSE.
27600 * socket/connect.c: Add libc_hidden_def.
27601 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27602 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27603 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27604 alias.
27605 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27606 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27607 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27608 of adding _internal alias.
27609
13764867
L
276102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27611
27612 [BZ #14117]
6bd97696
L
27613 * sysdeps/i386/bits/link.h: Removed.
27614 * sysdeps/i386/bits/linkmap.h: Likewise.
27615 * sysdeps/x86_64/bits/link.h: Renamed to ...
27616 * sysdeps/x86/bits/link.h: This.
27617 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27618 * sysdeps/x86/bits/linkmap.h: This.
27619
f726f0bb
L
27620 * sysdeps/i386/bits/endian.h: Removed.
27621 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27622 * sysdeps/x86/bits/endian.h: This.
27623
13764867
L
27624 * sysdeps/i386/bits/byteswap.h: Removed.
27625 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27626 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27627 * sysdeps/x86/bits/byteswap.h: This.
27628 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27629 * sysdeps/x86/bits/byteswap-16.h: This.
27630 * sysdeps/i386/Implies: Add x86.
27631 * sysdeps/x86_64/Implies: Likewise.
27632
ae251b0b
DM
276332012-05-30 David S. Miller <davem@davemloft.net>
27634
27635 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27636 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27637 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27638 (FP_TRAPPING_EXCEPTIONS): Define.
27639 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27640 (FP_TRAPPING_EXCEPTIONS): Define.
27641 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27642 subnormals only when inexact has been signalled or underflow
27643 exceptions are enabled.
27644 (_FP_PACK_CANONICAL): Likewise.
27645
d5c90867
L
276462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27647
27648 [BZ #14183]
27649 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27650 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27651
63f1549e
RH
276522012-05-30 Richard Henderson <rth@twiddle.net>
27653
8d8f2279
RH
27654 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27655 with #ifndef NOT_IN_libc.
27656
63f1549e
RH
27657 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27658 marked to avoid plt entry.
27659
0ab0291b
L
276602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27661
27662 [BZ #14112]
27663 * Makeconfig (default-abi): New macro.
27664 (abi-includes): Likewise.
27665 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27666 $(abi-$(default-abi)-lib-soname) for soname if defined.
27667 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27668 abi-variants.
27669 * Makefile (installed-stubs): Likewise.
27670 * include/stubs-biarch.h: Removed.
27671 * scripts/lib-names.awk: Only handle one library at a time.
27672 * scripts/soversions.awk: Remove WORDSIZE support.
27673 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27674 entries.
27675 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27676 Removed.
27677 (syscall-list-default-condition): Likewise.
27678 (syscall-list-default-condition): Likewise.
27679 (syscall-list-includes): Likewise.
27680 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27681 syscall-list-* with abi-*. Handle undefined abi-variants.
27682 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27683 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27684 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27685 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27686 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27687 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27688 Removed.
27689 (syscall-list-32-options): Likewise.
27690 (syscall-list-32-condition): Likewise.
27691 (syscall-list-64-options): Likewise.
27692 (syscall-list-64-condition): Likewise.
27693 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27694 macro.
27695 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27696 Renamed to ...
27697 (abi-*): This.
27698 (abi-64-ld-soname): New macro.
27699 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27700 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27701 Renamed to ...
27702 (abi-*): This.
27703 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27704 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27705
4da0431d
JM
277062012-05-30 Joseph Myers <joseph@codesourcery.com>
27707
3a85279c
JM
27708 * sysdeps/unix/sysv/linux/kernel-features.h
27709 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27710 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27711 include <kernel-features.h>.
27712 [!__NR_ftruncate64]: Remove conditional code.
27713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27714 [__NR_ftruncate64]: Make code unconditional.
27715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27716 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27717 include <kernel-features.h>.
27718 [!__NR_ftruncate64]: Remove conditional code.
27719 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27720 [__NR_ftruncate64]: Make code unconditional.
27721 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27723 include <kernel-features.h>.
27724 [!__NR_ftruncate64]: Remove conditional code.
27725 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27726 [__NR_ftruncate64]: Make code unconditional.
27727 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27729 include <kernel-features.h>.
27730 [!__NR_ftruncate64]: Remove conditional code.
27731 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27732 [__NR_ftruncate64]: Make code unconditional.
27733 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27734
4da0431d
JM
27735 * configure.in (libc_cv_fpie): Weaken to a compile test using
27736 LIBC_TRY_CC_OPTION.
27737 * configure: Regenerated.
27738
11ef492c
AK
277392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27740
27741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27745 Refreshed.
27746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27752 Refreshed.
27753
d66ef399
DM
277542012-05-27 David S. Miller <davem@davemloft.net>
27755
27756 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27757 (___Q_zero): New.
27758 (__Q_simulate_exceptions): Return void. Change to simulate
27759 exceptions by writing into the %fsr.
27760 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27761 (__Qp_handle_exceptions): Likewise.
27762 (numbers): Delete.
27763 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27764 __Qp_handle_exceptions.
27765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27766 __Qp_handle_exceptions.
27767 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27768 as unused and give dummy FP_RND_NEAREST initializer.
27769 (FP_INHIBIT_RESULTS): Define.
27770 (___Q_simulate_exceptions): Update declaration.
27771 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27772 formatting.
27773 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27774 as unused and give dummy FP_RND_NEAREST initializer.
27775 (__Qp_handle_exceptions): Update declaration.
27776 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27777 formatting.
27778
04fb54b5
TS
277792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27780
27781 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27782 the temporary FPU control word.
27783 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27784 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27785 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27786 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27787 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27788 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27789 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27790 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27791 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27792 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27793 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27794
3f99608f
KK
277952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27796
27797 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27798 fields.
27799
65a4de4e
CLT
278002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27801
27802 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27803 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27804 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27805 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27806 Likewise.
27807 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27808 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27809 Likewise.
27810
15749d40
UD
278112012-05-27 Ulrich Drepper <drepper@gmail.com>
27812
27813 * po/h.po: Update from translation team.
27814
25dbcb27
AS
278152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27816
3d3f8e55
AS
27817 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27818
25dbcb27
AS
27819 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27820 handling of denormals.
27821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27822 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27823 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27824 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27828 Likewise.
27829
7ad47a80 278302012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27831
27832 [BZ #14152]
27833 * math/libm-test.inc (fma_test): Don't always expect underflow
27834 exception.
27835
9c6ea9fa
SP
278362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27837
27838 [BZ #12416]
27839 * elf/tst-execstack.c: Include stackinfo.h.
27840 (do_test): Adjust test case to ensure that pthread_getattr_np
27841 behaviour remains the same after marking stack executable.
27842
a8239222
JM
278432012-05-25 Joseph Myers <joseph@codesourcery.com>
27844
27845 * sysdeps/unix/sysv/linux/kernel-features.h
27846 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27847 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27848 kernel-features.h.
27849 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27850 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27851 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27852 kernel-features.h.
27853 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27854 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27855
918b5606
L
278562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27857
27858 * configure.in: Define the default includes to being none.
27859 * configure: Regenerated.
27860
3a097cc7
RM
278612012-05-25 Roland McGrath <roland@hack.frob.com>
27862
8422c9a5
RM
27863 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27864 * sysdeps/x86_64/setjmp.S: Likewise.
27865 * sysdeps/i386/bsd-setjmp.S: Likewise.
27866 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27867 * sysdeps/i386/setjmp.S: Likewise.
27868 * sysdeps/i386/__longjmp.S: Likewise.
27869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27870 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27871
3a097cc7
RM
27872 * include/stap-probe.h: New file.
27873 * configure.in: Handle --enable-systemtap.
27874 * configure: Regenerated.
27875 * config.h.in (USE_STAP_PROBE): New #undef.
27876 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27877 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27878 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27879
21708942
JM
278802012-05-25 Joseph Myers <joseph@codesourcery.com>
27881
27882 [BZ #13717]
27883 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27884 to 2.4.0 where earlier.
27885 * sysdeps/unix/sysv/linux/configure: Regenerated.
27886 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27887 <kernel-features.h>.
27888 [__ASSUME_32BITUIDS]: Make code unconditional.
27889 [!__ASSUME_32BITUIDS]: Remove conditional code.
27890 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27891 <kernel-features.h>.
27892 [__ASSUME_32BITUIDS]: Make code unconditional.
27893 [!__ASSUME_32BITUIDS]: Remove conditional code.
27894 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27895 [__ASSUME_32BITUIDS]: Make code unconditional.
27896 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27897 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27898 <kernel-features.h>.
27899 [__ASSUME_32BITUIDS]: Make code unconditional.
27900 [!__ASSUME_32BITUIDS]: Remove conditional code.
27901 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27902 <kernel-features.h>.
27903 [__ASSUME_32BITUIDS]: Make code unconditional.
27904 [!__ASSUME_32BITUIDS]: Remove conditional code.
27905 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27906 <kernel-features.h>.
27907 [__ASSUME_32BITUIDS]: Make code unconditional.
27908 [!__ASSUME_32BITUIDS]: Remove conditional code.
27909 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27910 <kernel-features.h>.
27911 [__ASSUME_32BITUIDS]: Make code unconditional.
27912 [!__ASSUME_32BITUIDS]: Remove conditional code.
27913 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27914 <kernel-features.h>.
27915 [__ASSUME_32BITUIDS]: Make code unconditional.
27916 [!__ASSUME_32BITUIDS]: Remove conditional code.
27917 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27918 <kernel-features.h>.
27919 [__ASSUME_32BITUIDS]: Make code unconditional.
27920 [!__ASSUME_32BITUIDS]: Remove conditional code.
27921 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27922 <kernel-features.h>.
27923 [__ASSUME_32BITUIDS]: Make code unconditional.
27924 [!__ASSUME_32BITUIDS]: Remove conditional code.
27925 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27926 <kernel-features.h>.
27927 [__ASSUME_32BITUIDS]: Make code unconditional.
27928 [!__ASSUME_32BITUIDS]: Remove conditional code.
27929 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27930 <kernel-features.h>.
27931 [__ASSUME_32BITUIDS]: Make code unconditional.
27932 [!__ASSUME_32BITUIDS]: Remove conditional code.
27933 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27934 <kernel-features.h>.
27935 [__ASSUME_32BITUIDS]: Make code unconditional.
27936 [!__ASSUME_32BITUIDS]: Remove conditional code.
27937 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27938 <kernel-features.h>.
27939 [__NR_setresgid] (__setresgid): Do not declare.
27940 [__ASSUME_32BITUIDS]: Make code unconditional.
27941 [!__ASSUME_32BITUIDS]: Remove conditional code.
27942 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27943 <kernel-features.h>.
27944 [__NR_setresuid] (__setresuid): Do not declare.
27945 [__ASSUME_32BITUIDS]: Make code unconditional.
27946 [!__ASSUME_32BITUIDS]: Remove conditional code.
27947 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27948 <kernel-features.h>.
27949 [__ASSUME_32BITUIDS]: Make code unconditional.
27950 [!__ASSUME_32BITUIDS]: Remove conditional code.
27951 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27952 <kernel-features.h>.
27953 [__ASSUME_32BITUIDS]: Make code unconditional.
27954 [!__ASSUME_32BITUIDS]: Remove conditional code.
27955 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27956 <kernel-features.h>.
27957 [__ASSUME_32BITUIDS]: Make code unconditional.
27958 [!__ASSUME_32BITUIDS]: Remove conditional code.
27959 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27960 <kernel-features.h>.
27961 [__ASSUME_32BITUIDS]: Make code unconditional.
27962 [!__ASSUME_32BITUIDS]: Remove conditional code.
27963 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27964 <kernel-features.h>.
27965 [__ASSUME_32BITUIDS]: Make code unconditional.
27966 [!__ASSUME_32BITUIDS]: Remove conditional code.
27967 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27968 <kernel-features.h>.
27969 [__ASSUME_32BITUIDS]: Make code unconditional.
27970 [!__ASSUME_32BITUIDS]: Remove conditional code.
27971 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27972 <kernel-features.h>.
27973 [__ASSUME_32BITUIDS]: Make code unconditional.
27974 [!__ASSUME_32BITUIDS]: Remove conditional code.
27975 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27976 <kernel-features.h>.
27977 [__ASSUME_32BITUIDS]: Make code unconditional.
27978 [!__ASSUME_32BITUIDS]: Remove conditional code.
27979 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27980 <kernel-features.h>.
27981 [__ASSUME_32BITUIDS]: Make code unconditional.
27982 [!__ASSUME_32BITUIDS]: Remove conditional code.
27983 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27984 <kernel-features.h>.
27985 [__ASSUME_32BITUIDS]: Make code unconditional.
27986 [!__ASSUME_32BITUIDS]: Remove conditional code.
27987 * sysdeps/unix/sysv/linux/kernel-features.h
27988 (__ASSUME_SETRESUID_SYSCALL): Remove.
27989 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27990 (__ASSUME_32BITUIDS): Likewise.
27991 (__ASSUME_LDT_WORKS): Likewise.
27992 (__ASSUME_O_DIRECTORY): Likewise.
27993 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27994 architecture but not kernel version.
27995 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27996 (__ASSUME_MMAP2_SYSCALL): Likewise.
27997 (__ASSUME_STAT64_SYSCALL): Likewise.
27998 (__ASSUME_IPC64): Likewise.
27999 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28000 <kernel-features.h>.
28001 [__ASSUME_32BITUIDS]: Make code unconditional.
28002 [!__ASSUME_32BITUIDS]: Remove conditional code.
28003 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28004 <kernel-features.h>.
28005 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28006 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28007 132096]: Remove conditional code.
28008 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28009 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28010 <kernel-features.h>.
28011 [__ASSUME_32BITUIDS]: Make code unconditional.
28012 [!__ASSUME_32BITUIDS]: Remove conditional code.
28013 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28014 <kernel-features.h>.
28015 [__ASSUME_32BITUIDS]: Make code unconditional.
28016 [!__ASSUME_32BITUIDS]: Remove conditional code.
28017 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28018 <kernel-features.h>.
28019 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28020 unconditional.
28021 (__setresgid): Do not declare.
28022 [__ASSUME_32BITUIDS]: Make code unconditional.
28023 [!__ASSUME_32BITUIDS]: Remove conditional code.
28024 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28025 <kernel-features.h>.
28026 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28027 unconditional.
28028 (__setresuid): Do not declare.
28029 [__ASSUME_32BITUIDS]: Make code unconditional.
28030 [!__ASSUME_32BITUIDS]: Remove conditional code.
28031 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28032 <kernel-features.h>.
28033 [__ASSUME_32BITUIDS]: Make code unconditional.
28034 [!__ASSUME_32BITUIDS]: Remove conditional code.
28035 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28036 <kernel-features.h>.
28037 [__ASSUME_32BITUIDS]: Make code unconditional.
28038 [!__ASSUME_32BITUIDS]: Remove conditional code.
28039
a386f1cc
RH
280402012-05-25 Richard Henderson <rth@twiddle.net>
28041
28042 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28043 dl_hwcap to ifunc resolver.
28044 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28045 elf_ifunc_invoke.
28046 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28047 dl_hwcap to ifunc resolver.
28048 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28049
b6550497
JM
280502012-05-24 Joseph Myers <joseph@codesourcery.com>
28051
28052 [BZ #14153]
28053 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28054 for |x| <= 2**-26, not 2**-57.
28055 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28056 exception.
28057
b0bc23a1
JL
280582012-05-24 Jeff Law <law@redhat.com>
28059
28060 * stdio-common/Makefile (tests): Add bug25.
28061 * stdio-common/bug25.c: New test.
28062
347c92e9
L
280632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28064
28065 [BZ #13576]
28066 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28067 multiple of MALLOC_ALIGNMENT in size.
28068 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28069
6bcc8b3f
JM
280702012-05-24 Joseph Myers <joseph@codesourcery.com>
28071
28072 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28073 Require >= 256.
28074 (FILENAME_MAX): Use macro-int-constant.
28075 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28076 (_IOFBF): Use macro-int-constant.
28077 (_IOLBF): Likewise.
28078 (_IONBF): Likewise.
28079 (SEEK_CUR): Likewise.
28080 (SEEK_END): Likewise.
28081 (SEEK_SET): Likewise.
28082 (TMP_MAX): Likewise.
28083 (EOF): Use macro-int-constant. Require < 0.
28084 (NULL): Use macro-constant. Require == 0.
28085 (stdin): Require type to be FILE *.
28086 (stdout): Likewise.
28087 (stderr): Likewise.
28088 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28089 macro-int-constant.
28090 (EXIT_SUCCESS): Likewise.
28091 (NULL): Use macro-constant. Require == 0.
28092 (RAND_MAX): Use macro-int-constant.
28093 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28094 [C99-based standards] (strtof): Require function.
28095 [C99-based standards] (strtold): Likewise.
28096 [C99-based standards] (strtoll): Likewise.
28097 [C99-based standards] (strtoull): Likewise.
28098 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28099 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28100 [ISO || ISO99 || ISO11] (math.h): Likewise.
28101 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28102 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28103 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28104
d18ea0c5
AS
281052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28106
28107 [BZ #14132]
56d25bb8
AS
28108 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28109 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28110 * intl/dgettext.c (DCGETTEXT): Likewise.
28111 * intl/gettext.c (DCGETTEXT): Likewise.
28112 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28113 * posix/regex_internal.h (gettext): Likewise.
28114 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28115 Remove declaration.
28116 * include/argz.h (__argz_count_internal)
28117 (__argz_stringify_internal): Remove declaration.
28118 (__argz_count, __argz_stringify): Declare hidden proto.
28119 * intl/dcgettext.c: Remove use of INTDEF.
28120 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28121 * string/argz-stringify.c: Likewise.
28122 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28123 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28124 Declare hidden proto.
d18ea0c5
AS
28125 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28126 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28127 Declare hidden proto.
28128 * include/stdio.h (__asprintf_internal): Don't declare.
28129 (__asprintf): Don't define as macro. Declare hidden proto.
28130 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28131 (__fsetlocking): Declare hidden proto.
28132 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28133 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28134 hidden proto.
28135 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28136 (_IO_setlinebuf): Remove use of INTUSE.
28137 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28138 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28139 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28140 Remove declaration.
28141 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28142 (_IO_do_flush): Remove use of INTUSE.
28143 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28144 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28145 (_IO_adjust_column, _IO_least_wmarker)
28146 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28147 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28148 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28149 (_IO_default_doallocate, _IO_wdefault_doallocate)
28150 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28151 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28152 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28153 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28154 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28155 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28156 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28157 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28158 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28159 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28160 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28161 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28162 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28163 proto.
28164 (_IO_flush_all_internal, _IO_adjust_column_internal)
28165 (_IO_default_uflow_internal, _IO_default_finish_internal)
28166 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28167 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28168 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28169 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28170 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28171 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28172 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28173 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28174 (_IO_file_close_internal, _IO_file_close_it_internal)
28175 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28176 (_IO_file_init_internal, _IO_file_attach_internal)
28177 (_IO_file_fopen_internal, _IO_file_read_internal)
28178 (_IO_file_sync_internal, _IO_file_seek_internal)
28179 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28180 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28181 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28182 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28183 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28184 (_IO_list_all_internal, _IO_link_in_internal)
28185 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28186 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28187 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28188 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28189 (_IO_do_write_internal, _IO_padn_internal)
28190 (_IO_getline_info_internal, _IO_getline_internal)
28191 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28192 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28193 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28194 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28195 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28196 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28197 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28198 with libc_hidden_ver, remove use of INTUSE.
28199 * libio/genops.c: Likewise.
28200 * libio/freopen.c: Likewise.
28201 * libio/freopen64.c: Likewise.
28202 * libio/iofclose.c: Likewise.
28203 * libio/iofdopen.c: Likewise.
28204 * libio/iofflush.c: Likewise.
28205 * libio/iofflush_u.c: Likewise.
28206 * libio/iofgets.c: Likewise.
28207 * libio/iofgets_u.c: Likewise.
28208 * libio/iofopen.c: Likewise.
28209 * libio/iofopncook.c: Likewise.
28210 * libio/iofread.c: Likewise.
28211 * libio/iofread_u.c: Likewise.
28212 * libio/ioftell.c: Likewise.
28213 * libio/iofwrite.c: Likewise.
28214 * libio/iogetline.c: Likewise.
28215 * libio/iogets.c: Likewise.
28216 * libio/iogetwline.c: Likewise.
28217 * libio/iopadn.c: Likewise.
28218 * libio/iopopen.c: Likewise.
28219 * libio/ioseekoff.c: Likewise.
28220 * libio/ioseekpos.c: Likewise.
28221 * libio/iosetbuffer.c: Likewise.
28222 * libio/iosetvbuf.c: Likewise.
28223 * libio/ioungetc.c: Likewise.
28224 * libio/ioungetwc.c: Likewise.
28225 * libio/iovdprintf.c: Likewise.
28226 * libio/iovsprintf.c: Likewise.
28227 * libio/iovsscanf.c: Likewise.
28228 * libio/memstream.c: Likewise.
28229 * libio/obprintf.c: Likewise.
28230 * libio/oldfileops.c: Likewise.
28231 * libio/oldiofclose.c: Likewise.
28232 * libio/oldiofdopen.c: Likewise.
28233 * libio/oldiofopen.c: Likewise.
28234 * libio/oldiopopen.c: Likewise.
28235 * libio/oldstdfiles.c: Likewise.
28236 * libio/putc.c: Likewise.
28237 * libio/setbuf.c: Likewise.
28238 * libio/setlinebuf.c: Likewise.
28239 * libio/stdfiles.c: Likewise.
28240 * libio/strops.c: Likewise.
28241 * libio/vasprintf.c: Likewise.
28242 * libio/vscanf.c: Likewise.
28243 * libio/vsnprintf.c: Likewise.
28244 * libio/vswprintf.c: Likewise.
28245 * libio/wfiledoalloc.c: Likewise.
28246 * libio/wfileops.c: Likewise.
28247 * libio/wgenops.c: Likewise.
28248 * libio/wmemstream.c: Likewise.
28249 * libio/wstrops.c: Likewise.
28250 * libio/__fpurge.c: Likewise.
28251 * libio/__fsetlocking.c: Likewise.
28252 * assert/assert.c: Likewise.
28253 * debug/fgets_chk.c: Likewise.
28254 * debug/fgets_u_chk.c: Likewise.
28255 * debug/fread_chk.c: Likewise.
28256 * debug/fread_u_chk.c: Likewise.
28257 * debug/gets_chk.c: Likewise.
28258 * debug/obprintf_chk.c: Likewise.
28259 * debug/vasprintf_chk.c: Likewise.
28260 * debug/vdprintf_chk.c: Likewise.
28261 * debug/vsnprintf_chk.c: Likewise.
28262 * debug/vsprintf_chk.c: Likewise.
28263 * malloc/mtrace.c: Likewise.
28264 * misc/error.c: Likewise.
28265 * misc/syslog.c: Likewise.
28266 * stdio-common/asprintf.c: Likewise.
28267 * stdio-common/fxprintf.c: Likewise.
28268 * stdio-common/getw.c: Likewise.
28269 * stdio-common/isoc99_fscanf.c: Likewise.
28270 * stdio-common/isoc99_scanf.c: Likewise.
28271 * stdio-common/isoc99_vfscanf.c: Likewise.
28272 * stdio-common/isoc99_vscanf.c: Likewise.
28273 * stdio-common/isoc99_vsscanf.c: Likewise.
28274 * stdio-common/printf-prs.c: Likewise.
28275 * stdio-common/printf_fp.c: Likewise.
28276 * stdio-common/printf_fphex.c: Likewise.
28277 * stdio-common/printf_size.c: Likewise.
28278 * stdio-common/putw.c: Likewise.
28279 * stdio-common/scanf.c: Likewise.
28280 * stdio-common/sprintf.c: Likewise.
28281 * stdio-common/tmpfile.c: Likewise.
28282 * stdio-common/vfprintf.c: Likewise.
28283 * stdio-common/vfscanf.c: Likewise.
28284 * stdlib/strfmon_l.c: Likewise.
28285 * sunrpc/openchild.c: Likewise.
28286 * sunrpc/xdr_stdio.c: Likewise.
28287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28288 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28289
d6c33fda
RM
282902012-05-24 Roland McGrath <roland@hack.frob.com>
28291
c1487492
RM
28292 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28293
28294 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28295 in the third column, to generate for the shared library an IFUNC
28296 that uses _dl_vdso_vsym.
28297 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28298 * Makeconfig (object-suffixes-noshared): New variable.
28299
28300 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28301 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28302 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28303 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28304
d6c33fda
RM
28305 [BZ #14132]
28306 * include/sys/time.h (__gettimeofday): Remove macro.
28307 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28308 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28309 Remove INTDEF.
28310 (__gettimeofday): Add libc_hidden_def.
28311 (gettimeofday): Add libc_hidden_weak.
28312 * sysdeps/mach/gettimeofday.c: Likewise.
28313 * sysdeps/posix/gettimeofday.c: Likewise.
28314 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28315 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28317 (__gettimeofday_internal): Remove strong_alias.
28318 (__gettimeofday): Add libc_hidden_def.
28319 (gettimeofday): Add libc_hidden_weak.
28320 * sysdeps/unix/syscalls.list (gettimeofday):
28321 Remove __gettimeofday_internal alias.
28322
b5a2bbe6
L
283232012-05-24 Daniel Jacobowitz <drow@false.org>
28324 H.J. Lu <hongjiu.lu@intel.com>
28325
28326 [BZ #12495]
28327 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28328 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28329 (largebin_index_32_big): New.
28330 (largebin_index): Use it for 16-byte alignment.
28331 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28332 correction with front_misalign.
28333
cfba4fda
L
283342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28335
7f907421
L
28336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28338 Likewise.
28339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28340 Likewise.
28341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28342 Likewise.
28343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28344 Likewise.
28345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28346 Likewise.
28347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28348 Likewise.
28349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28350 Likewise.
28351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28352 Likewise.
28353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28354 Likewise.
28355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28356 Likewise.
28357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28358 Likewise.
28359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28360 Likewise.
28361
cfba4fda
L
28362 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28363 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28364
80bad0cc
JM
283652012-05-24 Joseph Myers <joseph@codesourcery.com>
28366
7a25eb06
JM
28367 [BZ #10846]
28368 [BZ #14036]
28369 * math/libm-test.inc (exp_test): Add test from bug 14036.
28370 (pow_test): Add test from bug 10846.
28371
795405f9
JM
28372 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28373 and other flags.
28374 (special_function): Do not include flags in test name.
28375 (parse_args): Likewise.
28376 * sysdeps/i386/fpu/libm-test-ulps: Update.
28377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28378 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28379 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28381
80bad0cc
JM
28382 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28383 exceptions.
28384 * math/libm-test.inc ("Philosophy"): Update comment about
28385 exception testing.
28386 (UNDERFLOW_EXCEPTION): New macro.
28387 (UNDERFLOW_EXCEPTION_OK): Likewise.
28388 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28389 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28390 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28391 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28392 (INVALID_EXCEPTION_OK): Update value.
28393 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28394 (OVERFLOW_EXCEPTION_OK): Likewise.
28395 (IGNORE_ZERO_INF_SIGN): Likewise.
28396 (test_exceptions): Handle underflow exceptions.
28397 (acos_test): Update for underflow exception expectations.
28398 (cexp_test): Likewise.
28399 (clog_test): Likewise.
28400 (clog10_test): Likewise.
28401 (csqrt_test): Likewise.
28402 (ctan_test): Likewise.
28403 (ctanh_test): Likewise.
28404 (exp_test): Likewise.
28405 (exp10_test): Likewise.
28406 (exp2_test): Likewise.
28407 (expm1_test): Likewise.
28408 (fma_test): Likewise.
28409 (j0_test): Likewise.
28410 (jn_test): Likewise.
28411 (nexttoward_test): Likewise.
28412 (pow_test): Likewise.
28413 (scalbn_test): Likewise.
28414 (scalbln_test): Likewise.
28415 (tan_test): Likewise.
28416 (y1_test): Likewise.
28417 * sysdeps/i386/fpu/libm-test-ulps: Update.
28418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28419
9e0e3d0b
DM
284202012-05-23 David S. Miller <davem@davemloft.net>
28421
28422 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28423 (__libc_sigaction): Remove unused local variables.
28424
ccd0a08f
L
284252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28426
28427 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28428
62bdf9a6
PE
284292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28430
f8591f80
PE
28431 mktime: avoid signed integer overflow
28432 * time/mktime.c (__mktime_internal): Do not mishandle the case
28433 where diff == INT_MIN.
28434
94c7d826
PE
28435 mktime: simplify computation of average
28436 * time/mktime.c (ranged_convert): Use new time_t_avg function
28437 instead of rolling our own (probably-slower) code.
28438
ce73d683
PE
28439 mktime: do not assume signed right shift propagates sign bit
28440 * time/mktime.c (isdst_differ): New static function.
28441 (__mktime_internal): No need to normalize tm_isdst now.
28442 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28443 tm_isdst values.
28444
72a22e59
PE
28445 mktime: merge another wrapv change from gnulib
28446 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28447 from some compilers.
28448
68605433
PE
28449 mktime: remove incorrect attempt at unusual arithmetics
28450 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28451 The code didn't really work on such machines anyway.
28452 (TYPE_MINIMUM): Assume two's complement.
28453 (twos_complement_arithmetic): Verify that long_int and time_t
28454 are two's complement (or unsigned, in the latter case).
28455
03cf7fe3
PE
28456 mktime: check signed shifts on long_int and time_t, too
28457 * time/mktime.c (SHR): Check that shifts work as desired
28458 on the types long_int and time_t too, as SHR is used on
28459 such types.
28460
f04dfbc2
PE
28461 mktime: do not assume 'long' is wide enough
28462 * time/mktime.c (verify): Move decl up.
28463 (long_int): New type.
28464 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28465 to remove assumption in the code that 'long' is wide enough to
28466 store year values. This assumption is not true on x32 and on
28467 some non-glibc platforms.
28468
62bdf9a6
PE
28469 mktime: merge wrapv change from gnulib
28470 * time/mktime.c (WRAPV): New macro.
28471 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28472 (guess_time_tm, __mktime_internal): Do not assume that signed
28473 integer overflow wraps around; modern compilers generate code
28474 where this assumption is no longer valid.
28475
5e292e4f
L
284762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28477
28478 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28479 Replace "jmp L(pseudo_end)" with "ret".
28480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28481 Likewise.
28482
8caf8c87
AJ
284832012-05-23 Andreas Jaeger <aj@suse.de>
28484
28485 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28486 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28487
1a09dc56
AJ
284882012-05-23 Andreas Jaeger <aj@suse.de>
28489 Maximilian Attems <max@stro.at>
28490
28491 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28492 New macros.
28493
1c87aba0
L
284942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28495
28496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28497 code so that pseudo_end is just ret and the stack pointer is
28498 correct also for static library in error case.
28499
40e45bd5
JM
285002012-05-23 Joseph Myers <joseph@codesourcery.com>
28501
c2670533
JM
28502 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28503 move to syscalls.list.
28504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28508
40e45bd5
JM
28509 * manual/install.texi (Running make install): Do not mention Linux
28510 kernel version for which pt_chown is not needed.
28511 (Linux): Do not mention problems with nscd with 2.0 kernels.
28512 * INSTALL: Regenerated.
28513
be08eda5
AJ
285142012-05-23 Andreas Jaeger <aj@suse.de>
28515
28516 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28517 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28518 macro.
28519 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28521 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28522 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28523 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28524 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28526 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28528 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28529 * sysdeps/unix/sysv/linux/bits/in.h
28530 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28531
a6a056bb
RM
285322012-05-22 Roland McGrath <roland@hack.frob.com>
28533
28534 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28535 (PREPARE_VERSION): Just use assert instead, it will be elided
28536 under [NDEBUG] anyway.
28537
c9009328
L
285382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28539
28540 * sysdeps/unix/sysv/linux/Makefile: Include
28541 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28542 (sysdep_routines): Remove sysctl.
c9009328
L
28543 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28544 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28545 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28546 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28547 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28548
73338355
AJ
285492012-05-22 Andreas Jaeger <aj@suse.de>
28550
28551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28552 that pseudo_end is just ret and the stack pointer is correct also
28553 for static library in error case.
28554
d44638b0
PP
285552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28556
28557 [BZ #14122]
28558 * nss/nsswitch.c (defconfig_entries): New variable.
28559 (__nss_database_lookup): Don't leak defconfig entries.
28560 (nss_parse_service_list): Don't leak on error paths.
28561 (free_database_entries): New function.
28562 (free_defconfig): New function.
28563 (free_mem): Move common code to free_database_entries.
28564
31a39bd8
L
285652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28566
da0331a8
L
28567 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28568 Add arch_prctl.
28569 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28570
31a39bd8
L
28571 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28572 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28574 New macro.
28575 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28576 (INTERNAL_SYSCALL_TYPES): Likewise.
28577 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28578 (LOAD_REGS_TYPES_[1-6]): Likewise.
28579 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28580 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28581
45470df3
AZ
285822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28583
28584 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28585 copysignl for GLIBC_2_0.
28586 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28587 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28589 logbl for GLIBC_2_0.
28590 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28591 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28592
98a61bcb
L
285932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28594
a4f6e481
L
28595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28596 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28597
f63d5db6
L
28598 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28599 Use "neg %eax".
28600
98a61bcb
L
28601 * time/mktime.c: Update copyright years.
28602
95770f14
PE
286032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28604
6226efbd
PE
28605 mktime: merge comment-quoting-style change from gnulib
28606 * time/mktime.c: Quote 'like this' in comments.
28607 The GNU coding standards suggest that we no longer quote `like this',
28608 as "`" and "'" are typically rendered asymmetrically nowadays.
28609 The typical gnulib style is to quote 'like this' when quoting
28610 code, and "like this" when quoting English.
28611
b99e4f78
PE
28612 * time/mktime.c (compile-command): Add "-I.".
28613
643e01e6
PE
28614 mktime: merge mktime-internal.h change from gnulib
28615 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28616
2554247d
PE
28617 mktime: merge time_r change from gnulib
28618 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28619
826dd0ab
PE
28620 mktime: merge DEBUG change from gnulib
28621 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28622 case system <time.h> has a #define.
28623
bd83aabe
PE
28624 mktime: merge <sys/types.h> change from gnulib
28625 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28626 since <time.t> is now guaranteed to define time_t.
28627
95770f14
PE
28628 mktime: merge HAVE_CONFIG_H change from gnulib
28629 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28630
5e1a27a9
L
286312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28632
0e44a77e
L
28633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28634 Use "neg %eax".
28635
5e1a27a9
L
28636 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28637 __rlim_t cast.
28638 (struct rusage): Use anonymous union to pad each field to
28639 __syscall_slong_t.
28640
46259bec
DM
286412012-05-21 David S. Miller <davem@davemloft.net>
28642
28643 * Makefules (o-iterator): Remove .s cases.
28644 (compile-command.s): Delete.
28645 (COMPILE.s): Delete.
28646 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28647
59f0c22e
JM
286482012-05-21 Joseph Myers <joseph@codesourcery.com>
28649
28650 * configure.in (libc_cv_predef_stack_protector): Only consider
28651 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28652 * configure: Regenerated.
28653
20c07380
L
286542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28655
bbb3154b
L
28656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28657 New macro. Use R*LP on int and pointer.
28658 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28659 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28660 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28661 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28662
20c07380
L
28663 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28664 [__WORDSIZE_TIME64_COMPAT32] instead of
28665 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28666 (struct utmp): Likewise.
28667 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28668 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28669 Renamed to ...
28670 (__WORDSIZE_TIME64_COMPAT32): This.
28671 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28672 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28673 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28674 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28675 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28676 (__WORDSIZE_TIME64_COMPAT32): New macro.
28677
d8d1017e
AJ
286782012-05-21 Andreas Jaeger <aj@suse.de>
28679
28680 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28681 only if [SHARED]. Add prototype for __wcschr_ia32.
28682
6c7fb145
RM
286832012-05-21 Roland McGrath <roland@hack.frob.com>
28684
28685 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28686 of %rbp unmolested in the jmp_buf while mangling the low bits.
28687 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28688 unmolested high bits of %rbp while demangling the low bits.
28689 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28690
66274218
AJ
286912012-05-21 Andreas Jaeger <aj@suse.de>
28692
07c58f8f
AJ
28693 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28694 * sunrpc/svc_simple.c: Use it for registerrpc.
28695 * sunrpc/xcrypt.c: Use it for passwd2des.
28696
66274218
AJ
28697 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28698
61f65140
L
286992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28702 Don't define if [__SYSCALL_WORDSIZE != 32].
28703 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28704 New macro.
28705
5fefb436
AJ
287062012-05-21 Bruno Haible <bruno@clisp.org>
28707 Andreas Jaeger <aj@suse.de>
28708
28709 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28710 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28711 inptr and inend for must_buffer_ch.
28712 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28713 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28714 * stdio-common/Makefile (tests): Remove bug15.
28715 (bug15-ENV): Remove macro.
28716 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28717 anymore.
28718
d8e272ab
AJ
287192012-05-19 Andreas Jaeger <aj@suse.de>
28720 Roland McGrath <roland@hack.frob.com>
28721
28722 * manual/contrib.texi: Completely rewritten. It contains now an
28723 alphabetical list of contributors and their contributions.
28724
4a56a162
RH
287252012-05-21 Richard Henderson <rth@twiddle.net>
28726
28727 * misc/getauxval.c (__getauxval): Use unsigned long int.
28728 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28729 (getauxval): Use unsigned long int.
28730
d024d23c
L
287312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28732
28733 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28734
cbc00a03
RM
287352012-05-21 Roland McGrath <roland@hack.frob.com>
28736
28737 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28738 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28739 __alignof__ (long double).
28740
478143fa
AZ
287412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28742
28743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28744
c7683a6d
RH
287452012-05-20 Richard Henderson <rth@twiddle.net>
28746
28747 * misc/getauxval.c: New file.
28748 * misc/sys/auxv.h: New file.
28749 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28750 (routines): Add getauxval.
28751 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28752 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28753 * elf/dl-sysdep.c (_dl_auxv): Remove.
28754 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28755 * elf/dl-support.c (_dl_auxv): New variable.
28756 (_dl_aux_init): Initialize it.
28757 * manual/startup.texi (Auxiliary Vector): New node.
28758 * sysdeps/generic/bits/hwcap.h: New file.
28759 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28760 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28761 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28762 * sysdeps/sparc/sysdep.h: ... here. Include it.
28763 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28766 Update.
c7683a6d
RH
28767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28775
a6f1845d
AZ
287762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28777
28778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28779
cbcbe830
DM
287802012-05-19 David S. Miller <davem@davemloft.net>
28781
28782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28783
e0b16cc2
JM
287842012-05-19 Joseph Myers <joseph@codesourcery.com>
28785
28786 [BZ #14123]
28787 * math/s_ccosh.c: Include <float.h>
28788 (__ccosh): Avoid internal overflow calculating sinh and cosh
28789 values before multiplying by sin and cos values.
28790 * math/s_ccoshf.c: Likewise.
28791 * math/s_ccoshl.c: Likewise.
28792 * math/s_csin.c: Likewise.
28793 * math/s_csinf.c: Likewise.
28794 * math/s_csinl.c: Likewise.
28795 * math/s_csinh.c: Likewise.
28796 * math/s_csinhf.c: Likewise.
28797 * math/s_csinhl.c: Likewise.
28798 * math/libm-test.inc (ccos_test): Add more tests.
28799 (ccosh_test): Likewise.
28800 (csin_test): Likewise.
28801 (csinh_test): Likewise.
28802 * sysdeps/i386/fpu/libm-test-ulps: Update.
28803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28804
6ad13e08
L
288052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28806
f66f0ce8
L
28807 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28808 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28809
6ad13e08
L
28810 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28811
b1d072a7
JM
288122012-05-19 Joseph Myers <joseph@codesourcery.com>
28813
28814 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28815 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28816 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28817 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28818 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28819 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28820 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28821 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28822 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28823 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28824 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28825 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28826 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28827 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28828 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28829 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28830 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28831 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28832 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28833 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28834 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28835 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28836 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28837 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28838 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28839 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28840 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28841 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28842 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28843 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28844 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28845
9eae47cb
AJ
288462012-05-18 Andreas Jaeger <aj@suse.de>
28847
28848 * csu/.gitignore: Delete.
28849
bb07f69f
L
288502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28851
28852 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28853 (timex): Use __syscall_slong_t.
28854
e6bdb741
AJ
288552012-05-18 Andreas Jaeger <aj@suse.de>
28856 Carlos O'Donell <carlos_odonell@mentor.com>
28857
28858 * manual/install.texi (Configuring and compiling): Update
28859 description about files modified in the source directory.
d6c33fda 28860 * INSTALL: Regenerated.
e6bdb741 28861
1b74487e
L
288622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28865 value. Use "or" to set return value to -1.
28866 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28867 negate return value.
28868
a88b64b9
TMQMF
288692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28870
57f41c40
AS
28871 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28872 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28873 failure if the compiler has Graphite support disabled.
28874 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28875 Likewise.
57f41c40
AS
28876 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28877 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28878 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28879 Likewise.
28880
3707636e
L
288812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28882
610b8622
L
28883 * sysdeps/x86_64/x32/_itoa.h: New file.
28884
7cd195df
L
28885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28886 getdents system call only if kernel and user dirents have the
28887 same d_ino and d_off.
28888
94b07d20
L
28889 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28890 LLONG_MAX != LONG_MAX.
28891 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28892 (_fitoa_word): Likewise.
28893
18298070
L
28894 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28895 years.
28896 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28897 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28898 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28899
553c7ea4
L
28900 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28901 include <bits/wordsize.h>. Check __x86_64__ instead of
28902 __WORDSIZE.
28903 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28904 if __x86_64__ is defined. Use anonymous union on fpstate.
28905
3707636e
L
28906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28907 anonymous union.
28908
b53ef01a
AS
289092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28910
37fb1dc0
AS
28911 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28912 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28913 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28914 Refer to _rtld_local_ro instead of _rtld_global_ro.
28915 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28916 Likewise.
28917 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28918 Likewise.
28919 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28920 Likewise.
28921 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28922 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28923 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28924
b53ef01a
AS
28925 * sysdeps/powerpc/powerpc32/dl-machine.c
28926 (__elf_machine_runtime_setup) [PROF]: Don't reference
28927 _dl_prof_resolve.
28928
7a185db2
AJ
289292012-05-18 Andreas Jaeger <aj@suse.de>
28930
28931 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28932 function only available for GCCs before 3.4 since GCC 3.4
28933 introduced a builtin.
28934 (lrint): Likewise.
28935 (llrintf): Likewise.
28936 (llrint): Likewise.
28937 (fmaxf): Likewise.
28938 (fmax): Likewise.
28939 (fminf): Likewise.
28940 (fmin): Likewise.
28941 (rint): Likewise.
28942 (rintf): Likewise.
28943 (nearbyint): Likewise.
28944 (nearbyintf): Likewise.
28945 (ceil): Likewise.
28946 (ceilf): Likewise.
28947 (floor): Likewise.
28948 (floorf): Likewise.
28949
3e5aef87
L
289502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28951
428bd707
L
28952 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28953 on both fields and cast pointer to __syscall_ulong_t.
28954
3e5aef87
L
28955 * bits/types.h (__fsword_t): New type.
28956 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28957 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28958 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28959 (__FSWORD_T_TYPE): Likewise.
28960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28961 (__FSWORD_T_TYPE): Likewise.
28962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28963 (__FSWORD_T_TYPE): Likewise.
28964 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28965 (__FSWORD_T_TYPE): Likewise.
28966 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28967 __SWORD_TYPE with __fsword_t.
28968 (statfs64): Likewise.
28969
1ba7c3dc
DM
289702012-05-17 David S. Miller <davem@davemloft.net>
28971
28972 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28973
59910343
AJ
289742012-05-17 Andreas Jaeger <aj@suse.de>
28975
28976 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28977 warning.
28978
2e4c1e9e
L
289792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28980
28981 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28982
de7f5ce7
AJ
289832012-05-17 Andreas Jaeger <aj@suse.de>
28984
28985 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28986 when it is used.
28987
286abc3d
CM
289882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28989
28990 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28991
477cc68e
L
289922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28993
28994 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28995 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28996
1a0994f5
CD
289972012-05-17 Andreas Jaeger <aj@suse.de>
28998 Carlos O'Donell <carlos_odonell@mentor.com>
28999
29000 [BZ #14059]
29001 * sysdeps/x86_64/multiarch/init-arch.h
29002 (bit_YMM_Usable): Rename to...
29003 (bit_AVX_Usable): ... this.
29004 (bit_FMA4_Usable): New macro.
29005 (bit_XMM_state): New macro.
29006 (bit_YMM_state): New macro.
29007 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29008 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29009 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29010 (CPUID_OSXSAVE): New macro.
29011 (CPUID_AVX): New macro.
29012 (CPUID_FMA4): New macro.
29013 (index_YMM_Usable): Rename to...
29014 (index_AVX_Usable): ... this.
29015 (HAS_AVX): Use HAS_ARCH_FEATURE.
29016 (HAS_FMA4): Likewise.
29017 (HAS_YMM_USABLE): Remove.
29018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29019 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29020 are present.
29021 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29022 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29023 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29024 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29025 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29026
0af797de
CM
290272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29028
29029 * math/libm-test.c: Support platforms without multiple rounding modes.
29030 * math/bug-nextafter.c: Support platforms without FP exceptions.
29031 * math/bug-nexttoward.c: Likewise.
29032 * math/test-fenv.c: Likewise.
29033 * math/test-misc.c: Likewise.
29034 * stdlib/bug-getcontext.c: Likewise.
29035
e39745ff
AJ
290362012-05-17 Andreas Jaeger <aj@suse.de>
29037
29038 * manual/examples/search.c (critter_cmp): Change signature to
29039 avoid warnings.
29040 * manual/string.texi (Collation Functions): Likewise.
29041
48970aba
L
290422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29043
29044 * bits/types.h: Fold copyright years.
29045 * bits/typesizes.h: Likewise.
29046 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29049 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29050 * time/time.h: Likewise.
29051
bedee953
PP
290522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29053
29054 [BZ #208]
29055 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29056 in instead of returning them. Return void.
29057 (__libc_mallinfo): Accumulate over all arenas.
29058 (__malloc_stats): Adjust for change in int_mallinfo interface.
29059
61653dfb
RM
290602012-05-16 Roland McGrath <roland@hack.frob.com>
29061
30b99d79
RM
29062 [BZ #10375]
29063 * configure.in (NM): Add AC_CHECK_TOOL for it.
29064 (libc_extra_cflags): New substituted variable.
29065 Check for -fstack-protector being used implicitly.
29066 * configure: Regenerated.
29067 * config.make.in (config-extra-cflags): New variable,
29068 gets @libc_extra_cflags@.
29069 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29070
61653dfb
RM
29071 [BZ #10375]
29072 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29073 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29074 * configure: Regenerated.
29075 * config.make.in (CPPUNDEFS): New substituted variable.
29076 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29077 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29078 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29079
661768bb
L
290802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29081
29082 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29083 (mq_attr): Use __syscall_slong_t.
29084
d4261567
L
290852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29086
29087 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29088 Check __x86_64__ instead of __WORDSIZE.
29089 (_STAT_VER_LINUX): Likewise.
29090 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29091 __syscall_ulong_t and __syscall_slong_t.
29092 (stat64): Likewise.
29093
cf3ff365
L
290942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29095
29096 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29097
76cf3e4d
L
290982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29099
29100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29101
a637753a
L
291022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29103
29104 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29105 __syscall_ulong_t.
29106
d5e05119
L
29107 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29108 include <bits/wordsize.h>. Check __x86_64__ instead of
29109 __WORDSIZE.
29110 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29111 defined.
29112 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29113
f62ee380
L
29114 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29115 include <bits/wordsize.h>. Check __x86_64__ instead of
29116 __WORDSIZE.
29117 (user_regs_struct): Use "__extension__ unsigned long long"
29118 instead of "unsigned long" if __x86_64__ is defined.
29119 (user): Likewise. Pad after pointer field if __ILP32__ is
29120 defined.
29121
4e124ced
JM
291222012-05-16 Joseph Myers <joseph@codesourcery.com>
29123
6a3951a0
JM
29124 * configure.in (makeinfo): Require version 4.5 or later. Allow
29125 versions 5 to 9.
29126 * configure: Regenerated.
29127 * manual/install.texi (texinfo): Increase version requirement to
29128 4.5 or later.
29129 * INSTALL: Regenerated.
29130
4e124ced
JM
29131 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29132
953ca31a
L
291332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29134
29135 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29136
617aca05
L
29137 * sysdeps/x86_64/x32/ffs.c: New file.
29138
5762f7ae
L
29139 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29140 __syscall_ulong_t.
29141 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29142 defined. Use __syscall_ulong_t.
29143 (shminfo): Use __syscall_ulong_t.
29144 (shm_info): Likewise.
29145
a26b6856
L
29146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29147 __syscall_ulong_t.
29148
cb2b9ef7
L
29149 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29150 <bits/wordsize.h>.
29151 (msgqnum_t): Use __syscall_ulong_t.
29152 (msglen_t): Likewise.
29153 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29154 __syscall_ulong_t.
29155
34683bb0
L
29156 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29157 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29158
84a68786
L
29159 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29160
48baa5f1
L
29161 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29162 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29163
180be88b
L
29164 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29165 __syscall_slong_t.
29166
5e90c8ad
L
29167 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29168 include <bits/wordsize.h>. Check __x86_64__ instead of
29169 __WORDSIZE.
29170
23dfb58b
L
29171 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29172 "unsigned long long int" if __x86_64__ is defined.
29173 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29174
ce5d54b0
L
29175 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29176 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29177 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29178
13dc9eac
L
29179 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29180 <stdint.h>.
29181 (GET_PC): Cast to uintptr_t first.
29182 (GET_FRAME): Likewise.
29183 (GET_STACK): Likewise.
29184
a7895d15
L
29185 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29187 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29188 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29189 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29190 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29191 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29192 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29193 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29194 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29195 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29196 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29198 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29200 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29201 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29202 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29203 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29206 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29212 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29213 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29214
656416c9
AS
292152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29216
5bd66283
AS
29217 * Makerules (+depfiles): Also collect depfiles from .oS in
29218 $(extra-objs).
29219 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29220 .oS, $(libnldbl-routines)).
29221
656416c9
AS
29222 * Makerules (native-compile-mkdep-flags): Define.
29223 * sunrpc/Makefile (extra-objs): Add $(addprefix
29224 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29225 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29226 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29227 calling $(make-target-directory).
29228
a46f2169
L
292292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29230
29231 * bits/types.h (__snseconds_t): Removed.
29232 * time/time.h (struct timespec): Replace __snseconds_t with
29233 __syscall_slong_t.
29234 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29235 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29236 Likewise.
29237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29238 (__SNSECONDS_T_TYPE): Likewise.
29239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29240 (__SNSECONDS_T_TYPE): Likewise.
29241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29242 (__SNSECONDS_T_TYPE): Likewise.
29243
6af6528b
L
292442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29245
29246 * sysdeps/mach/hurd/bits/typesizes.h
29247 (__SYSCALL_SLONG_TYPE): New macro.
29248 (__SYSCALL_ULONG_TYPE): Likewise.
29249
de986b56
L
292502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29251
29252 * bits/types.h (__syscall_slong_t): New type.
29253 (__syscall_ulong_t): Likewise.
29254
29255 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29256 (__SYSCALL_ULONG_TYPE): Likewise.
29257 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29258 (__SYSCALL_SLONG_TYPE): Likewise.
29259 (__SYSCALL_ULONG_TYPE): Likewise.
29260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29261 (__SYSCALL_SLONG_TYPE): Likewise.
29262 (__SYSCALL_ULONG_TYPE): Likewise.
29263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29264 (__SYSCALL_SLONG_TYPE): Likewise.
29265 (__SYSCALL_ULONG_TYPE): Likewise.
29266
85736dc7
L
292672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29268
29269 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29270 Add sigaltstack-offsets.sym.
29271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29272 <sigaltstack-offsets.h>.
29273 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29274 longjmp_msg pointer.
29275 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29276 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29277 signal stack.
29278 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29279
cc03b296
JM
292802012-05-15 Joseph Myers <joseph@codesourcery.com>
29281
a9538892
JM
29282 * elf/stackguard-macros.h: Remove file.
29283 * sysdeps/generic/stackguard-macros.h: New file.
29284 * sysdeps/i386/stackguard-macros.h: Likewise.
29285 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29286 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29287 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29288 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29289 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29290 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29291 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29292 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29293 <elf/stackguard-macros.h>.
29294
cc03b296
JM
29295 [BZ #14109]
29296 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29297 __aligned__ in attribute.
29298 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29299 (gregset_t): Likewise.
29300
93171016
L
293012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29302
29303 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29304 * sysdeps/x86_64/64/Implies-after: Here. New file.
29305 * sysdeps/x86_64/x32/Implies-after: New file.
29306
d86813a0
L
293072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29308
29309 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29310 and access return value for _dl_profile_fixup. Use R10_LP to
29311 load frame size.
29312
2953ec75
L
293132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29314
29315 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29316
3b550e9e
L
293172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29318
29319 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29320 * sysdeps/x86_64/x32/sysdep.h: New file.
29321
eda41706
L
293222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29323
29324 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29325 * sysdeps/x86_64/setjmp.S: Likewise.
29326
9ea01d93
AZ
293272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29328
29329 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29330 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29331 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29332 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29333 remove unused global constant.
29334
02a91938
CM
293352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29336
29337 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29338 include of <not-cancel.h>.
29339
6540185f
RM
293402012-05-15 Roland McGrath <roland@hack.frob.com>
29341
29342 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29343
509072a0
AJ
293442012-05-15 Jeff Law <law@redhat.com>
29345 Andreas Jaeger <aj@suse.de>
29346
29347 [BZ #13594]
29348 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29349 out from...
29350 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29351 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29352 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29353 code changing __hst_map_handle.map.
29354
ba75122d
RM
293552012-05-15 Roland McGrath <roland@hack.frob.com>
29356
29357 * configure.in (sysnames): Look for Implies-before and Implies-after
29358 files.
29359 * configure: Regenerated.
29360
890d8bd8
L
293612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29362
29363 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29364 8-byte data alignment with LP_SIZE alignment.
29365
f6ee6623
L
293662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29367
29368 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29369 into R10_LP.
29370
ea2626f6
L
293712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29372
29373 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29374
085f715e
L
293752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29376
29377 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29378 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29379 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29380 Likewise.
29381 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29382
be8498fc
L
293832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29384
29385 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29386 (stackinfo_sub_sp): Likewise.
29387
70bc83b9
L
293882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29391 RAX_LP.
29392
9bc0b730
L
293932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29394
29395 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29396 into R*_LP.
29397
6d2850e7
L
293982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29399
29400 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29401 sizes into R*_LP.
29402
3cb84561
L
294032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29404
29405 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29406
54e2ed81
L
294072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29408
29409 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29410 into R11_LP and load __x86_64_shared_cache_size_half into
29411 R8_LP.
29412
8a17f349
L
294132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29414
29415 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29416 R8_LP.
29417
777b1eea
AZ
294182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29419
29420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29421 logb for POWER7.
29422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29423 logbf for POWER7.
29424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29425 logbl for POWER7.
29426 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29427 powerpc32/power7/fpu/s_logb.c via #include.
29428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29429 powerpc32/power7/fpu/s_logbf.c via #include.
29430 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29431 powerpc32/power7/fpu/s_logbl.c via #include.
29432
d20d4ac2
JM
294332012-05-15 Joseph Myers <joseph@codesourcery.com>
29434
29435 * README.libm: Remove file.
29436
6cdef1ab
L
294372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29438
29439 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29440 count for x32. Use R*_LP and omit operand-size suffix.
29441
0b254d8f
L
294422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29443
29444 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29445 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29446 * sysdeps/x86_64/x32/shlib-versions: New file.
29447
ceb809dc
RM
294482012-05-14 Roland McGrath <roland@hack.frob.com>
29449
29450 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29451 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29452 Use _dl_fatal_printf instead.
29453
37f1abd4
JM
294542012-05-14 Joseph Myers <joseph@codesourcery.com>
29455
29456 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29457 set if not set by the user. Do not allow for being unset.
29458 * sysdeps/unix/sysv/linux/configure: Regenerated.
29459
11de3a33
L
294602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29461
29462 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29463 the `q' suffix from lea and replace .quad with ASM_ADDR.
29464
e02f153a
L
294652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29466
29467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29468 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29469 instead of $17.
29470 (PTR_DEMANGLE): Likewise.
29471
520ae0fd
L
294722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29473
29474 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29475 (LP_OP): Likewise.
29476 (ASM_ADDR): Likewise.
29477 (RAX_LP): Likewise.
29478 (RBP_LP): Likewise.
29479 (RBX_LP): Likewise.
29480 (RCX_LP): Likewise.
29481 (RDI_LP): Likewise.
29482 (RSI_LP): Likewise.
29483 (RSP_LP): Likewise.
29484 (R8_LP): Likewise.
29485 (R9_LP): Likewise.
29486 (R10_LP): Likewise.
29487 (R10_LP): Likewise.
29488 (R11_LP): Likewise.
29489 (R12_LP): Likewise.
29490 (R13_LP): Likewise.
29491 (R14_LP): Likewise.
29492 (R15_LP): Likewise.
29493
b985be81
L
294942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29495
29496 * sysdeps/x86_64/x32/dl-machine.h: New file.
29497
6a4888ff
AJ
294982012-05-14 Andreas Jaeger <aj@suse.de>
29499
29500 * manual/Makefile (subdir): Remove export of subdir.
29501 (all): Remove target.
29502 (.PHONY): Remove all from list.
29503 (mkinstalldirs): Remove.
29504 (.PHONY): Remove installdirs from list.
29505 ($(inst_infodir)/libc.info): Use make-target-directory.
29506 (installdirs): Remove.
29507 (subdir_%): Remove.
29508 (glibc-targets): Remove.
29509 (lib): Remove.
29510 (stubs): Remove.
29511 ($(objpfx)stubs ../po/manual.pot): Remove.
29512 ($(objpfx)stamp%): Remove.
29513 (make-target-directory): Remove.
29514 (subdir_install): Remove.
29515 (routines): Remove.
29516 (aux): Remove.
29517 (sources): Remove.
29518 (objects): Remove.
29519 (headers): Remove.
29520
29521 [BZ #13750]
29522 * manual/.gitignore: Remove, it's not needed anymore.
29523 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29524 all files in it.
29525 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29526 directory.
29527 (texis): Renamed to $(objpfx)texis.
29528 (texis-path): New, contains path to generated files.
29529 (chapters.%): Use texis-path for complete path, add extra argument
29530 libc-texinfo.sh.
29531 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29532 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29533 (summary,texi, stamp-summary): Use complete path of
29534 files. Generate files in build dir.
29535 (dir-add.texi): Build in build dir.
29536 (libm-err.texi,stamp-libm-err): Likewise.
29537 (version.texi, stamp-version): Likewise.
29538 (.%c.texi): Likewise.
29539 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29540 (mostlyclean): Remove target.
29541 (realclean): Remove target.
29542 (generated): Add new variable with contents from mostlyclean and
29543 realclean, remove entries duplicated in common-mostlyclean, add
29544 stamp-libm-err and stamp-version.
29545 (generated-dirs): Add libc directory.
29546 ($(inst_infodir)/libc.info): Install files from build dir.
29547
29548 * manual/install.texi (Configuring and compiling): Adjust since
29549 the info files are not part of the tar ball anymore.
29550
7ac77294
AJ
295512012-05-14 Andreas Jaeger <aj@suse.de>
29552
29553 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29554 variable.
29555
ffb7875d
JM
295562012-05-14 Joseph Myers <joseph@codesourcery.com>
29557
29558 [BZ #13717]
29559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29560 to 2.2.0 where earlier.
29561 * sysdeps/unix/sysv/linux/configure: Regenerated.
29562 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29563 Remove conditional code.
29564 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29565 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29566 Remove conditional code.
29567 [!__NR_lchown]: Likewise.
29568 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29569 [__NR_lchown]: Likewise.
29570 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29571 comment referencing __ASSUME_LCHOWN_SYSCALL.
29572 * sysdeps/unix/sysv/linux/i386/sigaction.c
29573 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29574 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29575 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29576 Remove conditional code.
29577 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29578 (__protocol_available): Remove #if 0 code.
29579 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29580 conditional code.
29581 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29582 * sysdeps/unix/sysv/linux/kernel-features.h
29583 (__ASSUME_GETCWD_SYSCALL): Don't define.
29584 (__ASSUME_REALTIME_SIGNALS): Likewise.
29585 (__ASSUME_PREAD_SYSCALL): Likewise.
29586 (__ASSUME_PWRITE_SYSCALL): Likewise.
29587 (__ASSUME_POLL_SYSCALL): Likewise.
29588 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29589 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29590 non-SPARC.
29591 (__ASSUME_SIOCGIFNAME): Don't define.
29592 (__ASSUME_MSG_NOSIGNAL): Likewise.
29593 (__ASSUME_SENDFILE): Define unconditionally.
29594 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29595 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29596 conditional code.
29597 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29598 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29599 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29600 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29601 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29602 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29603 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29605 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29608 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29611 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29614 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29617 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29623 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29628 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29629 Remove conditional code.
29630 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29631 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29632 Remove conditional code.
29633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29634 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29635 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29636 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29637 Remove conditional code.
29638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29639 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29640 Remove conditional code.
29641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29642 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29643 Remove conditional code.
29644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29645 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29646 Remove conditional code.
29647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29648 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29649 Remove conditional code.
29650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29651 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29654 * sysdeps/unix/sysv/linux/sigaction.c
29655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29657 * sysdeps/unix/sysv/linux/sigpending.c
29658 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29659 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29660 * sysdeps/unix/sysv/linux/sigprocmask.c
29661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29663 * sysdeps/unix/sysv/linux/sigsuspend.c
29664 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29665 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29666 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29667 (__libc_missing_rt_sigs): Remove.
29668 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29669 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29670 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29671 Remove conditional code.
29672 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29673 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29674 return 1.
29675 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29676 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29677 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29678 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29679
1bfb7291
AJ
296802012-05-14 Andreas Jaeger <aj@suse.de>
29681
caae5a81
AJ
29682 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29683 it's not used in glibc.
29684 (__coshm1): Likewise.
29685 (__acosh1p): Likewise.
29686 (__sgn): Likewise.
29687
1bfb7291
AJ
29688 * manual/string.texi (Copying and Concatenation): Add missing
29689 variable in concat example.
29690 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29691
c044d724
L
296922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29693
144c5467 29694 [BZ #14103]
c044d724
L
29695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29696 __builtin_clzl with __builtin_clzll.
29697
2523c62b
L
296982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29699
29700 [BZ #14104]
29701 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29702 libc_freeres_ptr.
29703
d7bb4c42
LD
297042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29705
29706 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29707 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29708 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29709 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29710
9dc4e1fb
MF
297112012-05-14 Mike Frysinger <vapier@gentoo.org>
29712
29713 * NEWS: Update ia64 info.
29714
c7df0112
AS
297152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29716
29717 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29718 used as bcopy.
29719
dc70356c
TS
297202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29721
29722 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29723 * sysdeps/unix/syscalls.list (dup3): Likewise.
29724 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29725 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29726
9fb1a21f
L
297272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29728
29729 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29730 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29731
4822a2a5
L
297322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29733
29734 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29735 thread pointer.
29736 (TLS_IE): Use mov/add instead of movq/addq to load thread
29737 pointer.
29738 (TLS_GD_PREFIX): New.
29739 (TLS_GD): Use it.
29740
842b81d6
DM
297412012-05-11 David S. Miller <davem@davemloft.net>
29742
29743 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29744 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29745 (_FPU_SETCW): Likewise.
29746
1cf463cd
L
297472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29748
29749 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29750 is 32-byte aligned.
29751
60cc4a18
AS
297522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29753
29754 [BZ #11837]
29755 * iconvdata/gb18030.c: Update tables.
29756 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29757 characters specially.
29758 (BODY for TO_LOOP): Add encoding of missing ranges.
29759
febb44a4
TS
297602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29761
29762 [BZ #13673]
29763 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29764 * sysdeps/mach/hurd/dup3.c: Likewise.
29765 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29766 * sysdeps/powerpc/memmove.c:: Likewise.
29767
0a10fb9e
L
297682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29769
29770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29771 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29772
df8a552f
L
297732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29774
29775 * elf/elf.h (R_X86_64_RELATIVE64): New.
29776 (R_X86_64_NUM): Updated.
29777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29778 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29779 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29780 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29781 tst-quad1pie tst-quad2pie
29782 (modules-names): Add tst-quadmod1 tst-quadmod2.
29783 ($(objpfx)tst-quad1): New dependency.
29784 ($(objpfx)tst-quad2): Likewise.
29785 ($(objpfx)tst-quad1pie): Likewise.
29786 ($(objpfx)tst-quad2pie): Likewise.
29787 * sysdeps/x86_64/tst-quad1.c: New file.
29788 * sysdeps/x86_64/tst-quad1pie.c: New file.
29789 * sysdeps/x86_64/tst-quad2.c: Likewise.
29790 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29791 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29792 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29793 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29794 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29795
f34d6f84
ST
297962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29797
f42d41d1
ST
29798 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29799 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29800 * streams/stropts.h (t_scalar_t): Define type.
29801
3c3571fc
ST
29802 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29803 (_PATH_PRESERVE): Set to "/var/lib".
29804 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29805
61f06bd3
ST
29806 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29807 instead of int.
29808
918d4d71
ST
29809 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29810 if __dir_mkfile succeeded.
29811
f34d6f84
ST
29812 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29813 checking for _hurd_dtablesize. Unlock it right after having
29814 finished _hurd_dtable allocation.
29815
10589b4a
TS
298162012-05-10 Thomas Schwinge <thomas@schwinge.name>
29817
674cdbc7
TS
29818 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29819 * sysdeps/mach/hurd/configure: Regenerated.
29820 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29821 special-casing to...
29822 * sysdeps/gnu/configure.in: ... this new file.
29823 * sysdeps/unix/sysv/linux/configure: Regenerated.
29824 * sysdeps/gnu/configure: New generated file.
29825
8e41b99f
TS
29826 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29827 for Linux: use nsec instead of usec, as well as:
29828 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29829 members of type struct timespec.
29830 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29831 New macros.
29832 (struct stat64): Likewise.
29833 (_STATBUF_ST_NSEC): New macro.
29834 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29835
10589b4a
TS
29836 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29837 __strtoul_internal rather than strtoul.
29838
63643c85
PT
298392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29840
29841 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29842 and reject them.
29843
3faebe6a
ST
298442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29845
29846 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29847 which preserves existing values.
29848 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29849
c6474b07
PT
298502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29851
29852 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29853 TIMEOUT values. Return EINVAL for NFDS values either negative or
29854 greater than FD_SETSIZE.
29855
1043890b
ST
298562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29857
29858 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29859 allocated, call __vm_protect to finish enabling the existing space, and
29860 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29861 allocate the remainder.
29862
37ed8b9b
PT
298632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29864
29865 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29866 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29867
db653660
ST
298682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29869
37ed8b9b
PT
29870 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29871 sysdeps/mach/hurd/readlink.c.
b29d4053 29872
db653660
ST
29873 * posix/tst-sysconf.c (posix_options): Only use
29874 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29875 _POSIX_SYNCHRONIZED_IO when they are defined
29876 * sysdeps/mach/hurd/bits/posix_opt.h:
29877 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29878 (_XOPEN_REALTIME): Undefine macro.
29879 (_XOPEN_REALTIME_THREADS): Undefine macro.
29880 (_XOPEN_SHM): Undefine macro.
29881 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29882 macro to -1.
29883 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29884 macro to -1.
29885 (_POSIX_ASYNC_IO): Undefine macro.
29886 (_POSIX_PRIORITIZED_IO): Undefine macro.
29887 (_POSIX_SPIN_LOCKS): Define macro to -1.
29888
ee16e894
ST
29889 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29890 SA_NODEFER, SA_RESETHAND.
29891 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29892 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29893 F_DUPFD_CLOEXEC.
29894
6103ae3b
TS
298952012-05-10 Thomas Schwinge <thomas@schwinge.name>
29896
29897 * elf/Makefile (pldd-modules): Define unconditionally.
29898
80b4e5f3
TS
298992012-05-10 Thomas Schwinge <thomas@schwinge.name>
29900
29901 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29902
edadcbd6
ST
299032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29904
29905 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29906 Return ENOENT when name is empty.
29907 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29908
80694780
TS
299092012-05-10 Thomas Schwinge <thomas@schwinge.name>
29910
1792c087
TS
29911 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29912
80694780
TS
29913 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29914
6b645f0d
ST
299152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29916
80694780
TS
29917 Fix mlock in all cases except non-readable pages.
29918 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29919 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29920
6b645f0d
ST
29921 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29922 (__mkdir): When path is `/', just fail with EEXIST.
29923 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29924
e468f8a3
TS
299252012-05-10 Thomas Schwinge <thomas@schwinge.name>
29926
29927 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29928 <sys/uio.h> (for writev).
29929 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29930 and <sys/param.h> (for MIN).
29931
a4186cff
PT
299322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29933
29934 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29935 REQUESTED_TIME. Properly set the remaining time and return EINTR
29936 if interrupted.
29937
510bbf14
TS
299382012-05-10 Thomas Schwinge <thomas@schwinge.name>
29939
29940 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29941 Depend on against $(link-rpcuserlibs).
29942
5d5722e8
ST
299432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29944
a4186cff
PT
29945 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29946 (__libc_stack_end): Do not use attribute_relro.
29947 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29948 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29949 to libthread-provided value.
a4186cff
PT
29950 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29951 attribute_relro.
5d5722e8 29952
37233df9
TS
299532012-05-10 Thomas Schwinge <thomas@schwinge.name>
29954
be971a2b
TS
29955 [BZ #3748]
29956 * bits/libc-lock.h (__libc_once_get): New macro.
29957 * sysdeps/mach/bits/libc-lock.h: Likewise.
29958 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29960 instead of using implementation details.
29961
37233df9
TS
29962 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29963 * libio/freopen.c: Likewise.
29964 * libio/freopen64.c: Likewise.
29965 * misc/syslog.c: Likewise.
29966 * nscd/connections.c: Likewise.
29967 * nscd/netgroupcache.c: Likewise.
29968 * sysdeps/posix/getcwd.c: Likewise.
29969
38de94a5
RM
299702012-05-10 Roland McGrath <roland@hack.frob.com>
29971
29972 * math/w_ilogbf.c: Add #include <limits.h>.
29973
67530489
ST
299742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29975
a4186cff 29976 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29977 path instead of returning without unlocking.
29978
67530489
ST
29979 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29980 immediate-write ioctls.
29981 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29982
5aa3a74a
TS
299832012-05-10 Thomas Schwinge <thomas@schwinge.name>
29984
18bad2ae
TS
29985 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29986 __builtin_frame_address instead of making assumptions about the
29987 location of the return address relative to DATA. Force early load of
29988 the return address.
29989 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29990 __builtin_frame_address.
29991
5aa3a74a
TS
29992 dup3 for GNU Hurd.
29993 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29994 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29995 implement dup3 and do some further code clean-ups.
29996 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29997 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29998
ecd0de9a
ST
299992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30000
cd9fa985
ST
30001 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30002
a4186cff
PT
30003 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30004 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30005 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30006 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30007 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30008 d->port.lock.
802ca5a5 30009
a4186cff
PT
30010 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30011 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30012 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30013
bcf55240
TS
300142012-05-10 Thomas Schwinge <thomas@schwinge.name>
30015
6960eb42
TS
30016 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30017 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30018 definitions.
30019
eb43375f
TS
30020 accept4 for GNU Hurd.
30021 * include/sys/socket.h (__libc_accept4): New prototype.
30022 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30023 to implement __libc_accept4.
30024 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30025 __libc_accept4.
30026 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30027
bcf55240
TS
30028 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30029 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30030 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30031 signal-defines.sym.
30032
6178c55b
ST
300332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30034
a4186cff 30035 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30036
6f080c2f
TS
300372012-05-10 Thomas Schwinge <thomas@schwinge.name>
30038
30039 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30040 assertion on O_CLOEXEC flag.
30041 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30042 * hurd/intern-fd.c: Likewise.
30043 * hurd/port2fd.c: Likewise.
30044
bcfe3a54
ST
300452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30046
30047 [BZ #3906]
30048 * bits/in.h (IPV6_PKTINFO): Define new macro.
30049 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30050
89c9aa49
AZ
300512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30052
30053 [BZ #13954]
30054 [BZ #13955]
30055 [BZ #13956]
30056 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30057 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30058 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30059 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30060 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30061 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30062 * math/libm-test.inc (logb_test) : Additional logb tests.
30063
021db4be
AJ
300642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30065 Andreas Jaeger <aj@suse.de>
30066
30067 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30068 * configure: Regenerated.
30069 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30070 * config.make.in (link-obsolete-rpc): New substituted variable.
30071 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30072 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30073 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30074 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30075 so that libc.a contains the symbols.
30076 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30077 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30078 * sunrpc/auth_none.c: Likewise.
30079 * sunrpc/auth_unix.c: Likewise.
30080 * sunrpc/authdes_prot.c: Likewise.
30081 * sunrpc/authuxprot.c: Likewise.
30082 * sunrpc/clnt_gen.c: Likewise.
30083 * sunrpc/clnt_perr.c: Likewise.
30084 * sunrpc/clnt_raw.c: Likewise.
30085 * sunrpc/clnt_simp.c: Likewise.
30086 * sunrpc/clnt_tcp.c: Likewise.
30087 * sunrpc/clnt_udp.c: Likewise.
30088 * sunrpc/clnt_unix.c: Likewise.
30089 * sunrpc/des_crypt.c: Likewise.
30090 * sunrpc/des_soft.c: Likewise.
30091 * sunrpc/get_myaddr.c: Likewise.
30092 * sunrpc/key_call.c: Likewise.
30093 * sunrpc/key_prot.c: Likewise.
30094 * sunrpc/netname.c: Likewise.
30095 * sunrpc/pm_getmaps.c: Likewise.
30096 * sunrpc/pm_getport.c: Likewise.
30097 * sunrpc/pmap_clnt.c: Likewise.
30098 * sunrpc/pmap_prot.c: Likewise.
30099 * sunrpc/pmap_prot2.c: Likewise.
30100 * sunrpc/pmap_rmt.c: Likewise.
30101 * sunrpc/publickey.c: Likewise.
30102 * sunrpc/rpc_cmsg.c: Likewise.
30103 * sunrpc/rpc_common.c: Likewise.
30104 * sunrpc/rpc_dtable.c: Likewise.
30105 * sunrpc/rpc_prot.c: Likewise.
30106 * sunrpc/rpc_thread.c: Likewise.
30107 * sunrpc/rtime.c: Likewise.
30108 * sunrpc/svc.c: Likewise.
30109 * sunrpc/svc_auth.c: Likewise.
30110 * sunrpc/svc_raw.c: Likewise.
30111 * sunrpc/svc_run.c: Likewise.
30112 * sunrpc/svc_tcp.c: Likewise.
30113 * sunrpc/svc_udp.c: Likewise.
30114 * sunrpc/svc_unix.c: Likewise.
30115 * sunrpc/svcauth_des.c: Likewise.
30116 * sunrpc/xcrypt.c: Likewise.
30117 * sunrpc/xdr.c: Likewise.
30118 * sunrpc/xdr_array.c: Likewise.
30119 * sunrpc/xdr_float.c: Likewise.
30120 * sunrpc/xdr_intXX_t.c: Likewise.
30121 * sunrpc/xdr_mem.c: Likewise.
30122 * sunrpc/xdr_rec.c: Likewise.
30123 * sunrpc/xdr_ref.c: Likewise.
30124 * sunrpc/xdr_sizeof.c: Likewise.
30125 * sunrpc/xdr_stdio.c: Likewise.
30126
b5c086a2
RM
301272012-05-10 Roland McGrath <roland@hack.frob.com>
30128
30129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30130 change. Update copyright years.
30131
6d74dd09
JM
301322012-05-10 Joseph Myers <joseph@codesourcery.com>
30133
30134 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30135
28e72501
MK
301362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30137 Joseph Myers <joseph@codesourcery.com>
30138 Paul Pluzhnikov <ppluzhnikov@google.com>
30139
30140 [BZ #14012]
30141 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30142 requiring rpcgen.
30143 [cross-compiling] (extra-libs): Likewise.
30144 [cross-compiling] (extra-libs-others): Likewise.
30145 [cross-compiling] (librpcsvc-routines): Likewise.
30146 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30147 [cross-compiling] (omit-deps): Likewise.
30148 (sunrpc-CPPFLAGS): New variable.
30149 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30150 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30151 (cross-rpcgen-objs): New variable.
30152 (extra-objs): Append $(cross-rpcgen-objs).
30153 ($(cross-rpcgen-objs)): New rule.
30154 ($(objpfx)cross-rpcgen): Likewise.
30155 (rpcgen-cmd): Define to use $(built-program-file). Expand
30156 comment.
30157 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30158 ($(objpfx)x%.stmp): Likewise.
30159 * sunrpc/proto.h [IS_IN_build] (_): Define.
30160 [IS_IN_build] (_libc_intl_domainname): Likewise.
30161
c8c59454
L
301622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30163
30164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30165 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30166 and R_X86_64_TPOFF64.
30167
6f27cd16
JM
301682012-05-10 Joseph Myers <joseph@codesourcery.com>
30169
30170 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30171 sysdeps/unix/sysv/syscalls.list.
30172 (stime): Likewise.
30173 (utime): Likewise.
30174 * sysdeps/unix/sysv/syscalls.list: Remove file.
30175
02467e1c
PE
301762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30177
30178 [BZ #3440]
30179 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30180 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30181 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30182 (__LC_IDENTIFICATION): Make these macros useful in #if
30183 expressions, as required by C99.
30184
da392631
AS
301852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30186
30187 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30188 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30189 after this.
30190
8115f29b
L
301912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30192
30193 * stdlib/longlong.h: Updated from GCC.
30194
bdd74070
AJ
301952012-05-09 Andreas Jaeger <aj@suse.de>
30196
edfe0dbe
AJ
30197 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30198 default is first entry.
30199 (run_mode): Set type.
30200 (main): Remove informal message about syslog.
30201 (options): Fix typo.
30202
bcfe3a54
ST
30203 [BZ #14053]
30204 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30205 to asm.
bcfe3a54
ST
30206 (lrint): Likewise.
30207 (llrintf): Likewise.
30208 (llrint): Likewise.
30209 (rint): Likewise.
30210 (rintf): Likewise.
30211 (nearbyint): Likewise.
30212 (nearbyintf): Likewise.
bdd74070 30213
91d8d69e
AJ
302142012-05-09 Andreas Jaeger <aj@suse.de>
30215 Pedro Alves <palves@redhat.com>
30216
30217 * nscd/nscd.c (run_mode): Use enum.
30218 (main): Cleanup coding style issue.
30219
bb90b80b
AJ
302202012-05-09 Alexandre Oliva <aoliva@redhat.com>
30221 Andreas Jaeger <aj@suse.de>
30222
bcfe3a54
ST
30223 * nscd/nscd.c (go_background): Replaced with...
30224 (run_mode): ... this.
bb90b80b 30225 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30226 (options): Add -F --foreground.
30227 (main): Implement it.
30228 (parse_opt): Parse it.
bb90b80b 30229
1a4b75a1
AJ
302302012-05-09 Andreas Jaeger <aj@suse.de>
30231
30232 [BZ #14083]
30233 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30234 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30235 -Wconversion warning.
30236 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30237 Likewise.
30238
b1cc2472
JM
302392012-05-09 Joseph Myers <joseph@codesourcery.com>
30240
30241 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30242 == 0.
30243 (LC_ALL): Use macro-int-constant.
30244 (LC_COLLATE): Likewise.
30245 (LC_CTYPE): Likewise.
30246 (LC_MESSAGES): Likewise.
30247 (LC_MONETARY): Likewise.
30248 (LC_NUMERIC): Likewise.
30249 (LC_TIME): Likewise.
30250 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30251 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30253 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30254 Specify type.
30255 [C99-based standards] (float_t): Expect type.
30256 [C99-based standards] (double_t): Expect type.
30257 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30258 type.
30259 [C99-based standards] (HUGE_VALL): Likewise.
30260 [C99-based standards] (INFINITY): Likewise.
30261 [C99-based standards] (NAN): Likewise.
30262 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30263 [C99-based standards] (FP_NAN): Likewise.
30264 [C99-based standards] (FP_NORMAL): Likewise.
30265 [C99-based standards] (FP_SUBNORMAL): Likewise.
30266 [C99-based standards] (FP_ZERO): Likewise.
30267 [C99-based standards] (FP_FAST_FMA): Use
30268 optional-macro-int-constant. Specify type. Require == 1.
30269 [C99-based standards] (FP_FAST_FMAF): Likewise.
30270 [C99-based standards] (FP_FAST_FMAL): Likewise.
30271 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30272 [C99-based standards] (FP_ILOGBNAN): Likewise.
30273 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30274 Specify type.
30275 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30276 [C99-based standards] (math_errhandling): Specify type.
30277 [ISO99 || ISO11] (signgam): Do not allow.
30278 [non-C99-based standards] (copysignf): Do not allow.
30279 [non-C99-based standards] (exp2f): Likewise.
30280 [non-C99-based standards] (log2f): Likewise.
30281 [non-C99-based standards] (modff): Allow.
30282 [non-C99-based standards] (erff): Do not allow.
30283 [non-C99-based standards] (erfcf): Likewise.
30284 [non-C99-based standards] (gammaf): Likewise.
30285 [non-C99-based standards] (hypotf): Likewise.
30286 [non-C99-based standards] (j0f): Likewise.
30287 [non-C99-based standards] (j1f): Likewise.
30288 [non-C99-based standards] (jnf): Likewise.
30289 [non-C99-based standards] (lgammaf): Likewise.
30290 [non-C99-based standards] (tgammaf): Likewise.
30291 [non-C99-based standards] (y0f): Likewise.
30292 [non-C99-based standards] (y1f): Likewise.
30293 [non-C99-based standards] (ynf): Likewise.
30294 [non-C99-based standards] (isnanf): Likewise.
30295 [non-C99-based standards] (acoshf): Likewise.
30296 [non-C99-based standards] (asinhf): Likewise.
30297 [non-C99-based standards] (atanhf): Likewise.
30298 [non-C99-based standards] (cbrtf): Likewise.
30299 [non-C99-based standards] (expm1f): Likewise.
30300 [non-C99-based standards] (ilogbf): Likewise.
30301 [non-C99-based standards] (log1pf): Likewise.
30302 [non-C99-based standards] (logbf): Likewise.
30303 [non-C99-based standards] (nextafterf): Likewise.
30304 [non-C99-based standards] (remainderf): Likewise.
30305 [non-C99-based standards] (rintf): Likewise.
30306 [non-C99-based standards] (scalbf): Likewise.
30307 [non-C99-based standards] (copysignl): Likewise.
30308 [non-C99-based standards] (exp2l): Likewise.
30309 [non-C99-based standards] (log2l): Likewise.
30310 [non-C99-based standards] (modfl): Allow.
30311 [non-C99-based standards] (erfl): Do not allow.
30312 [non-C99-based standards] (erfcl): Likewise.
30313 [non-C99-based standards] (gammal): Likewise.
30314 [non-C99-based standards] (hypotl): Likewise.
30315 [non-C99-based standards] (j0l): Likewise.
30316 [non-C99-based standards] (j1l): Likewise.
30317 [non-C99-based standards] (jnl): Likewise.
30318 [non-C99-based standards] (lgammal): Likewise.
30319 [non-C99-based standards] (tgammal): Likewise.
30320 [non-C99-based standards] (y0l): Likewise.
30321 [non-C99-based standards] (y1l): Likewise.
30322 [non-C99-based standards] (ynl): Likewise.
30323 [non-C99-based standards] (isnanl): Likewise.
30324 [non-C99-based standards] (acoshl): Likewise.
30325 [non-C99-based standards] (asinhl): Likewise.
30326 [non-C99-based standards] (atanhl): Likewise.
30327 [non-C99-based standards] (cbrtl): Likewise.
30328 [non-C99-based standards] (expm1l): Likewise.
30329 [non-C99-based standards] (ilogbl): Likewise.
30330 [non-C99-based standards] (log1pl): Likewise.
30331 [non-C99-based standards] (logbl): Likewise.
30332 [non-C99-based standards] (nextafterl): Likewise.
30333 [non-C99-based standards] (remainderl): Likewise.
30334 [non-C99-based standards] (rintl): Likewise.
30335 [non-C99-based standards] (scalbl): Likewise.
30336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30337 [non-C99-based standards] (FP_*): Do not allow.
30338 [C99-based standards] (FP_*): Change to
30339 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30340 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30341 allow.
30342 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30343 (SIG_ERR): Likewise.
30344 [X/Open-based standards] (SIG_HOLD): Likewise.
30345 (SIG_IGN): Likewise.
30346 (SIGABRT): Use macro-int-constant. Specify type. Require
30347 positive value.
30348 (SIGFPE): Likewise.
30349 (SIGILL): Likewise.
30350 (SIGINT): Likewise.
30351 (SIGSEGV): Likewise.
30352 (SIGTER): Likewise.
30353 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30354 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30355 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30356 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30357 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30358 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30359 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30360 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30361 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30366 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30367 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30368 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30371 [X/Open-based standards] (SIGTRAP): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30376 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30377 allow.
30378
b9f1922d
IW
303792012-05-08 Ian Wienand <ianw@vmware.com>
30380
30381 [BZ #14080]
30382 * time/tzset.c (__tzset_parse_tz): Update default rules for
30383 daylight time changes in the Energy Policy Act of 2005.
30384
1db86e88
AJ
303852012-05-09 Andreas Jaeger <aj@suse.de>
30386
30387 [BZ #13983]
30388 * elf/ldconfig.c (parse_conf): Change string to make clear that
30389 ldconfig only issued a warning if ld.so.conf does not exist.
30390
dee4a4e3
DM
303912012-05-08 David S. Miller <davem@davemloft.net>
30392
ee0db190
DM
30393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30394 movxtod instead of popping the value on the stack.
30395
dee4a4e3
DM
30396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30397
6a43ec98
CD
303982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30399
30400 * config.h.in: Add HAVE_ARM_PCS_VFP.
30401
05c2c961
RMG
304022012-05-08 Roland Mc Grath <roland@hack.frob.com>
30403
bcfe3a54
ST
30404 [BZ #13979]
30405 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30406 checking but the checks are disabled for any reason.
05c2c961 30407
4b30f61a
L
304082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30409
30410 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30411 and ELF64_R_TYPE with ELFW(R_TYPE).
30412
eee2bc67
JM
304132012-05-08 Joseph Myers <joseph@codesourcery.com>
30414
7ea5391a
JM
30415 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30416 (ulimit): Likewise.
30417
eee2bc67
JM
30418 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30419 (settimeofday): Likewise.
30420
abb66a67
MF
304212012-05-08 Mike Frysinger <vapier@gentoo.org>
30422
30423 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30424 a struct th_u2 inside the union, and move tu_block/tu_code into
30425 a new th_u3 union of tu_block/tu_code inside of that. Move
30426 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30427 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30428 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30429 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30430 (th_stuff): Change to th_u1.tu_stuff.
30431 (th_data): Define.
30432 (th_msg): Change to th_u1.th_u2.tu_data.
30433
7f18b530
DM
304342012-05-07 David S. Miller <davem@davemloft.net>
30435
05760585
DM
30436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30437
7f18b530
DM
30438 [BZ #14074]
30439 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30440 (SETUP_PIC_REG): Use it.
30441 (SETUP_PIC_REG_LEAF): Use it.
30442
495fd99f
JM
304432012-05-07 Joseph Myers <joseph@codesourcery.com>
30444
30445 [BZ #13885]
30446 [BZ #13923]
30447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30448 USE_AS_EXPM1L.
30449 (EXPL_FINITE): Likewise.
30450 (FLDLOG): Likewise.
30451 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30452 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30453 e_expl.S.
30454 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30455 USE_AS_EXPM1L.
30456 (EXPL_FINITE): Likewise.
30457 (FLDLOG): Likewise.
30458 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30459 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30460 e_expl.S.
30461 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30462 test of -max_value argument for long double.
30463 * sysdeps/i386/fpu/libm-test-ulps: Update.
30464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30465
6693d694
DM
304662012-05-06 David S. Miller <davem@davemloft.net>
30467
30468 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30469 quad soft-float symbols whose references which are compiler
30470 generated.
30471 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30472
6c23e11c
JM
304732012-05-06 Joseph Myers <joseph@codesourcery.com>
30474
d8b82cad
JM
30475 [BZ #13884]
30476 [BZ #13914]
30477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30478 USE_AS_EXP10L.
30479 (EXPL_FINITE): Likewise.
30480 (FLDLOG): Likewise.
30481 (c0): Likewise.
30482 (c1): Likewise.
30483 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30484 Adjust comments for base varying.
30485 (__expl_finite): Change alias to EXPL_FINITE.
30486 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30487 e_expl.S.
30488 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30489 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30491 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30493 USE_AS_EXP10L.
30494 (EXPL_FINITE): Likewise.
30495 (FLDLOG): Likewise.
30496 (c0): Likewise.
30497 (c1): Likewise.
30498 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30499 Adjust comments for base varying.
30500 (__expl_finite): Change alias to EXPL_FINITE.
30501 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30502 tests for bugs.
30503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30504
6c23e11c
JM
30505 [BZ #14064]
30506 * math/libm-test.inc (check_float_internal): Correct ulp
30507 calculation for subnormal expected results.
30508
29ba805c
AJ
305092012-05-06 Andreas Jaeger <aj@suse.de>
30510
30511 * Makeconfig (+math-flags): New, set to -frounding-math.
30512 (+cflags): Add +math-flags so that all of glibc gets compiled with
30513 it.
30514
30515 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30516
7b17aeda
JM
305172012-05-05 Joseph Myers <joseph@codesourcery.com>
30518
5779f134
JM
30519 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30520 Disable one test.
30521
41498f4d
JM
30522 [BZ #13787]
30523 [BZ #13922]
30524 [BZ #14036]
30525 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30526 (__ieee754_expl): Allow for and saturate large arguments.
30527 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30528 (u_threshold): Likewise.
30529 (__exp): Call __ieee754_exp before checking for overflow and
30530 underflow.
30531 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30532 (u_threshold): Likewise.
30533 (__expf): Call __ieee754_expf before checking for overflow and
30534 underflow.
30535 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30536 (u_threshold): Likewise.
30537 (__expl): Call __ieee754_expl before checking for overflow and
30538 underflow.
30539 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30540 (__ieee754_expl): Allow for and saturate large arguments.
30541 * math/libm-test.inc (exp_test): Add another test. Do not allow
30542 missing overflow exception on overflow.
30543 (expm1_test): Do not allow missing overflow exception on overflow.
30544
6698b8bf
JM
30545 * sysdeps/i386/fpu/e_expl.c: Move to ...
30546 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30547 rather than using inline asm.
30548 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30549 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30550 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30551
7b17aeda
JM
30552 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30553 (nice): Likewise.
30554 (poll): Likewise.
30555 (signal): Likewise.
30556 (time): Likewise.
30557 (times): Likewise.
30558
f7c85819
JM
305592012-05-04 Joseph Myers <joseph@codesourcery.com>
30560
30561 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30562 sysdeps/unix/common/syscalls.list.
30563 (fchmod): Likewise.
30564 (fchown): Likewise.
30565 (ftruncate): Likewise.
30566 (getrusage): Likewise.
30567 (gettimeofday): Likewise.
30568 (setpgid): Likewise.
30569 (setregid): Likewise.
30570 (setreuid): Likewise.
30571 (sigaction): Likewise.
30572 (truncate): Likewise.
30573 (vhangup): Likewise.
30574 * sysdeps/unix/common/syscalls.list: Remove file.
30575 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30576 * sysdeps/unix/sysv/linux/Implies: Likewise.
30577
336270d0
L
305782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30579
30580 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30582 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30583 Moved to ...
30584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30585 Here.
30586 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30587 to ...
30588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30589 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30590 to ...
30591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30592 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30593 to ...
30594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30595 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30596 to ...
30597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30598 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30599 to ...
30600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30601 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30602 to ...
30603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30604 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30605 to ...
30606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30607 Here.
30608 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30609 to ...
30610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30611 Here.
30612 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30613 to ...
30614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30615 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30616 Moved to ...
30617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30618 Here.
30619 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30620 to ...
30621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30622
d128e450
JM
306232012-05-04 Joseph Myers <joseph@codesourcery.com>
30624
fa8ee516
JM
30625 * sysdeps/unix/common/bits/dirent.h: Remove file.
30626 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30627
d128e450
JM
30628 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30629 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30630 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30631 * sysdeps/unix/bsd/isatty.c: Likewise.
30632 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30633 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30634 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30635
ff8faaf0 306362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30637
62881be4 30638 [BZ #13563]
31dc8730
AZ
30639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30640 long double comparison inaccuracies.
30641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30643
6fef930c
AS
306442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30645
30646 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30648
8f203e6c
JM
306492012-05-04 Joseph Myers <joseph@codesourcery.com>
30650
30651 [BZ #14049]
30652 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30653 nonzero digits before rounding a hex value.
30654 * stdlib/tst-strtod.c (tests): Add another test.
30655
5197d9c2
AK
306562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30657
30658 * sysdeps/s390/fpu/libm-test-ulps: Update.
30659
f0c1dedf
AJ
306602012-05-03 Andreas Jaeger <aj@suse.de>
30661
30662 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30663 does not get optimized out.
30664 (malloc_opt_barrier): New.
30665
a65ef2ae 306662012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30667 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30668
2b942cb7 30669 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30670 intermediate file deletion.
2b942cb7 30671 (generated): Add .symlist files.
a65ef2ae 30672
54b71e02
JM
306732012-05-03 Joseph Myers <joseph@codesourcery.com>
30674
30675 [BZ #13775]
30676 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30677 Redirect under this condition.
30678 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30679 [__USE_GNU] (__dprintf_chk): Not under this condition.
30680 [__USE_GNU] (__vdprintf_chk): Likewise.
30681 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30682 under this condition.
30683 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30684 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30685 [__USE_XOPEN2K8] (vdprintf): Likewise.
30686 [__USE_GNU] (__dprintf_chk): Not under this condition.
30687 [__USE_GNU] (__vdprintf_chk): Likewise.
30688 [__USE_GNU] (dprintf): Likewise.
30689 [__USE_GNU] (vdprintf): Likewise.
30690
d3dfcc41
RM
306912012-05-03 Roland McGrath <roland@hack.frob.com>
30692
30693 * elf/Makefile (common-generated): Set this instead of generated for
30694 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30695 $(all-built-dso)-derived lists.
30696
7ac30cc5
AJ
306972012-05-03 Andreas Jaeger <aj@suse.de>
30698
0c51e550
AJ
30699 * sysdeps/i386/fpu/libm-test-ulps: Update.
30700
7ac30cc5
AJ
30701 * FAQ: Removed.
30702 * FAQ.in: Likewise.
30703 * scripts/gen-FAQ.pl: Likewise.
30704 * manual/install.texi (Installation): Point to online location of
30705 FAQ.
30706 * Makefile (files-for-dist): Remove FAQ.
30707 (FAQ): Remove.
30708
d4c2917f
AM
307092012-05-02 Allan McRae <allan@archlinux.org>
30710
30711 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30712 (LDFLAGS-reldepmod5.so): Likewise.
30713 (LDFLAGS-reldep6mod1.so): Likewise.
30714 (LDFLAGS-reldep6mod4.so): Likewise.
30715 (LDFLAGS-reldep8mod3.so): Likewise.
30716 (LDFLAGS-unload4mod1.so): Likewise.
30717 (LDFLAGS-unload4mod2.so): Likewise.
30718 (LDFLAGS-tst-initorder): Likewise.
30719 (LDFLAGS-tst-initordera2.so): Likewise.
30720 (LDFLAGS-tst-initordera3.so): Likewise.
30721 (LDFLAGS-tst-initordera4.so): Likewise.
30722 (LDFLAGS-tst-initorderb2.so): Likewise.
30723 (LDFLAGS-noload): Likewise.
30724 (LDFLAGS-next): Likewise.
30725 (LDFLAGS-order2mod1.so): Likewise.
30726 (LDFLAGS-order2mod2.so): Likewise.
30727 (LDFLAGS-tst-initorder2): Likewise.
30728 (LDFLAGS-tst-initorder2a.so): Likewise.
30729 (LDFLAGS-tst-initorder2b.so): Likewise.
30730 (LDFLAGS-tst-initorder2c.so): Likewise.
30731 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30732
d77f993f
DM
307332012-05-02 David S. Miller <davem@davemloft.net>
30734
30735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30736
171a70b4
PP
307372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30738
30739 [BZ #14055]
30740 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30741
0be196ad
AJ
307422012-05-02 Andreas Jaeger <aj@suse.de>
30743
30744 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30745 since we manipulate rounding mode.
30746 (CPPFLAGS-test-idouble.c): Likewise.
30747 (CPPFLAGS-test-ifloat.c): Likewise.
30748 (CFLAGS-test-ldouble.c): Likewise.
30749 (CFLAGS-test-double.c): Likewise.
30750 (CFLAGS-test-float.c): Likewise.
30751 (CFLAGS-test-misc.c): Likewise.
30752 (CFLAGS-test-test-fenv.c): Likewise.
30753
4f9d04aa
AZ
307542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30755
2b942cb7
RM
30756 [BZ #2550]
30757 [BZ #2570]
30758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30759 comparisons to determine direction to adjust input.
4f9d04aa 30760
82a79e7d
RM
307612012-05-01 Roland McGrath <roland@hack.frob.com>
30762
f5a01ca9
RM
30763 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30764 output to the target.
30765
90fe4186
RM
30766 * scripts/localplt.awk: New file.
30767 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30768 (check-localplt-CFLAGS): Variable removed.
30769 ($(all-built-dso:=.jmprel)): New static pattern rule.
30770 (generated): Add those targets.
30771 (localplt-built-dso): New variable.
30772 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30773
30774 * elf/check-localplt.c: File removed.
30775
82397ed6
RM
30776 * scripts/check-execstack.awk: New file.
30777 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30778 (check-execstack-CFLAGS): Variable removed.
30779 ($(objpfx)check-execstack.h): Target removed.
30780 ($(objpfx)execstack-default): New target.
30781 (generated): Add that instead of check-execstack.h.
30782 ($(all-built-dso:=.phdr)): New static pattern rule.
30783 (generated): Add those targets.
30784 * elf/check-execstack.c: File removed.
30785
82a79e7d
RM
30786 * scripts/check-textrel.awk: New file.
30787 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30788 (check-textrel-CFLAGS): Variable removed.
30789 (all-built-dso): Use := to define.o
30790 ($(all-built-dso:=.dyn)): New static pattern rule.
30791 (generated): Add those targets.
30792 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30793 * config.make.in (READELF): New substituted variable.
30794 * elf/check-textrel.c: File removed.
30795
62fde54f 307962012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30797
615605c9
JM
30798 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30799 allow.
30800 * conform/data/ctype.h-data [C99-based standards] (isblank):
30801 Expect function.
30802 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30803 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30804 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30805 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30806 Specify type. Require positive value.
30807 (EILSEQ): Likewise.
30808 (ERANGE): Likewise.
30809 [ISO || POSIX] (EILSEQ): Do not expect.
30810 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30811 Specify type. Require positive value.
30812 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30813 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30814 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30815 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30816 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30817 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30818 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30819 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30820 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30821 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30822 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30824 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30825 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30847 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30852 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30853 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30854 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30855 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30856 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30857 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30861 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30862 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30868 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30870 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30874 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30875 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30876 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30877 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30878 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30880 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30881 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30882 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30883 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30884 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30885 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30886 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30887 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30888 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30889 Require >= 2.
30890 (FLT_ROUNDS): Expect as macro, not constant.
30891 (FLT_MANT_DIG): Use macro-int-constant.
30892 (DBL_MANT_DIG): Likewise.
30893 (LDBL_MANT_DIG): Likewise.
30894 (FLT_DIG): Likewise.
30895 (DBL_DIG): Likewise.
30896 (LDBL_DIG): Likewise.
30897 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30898 (DBL_MIN_EXP): Likewise.
30899 (LDBL_MIN_EXP): Likewise.
30900 (FLT_MAX_EXP): Use macro-int-constant.
30901 (DBL_MAX_EXP): Likewise.
30902 (LDBL_MAX_EXP): Likewise.
30903 (FLT_MAX_10_EXP): Likewise.
30904 (DBL_MAX_10_EXP): Likewise.
30905 (LDBL_MAX_10_EXP): Likewise.
30906 (FLT_MAX): Use macro-constant.
30907 (DBL_MAX): Likewise.
30908 (LDBL_MAX): Likewise.
30909 (FLT_EPSILON): Use macro-constant. Give upper bound.
30910 (DBL_EPSILON): Likewise.
30911 (LDBL_EPSILON): Likewise.
30912 (FLT_MIN): Likewise.
30913 (DBL_MIN): Likewise.
30914 (LDBL_MIN): Likewise.
30915 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30916 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30917 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30918 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30919 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30920 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30921 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30922 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30923 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30924 [ISO11] (FLT_TRUE_MIN): Likewise.
30925 [ISO11] (LDBL_TRUE_MIN): Likewise.
30926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30927 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30928 (SCHAR_MIN): Use macro-int-constant. Specify type.
30929 (SCHAR_MAX): Likewise.
30930 (UCHAR_MAX): Likewise.
30931 (CHAR_MIN): Likewise.
30932 (CHAR_MAX): Likewise.
30933 (MB_LEN_MAX): Use macro-int-constant.
30934 (SHRT_MIN): Use macro-int-constant. Specify type.
30935 (SHRT_MAX): Likewise.
30936 (USHRT_MAX): Likewise.
30937 (INT_MAX): Likewise.
30938 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30939 bound negative.
30940 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30941 bound with "U".
30942 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30943 bound with "L".
30944 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30945 bound negative. Suffix upper bound with "L".
30946 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30947 bound with "UL".
30948 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30949 Specify type.
30950 [C99-based standards] (LLONG_MAX): Likewise.
30951 [C99-based standards] (ULLONG_MAX): Likewise.
30952 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30953 == 0.
30954 [ISO11] (max_align_t): Require type.
30955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30956
c9140a62
JM
30957 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30958 from $CFLAGS, without defining away __attribute__ calls.
30959 (checknamespace): Use $CFLAGS_namespace.
30960
9af0bf29
JM
30961 * conform/conformtest.pl (@keywords): Only include C99 keywords
30962 for standards based on C99 or C11.
30963
343222a2
JM
30964 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30965 Disable tests.
30966 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30967 UNIX98]: Likewise.
30968
661f8cf0
JM
30969 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30970 usability of symbols in #if.
30971
ee74b9cb
JM
30972 * conform/conformtest.pl: If macro or constant types start
30973 "promoted:", expect the symbol to be of the following type
30974 promoted by the integer promotions.
62fde54f 30975
aafc49b3
JM
30976 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30977 in one place. Also handle "macro-constant".
30978
fefdf574
JM
30979 * conform/conformtest.pl: Only accept expected macro values with
30980 "==". Parse all "macro" lines in one place.
30981 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30982
f2d922fe
JM
30983 * conform/conformtest.pl: Handle braced types on "constant" lines
30984 instead of handling "typed-constant".
30985 * conform/data/signal.h-data: Use "constant" instead of
30986 "typed-constant".
30987
d22956c9
JM
30988 * conform/conformtest.pl: Handle "optional-" at start of lines in
30989 one place rather than duplicating several cases. Handle each
30990 format of "macro" line with initial "optional-".
30991
028e2e38
JM
30992 * conform/conformtest.pl: Only accept expected constant or
30993 optional-constant values with "==". Parse all "constant" lines in
30994 one place. Parse all "optional-constant" lines in one place.
30995 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30996 * conform/data/fmtmsg.h-data: Likewise.
30997 * conform/data/netinet/in.h-data: Likewise.
30998 * conform/data/tar.h-data: Likewise.
30999 * conform/data/limits.h-data: Use "==" form on "constant" and
31000 "optional-constant" lines.
31001
1b8f2850
JM
31002 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31003 Use -std=c99 for XOPEN2K.
31004 (@knownproblems): Remove.
31005 (newtoken): Don't check %isknown.
31006
a05a144b
JM
31007 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31008 Do not expect macro.
31009 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31021 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31022 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31039 [XPG3] (acosh): Likewise.
31040 [XPG3] (asinh): Likewise.
31041 [XPG3] (atanh): Likewise.
31042 [XPG3] (cbrt): Likewise.
31043 [XPG3] (expm1): Likewise.
31044 [XPG3] (ilogb): Likewise.
31045 [XPG3] (log1p): Likewise.
31046 [XPG3] (logb): Likewise.
31047 [XPG3] (nextafter): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31050 [XPG3] (remainder): Likewise.
31051 [XPG3] (rint): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31059 [UNIX98 || XOPEN2K] (scalb): Expect.
31060 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31061 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31129 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31130 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31131 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31192 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31193 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31197
73c5ebe3
JM
31198 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31199 _XOPEN_SOURCE_EXTENDED for XPG4.
31200
39c33b6c
JM
31201 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31202
62fde54f
JM
31203 * Makeconfig (localtime): Remove variable.
31204 (inst_localtime-file): Likewise.
31205
0741d64c
AS
312062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31207
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31209 Update.
31210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31211 Update.
31212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31213 Update.
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31215 Update.
31216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31217 Update.
31218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31219 Update.
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31221 Update.
31222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31223 Update.
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31225 Update.
31226
7cb029ee
JM
312272012-05-01 Joseph Myers <joseph@codesourcery.com>
31228
31229 [BZ #2550]
31230 [BZ #2570]
31231 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31232 comparisons to determine direction to adjust input.
31233 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31234 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31236 Likewise.
31237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31238 Likewise.
31239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31240 Likewise.
31241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31243 Likewise.
31244 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31245 Likewise.
31246 * math/libm-test.inc (nexttoward_test): Add more tests.
31247
412bd966
AS
312482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31249
31250 [BZ #14040]
31251 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31252 in version GLIBC_2.1, not GLIBC_2.0.
31253 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31254 Likewise.
31255
9568c0c2
JM
312562012-04-30 Joseph Myers <joseph@codesourcery.com>
31257
adfbc8ac
JM
31258 [BZ #13942]
31259 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31260 (1 - x) * (1 + x).
31261 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31262 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31263 * math/libm-test.inc (acos_test): Add more tests.
31264 (asin_test): Likewise.
31265 * sysdeps/i386/fpu/libm-test-ulps: Update.
31266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31267
5ba3cc69
JM
31268 [BZ #14034]
31269 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31270 of square root.
31271 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31272 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31273 * math/libm-test.inc (acos_test_tonearest): New function.
31274 (acos_test_towardzero): Likewise.
31275 (acos_test_downward): Likewise.
31276 (acos_test_upward): Likewise.
31277 (asin_test_tonearest): Likewise.
31278 (asin_test_towardzero): Likewise.
31279 (asin_test_downward): Likewise.
31280 (asin_test_upward): Likewise.
31281 (main): Call the new functions.
31282 * sysdeps/i386/fpu/libm-test-ulps: Update.
31283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31284
9568c0c2
JM
31285 [BZ #13884]
31286 [BZ #13924]
31287 * math/e_exp10.c: Include <float.h>.
31288 (__ieee754_exp10): Handle underflow here rather than multiplying
31289 large negative argument by M_LN10.
31290 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31291 of __ieee754_expf.
31292 * math/e_exp10l.c: Include <float.h>.
31293 (__ieee754_exp10l): Handle underflow here rather than multiplying
31294 large negative argument by M_LN10l.
31295 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31296 spurious overflow exception on underflow.
31297
5ac3ea17
MP
312982012-04-29 Marek Polacek <polacek@redhat.com>
31299
31300 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31301 (__fortify_function): New macro.
31302 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31303 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31304 __extern_always_inline.
31305 * libio/bits/stdio2.h: Likewise.
31306 * libio/bits/stdio.h: Likewise.
31307 * string/string.h: Likewise.
31308 * string/bits/string3.h: Likewise.
31309 * include/stdio.h: Likewise.
31310 * stdlib/bits/stdlib.h: Likewise.
31311 * stdlib/stdlib.h: Likewise.
31312 * rt/bits/mqueue2.h: Likewise.
31313 * rt/mqueue.h: Likewise.
31314 * posix/bits/unistd.h: Likewise.
31315 * posix/unistd.h: Likewise.
31316 * io/bits/poll2.h: Likewise.
31317 * io/bits/fcntl2.h: Likewise.
31318 * io/fcntl.h: Likewise.
31319 * io/sys/poll.h: Likewise.
31320 * misc/bits/syslog.h: Likewise.
31321 * misc/bits/syslog-ldbl.h: Likewise.
31322 * misc/sys/syslog.h: Likewise.
31323 * socket/bits/socket2.h: Likewise.
31324 * socket/sys/socket.h: Likewise.
31325 * debug/tst-chk1.c: Likewise.
31326 * wcsmbs/bits/wchar2.h: Likewise.
31327 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31328 * wcsmbs/wchar.h: Likewise.
31329
ecf0ebfb
AJ
313302012-04-29 Andreas Jaeger <aj@suse.de>
31331
31332 * Makerules (tests): Remove enable-check-abi protection.
31333 (check-abi-warn): Remove.
31334 (check-abi-%): Remove check-abi-warn usage.
31335
31336 * configure.in: Remove check-abi configure option.
31337 * configure: Regenerated.
31338 * config.make.in (enable-check-abi): Remove.
31339
6d5c57fa
AS
313402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31341
24c5d07e 31342 [BZ #14033]
ded5180a
AS
31343 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31344 double functions to double *_finite functions.
31345
7e0d315d
AS
31346 [BZ #13941]
31347 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31348 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31349 LDBL_MIN_EXP.
31350 * stdio-common/Makefile (tests): Add tst-sprintf3.
31351 * stdio-common/tst-sprintf3.c: New file.
31352
6d5c57fa
AS
31353 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31354 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31355
0749ff8b
JM
313562012-04-28 Joseph Myers <joseph@codesourcery.com>
31357
31358 * conform/conformtest.pl: Remove duplicate typed-constant
31359 handling.
31360
8dbd5d7b
DM
313612012-04-28 David S. Miller <davem@davemloft.net>
31362
31363 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31364 (check-abi-%): Remove AWK script prerequisite and explicit
31365 abilist directory.
31366 (check-abi): Rewrite to just diff the symlist with the abilist.
31367 (config-tls, config-abi-config): Delete, no longer used.
31368 (update-abi-%): Remove AWK script and explicit abilist directory.
31369 (update-abi): Rewrite to simply compare and conditionally copy the
31370 symlist and the sysdep abilist file. Remove update-abi-config
31371 checks.
31372 * abilist/ld.abilist: Remove.
31373 * abilist/libBrokenLocale.abilist: Remove.
31374 * abilist/libanl.abilist: Remove.
31375 * abilist/libcrypt.abilist: Remove.
31376 * abilist/libdl.abilist: Remove.
31377 * abilist/librt.abilist: Remove.
31378 * abilist/libthread_db.abilist: Remove.
31379 * abilist/libutil.abilist: Remove.
31380 * scripts/extract-abilist.awk: Remove.
31381 * scripts/merge-abilist.awk: Remove.
31382 * sysdeps/generic/libcidn.abilist: New file.
31383 * sysdeps/generic/libnss_compat.abilist: New file.
31384 * sysdeps/generic/libnss_db.abilist: New file.
31385 * sysdeps/generic/libnss_dns.abilist: New file.
31386 * sysdeps/generic/libnss_files.abilist: New file.
31387 * sysdeps/generic/libnss_hesiod.abilist: New file.
31388 * sysdeps/generic/libnss_nis.abilist: New file.
31389 * sysdeps/generic/libnss_nisplus.abilist: New file.
31390 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31391 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31392 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31393 file.
31394 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31395 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31396 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31397 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31398 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31399 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31400 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31401 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31402 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31403 file.
31404 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31405 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31406 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31407 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31408 file.
31409 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31410 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31411 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31412 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31413 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31414 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31415 file.
31416 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31417 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31418 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31419 file.
31420 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31422 New file.
31423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31424 New file.
31425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31426 New file.
31427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31428 New file.
31429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31430 New file.
31431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31432 New file.
31433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31434 New file.
31435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31436 New file.
31437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31438 New file.
31439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31440 New file.
31441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31442 New file.
31443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31444 New file.
31445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31446 New file.
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31448 file.
31449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31450 New file.
31451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31452 New file.
31453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31454 file.
31455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31456 New file.
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31458 New file.
31459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31460 file.
31461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31462 New file.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31464 New file.
31465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31466 New file.
31467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31468 New file.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31470 New file.
31471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31472 New file.
31473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31475 file.
31476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31477 New file.
31478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31479 file.
31480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31481 file.
31482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31483 file.
31484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31485 file.
31486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31487 file.
31488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31489 New file.
31490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31491 file.
31492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31493 file.
31494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31495 New file.
31496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31497 file.
31498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31500 file.
31501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31502 New file.
31503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31504 file.
31505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31506 file.
31507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31508 file.
31509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31510 file.
31511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31512 file.
31513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31514 New file.
31515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31516 file.
31517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31518 file.
31519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31520 New file.
31521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31522 file.
31523 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31524 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31525 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31526 file.
31527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31528 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31529 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31530 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31531 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31532 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31533 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31534 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31535 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31536 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31539 file.
31540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31541 New file.
31542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31543 file.
31544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31545 file.
31546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31547 file.
31548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31549 file.
31550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31551 file.
31552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31553 New file.
31554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31555 New file.
31556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31557 file.
31558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31559 New file.
31560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31561 file.
31562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31564 file.
31565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31566 New file.
31567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31568 file.
31569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31570 file.
31571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31572 file.
31573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31574 file.
31575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31576 file.
31577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31578 New file.
31579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31580 New file.
31581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31582 file.
31583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31584 New file.
31585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31586 file.
31587
41d73a1b
JM
315882012-04-28 Joseph Myers <joseph@codesourcery.com>
31589
31590 * conform/conformtest.pl: Fix typo in handling typed-constant from
31591 allow-header.
31592
28aeeda4
JM
315932012-04-27 Joseph Myers <joseph@codesourcery.com>
31594
adae8f5e
JM
31595 * README: Cut down references to pre-2.6 Linux kernels and
31596 Linuxthreads. Update lists of configurations in libc and ports
31597 and sort alphabetically. Say "or newer" with Linux kernel version
31598 requirements.
31599
28aeeda4
JM
31600 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31601
a462cb63
RA
316022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31603
31604 [BZ #887]
31605 * math/libm-test.inc (logb_test_downward): New test to expose
31606 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31607 rounding mode.
31608
6ad3493e
JM
316092012-04-27 Joseph Myers <joseph@codesourcery.com>
31610
31611 [BZ #14027]
31612 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31613 to be done.
31614 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31615 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31616
2ce4f015
JM
316172012-04-26 Joseph Myers <joseph@codesourcery.com>
31618
5aeb141a
JM
31619 * sysdeps/unix/i386/brk.S: Remove file.
31620 * sysdeps/unix/i386/dl-brk.S: Likewise.
31621 * sysdeps/unix/i386/pipe.S: Likewise.
31622 * sysdeps/unix/i386/sigreturn.S: Likewise.
31623 * sysdeps/unix/i386/syscall.S: Likewise.
31624 * sysdeps/unix/i386/vfork.S: Likewise.
31625 * sysdeps/unix/i386/wait.S: Likewise.
31626
7143acae
JM
31627 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31628 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31629
2ce4f015
JM
31630 * configure.in (arm*-none*): Do not allow without
31631 --enable-hacker-mode.
31632 (netbsd*): Remove case setting base_os.
31633 (386bsd*): Likewise.
31634 (freebsd*): Likewise.
31635 (bsdi*): Likewise.
31636 (osf*): Likewise.
31637 (sunos*): Likewise.
31638 (ultrix*): Likewise.
31639 (newsos*): Likewise.
31640 (dynix*): Likewise.
31641 (*bsd*): Likewise.
31642 (sysv*): Likewise.
31643 (isc*): Likewise.
31644 (esix*): Likewise.
31645 (sco*): Likewise.
31646 (minix*): Likewise.
31647 (irix4*): Likewise.
31648 (irix6*): Likewise.
31649 (solaris[2-9]*): Likewise.
31650 (none): Likewise.
31651 * configure: Regenerated.
31652
0ac229c8
AZ
316532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31654
31655 [BZ #11521]
31656 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31657 overflow or cancellation in calculating denominator.
31658 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31659 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31660 down expression to avoid unexpected rounding in newer GCCs.
31661 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31662
33f244f4
DM
316632012-04-26 David S. Miller <davem@davemloft.net>
31664
31665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31666 long-double compat symbols.
31667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31680
cfa1f3e8
DM
316812012-04-25 David S. Miller <davem@davemloft.net>
31682
31683 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31684 HWCAP_* values only after the memory barriers have been defined.
31685 (atomic_full_barrier): Define.
31686 (atomic_read_barrier): Define.
31687 (atomic_write_barrier): Define.
31688
6e236b92
SP
316892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31690
31691 * shlib-versions: Add libgcc_s version information.
31692 * sysdeps/generic/libgcc_s.h: Remove.
31693 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31694 libgcc_s.h.
31695 * sysdeps/gnu/unwind-resume.c: Likewise.
31696 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31697
aab39a09
DM
316982012-04-25 David S. Miller <davem@davemloft.net>
31699
31700 * sysdeps/unix/sparc/brk.S: Delete.
31701 * sysdeps/unix/sparc/dl-brk.S: Delete.
31702 * sysdeps/unix/sparc/pipe.S: Delete.
31703 * sysdeps/unix/sparc/sysdep.S: Delete.
31704 * sysdeps/unix/sparc/sysdep.h: Delete.
31705 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31706 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31707 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31708 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31709 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31710 (JUMPTARGET): Remove.
31711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31712 sysdeps/unix/sparc/sysdep.h
31713 (ENTRY, END): Remove.
31714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31715
a3cc4f48
JM
317162012-04-25 Joseph Myers <joseph@codesourcery.com>
31717
2ed8cda2
JM
31718 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31719 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31720 -DIS_IN_build.
31721
35d76d59
JM
31722 * timezone/README: Update upstream location and email address for
31723 tzcode and tzdata.
31724 * timezone/zdump.c: Update from tzcode 2012b.
31725 * timezone/zic.c: Likewise.
31726
a3cc4f48
JM
31727 * configure.in (libc_cv_as_needed): Remove test.
31728 * configure: Regenerated.
31729 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31730 conditional definition.
31731 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31732 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31733 * config.make.in (have-as-needed): Remove variable.
31734
ceab42c3
SP
317352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31736 Paul Pluzhnikov <ppluzhnikov@google.com>
31737
31738 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31739 strings correctly.
31740
3ce2865f
CLT
317412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31742
31743 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31744 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31745 * sysdeps/sh/strlen.S: Likewise.
31746
f37e0d68
JM
317472012-04-24 Joseph Myers <joseph@codesourcery.com>
31748
ae186e9a
JM
31749 * sysdeps/unix/fork.S: Remove file.
31750 * sysdeps/unix/i386/fork.S: Likewise.
31751 * sysdeps/unix/sparc/fork.S: Likewise.
31752
b96914af
JM
31753 * sysdeps/unix/system.c: Remove file.
31754 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31755
f37e0d68
JM
31756 * sysdeps/unix/getegid.S: Remove file.
31757 * sysdeps/unix/geteuid.S: Likewise.
31758
87ef29ca
RM
317592012-04-24 Roland McGrath <roland@hack.frob.com>
31760
83bcd236
RM
31761 * scripts/check-localplt.awk: New file.
31762 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31763 of diff.
31764 * scripts/data/localplt-generic.data: Add a comment.
31765
87ef29ca
RM
31766 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31767 NODE when __dir_mkfile failed.
31768 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31769 Reported by Ludovic Courtès <ludo@gnu.org>.
31770
e5a6e567
AJ
317712012-04-24 Andreas Jaeger <aj@suse.de>
31772
31773 * Makerules (common-clean): Also remove gen-as-const-headers
31774 files.
31775
c1820385
JM
317762012-04-24 Joseph Myers <joseph@codesourcery.com>
31777
31778 * Makerules (native-compile): Do not change working directory for
31779 build. Use $(OUTPUT_OPTION) in command.
31780 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31781
94e02fc4
AZ
317822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31783
31784 [BZ #13886]
31785 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31786 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31787 * math/libm-test.inc (floor_test): Add more tests.
31788 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31789
3a533ca3
JM
317902012-04-24 Joseph Myers <joseph@codesourcery.com>
31791
940ab4b3
JM
31792 * sysdeps/unix/getdents.c: Remove file.
31793 * sysdeps/unix/sysv/getdents.c: Likewise.
31794 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31795
90e037bd
JM
31796 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31797 sysdeps/unix/mman/syscalls.list.
31798 (mmap): Likewise.
31799 (mprotect): Likewise.
31800 (msync): Likewise.
31801 (munmap): Likewise.
31802 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31803 * sysdeps/unix/mman/syscalls.list: Remove.
31804 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31805
3a533ca3
JM
31806 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31807 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31808 * configure: Regenerated.
31809 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31810 $(libgcc_s_suffix).
31811 * config.make.in (libgcc_s_suffix): Remove variable.
31812
1ad743de
JM
318132012-04-23 Joseph Myers <joseph@codesourcery.com>
31814
4ad451e2
JM
31815 * sysdeps/unix/sysv/gethostname.c: Move to ...
31816 * sysdeps/posix/gethostname.c: ... here.
31817
5e37ce39
JM
31818 * sysdeps/unix/execve.S: Remove file.
31819
1ad743de
JM
31820 * sysdeps/unix/_exit.S: Remove file.
31821
4e681b5b
AJ
318222012-04-23 Andreas Jaeger <aj@suse.de>
31823
31824 [BZ #13739]
31825 * manual/Makefile: Remove make dist support, there's no
31826 need for a stand-alone documentation tar ball.
31827 (TEXI2DVI): Define always, it's not in Makeconfig.
31828 (dist): Removed.
31829 (tar-it): Removed.
31830 (edition): Removed.
31831 (glibc-doc-$(edition).tar): Removed
31832 (%.Z): Removed.
31833 (%.gz): Removed.
31834 (%.uu): Removed.
31835 (ETAGS): Remove, it's in Makeconfig.
31836 (move-if-change): Remove, it's in Makeconfig.
31837
38686a03 318382012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31839
31840 [BZ #13970]
31841 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31842 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31843 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31844 (strtod_l, strtof_l, strtold_l): Remove __wur.
31845 It is not necessarily an error to ignore strtol's return value.
31846 One can reliably look at the stored endptr to decide whether
31847 the number had valid syntax.
31848
7c0616fa
AJ
318492012-04-21 Andreas Jaeger <aj@suse.de>
31850
803cb6b7 31851 [BZ #13739]
7c0616fa
AJ
31852 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31853
b0fe253f
JM
318542012-04-21 Joseph Myers <joseph@codesourcery.com>
31855
31856 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31857 * sysdeps/unix/sysv/Versions: Remove file.
31858
8280f22d
MT
318592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31860
31861 [BZ #13927]
31862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31863
75ce411f 318642012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31865
31866 [BZ #7064]
31867 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31868 version from __vm86.
31869
097d59fa
JM
318702012-04-20 Joseph Myers <joseph@codesourcery.com>
31871
a90f3bcb
JM
31872 * sysdeps/unix/common/lxstat.c: Remove file.
31873 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31874
edc7ea78
JM
31875 * sysdeps/unix/sysv/Makefile: Remove file.
31876
cb78c221
JM
31877 * sysdeps/unix/sysv/direct.h: Remove file.
31878
efa6a45f
JM
31879 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31880 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31881 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31882 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31883 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31884 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31885 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31886
9c9f2d0c
JM
31887 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31888
4541c83b
JM
31889 * sysdeps/unix/xmknod.c: Remove file.
31890 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31891
f5d153a0
JM
31892 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31893
aa746595
JM
31894 * sysdeps/unix/sysv/i386/time.S: Remove file.
31895
cce5905e
JM
31896 * sysdeps/unix/fxstat.c: Remove file.
31897 * sysdeps/unix/xstat.c: Likewise.
31898 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31899
37fa3841
JM
31900 * sysdeps/unix/sysv/sigaction.c: Remove file.
31901
ff1962a3
JM
31902 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31903 (sysdep_headers): Remove variable.
31904 [termio.h not in sysdep_headers] (generated): Likewise.
31905 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31906 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31907 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31908 * sysdeps/unix/sysv/tcflow.c: Likewise.
31909 * sysdeps/unix/sysv/tcflush.c: Likewise.
31910 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31911 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31912 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31913 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31914 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31915
e7740d31
JM
31916 * sysdeps/unix/siglist.c: Remove file.
31917
ee06f18b
JM
31918 * sysdeps/unix/getppid.S: Remove file.
31919
097d59fa
JM
31920 * sysdeps/unix/mkdir.c: Remove file.
31921 * sysdeps/unix/rmdir.c: Likewise.
31922
ff3d51ec
AS
319232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31924
31925 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31926 ERR_MAX value.
31927 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31928 errlist-compat value.
31929
50f81fd7
DM
319302012-04-18 David S. Miller <davem@davemloft.net>
31931
31932 * sysdeps/generic/memcopy.h (reg_char): Delete.
31933 * debug/strcat_chk.c: Use char, not reg_char.
31934 * debug/strcpy_chk.c: Likewise.
31935 * debug/strncat_chk.c: Likewise.
31936 * debug/strncpy_chk.c: Likewise.
31937 * string/memchr.c: Likewise.
31938 * string/memrchr.c: Likewise.
31939 * string/rawmemchr.c: Likewise.
31940 * string/strcat.c: Likewise.
31941 * string/strchr.c: Likewise.
31942 * string/strchrnul.c: Likewise.
31943 * string/strcmp.c: Likewise.
31944 * string/strcpy.c: Likewise.
31945 * string/strncat.c: Likewise.
31946 * string/strncmp.c: Likewise.
31947 * string/strncpy.c: Likewise.
31948
8ff41c46
WS
319492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31950
31951 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31952 __builtin_memcopy is called when src and dest ranges are known to not
31953 overlap.
31954
6b652f46
WS
319552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31956
31957 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31958 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31959 fwd_align_merge macro call.
31960 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31961 bwd_align_merge macro call.
31962 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31963
b282631e
WS
319642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31965
31966 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31967 bwd_align_merge macros.
31968 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31969 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31970 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31971
95aa737c
DM
319722012-04-18 David S. Miller <davem@davemloft.net>
31973
31974 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31975
7a99a614
AJ
319762012-04-18 Andreas Jaeger <aj@suse.de>
31977
31978 [BZ# 6794]
31979 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31980 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31981 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31982
31983 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31984 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31985 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31986
31987 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31988 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31989 Adjust for changed ldbl-128 files.
31990
31991 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31992 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31993 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31994
e5270c23
DM
319952012-04-17 David S. Miller <davem@davemloft.net>
31996
31997 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31998
fb5e92c9
AS
319992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32000
32001 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32002 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32003 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32004 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32005 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32006 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32007
76da7265
AZ
320082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32009
32010 [BZ #6794]
32011 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32012 * math/libm-test.inc: Add ilogb errno and exception tests.
32013 * math/w_ilogb.c: New file: ilogb wrapper.
32014 * math/w_ilogbf.c: New file: ilogbf wrapper.
32015 * math/w_ilogbl.c: New file: ilogbl wrapper.
32016 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32017 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32018 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32019 exception being thrown with 0.0 as argument.
32020 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32021 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32022 exception being thrown with 0.0 as argument.
32023 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32024 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32025 exception being thrown with 0.0 as argument.
32026 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32027 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32028 exception being thrown with 0.0 as argument.
32029 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32030 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32031 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32032 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32034 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32035 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32036 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32037 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32038
0396e69d
PB
320392012-04-17 Petr Baudis <pasky@ucw.cz>
32040
32041 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32042 with altivec.
32043
750b5926
MP
320442012-04-16 Marek Polacek <polacek@redhat.com>
32045
32046 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32047
751728a1
MP
320482012-04-16 Marek Polacek <polacek@redhat.com>
32049
32050 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32051 operands of fdivp instruction.
32052
34a27407
L
320532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32054
32055 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32056 * elf/tst-auditmod3b.c: Likewise.
32057 * elf/tst-auditmod4b.c: Likewise.
32058 * elf/tst-auditmod5b.c: Likewise.
32059 * elf/tst-auditmod6b.c: Likewise.
32060 * elf/tst-auditmod6c.c: Likewise.
32061 * elf/tst-auditmod7b.c: Likewise.
32062 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32063 * sysdeps/x86_64/preconfigure.in: Likewise.
32064 * sysdeps/x86_64/preconfigure: Regenerated.
32065
7e73e17d
L
320662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32067
32068 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32069 __ILP32__.
32070
c7a6ab72
AB
320712012-04-13 Antoine Balestrat <merkil33@gmail.com>
32072
32073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32074 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32075
a9e8e0e0
CL
320762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32077
32078 [BZ #13973]
32079 * locale/iso-639.def: Fix gl language name. Spotted by
32080 Yaron Shahrabani.
32081
ec98af7d
RM
320822012-04-12 Roland McGrath <roland@hack.frob.com>
32083
32084 [BZ #2074]
32085 * libio/libio.h (__io_write_fn): Update comment.
32086
247c3ede
PB
320872012-04-12 Petr Baudis <pasky@ucw.cz>
32088
32089 [BZ #2074]
32090 * stdio.texi (Hook Functions): The user provided writer function
32091 is not allowed to return -1.
32092
55939d6d
DM
320932012-04-11 David S. Miller <davem@davemloft.net>
32094
32095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32096
90020f5a
MF
320972012-04-11 Mike Frysinger <vapier@gentoo.org>
32098
32099 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32100 Add a leading slash to rtkaio.
32101
288f9098
JM
321022012-04-11 Jim Meyering <meyering@redhat.com>
32103
90020f5a
MF
32104 [BZ #11959]
32105 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32106 It is not necessarily an error to ignore fwrite's return
32107 value. One can reliably use ferror to test for errors after
32108 the fact.
288f9098 32109
4be2b570
L
321102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32111
32112 * bits/types.h (__snseconds_t): New type.
32113 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32114
32115 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32117 (__SNSECONDS_T_TYPE): Likewise.
32118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32119 (__SNSECONDS_T_TYPE): Likewise.
32120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32121 (__SNSECONDS_T_TYPE): Likewise.
32122
288f9098 321232012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32124
32125 [BZ #2636]
32126 * manual/time.texi (Processor Time): Return type of times is
32127 elapsed real time since an arbitrary point in the past.
32128 (CPU Time): Move CLK_TCK from here...
32129 (Processor Time): ...to here. Correct description.
32130 * manual/conf.texi (Constants for Sysconf): Correct description of
32131 _SC_CLK_TCK.
32132
d7dd4413
DM
321332012-04-10 David S. Miller <davem@davemloft.net>
32134
32135 [BZ #13967]
32136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32137 where the is a gap between DT_REL(A) and DT_JMPREL.
32138
b46068fc
L
321392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32140
32141 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32142 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32143 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32144
73d65cc3
SP
321452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32146
32147 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32148 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32149 (dl_main): Handle --inhibit-cache.
32150 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32151 _dl_inhibit_cache.
32152 * elf/dl-load.c (_dl_map_object): Use it.
32153 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32154
bcc8d661
JM
321552012-04-09 Joseph Myers <joseph@codesourcery.com>
32156
8f9a2fae
JM
32157 [BZ #13872]
32158 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32159 (__ieee754_powl): Saturate large exponents rather than testing for
32160 overflow of y*log2(x).
32161 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32162 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32163 exceptions.
32164
bcc8d661
JM
32165 [BZ #11521]
32166 * math/s_ctan.c: Include <float.h>.
32167 (__ctan): Avoid internal overflow or cancellation in calculating
32168 denominator.
32169 * math/s_ctanf.c: Likewise.
32170 * math/s_ctanl.c: Likewise.
32171 * math/s_ctanh.c: Likewise.
32172 * math/s_ctanhf.c: Likewise.
32173 * math/s_ctanhl.c: Likewise.
32174 * math/libm-test.inc (ctan_test): Add more tests.
32175 (ctanh_test): Likewise.
32176 * sysdeps/i386/fpu/libm-test-ulps: Update.
32177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32178
823fbbb4
AJ
321792012-04-09 Andreas Jaeger <aj@suse.de>
32180
03879793
AJ
32181 [BZ #6894]
32182 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32183 is an optional BSD extension.
32184
823fbbb4
AJ
32185 [BZ #10254]
32186 * manual/stdio.texi (Opening Streams): Document additional fopen
32187 parameters.
32188
8de131cb
RM
321892012-04-09 Roland McGrath <roland@hack.frob.com>
32190
32191 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32192 %eax without telling the compiler.
32193
c0ed9d7d
CD
321942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32195
32196 [BZ # 13963]
32197 * manual/install.texi: Use sourceware.org.
32198
c483f6b4
JM
321992012-04-09 Joseph Myers <joseph@codesourcery.com>
32200
d7dd9453
JM
32201 [BZ #13873]
32202 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32203 (__ieee754_pow): Generate overflow and underflow using huge*huge
32204 and tiny*tiny rather than just returning constant infinity or zero
32205 for large exponents.
32206 * math/libm-test.inc (pow_test): Require overflow exceptions for
32207 applicable cases of large exponents.
32208
c483f6b4
JM
32209 [BZ #706]
32210 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32211 (__ieee754_pow): Use iterative multiplication algorithm only for
32212 integer exponents with absolute value below 1024. Check for odd
32213 integer exponents when using algorithm for real exponents.
32214 * math/libm-test.inc (pow_test): Add more tests.
32215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32216
d2de7579
JM
322172012-04-08 Joseph Myers <joseph@codesourcery.com>
32218
32219 [BZ #13705]
32220 * math/libm-test.inc (exp_test): Do not allow overflow exception
32221 on underflow test.
32222
f77f1232
AJ
322232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32224
32225 [BZ #13705]
32226 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32227 instead of __kernel_standard_f.
32228
3884932b
MF
322292012-04-08 Mike Frysinger <vapier@gentoo.org>
32230
32231 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32232 * sysdeps/x86_64/memset_chk.S: Likewise.
32233
54472e9c
AJ
322342012-04-08 Andreas Jaeger <aj@suse.de>
32235
6ab0fbfc
AJ
32236 [BZ #10153]
32237 * manual/startup.texi (Environment Access): Describe return value
32238 for putenv and setenv.
32239
61efba8c
AJ
32240 [BZ #6895]
32241 * manual/filesys.texi (Directory Entries): Add description for
32242 DT_LNK.
32243
95c3f29a
AJ
32244 [BZ #6890]
32245 * manual/filesys.texi (Directory Entries): Clarify that it's file
32246 system not operating system in the description of DT_UNKNOWN.
32247
54472e9c
AJ
32248 [BZ #6578]
32249 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32250
624254b1
SC
322512012-04-08 Stephen Compall <s11@member.fsf.org>
32252
32253 [BZ #6649]
32254 * manual/llio.texi (Opening and Closing Files): Add cross
32255 reference to explain mode argument.
32256
1e4920e0
MF
322572012-04-07 Mike Frysinger <vapier@gentoo.org>
32258
32259 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32260 * sysdeps/x86_64/memset_chk.S: Likewise.
32261
5ed848f3
DM
322622012-04-07 David S. Miller <davem@davemloft.net>
32263
32264 * elf/elf.h (R_SPARC_WDISP10): Define.
32265 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32266 R_SPARC_SIZE32.
32267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32268 R_SPARC_SIZE64 and R_SPARC_H34.
32269
96154cd8
CD
322702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32271
32272 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32273 conditions and remove no longer applicable assertion.
32274
9904dc47
L
322752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32276
32277 * bits/byteswap.h: Include <features.h>.
32278 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32279 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32280
f8887d0a
L
322812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32282
32283 * bits/byteswap.h (__bswap_16): Removed.
32284 Include <bits/byteswap-16.h> to get __bswap_16.
32285 * sysdeps/i386/bits/byteswap.h: Likewise.
32286 * sysdeps/s390/bits/byteswap.h: Likewise.
32287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32288 * bits/byteswap-16.h: New file.
32289 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32290 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32291 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32292 * string/Makefile (headers): Add bits/byteswap-16.h.
32293
62470f60
PP
322942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32295
32296 [BZ #13895]
32297 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32298 extra indirection.
32299 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32300 * nss/tst-nss-static.c: New.
32301
4dad7bab
RM
323022012-04-06 Robert Millan <rmh@gnu.org>
32303
32304 [BZ #6486]
32305 * manual/llio.texi (File Position Primitive): lseek
32306 refers to WHENCE when it really means OFFSET.
32307
e9142a17
AJ
323082012-04-06 Andreas Jaeger <aj@suse.de>
32309
2c040eff
AJ
32310 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32311 strncmp declarations.
32312
e9142a17
AJ
32313 * abilist/libc.abilist: Add __poll and __ppoll.
32314
ff9f1c5f
DM
323152012-04-05 David S. Miller <davem@davemloft.net>
32316
dcd2ae90
DM
32317 * scripts/check-local-headers.sh: Accept a host triplet in the
32318 path matched by the exclude regexp.
32319
993eb054
DM
32320 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32321 definition.
32322 * sysdeps/powerpc/powerpc32/dl-machine.h
32323 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32324 * sysdeps/s390/s390-32/dl-machine.h
32325 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32326 * sysdeps/sparc/sparc32/dl-machine.h
32327 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32328 * sysdeps/sparc/sparc64/dl-machine.h
32329 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32330
ff9f1c5f
DM
32331 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32332 lazy binding.
48e2e132 32333 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32334 undefined symbol errors.
32335
48e2e132 32336 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32337 DT_NEEDED entries.
32338
e80d6f94
MM
323392012-04-05 Michael Matz <matz@suse.de>
32340
32341 [BZ #13592]
32342 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32343
349fa79f
AJ
323442012-04-05 Andreas Jaeger <aj@suse.de>
32345
32346 [BZ #13908]
32347 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32348 comment.
32349
f402708f
KK
323502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32351
32352 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32353 which ROUND is no valid rounding mode.
32354
2ecccfc9
KK
323552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32356
32357 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32358 read again.
32359 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32360
8a53f50f
KK
323612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32362
32363 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32364 an exception using FPU order intentionally.
32365
323662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32367
32368 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32369 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32370 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32371 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32372
d653abb7
SJ
323732012-04-05 Simon Josefsson <simon@josefsson.org>
32374
32375 [BZ #12340]
32376 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32377 EINVAL when BUFLEN is too smal.
32378
c3b1bf7d
TS
323792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32380
32381 [BZ #13553]
32382 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32383 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32384
b1aa60f3
AJ
323852012-04-03 Andreas Jaeger <aj@suse.de>
32386
c3b1bf7d 32387 [BZ #13938]
67f60a26
AJ
32388 * manual/setjmp.texi (System V contexts): Fix sentence.
32389
b1aa60f3
AJ
32390 [BZ #13926]
32391 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32392 New macro for this case.
32393 [!__GNUC__] (__bswap_64): New inline function for this case.
32394 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32395 * bits/byteswap.h: Likewise.
32396 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32397 ull, guard with __GLIBC_HAVE_LONG_LONG.
32398
32399 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32400 __GLIBC_HAVE_LONG_LONG.
32401
32402 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32403 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32404
39c59c35
TMQMF
324052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32406
32407 [BZ #13691]
32408 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32409 inptr and inend, rather than using last_ch.
32410
135ffda8
DM
324112012-04-02 David S. Miller <davem@davemloft.net>
32412
32413 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32414 * stdio-common/printf-parse.h (read_int): Change return type to
32415 'int', return -1 on INT_MAX overflow.
32416 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32417 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32418 overflows INT_MAX. Check for overflow of in-format-string precision
32419 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32420 SIZE_MAX not INT_MAX for integer overflow test.
32421 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32422 skip the construct in the format string but do not record anything.
32423 * stdio-common/bug22.c: Adjust to test both width/prevision
32424 INT_MAX overflow as well as total length INT_MAX overflow. Check
32425 explicitly for proper errno values.
32426
228c019e
TS
324272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32428
302cadd3
TS
32429 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32430 CHAR_MAX.
32431 * string/test-strcmp.c [! WIDE]: Likewise.
32432 * time/tst-mktime2.c: Likewise for INT_MAX.
32433 * string/test-string.h: #include <sys/param.h> for MIN.
32434
228c019e
TS
32435 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32436 * sysdeps/i386/init-first.c (init): Likewise.
32437 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32438 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32439 * sysdeps/sh/init-first.c (init): Likewise.
32440
cfa633f5
UD
324412012-04-01 Ulrich Drepper <drepper@gmail.com>
32442
32443 * po/ru.po: Update from translation team.
d1635ef8 32444 * po/vi.po: Likewise.
cfa633f5 32445
6cd0a5ea
SP
324462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32447
32448 * resolv/nss_dns/dns-host.c: Merge copyright years.
32449
4b43400f
LD
324502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32451
32452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32453 Optimize memcpy with prefetch if
32454 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32455 src, dst pointers have unequal 16 byte alignments.
32456
48c41d04
SP
324572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32458
32459 [BZ #13928]
32460 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32461 from a CNAME entry and return the minimum ttl for the query.
32462 (gaih_getanswer_slice): Likewise.
32463
b8dc394d
JL
324642012-03-30 Jeff Law <law@redhat.com>
32465
32466 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32467 due to long keys.
32468 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32469 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32470
2f5a5ed0
JL
32471 * resolv/nss_dns/dns-host.c: Update copyright year.
32472
1d39e359
UD
324732012-03-30 Ulrich Drepper <drepper@gmail.com>
32474
c030f70c 32475 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32476 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32477
1d39e359
UD
32478 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32479 comments for sendmmsg.
32480
324812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32482
32483 [BZ #13691]
32484 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32485 with only 1 character between 0x0041 and 0x01b0.
32486 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32487 * wcsmbs/tst-mbsnrtowcs.c: New file.
32488
20fde227
DM
324892012-03-29 David S. Miller <davem@davemloft.net>
32490
32491 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32492 small copies by hand.
32493
984a4237
JL
324942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32495
32496 [BZ #13761]
57f41c40
AS
32497 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32498 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32499 group memberships.
984a4237 32500
18c9d62b
DM
325012012-03-28 David S. Miller <davem@davemloft.net>
32502
88d85d4f
DM
32503 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32504 that branches into memcpy.
32505 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32508 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32510 bits.
32511 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32512 implementation too.
32513 * sysdeps/sparc/mempcpy.S: New file.
32514
e5aa83e1
DM
32515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32516 the IFUNC routine in the libc case.
32517 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32518
88570753
DM
32519 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32520 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32521 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32522 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32523 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32524 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32525 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32526 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32527
249d7567
DM
32528 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32529 loop to 256 bytes instead of 64 bytes and fix test signedness.
32530
18c9d62b
DM
32531 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32532 * sysdeps/sparc/sparc32/Makefile: rather than here...
32533 * sysdeps/sparc/sparc64/Makefile: and here.
32534
05f3d1f6
UD
325352012-03-28 Ulrich Drepper <drepper@gmail.com>
32536
32537 * malloc/mallocbug.c: Avoid warnings about unused variables.
32538
86ae07a8
JL
325392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32540
32541 [BZ #13760]
32542 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32543 in the right place. Discard and retry query if response is
32544 larger than input buffer size.
32545
41bf21a1
JM
325462012-03-28 Joseph Myers <joseph@codesourcery.com>
32547
d6270972
JM
32548 [BZ #369]
32549 [BZ #2678]
32550 [BZ #3866]
32551 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32552 x for large integer exponent.
32553 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32554 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32555 sign of result as needed afterwards.
32556 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32557 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32558 result for underflowing pow the same as for overflow.
32559 (__kernel_standard_l): Handle powl overflow and underflow here
32560 rather than calling __kernel_standard.
32561 * math/libm-test.inc (pow_test): Add more tests.
32562
414fca03 32563 [BZ #3868]
41bf21a1
JM
32564 [BZ #13879]
32565 [BZ #13910]
32566 [BZ #13911]
32567 [BZ #13912]
32568 [BZ #13913]
32569 [BZ #13915]
32570 [BZ #13916]
32571 [BZ #13917]
32572 [BZ #13918]
32573 [BZ #13919]
32574 [BZ #13920]
32575 [BZ #13921]
32576 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32577 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32578 (__kernel_standard_l): New function.
32579 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32580 __kernel_standard.
32581 * math/w_acosl.c (__acosl): Likewise.
32582 * math/w_asinl.c (__asinl): Likewise.
32583 * math/w_atan2l.c (__atan2l): Likewise.
32584 * math/w_atanhl.c (__atanhl): Likewise.
32585 * math/w_coshl.c (__coshl): Likewise.
32586 * math/w_exp10l.c (__exp10l): Likewise.
32587 * math/w_exp2l.c (__exp2l): Likewise.
32588 * math/w_fmodl.c (__fmodl): Likewise.
32589 * math/w_hypotl.c (__hypotl): Likewise.
32590 * math/w_j0l.c (__j0l, __y0l): Likewise.
32591 * math/w_j1l.c (__j1l, __y1l): Likewise.
32592 * math/w_jnl.c (__jnl, __ynl): Likewise.
32593 * math/w_lgammal.c (__lgammal): Likewise.
32594 * math/w_log10l.c (__log10l): Likewise.
32595 * math/w_log2l.c (__log2l): Likewise.
32596 * math/w_logl.c (__logl): Likewise.
32597 * math/w_powl.c (__powl): Likewise.
32598 * math/w_remainderl.c (__remainderl): Likewise.
32599 * math/w_scalbl.c (sysv_scalbl): Likewise.
32600 * math/w_sinhl.c (__sinhl): Likewise.
32601 * math/w_sqrtl.c (__sqrtl): Likewise.
32602 * math/w_tgammal.c (__tgammal): Likewise.
32603 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32604 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32605 * math/libm-test.inc (acos_test): Add more tests.
32606 (acosh_test): Likewise.
32607 (asin_test): Likewise.
32608 (atanh_test): Likewise.
32609 (exp_test): Likewise.
32610 (exp10_test): Likewise.
32611 (exp2_test): Likewise.
32612 (expm1_test): Likewise.
32613 (lgamma_test): Likewise.
32614 (log_test): Likewise.
32615 (log10_test): Likewise.
32616 (log1p_test): Likewise.
32617 (log2_test): Likewise.
32618 (pow_test): Do not allow some spurious overflow exceptions.
32619 (sqrt_test): Add more tests.
32620 (tgamma_test): Likewise.
32621 (y0_test): Likewise.
32622 (y1_test): Likewise.
32623 (yn_test): Likewise.
32624
dd62fda6
AB
326252012-03-27 Anton Blanchard <anton@samba.org>
32626
32627 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32628 MAP_HUGETLB.
32629 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32630 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32632
1e3cdfda
AJ
326332012-03-27 David S. Miller <davem@davemloft.net>
32634
b855ab85
DM
32635 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32636
1e3cdfda
AJ
32637 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32638 have-as-vis3 check.
32639
326402012-03-27 Andreas Jaeger <aj@suse.de>
32641
32642 * sysdeps/x86_64/elf/configure.in: Moved to ...
32643 * sysdeps/x86_64/configure.in: ... here.
32644 * sysdeps/x86_64/elf/start.S: Moved to ...
32645 * sysdeps/x86_64/start.S: ... here.
32646 * sysdeps/x86_64/elf/configure: Delete.
32647
32648 * sysdeps/x86_64/configure.in: Merge contents from
32649 sysdeps/i386/configure.in (without i686 check).
32650
32651 * sysdeps/i386/elf/Versions: Merge into ...
32652 * sysdeps/i386/Versions: ... this.
32653 * sysdeps/i386/elf/Versions: Delete file.
32654 * sysdeps/i386/elf/start.S: Moved to ...
32655 * sysdeps/i386/start.S: ...here.
32656 * sysdeps/i386/elf/configure.in: Merge into...
32657 * sysdeps/i386/configure.in: ...here.
32658 * sysdeps/i386/elf/configure.in: Delete file.
32659 * sysdeps/i386/elf/configure: Delete file.
32660
32661 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32662 * debug/backtracesyms.c: ... here.
32663 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32664 * debug/backtracesymsfd.c: ... here.
32665 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32666 * sysdeps/generic/ifunc-sel.h: ... here.
32667
32668 * sysdeps/unix/i386/start.c: Delete file.
32669 * sysdeps/unix/sparc/start.c: Delete file.
32670 * sysdeps/unix/start.c: Delete file.
32671
32672 * sysdeps/sh/elf/configure.in: Moved to ...
32673 * sysdeps/sh/configure.in: ... here.
32674 * sysdeps/sh/elf/start.S: Moved to ...
32675 * sysdeps/sh/start.S: ... here.
32676 * sysdeps/sh/elf/configure: Delete file.
32677
32678 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32679 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32680 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32681 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32682 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32683 * sysdeps/powerpc/powerpc64/start.S: here.
32684 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32685 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32686 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32687 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32688 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32689
32690 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32691 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32692 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32693 * sysdeps/powerpc/powerpc32/start.S: ... here.
32694 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32695 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32696 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32697
32698 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32699 * sysdeps/powerpc/ifunc-sel.h: ... here.
32700 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32701 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32702
32703 * sysdeps/sparc/elf/configure.in: Moved to ...
32704 * sysdeps/sparc/configure.in: ... here.
32705 * sysdeps/sparc/elf/configure: Delete file.
32706 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32707 * sysdeps/sparc/sparc32/start.S: ... here.
32708 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32709 * sysdeps/sparc/sparc64/start.S: ... here.
32710 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32711 * sysdeps/sparc/sparc32/Makefile: ... this.
32712 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32713 * sysdeps/sparc/sparc64/Makefile: ... this.
32714
32715 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32716 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32717 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32718 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32719 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32720 * sysdeps/s390/s390-32/setjmp.S: ... here.
32721 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32722 * sysdeps/s390/s390-32/configure.in: ... here.
32723 * sysdeps/s390/s390-32/elf/configure: Delete file.
32724 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32725 * sysdeps/s390/s390-32/start.S: ... here.
32726
32727 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32728 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32729 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32730 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32731 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32732 * sysdeps/s390/s390-64/setjmp.S: ... here.
32733 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32734 * sysdeps/s390/s390-64/configure.in: ... here
32735 * sysdeps/s390/s390-64/elf/configure: Delete file.
32736 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32737 * sysdeps/s390/s390-64/start.S: ... here.
32738 * sysdeps/s390/s390-64/elf/configure: Delete.
32739
32740 * configure.in: Remove support for elf directories in sysdeps.
32741
32742 * configure: Regenerated.
32743 * sysdeps/i386/configure: Regenerated.
32744 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32745 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32746 * sysdeps/s390/s390-32/configure: Regenerated.
32747 * sysdeps/s390/s390-64/configure: Regenerated.
32748 * sysdeps/sh/configure: Regenerated.
32749 * sysdeps/sparc/configure: Regenerated.
32750 * sysdeps/x86_64/configure: Regenerated.
32751
a3f61311
AS
327522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32753
c876e002
AS
32754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32755
a3f61311
AS
32756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32757 denormal result into account.
32758
ac4c54f0
RM
327592012-03-25 Roland McGrath <roland@hack.frob.com>
32760
32761 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32762 Reported by Allan McRae <allan@archlinux.org>.
32763
6a9b9c02
JL
327642012-03-23 Jeff Law <law@redhat.com>
32765
32766 * nss/getnssent.c (__nss_getent): Fix typo.
32767
4c42a0c1
DM
327682012-03-23 David S. Miller <davem@davemloft.net>
32769
32770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32771
1532c7ac
L
327722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32773
32774 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32775 to pad to uint64_t for each field.
32776 (dl_tls_index): Replace unsigned long with uint64_t.
32777
3ff42526
PP
327782012-03-23 Daniel Jacobowitz <dmj@google.com>
32779 Paul Pluzhnikov <ppluzhnikov@google.com>
32780
32781 [BZ #6528]
32782 * grp/Makefile (otherlibs): Don't set it.
32783 * inet/Makefile (otherlibs): Likewise.
32784 * login/Makefile (otherlibs): Likewise.
32785 * nscd/Makefile (otherlibs): Likewise.
32786 * posix/Makefile (otherlibs): Likewise.
32787 * pwd/Makefile (otherlibs): Likewise.
32788 * rt/Makefile (otherlibs): Likewise.
32789 * sunrpc/Makefile (otherlibs): Likewise.
32790 * nss/Makefile (otherlibs): Likewise.
32791 Add libnss_files to routines and static-only-routines.
32792 ($(objpfx)getent): Remove rule.
32793 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32794 static-only-routines.
32795
7c69cd14
JM
327962012-03-22 Joseph Myers <joseph@codesourcery.com>
32797
32798 [BZ #13892]
32799 * math/s_cexp.c: Include <float.h>.
32800 (__cexp): Handle exp result overflowing not necessarily
32801 overflowing both real and imaginary parts of result.
32802 * math/s_cexpf.c: Likewise.
32803 * math/s_cexpl.c: Likewise.
32804 * math/libm-test.inc (cexp_test): Add more tests.
32805 * sysdeps/i386/fpu/libm-test-ulps: Update.
32806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32807
81b035fe
L
328082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32809
32810 * include/link.h (ELFW): New macro.
32811 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32812 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32813
1da7940c
L
328142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32817 with uint64_t.
32818
b749dbb9
L
328192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32820
32821 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32822 declaration.
32823 (struct La_x32_retval): Likewise.
32824
2ff87f3f
L
328252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32826
32827 * sysdeps/x86_64/preconfigure.in: New file.
32828 * sysdeps/x86_64/preconfigure: New generated file.
32829
c0df8e69
JM
328302012-03-22 Joseph Myers <joseph@codesourcery.com>
32831
48e44791
JM
32832 [BZ #13824]
32833 * math/e_exp2l.c: Include <float.h>.
32834 (__ieee754_exp2l): Handle overflow and underflow cases
32835 separately. Only pass fractional part of argument to
32836 __ieee754_expl.
32837 * math/libm-test.inc (exp2_test): Add more tests.
32838
c0df8e69
JM
32839 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32840 negating x to take absolute value.
32841 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32842 Likewise.
32843 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32844 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32845 Likewise.
32846 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32847 computing low part if x was negated.
32848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32849
c8e43ba7
L
328502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32851
32852 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32853 la_x32_gnu_pltexit.
32854 (pltexit): Cast int_retval to ptrdiff_t.
32855 * elf/tst-auditmod3b.c: Likewise.
32856 * elf/tst-auditmod4b.c: Likewise.
32857 * elf/tst-auditmod5b.c: Likewise.
32858 * elf/tst-auditmod6b.c: Likewise.
32859 * elf/tst-auditmod6c.c: Likewise.
32860 * elf/tst-auditmod7b.c: Likewise.
32861
32862 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32863 and x32_gnu_pltexit.
32864
32865 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32866 __ELF_NATIVE_CLASS.
32867 (La_x32_regs): New macro.
32868 (La_x32_retval): Likewise.
32869 (la_x32_gnu_pltenter): New function prototype.
32870 (la_x32_gnu_pltexit): Likewise.
32871
7998fa78
AS
328722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32873
dcb33988
AS
32874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32875 exponent.
32876
233fc563
AS
32877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32878
7998fa78
AS
32879 * configure.in (libc_cv_cc_nofma): Check for option to disable
32880 generation of FMA instructions.
32881 * configure: Regenerate.
32882 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32883 * sysdeps/ieee754/dbl-64/Makefile: New file.
32884 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32885 Remove brandred-fma4.
32886 (CFLAGS-brandred-fma4.c): Remove.
32887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32889 define.
32890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32891 define.
32892
8e95c99a
L
328932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32894
32895 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32896 LLONG_MAX != LONG_MAX.
32897 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32898 (_fitoa_word): Likewise.
32899 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32900 LLONG_MAX != LONG_MAX.
32901 * stdio-common/_itowa.h: Include <_itoa.h>.
32902 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32903 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32904 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32905 only if not defined.
32906 (_ITOA_WORD_TYPE): Likewise.
32907 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32908 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32909
6f4db457
DM
329102012-03-21 David S. Miller <davem@davemloft.net>
32911
32912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32913
7785fe5a
L
329142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32917 of x86_64 when setting libc_cv_slibdir, libdir and
32918 libc_cv_localedir.
32919 * sysdeps/unix/sysv/linux/configure: Regenerated.
32920
4535cd55
JM
329212012-03-21 Joseph Myers <joseph@codesourcery.com>
32922
32923 * manual/lang.texi (Old Varargs): Remove section.
32924 (How Variadic): Update menu.
32925 (va_start): Do not mention varargs.h.
32926
17228132
TS
329272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32928 Joseph Myers <joseph@codesourcery.com>
32929
32930 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32931 link test.
32932 * configure: Regenerated.
32933
8149f976
TS
329342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32935
05f3d1f6
UD
32936 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32937 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32938 conformtest.pl
8149f976 32939
1a4ac776
JM
329402012-03-21 Joseph Myers <joseph@codesourcery.com>
32941
be22ce65
JM
32942 * NOTES: Remove.
32943 * Makefile (files-for-dist): Remove NOTES.
32944 (NOTES): Remove rule.
32945 * README: Don't refer to NOTES.
32946 * manual/creature.texi: Don't include macros.texi.
32947 * manual/intro.texi (creature.texi): Remove comment referring to
32948 NOTES.
32949
40b601fb
JM
32950 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32951 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32952 * configure: Regenerated.
32953 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32954 LIBC_TRY_CC_OPTION.
32955 (libc_cv_as_i686): Likewise.
32956 (libc_cv_cc_avx): Likewise.
32957 (libc_cv_cc_sse2avx): Likewise.
32958 (libc_cv_cc_fma4): Likewise.
32959 (libc_cv_cc_novzeroupper): Likewise.
32960 * sysdeps/i386/configure: Regenerated.
32961
1a4ac776
JM
32962 [BZ #13883]
32963 * sysdeps/i386/fpu/s_cexp.S: Remove.
32964 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32965 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32966 * math/libm-test.inc (cexp_test): Add more tests.
32967 * sysdeps/i386/fpu/libm-test-ulps: Update.
32968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32969
a458e7fe
AM
329702012-03-21 Allan McRae <allan@archlinux.org>
32971
32972 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32973
0cb7efc5
JM
329742012-03-21 Joseph Myers <joseph@codesourcery.com>
32975
32976 [BZ #13871]
32977 * math/w_exp2.c: Do not include <float.h>.
32978 (o_threshold, u_threshold): Remove.
32979 (__exp2): Calculate result before checking finiteness and calling
32980 __kernel_standard.
32981 * math/w_exp2f.c: Likewise.
32982 * math/w_exp2l.c: Likewise.
32983 * math/libm-test.inc (exp2_test): Require overflow exception for
32984 1e6 input.
2460d3aa
JM
32985
32986 [BZ #3866]
32987 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32988 range of signed 64-bit integers before using fistpll. Remove
32989 checks for whether integers fit in mantissa bits.
32990 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32991 the range of signed 32-bit integers before using fistpl. Remove
32992 checks for whether integers fit in mantissa bits.
32993 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32994 (__ieee754_powl): Test for y outside the range of signed 64-bit
32995 integers before using fistpll. Reduce 64-bit values to 63-bit
32996 ones as needed.
32997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32998 divide-by-zero is raised for zero to large negative powers.
32999 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33000 (__ieee754_powl): Test for y outside the range of signed 64-bit
33001 integers before using fistpll. Reduce 64-bit values to 63-bit
33002 ones as needed.
33003 * math/libm-test.inc (pow_test): Add more tests.
33004
eb96ffb0
L
330052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33006
33007 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33008 <stdio-common/_itoa.h>.
33009 * debug/segfault.c: Likewise.
33010 * elf/dl-cache.c: Likewise.
33011 * elf/dl-minimal.c: Likewise.
33012 * elf/dl-misc.c: Likewise.
33013 * elf/dl-sysdep.c: Likewise.
33014 * elf/dl-version.c: Likewise.
33015 * elf/rtld.c: Likewise.
33016 * hurd/hurdsock.c: Likewise.
33017 * hurd/lookup-retry.c: Likewise.
33018 * malloc/malloc.c: Likewise.
33019 * malloc/mtrace.c: Likewise.
33020 * nscd/nscd_getgr_r.c: Likewise.
33021 * nscd/nscd_getpw_r.c: Likewise.
33022 * nscd/nscd_getserv_r.c: Likewise.
33023 * posix/getopt_init.c: Likewise.
33024 * posix/wordexp.c: Likewise.
33025 * stdio-common/_itoa.c: Likewise.
33026 * stdio-common/printf_fphex.c: Likewise.
33027 * stdio-common/vfprintf.c: Likewise.
33028 * string/_strerror.c: Likewise.
33029 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33030 * sysdeps/i386/i686/hp-timing.h: Likewise.
33031 * sysdeps/mach/_strerror.c: Likewise.
33032 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33033 * sysdeps/mach/hurd/sethostid.c: Likewise.
33034 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33035 * sysdeps/mach/xpg-strerror.c: Likewise.
33036 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33037 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33038 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33039 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33040 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33041 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33043 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33044 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33045 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33046 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33047 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33048 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33049 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33050 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33051 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33052 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33053 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33054 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33055 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33056 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33057
33058 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33059
33060 * stdio-common/_itoa.h: Moved to ...
33061 * sysdeps/generic/_itoa.h: Here.
33062
33063 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33064
33065 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33066 instead of "_itoa.h" and "_itowa.h".
33067 * stdio-common/vfprintf.: Likewise.
33068
d1af992d
L
330692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33070
33071 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33072 <bits/wordsize.h>.
33073 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33074 (__signbit): Likwise.
33075 (llrintf): Likwise.
33076 (llrint): Likwise.
33077
114883e0
L
330782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33079
33080 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33081 __WORDSIZE != 64.
33082
c135cc1b
JM
330832012-03-20 Joseph Myers <joseph@codesourcery.com>
33084
33085 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33086 OVERFLOW_EXCEPTION_OK.
33087 * math/libm-test.inc ("Philosophy"): Update comment about
33088 exception testing.
33089 (OVERFLOW_EXCEPTION): Define.
33090 (OVERFLOW_EXCEPTION_OK): Likewise.
33091 (INVALID_EXCEPTION_OK): Renumber.
33092 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33093 (IGNORE_ZERO_INF_SIGN): Likewise.
33094 (test_exceptions): Handle FE_OVERFLOW.
33095 (exp10_test): Expect overflow exceptions.
33096 (exp2_test): Likewise.
33097 (expm1_test): Likewise.
33098 (nextafter_test): Likewise.
33099 (pow_test): Likewise.
33100 (scalbn_test): Likewise.
33101 (scalbln_test): Likewise.
33102
95443d88
L
331032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33104
33105 * sysdeps/x86_64/bits/atomic.h
33106 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33107 64bit integer.
33108 (atomic_exchange_acq): Likewise.
33109 (__arch_exchange_and_add_body): Likewise.
33110 (__arch_add_body): Likewise.
33111 (atomic_add_negative): Likewise.
33112 (atomic_add_zero): Likewise.
33113
490df6c4
L
331142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33115
c2722551 33116 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33117 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33118
5e52b189
L
331192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33122 Check __x86_64__ instead of __WORDSIZE.
33123
a9879d4c
L
331242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33125
33126 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33127
5df98260
DM
331282012-03-19 David S. Miller <davem@davemloft.net>
33129
e1497744
DM
33130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33131
5df98260
DM
33132 * sysdeps/sparc/fpu/fenv_private.h: New file.
33133 * sysdeps/sparc/fpu/math_private.h: Use it.
33134 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33135 Remove.
57f41c40 33136 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33137 (libc_feholdexcept_setroundl): Remove.
33138 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33139 Remove.
33140 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33141 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33142
b4c35121
L
331432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33144
33145 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33146 int64_t instead of long int.
33147 (INSERT_WORDS64): Likwise.
33148
56965fd7
L
331492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33150
33151 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33152 _Unwind_GetCFA return to _Unwind_Ptr first.
33153
83d1aec8
JM
331542012-03-19 Joseph Myers <joseph@codesourcery.com>
33155
1897ad44
JM
33156 [BZ #13629]
33157 * math/s_clog.c: Include <float.h>.
33158 (__clog): Scale large or subnormal inputs.
33159 * math/s_clogf.c: Likewise.
33160 * math/s_clogl.c: Likewise.
33161 * math/s_clog10.c: Include <float.h>.
33162 (M_LOG10_2): Define.
33163 (__clog10): Scale large or subnormal inputs.
33164 * math/s_clog10f.c: Likewise.
33165 * math/s_clog10l.c: Likewise.
33166 * math/libm-test.inc (clog_test): Add more tests.
33167 (clog10_test): Likewise.
33168 * sysdeps/i386/fpu/libm-test-ulps: Update.
33169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33170
7726d6a9
JM
33171 [BZ #11451]
33172 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33173 x and y.
33174 * math/libm-test.inc (atan2_test): Add another test.
33175
83d1aec8
JM
33176 * Makerules (common-objdir-compile): Remove.
33177 * sysdeps/unix/Makefile (config-generated): Do not add
33178 $(unix-generated) to variable.
33179 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33180 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33181 Remove rule.
33182 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33183 Likewise.
33184 [generic bits/local_lim.h] (before-compile): Do not append to
33185 variable.
33186 [generic bits/local_lim.h] (common-generated): Likewise.
33187 [generic sys/param.h] (before-compile): Do not append to variable.
33188 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33189 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33190 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33191 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33192 include.
33193 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33194 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33195 [generic sys/param.h] ($(addprefix
33196 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33197 [generic sys/param.h] (common-generated): Do not append to
33198 variable.
33199 [generic sys/param.h] (sysdep_headers): Likewise.
33200 [generic bits/errno.h] (before-compile): Do not append to
33201 variable.
33202 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33203 rule.
33204 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33205 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33206 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33207 [generic bits/errno.h] (common-generated): Do not append to
33208 variable.
33209 [generic bits/ioctls.h] (before-compile): Do not append to
33210 variable.
33211 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33212 rule.
33213 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33214 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33215 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33216 rule.
33217 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33218 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33219 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33220 [generic bits/ioctls.h] (common-generated): Do not append to
33221 variable.
33222 [generic sys/syscall.h] (syscall.h): Remove variable.
33223 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33224 rule.
33225 [generic sys/syscall.h] (before-compile): Do not append to
33226 variable.
33227 [generic sys/syscall.h] (common-generated): Likewise.
33228 * sysdeps/unix/errnos-tmpl.c: Remove file.
33229 * sysdeps/unix/errnos.awk: Likewise.
33230 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33231 * sysdeps/unix/ioctls.awk: Likewise.
33232 * sysdeps/unix/mk-local_lim.c: Likewise.
33233 * sysdeps/unix/snarf-ioctls: Likewise.
33234
4851a949
RH
332352012-03-19 Richard Henderson <rth@twiddle.net>
33236
bd37f2ee
RH
33237 * sysdeps/i386/fpu/fenv_private.h: New file.
33238 * sysdeps/i386/fpu/math_private.h: Use it.
33239 (math_opt_barrier, math_force_eval): Remove.
33240 (libc_feholdexcept_setround_53bit): Remove.
33241 (libc_feupdateenv_53bit): Remove.
33242 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33243 (math_opt_barrier, math_force_eval): Remove.
33244 (libc_feholdexcept): Remove.
33245 (libc_feholdexcept_setround): Remove.
33246 (libc_fetestexcept, libc_fesetenv): Remove.
33247 (libc_feupdateenv_test): Remove.
33248 (libc_feupdateenv, libc_feholdsetround): Remove.
33249 (libc_feresetround): Remove.
33250
d0adc922
RH
33251 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33252 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33253
0fe0f1f8
RH
33254 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33255 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33256 (libc_feupdateenv_testl): New.
33257 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33258 (libc_feupdateenv_testf): New.
33259 (libc_feupdateenv): Use libc_feupdateenv_test.
33260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33261 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33262
eb92c487
RH
33263 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33264 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33265 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33266 (libc_feresetround_noex): New.
33267 (libc_feresetround_noexf): New.
33268 (libc_feresetround_noexl): New.
33269 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33270 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33271 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33272 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33273 SET_RESTORE_ROUND.
33274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33275 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33276 (__cos): Likewise.
33277 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33278 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33279 SET_RESTORE_ROUND_NOEX.
33280 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33281 SET_RESTORE_ROUND_NOEXF.
33282 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33283 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33284 (libc_feholdsetroundf): New.
33285 (libc_feresetround, libc_feresetroundf): New.
33286
7d2e8012
RH
33287 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33288 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33289 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33290
b4dabbb4
RH
33291 * sysdeps/generic/math_private.h: Include <fenv.h>.
33292 (default_libc_feholdexcept): New.
33293 (default_libc_feholdexcept_setround): New.
33294 (default_libc_fesetenv, default_libc_feupdateenv): New.
33295 (libc_feholdexcept): Only define if undefined.
33296 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33297 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33298 (libc_feholdexcept_setroundl): Likewise.
33299 (libc_feholdexcept_setround_53bit): Likewise.
33300 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33301 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33302 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33303 (libc_feupdateenv_53bit): Likewise.
33304 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33305 (libc_feholdexcept): Convert from macro to inline function.
33306 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33307 (libc_fesetenv, libc_feupdateenv): Likewise.
33308
4851a949
RH
33309 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33310 not previously defined.
33311 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33312 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33313 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33314 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33315 * sysdeps/ieee754/flt-32/math_private.h: New file.
33316 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33317 math_private.h below SET_FLOAT_WORD.
33318 (__isnan, __isinf_ns, __finite): Remove.
33319 (__isnanf, __isinf_nsf, __finitef): Remove.
33320
e79d442e
AS
333212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33322
33323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33324
90b80344
DM
333252012-03-17 David S. Miller <davem@davemloft.net>
33326
33327 [BZ #6471]
33328 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33329 for 2.16.
33330
edc21804
DM
333312012-03-16 David S. Miller <davem@davemloft.net>
33332
77e927af
DM
33333 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33334 warnings.
33335
374976dd
DM
33336 [BZ #6471]
33337 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33338 properly.
33339 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33340 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33341 sysdep_routines when subdir is sysvipc.
33342 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33343 __getshmlba helper.
33344
edc21804
DM
33345 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33346
473c3ef3
L
333472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33348
33349 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33350 [__LP64__].
33351
eb0f39b6
L
333522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33353
33354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33355 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33356 (__lround): Renamed to ...
33357 (__llround): This. Replace long int with long long int.
33358 Define lround functions as aliases of llround functions.
33359 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33360
6b6cd74b
L
333612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33364 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33365 adresses to uintptr_t. Replace "long int" and "unsigned long
33366 int" with "greg_t" on va_arg.
33367
f1a77b01
L
333682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33369
33370 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33371 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33372
33373 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33374 Move e_machine check before EI_CLASS check. Handle x32
33375 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33376 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33377 SKIP_EM_IA_64 and include
33378 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33379
33380 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33381 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33382 (add_system_dir): New macro.
33383
33384 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33385 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33386
11b90b9f
JM
333872012-03-16 Joseph Myers <joseph@codesourcery.com>
33388
c36e1d23
JM
33389 [BZ #2551]
33390 [BZ #2552]
33391 [BZ #2553]
33392 [BZ #2554]
33393 [BZ #2562]
33394 [BZ #2563]
33395 [BZ #2565]
33396 [BZ #2566]
33397 [BZ #2576]
33398 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33399 (y0): Likewise.
33400 * math/w_j0f.c (j0f): Likewise.
33401 (y0f): Likewise.
33402 * math/w_j0l.c (__j0l): Likewise.
33403 (__y0l): Likewise.
33404 * math/w_j1.c (j1): Likewise.
33405 (y1): Likewise.
33406 * math/w_j1f.c (j1f): Likewise.
33407 (y1f): Likewise.
33408 * math/w_j1l.c (__j1l): Likewise.
33409 (__y1l): Likewise.
33410 * math/w_jn.c (jn): Likewise.
33411 (yn): Likewise.
33412 * math/w_jnf.c (jnf): Likewise.
33413 (ynf): Likewise.
33414 * math/w_jnl.c (__jnl): Likewise.
33415 (__ynl): Likewise.
33416 * math/libm-test.inc (j0_test): Add more tests.
33417 (j1_test): Likewise.
33418 (jn_test): Likewise. Add trailing semicolon to existing test.
33419 (y0_test): Likewise.
33420 (y1_test): Likewise.
33421 * sysdeps/i386/fpu/libm-test-ulps: Update.
33422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33423
11b90b9f
JM
33424 [BZ #13851]
33425 [BZ #13854]
33426 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33427 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33428 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33429 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33430 (__tanl): Set errno for infinite argument.
33431 * sysdeps/i386/fpu/mptan.c: Remove.
33432 * sysdeps/i386/fpu/s_tan.S: Likewise.
33433 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33434 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33435 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33436 * math/libm-test.inc (tan_test): Add more tests and enable more
33437 tests for double and long double.
33438 * sysdeps/i386/fpu/libm-test-ulps: Update.
33439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33440
6a1bd2a1
JK
334412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33442
33443 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33444 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33445
10a803e0
RM
334462012-03-16 Roland McGrath <roland@hack.frob.com>
33447
33448 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33449 * configure.in: Use it for both main tree and add-ons.
33450 * configure: Regenerated.
33451
f196c7f7
L
334522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33453
33454 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33455
8848d99d
JM
334562012-03-16 Joseph Myers <joseph@codesourcery.com>
33457
96cbe7f4
JM
33458 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33459 in comment.
33460
8848d99d
JM
33461 [BZ #13851]
33462 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33463 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33467 infinite argument.
33468 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33470 != 0 for prec == 2.
33471 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33472 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33473 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33474 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33475 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33476 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33477 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33478 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33479 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33480 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33481 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33482 * math/libm-test.inc (cos_test): Add more tests and enable more
33483 tests for long double.
33484 (sin_test): Likewise.
33485 (sincos_test): Likewise.
33486 * sysdeps/i386/fpu/libm-test-ulps: Update.
33487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33488
dd7f4703
DM
334892012-03-16 David S. Miller <davem@davemloft.net>
33490
33491 * sysdeps/sparc/fpu/math_private.h: New file.
33492
006f1daa
DM
334932012-03-15 David S. Miller <davem@davemloft.net>
33494
c0c83bc8
DM
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33496 file.
e6a62e18 33497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33499 file.
e6a62e18
DM
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33506 sysdep routines.
33507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33508
88cb87d9
DM
33509 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33510 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33511
006f1daa 33512 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33514 sparc-ifunc.h
006f1daa 33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33517 Likewise.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33519 Likewise.
006f1daa
DM
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33524 Likewise.
006f1daa
DM
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33530 Likewise.
33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33532 Likewise.
006f1daa
DM
33533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33557
11e0098e
AS
335582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33559
33560 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33561 scaling.
33562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33563
e85b09d0
AJ
335642012-03-15 Andreas Jaeger <aj@suse.de>
33565
33566 [BZ #13852]
33567 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33568 ieee754/flt-32 implementation for sin, cos and sincos.
33569 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33570 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33571 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33572 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33573 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33574 ieee754/flt-32 implementation for tan.
33575
33576 * math/libm-test.inc (cos_test): Enable some large input tests for
33577 float as well
33578 (sin_test): Likewise.
33579 (sincos_test): Likewise.
33580 (tan_test): Add tests for large input.
33581
33582 * sysdeps/i386/fpu/libm-test-ulps: Update.
33583
81c64153
AJ
335842012-03-15 Andreas Jaeger <aj@suse.de>
33585
33586 [BZ #13658]
33587 * math/libm-test.inc (cos_test): Add more test cases.
33588 (sin_test): Likewise.
33589 (sincos_test): Likewise.
33590
7bbfa5c6
AJ
335912012-03-15 Andreas Jaeger <aj@suse.de>
33592
33593 [BZ #13837]
33594 * math/libm-test.inc (cos_test): Add a test case for large input
33595 value.
33596 (sin_test): Likewise.
33597 (sincos_test): Likewise.
33598
57f41c40
AS
335992012-03-15 Andreas Jaeger <aj@suse.de>
33600 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33601
33602 [BZ #13658]
0671f479 33603 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33604 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33605 * sysdeps/i386/fpu/branred.c: Likewise.
33606 * sysdeps/i386/fpu/dosincos.c: Likewise.
33607 * sysdeps/i386/fpu/mpa.c: Likewise.
33608 * sysdeps/i386/fpu/s_cos.S: Likewise.
33609 * sysdeps/i386/fpu/s_sin.S: Likewise.
33610 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33611 * sysdeps/i386/fpu/sincos32.c: Likewise.
33612
33613 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33614 Define.
33615 (libc_feupdateenv_53bit): Define.
33616 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33617 Define.
33618 (libc_feupdateenv_53bit): Define.
33619
33620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33621 53 bit (without extend i386 double precision).
33622
33623 * math/libm-test.inc (sincos_test): Add tests for large input.
33624 (sin): Likewise.
33625 (cos): Likewise.
33626
33627 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33628
9cad04ea
AS
336292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33630
33631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33632
f7062b9a
DM
336332012-03-15 David S. Miller <davem@davemloft.net>
33634
33635 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33636 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33637 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33638 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33651 file.
f7062b9a 33652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33654 file.
f7062b9a 33655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33657 file.
f7062b9a 33658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33660 file.
f7062b9a
DM
33661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33662 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33663 fmin/fmax sysdep routines.
33664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33665
7bd951ff
DM
336662012-03-14 David S. Miller <davem@davemloft.net>
33667
559398ab
DM
33668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33672 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33676 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33692 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33697 routines.
33698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33699 file.
559398ab 33700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33702 file.
559398ab 33703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33705 file.
559398ab 33706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33708 file.
559398ab 33709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33711 file.
559398ab 33712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33714 file.
33715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33716 file.
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33718 file.
33719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33720 file.
33721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33722 New file.
33723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33724 file.
33725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33726 file.
559398ab 33727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33729 file.
559398ab 33730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33732 file.
559398ab 33733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33735 file.
559398ab 33736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33738 VIS3 routines.
559398ab
DM
33739
33740 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33741 New file.
33742
5a1c1e32
DM
33743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33744
eae47a36
DM
33745 * sysdeps/sparc/configure.in: New file.
33746 * sysdeps/sparc/configure: Generate.
33747 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33748 * configure: Regenerate.
33749 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33750 * config.make.in (have-as-vis3): New.
33751 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33752 available use -Av9d instead of -Av9a.
33753 * sysdeps/sparc/sparc64/Makefile: Likewise.
33754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33756 New file.
33757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33758 file.
33759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33760 New file.
33761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33762 file.
eae47a36
DM
33763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33764 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33765 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33766 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33768
c0c83bc8
DM
33769 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33770 fzeros/fnegs to load 0x80000000 into a float register instead of
33771 using the stack.
7bd951ff
DM
33772 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33773
bd951ccb
JM
337742012-03-14 Joseph Myers <joseph@codesourcery.com>
33775
33776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33777 bits/syscall.h.
33778 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33779 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33780 ($(inst_includedir)/bits/syscall.h): Remove rule.
33781 ($(objpfx)bits/syscall.d): Include instead of
33782 $(objpfx)syscall-list.d.
33783 (generated): Change syscall-list.h and syscall-list.d to
33784 bits/syscall.h and bits/syscall.d.
33785
bb4e6db2
RM
337862012-03-14 Roland McGrath <roland@hack.frob.com>
33787
33788 [BZ #13846]
33789 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33790
aa4a2ae1
JM
337912012-03-14 Joseph Myers <joseph@codesourcery.com>
33792
e456826d
JM
33793 [BZ #13841]
33794 * math/s_csqrt.c: Include <float.h>.
33795 (__csqrt): Scale large or subnormal inputs.
33796 * math/s_csqrtf.c: Likewise.
33797 * math/s_csqrtl.c: Likewise.
33798 * math/libm-test.inc (csqrt_test): Add more tests.
33799 * sysdeps/i386/fpu/libm-test-ulps: Update.
33800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33801
aa4a2ae1
JM
33802 [BZ #13840]
33803 * math/libm-test.inc (hypot_test): Add more tests.
33804
7c10fd35
DM
338052012-03-13 David S. Miller <davem@davemloft.net>
33806
33807 [BZ #13840]
33808 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33809 double-precision for the calculation instead of scaling.
33810
f453b98b
JM
338112012-03-13 Joseph Myers <joseph@codesourcery.com>
33812
33813 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33814 manipulate bits before adding and subtracting TWO52[sx].
33815 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33816 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33817 Likewise.
33818 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33819
09a3453f
DM
338202012-03-13 David S. Miller <davem@davemloft.net>
33821
8e59da90
DM
33822 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33823 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33825 rtld-global-offsets.h
33826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33827
2a8ab7f2
DM
33828 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33829 large parameters.
33830
10f62770
DM
33831 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33832
5f0bdb18
DM
33833 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33834 'err' in the ifdef scope in which it is actually used.
33835
09a3453f
DM
33836 * nss/nss_db/db-init.c: Include string.h
33837
b4b2eb5e
DM
338382012-03-12 David S. Miller <davem@davemloft.net>
33839
98bb2f1c
DM
33840 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33841 masking out of the most significant byte of random value used.
33842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33843 Fix coding style in previous change.
33844
b4b2eb5e
DM
33845 * sysdeps/unix/sysv/linux/kernel-features.h
33846 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33847 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33848 expression.
33849 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33850 later.
33851
6e226b09
DM
338522012-03-11 David S. Miller <davem@davemloft.net>
33853
a1bcbd40
DM
33854 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33855 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33857 for 'resultvar' otherwise things get truncated on 64-bit.
33858
cb9d6174
DM
33859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33860 Fix masking out of the most significant byte of random value used.
33861
6e226b09
DM
33862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33863
058c132d
AS
338642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33865
33866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33867
2d2cd515
DM
338682012-03-09 David S. Miller <davem@davemloft.net>
33869
33870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33871 variables with appropriate CPP guards.
57f41c40
AS
33872 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33873 from the frame pointer, not the stack pointer. Correct layout
33874 comments. Fix test on resulting framesize and the management of
33875 the outregs buffer for pltexit. Preserve floating point return
33876 values across _dl_call_pltexit call.
2d2cd515
DM
33877 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33878 framesize and the management of the outregs buffer for pltexit.
33879 Preserve floating point return values across _dl_call_pltexit
33880 call.
57f41c40
AS
33881 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33882 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33883 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33884 (print_exit): Fix format string for return register value.
33885
9a07f9d0
JM
338862012-03-10 Joseph Myers <joseph@codesourcery.com>
33887
33888 * sunrpc/Makefile (others): Add rpcgen.
33889 ($(objpfx)rpcgen): Remove special build rule and dependency on
33890 libc.
33891 * sunrpc/rpcgen.c: New file.
33892
547b5e30
PE
338932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33894
c524201a
PE
33895 [BZ #13673]
33896 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33897 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33898 * sysdeps/i386/crti.S: Likewise.
33899 * sysdeps/i386/crtn.S: Likewise.
33900 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33901 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33902 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33903 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33904 * sysdeps/sh/crti.S: Likewise.
33905 * sysdeps/sh/crtn.S: Likewise.
33906 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33907
7b6235f2
PE
33908 [BZ #13673]
33909 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33910 with URL.
33911 * locale/programs/locfile-kw.gperf: Likewise.
33912 * locale/programs/charmap-kw.h: Regenerated.
33913 * locale/programs/locfile-kw.h: Likewise.
33914
547b5e30
PE
33915 [BZ #13673]
33916 * intl/plural.y: Replace FSF snail mail address with URL.
33917 * intl/plural.c: Regenerated.
33918
5f0a5dae
RH
339192012-03-09 Richard Henderson <rth@twiddle.net>
33920
33921 * include/math_private.h: Remove file.
33922 * math/math_private.h: Move file ...
33923 * sysdeps/generic/math_private.h: ... here.
33924
b8c03620
RH
33925 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33926 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33927 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33928
4e234f5d 33929 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33930 and <math_private.h>.
33931 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33932 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33933 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33934 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33935 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33936 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33939 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33940 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33942 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33943 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33945 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33946 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33947 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33948 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33949 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33950 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33955 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33956 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33965 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33966 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33967 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33968 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33969 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33973 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33974 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33975 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33984 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33985 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33986 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33988 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33998 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34000 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34003 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34005 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34013 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34014 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34019 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34020 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34021 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34022 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34023 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34024 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34025 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34026 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34027 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34028 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34029 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34030 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34031 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34032 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34033 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34034 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34035 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34036 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34037 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34038 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34039 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34040 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34041 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34042 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34043 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34044 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34045 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34046 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34047 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34048 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34049 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34050 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34051 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34052 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34054 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34055 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34056 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34057 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34058 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34059 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34060 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34061 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34062 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34064 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34065 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34066 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34067 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34068 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34069 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34070 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34071 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34072 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34073 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34074 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34075 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34076 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34077 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34078 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34079 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34080 * sysdeps/ieee754/k_standard.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34124 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34131 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34132 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34133 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34164 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34167 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34168 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34169 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34184 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34185 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34186 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34188 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34190 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34191 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34196 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34198 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34200 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34201 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34202 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34203 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34208 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34216 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34217 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34219 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34220 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34221 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34224 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34229 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34230 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34231 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34235 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34236 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34237 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34238 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34241 * sysdeps/ieee754/s_lib_version.c: Likewise.
34242 * sysdeps/ieee754/s_matherr.c: Likewise.
34243 * sysdeps/ieee754/s_signgam.c: Likewise.
34244 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34245 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34247 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34248 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34249 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34250 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34251 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34252 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34253 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34254 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34255 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34256 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34257 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34258 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34259 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34260 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34261 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34262 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34265
1991fa03
JM
342662012-03-09 Joseph Myers <joseph@codesourcery.com>
34267
34268 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34269 * sunrpc/rpc_main.c: Likewise.
34270 * sunrpc/rpc_svcout.c: Likewise.
34271
60d6f5a6
DM
342722012-03-09 David S. Miller <davem@davemloft.net>
34273
34274 * include/math_private.h: New file.
34275
4962050e
JM
342762012-03-09 Joseph Myers <joseph@codesourcery.com>
34277
02a6f887
JM
34278 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34279 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34280 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34281 from <bits/socket_type.h>.
34282 (enum __socket_type): Don't define here.
34283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34285 bits/socket_type.h.
34286
c6e013c1
JM
34287 [BZ #13566]
34288 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34289 checking __USE_GNU.
34290
4962050e
JM
34291 * Makerules ($(inst_includedir)/%.h): New rule.
34292 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34293 (install-others): Remove variable setting.
34294 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34295
38842f45
RH
342962012-03-08 Richard Henderson <rth@twiddle.net>
34297
67bb6da6
RH
34298 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34299 from macro to inline function; merge with the
34300 !__LIBC_INTERNAL_MATH_INLINES version.
34301 (__ieee754_sqrtf): Likewise.
34302
15194b4b
RH
34303 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34304 to inline function.
34305 (__rintf, __floor, __floorf): Likewise.
34306
64e21ede
RH
34307 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34308 macro to inline function.
34309 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34310
38842f45
RH
34311 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34312 not <math/math_private.h>.
34313
c64bf5fe
DM
343142012-03-08 David S. Miller <davem@davemloft.net>
34315
34316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34317 copyright year.
34318 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34319
82d86f28
TS
343202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34321
34322 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34323 normalization.
34324 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34325 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34326
aea5d727
UD
343272012-03-08 Ulrich Drepper <drepper@gmail.com>
34328
34329 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34330 be defined individually, they must be defined as a block. Define
34331 S for printing a string instead of hidint the different by using a
34332 macro for adding the 'l'.
34333 * stdio-common/tst-fphex-wide.c: Adjust.
34334
70bca0a3
MP
343352012-03-07 Marek Polacek <polacek@redhat.com>
34336
34337 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34338
65b81130
MP
343392012-03-08 Marek Polacek <polacek@redhat.com>
34340
34341 [BZ #13806]
34342 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34343 * stdio-common/tst-fphex.c: Define a few macros to make the
34344 test reusable. Use them.
34345 * stdio-common/tst-fphex-wide.c: New file.
34346
07037eeb
JM
343472012-03-08 Joseph Myers <joseph@codesourcery.com>
34348
a7a93d50
JM
34349 [BZ #6911]
34350 * manual/macros.texi (gnusystems): New macro.
34351 (nongnusystems): Likewise.
34352 (gnulinuxhurdsystems): Likewise.
34353 (gnuhurdsystems): Likewise..
34354 (gnulinuxsystems): Likewise.
34355 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34356 variants of the GNU system, not "GNU system".
34357 * manual/conf.texi: Likewise.
34358 * manual/errno.texi: Likewise. Update example of errno macro
34359 expansion.
34360 * manual/filesys.texi: Likewise.
34361 (getumask): Document as specific to GNU/Hurd.
34362 * manual/install.texi: Likewise. Reword some references to
34363 GNU/Linux.
34364 * manual/intro.texi: Likewise.
34365 * manual/io.texi: Likewise.
34366 (File Name Portability): Detail which constraints are inapplicable
34367 to all GNU systems and which are only inapplicable to GNU/Hurd.
34368 * manual/job.texi: Likewise.
34369 * manual/llio.texi: Likewise.
34370 (O_NOCTTY): Document as present on GNU/Linux.
34371 * manual/maint.texi: Likewise.
34372 * manual/memory.texi: Likewise.
34373 * manual/pattern.texi: Likewise.
34374 * manual/pipe.texi: Likewise.
34375 * manual/process.texi: Likewise.
34376 * manual/resource.texi: Likewise.
34377 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34378 child on GNU/Hurd.
34379 * manual/setjmp.texi: Likewise.
34380 * manual/signal.texi: Likewise.
34381 * manual/startup.texi: Likewise.
34382 * manual/stdio.texi: Likewise.
34383 * manual/terminal.texi: Likewise.
34384 (ONLCR): Document as POSIX.
34385 (OXTABS): Document availability on GNU/Linux as XTABS.
34386 (ONOEOT): Document availability separately from other bits.
34387 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34388 * manual/time.texi: Likewise.
34389 * manual/users.texi: Likewise.
34390 * INSTALL: Regenerated.
34391 * sysdeps/gnu/errlist.c: Regenerated.
34392
07037eeb
JM
34393 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34394 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34395 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34396 puts.
34397 * configure: Regenerated.
34398
d1d3431a
JM
343992012-03-07 Joseph Myers <joseph@codesourcery.com>
34400
af6a1e37
JM
34401 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34402 default includes instead of AC_HEADER_CHECK.
34403 * sysdeps/i386/configure: Regenerated.
34404
d1d3431a
JM
34405 [BZ #10716]
34406 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34407 * math/s_cacoshf.c (__cacoshf): Likewise.
34408 * math/s_cacoshl.c (__cacoshl): Likewise.
34409 * math/s_casinh.c (__casinh): Set signs of result from argument.
34410 * math/s_casinhf.c (__casinhf): Likewise.
34411 * math/s_casinhl.c (__casinhl): Likewise.
34412 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34413 (casinh_test): Add more tests.
34414 * sysdeps/i386/fpu/libm-test-ulps: Update.
34415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34416
482ff4da
UD
344172012-03-07 Ulrich Drepper <drepper@gmail.com>
34418
872fda05
UD
34419 * po/zh_TW.po: Update from translation team.
34420
a4300c7a
UD
34421 * login/Makefile (distribute): Remove variable.
34422 * catgets/Makefile: Likewise.
34423 * mach/Makefile: Likewise.
34424 * malloc/Makefile: Likewise.
34425 * misc/Makefile: Likewise.
34426 * iconv/Makefile: Likewise.
34427 * nscd/Makefile: Likewise.
34428 * hurd/Makefile: Likewise.
34429 * manual/Makefile: Likewise.
34430 * locale/Makefile: Likewise.
34431 * intl/Makefile: Likewise.
34432 * conform/Makefile: Likewise.
34433 * nss/Makefile: Likewise.
34434 * time/Makefile: Likewise.
34435 * soft-fp/Makefile: Likewise.
34436 * dirent/Makefile: Likewise.
34437 * gmon/Makefile: Likewise.
34438 * po/Makefile: Likewise.
34439 * rt/Makefile: Likewise.
34440 * socket/Makefile: Likewise.
34441 * math/Makefile: Likewise.
34442 * signal/Makefile: Likewise.
34443 * debug/Makefile: Likewise.
34444 * elf/Makefile: Likewise.
34445 * timezone/Makefile: Likewise.
34446 * stdlib/Makefile: Likewise.
34447 * iconvdata/Makefile: Likewise.
34448 * sunrpc/Makefile: Likewise.
34449 * io/Makefile: Likewise.
34450 * argp/Makefile: Likewise.
34451 * inet/Makefile: Likewise.
34452 * hesiod/Makefile: Likewise.
34453 * grp/Makefile: Likewise.
34454 * csu/Makefile: Likewise.
34455 * wctype/Makefile: Likewise.
34456 * crypt/Makefile: Likewise.
34457 * libio/Makefile: Likewise.
34458 * string/Makefile: Likewise.
34459 * nis/Makefile: Likewise.
34460 * resolv/Makefile: Likewise.
34461 * stdio-common/Makefile: Likewise.
34462 * wcsmbs/Makefile: Likewise.
34463 * dlfcn/Makefile: Likewise.
34464 * posix/Makefile: Likewise.
34465
3b7c4e74 34466 [BZ #6959]
482ff4da
UD
34467 * timezone/Makefile: Don't install timezone files, just the programs
34468 and scripts.
34469
f72ed77d
UD
344702012-03-06 Ulrich Drepper <drepper@gmail.com>
34471
a000466f
UD
34472 * nss/databases.def: Add missing gshadow entry.
34473
f72ed77d
UD
34474 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34475
a53b7a4e
MP
344762012-03-06 Marek Polacek <polacek@redhat.com>
34477
34478 [BZ #13726]
34479 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34480 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34481 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34482 * stdio-common/tst-long-dbl-fphex.c: New file.
34483
e9258400
DM
344842012-03-06 David S. Miller <davem@davemloft.net>
34485
34486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34487 (set_obp_int): New function.
34488 (get_obp_int): New function.
34489 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34490 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34491 Avoid unused variable warnings on 'val' and use builtin_expect.
34492 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34493 __builtin_expect.
e9258400
DM
34494 (INLINE_CLONE_SYSCALL): Likewise.
34495
3bd2c723
DM
344962012-03-05 David S. Miller <davem@davemloft.net>
34497
34498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34499
bbb78d03
AS
345002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34501
884c5db4
AS
34502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34503
bbb78d03
AS
34504 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34505 only for |x| >= 40.
34506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34507
1c9f702a 345082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34509
34510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34511 Replace gettimeofday with __vdso_gettimeofday.
34512
7be16f82
RM
34513 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34514 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34515 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34516
34517 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34518 time with __vdso_time.
34519
ed58a00f
JM
345202012-03-05 Joseph Myers <joseph@codesourcery.com>
34521
34522 * manual/lang.texi (size_t): Note types to which size_t may be
34523 equivalent with the GNU C Library, but do not describe when
34524 differences between them are significant.
34525
30ee4ced
AJ
345262012-03-05 Andreas Jaeger <aj@suse.de>
34527
34528 * sysdeps/i386/fpu/libm-test-ulps: Update.
34529
b7cd39e8
JM
345302012-03-05 Joseph Myers <joseph@codesourcery.com>
34531
34532 [BZ #3976]
34533 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34534 (__ieee754_pow): Save and restore rounding mode and use
34535 round-to-nearest for main computations.
34536 * math/libm-test.inc (pow_test_tonearest): New function.
34537 (pow_test_towardzero): Likewise.
34538 (pow_test_downward): Likewise.
34539 (pow_test_upward): Likewise.
34540 (main): Call the new functions.
34541 * sysdeps/i386/fpu/libm-test-ulps: Update.
34542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34543
34544 [BZ #3976]
34545 * math/libm-test.inc (cosh_test_tonearest): New function.
34546 (cosh_test_towardzero): Likewise.
34547 (cosh_test_downward): Likewise.
34548 (cosh_test_upward): Likewise.
34549 (sinh_test_tonearest): Likewise.
34550 (sinh_test_towardzero): Likewise.
34551 (sinh_test_downward): Likewise.
34552 (sinh_test_upward): Likewise.
34553 (main): Call the new functions.
34554 * sysdeps/i386/fpu/libm-test-ulps: Update.
34555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34556
6c6a98c9
TV
345572012-03-05 Tom de Vries <tom@codesourcery.com>
34558
34559 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34560 default stack guard is set in last bytes.
34561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34562
21bb2d2e 345632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34564
21bb2d2e 34565 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34566
21bb2d2e
AJ
34567 [BZ #13656]
34568 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34569 possibly allocate from heap instead of stack.
34570 * stdio-common/bug-vfprintf-nargs.c: New file.
34571 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34572
c6922934
AS
345732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34574
34575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34576
bc957d53
MP
345772012-03-03 Marek Polacek <polacek@redhat.com>
34578
34579 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34580 * math/math_private.h: Likewise.
34581 * stdlib/tst-strtod.c: Likewise.
34582 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34583 * sysdeps/x86_64/bits/atomic.h: Likewise.
34584
6358490d
DM
345852012-03-02 David S. Miller <davem@davemloft.net>
34586
34587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34591 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34592 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34593 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34594 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34595
01ae168d
RM
345962012-03-02 Roland McGrath <roland@hack.frob.com>
34597
d9a17c07
RM
34598 [BZ #13792]
34599 * manual/examples/README: New file, says the example source files
34600 can be used under GPL>=2.
34601 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34602 line containing just "*/".
34603 * manual/examples/add.c: Add copyright header (GPL>=2).
34604 * manual/examples/argp-ex1.c: Likewise.
34605 * manual/examples/argp-ex2.c: Likewise.
34606 * manual/examples/argp-ex3.c: Likewise.
34607 * manual/examples/argp-ex4.c: Likewise.
34608 * manual/examples/atexit.c: Likewise.
34609 * manual/examples/db.c: Likewise.
34610 * manual/examples/dir.c: Likewise.
34611 * manual/examples/dir2.c: Likewise.
34612 * manual/examples/execinfo.c: Likewise.
34613 * manual/examples/filecli.c: Likewise.
34614 * manual/examples/filesrv.c: Likewise.
34615 * manual/examples/fmtmsgexpl.c: Likewise.
34616 * manual/examples/genpass.c: Likewise.
34617 * manual/examples/inetcli.c: Likewise.
34618 * manual/examples/inetsrv.c: Likewise.
34619 * manual/examples/isockad.c: Likewise.
34620 * manual/examples/longopt.c: Likewise.
34621 * manual/examples/memopen.c: Likewise.
34622 * manual/examples/memstrm.c: Likewise.
34623 * manual/examples/mkfsock.c: Likewise.
34624 * manual/examples/mkisock.c: Likewise.
34625 * manual/examples/mygetpass.c: Likewise.
34626 * manual/examples/pipe.c: Likewise.
34627 * manual/examples/popen.c: Likewise.
34628 * manual/examples/rprintf.c: Likewise.
34629 * manual/examples/search.c: Likewise.
34630 * manual/examples/select.c: Likewise.
34631 * manual/examples/setjmp.c: Likewise.
34632 * manual/examples/sigh1.c: Likewise.
34633 * manual/examples/sigusr.c: Likewise.
34634 * manual/examples/stpcpy.c: Likewise.
34635 * manual/examples/strdupa.c: Likewise.
34636 * manual/examples/strftim.c: Likewise.
34637 * manual/examples/strncat.c: Likewise.
34638 * manual/examples/subopt.c: Likewise.
34639 * manual/examples/swapcontext.c: Likewise.
34640 * manual/examples/termios.c: Likewise.
34641 * manual/examples/testopt.c: Likewise.
34642 * manual/examples/testpass.c: Likewise.
34643 * manual/examples/timeval_subtract.c: Likewise.
34644
01ae168d
RM
34645 [BZ #13792]
34646 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34647 function to ...
34648 * manual/timeval_subtract.c.texi: ... here, new file.
34649
49efa33d
DM
346502012-03-02 David S. Miller <davem@davemloft.net>
34651
34652 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34653
28afd92d
JM
346542012-03-02 Joseph Myers <joseph@codesourcery.com>
34655
804360ed
JM
34656 [BZ #3976]
34657 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34658 (__sin): Save and restore rounding mode and use round-to-nearest
34659 for all computations.
34660 (__cos): Save and restore rounding mode and use round-to-nearest
34661 for all computations.
34662 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34663 <fenv.h>.
34664 (tan): Save and restore rounding mode and use round-to-nearest for
34665 all computations.
34666 * math/libm-test.inc (cos_test_tonearest): New function.
34667 (cos_test_towardzero): Likewise.
34668 (cos_test_downward): Likewise.
34669 (cos_test_upward): Likewise.
34670 (sin_test_tonearest): Likewise.
34671 (sin_test_towardzero): Likewise.
34672 (sin_test_downward): Likewise.
34673 (sin_test_upward): Likewise.
34674 (tan_test_tonearest): Likewise.
34675 (tan_test_towardzero): Likewise.
34676 (tan_test_downward): Likewise.
34677 (tan_test_upward): Likewise.
34678 (main): Call the new functions.
34679 * sysdeps/i386/fpu/libm-test-ulps: Update.
34680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34681
a6d06d7b
JM
34682 [BZ #10135]
34683 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34684 small n, then large n, before computing and testing k+n.
34685 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34687 Likewise.
34688 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34689 Likewise.
34690 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34691 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34696 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34697 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34698 * math/libm-test.inc (scalbn_test): Add more tests.
34699 (scalbln_test): Likewise.
34700
07e12bb3
JM
34701 * manual/filesys.texi (mode_t): Describe constraints on size and
34702 signedness, not exact equivalence to a particular type.
34703 (ino_t): Likewise.
34704 (ino64_t): Likewise.
34705 (dev_t): Likewise.
34706 (nlink_t): Likewise.
34707 (blkcnt_t): Likewise.
34708 (blkcnt64_t): Likewise.
34709 * manual/llio.texi (off_t): Likewise.
34710
28afd92d
JM
34711 [BZ #3976]
34712 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34713 (__ieee754_exp): Save and restore rounding mode and use
34714 round-to-nearest for all computations.
34715 * math/libm-test.inc (exp_test_tonearest): New function.
34716 (exp_test_towardzero): Likewise.
34717 (exp_test_downward): Likewise.
34718 (exp_test_upward): Likewise.
34719 (main): Call the new functions.
34720 * sysdeps/i386/fpu/libm-test-ulps: Update.
34721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34722
b1eeb65d
CD
347232012-03-01 Chris Demetriou <cgd@google.com>
34724
34725 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34726 have predictable order.
34727
53362a4b
DM
347282012-03-01 David S. Miller <davem@davemloft.net>
34729
3c969083
DM
34730 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34731
759707de
DM
34732 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34733 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34734 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34735 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34736
dfdb8ff2
DM
34737 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34738 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34739 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34741 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34742 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34743 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34744 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34745 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34746
ead89f96
DM
34747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34748
7f66bd07
DM
34749 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34750 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34751 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34752
53362a4b
DM
34753 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34754 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34755 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34756 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34757 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34760 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34761 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34762 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34763 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34767 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34769 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34770 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34771 * sysdeps/sparc/elf/configure: Regenerated.
34772
7b1902cb
JM
347732012-03-01 Joseph Myers <joseph@codesourcery.com>
34774
bec039bc
JM
34775 * configure.in (AS, LD): Require binutils 2.20 or later.
34776 * configure: Regenerated.
34777 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34778 as required minimum version.
34779 * INSTALL: Regenerated.
34780
7b1902cb
JM
34781 [BZ #2541]
34782 [BZ #4108]
34783 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34784 before squaring exponent.
34785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34786 bottom long double and 27 bits of top long double before squaring
34787 exponent.
34788 * math/libm-test.inc (erfc_test): Add more tests.
34789 * sysdeps/i386/fpu/libm-test-ulps: Update.
34790 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34792
f775c276
KT
347932012-03-01 Kai Tietz <ktietz@redhat.com>
34794
34795 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34796 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34797 containing bit-fields.
34798 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34799 * soft-fp/single.h (_FP_UNION_S): Likewise.
34800 * soft-fp/double.h (_FP_UNION_D): Likewise.
34801
5b8a4d4a
JM
348022012-02-29 Joseph Myers <joseph@codesourcery.com>
34803
0bab47b6
JM
34804 [BZ #13786]
34805 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34806 not include ../strcmp.S.
34807 [USE_AS_STRNCASECMP_L]: Likewise.
34808 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34809 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34810 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34811 (__strncasecmp_l_ia32): Define as alias to
34812 __strncasecmp_l_nonascii.
34813
0fcad3e2
JM
34814 [BZ #5794]
34815 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34816 * sysdeps/i386/fpu/libm-test-ulps: Update.
34817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34818
5b8a4d4a
JM
34819 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34821
8fdceb2e
JL
348222012-02-29 Jeff Law <law@redhat.com>
34823
34824 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34825 out of bounds read.
34826
1f393a11
MP
348272012-02-29 Marek Polacek <polacek@redhat.com>
34828
34829 [BZ #13706]
34830 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34831 * elf/Makefile: Add rules to run tst-unused-dep.out.
34832
8847f037
DM
348332012-02-28 David S. Miller <davem@davemloft.net>
34834
34835 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34836 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34839 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34840 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34841
169d7f11
JM
348422012-02-29 Joseph Myers <joseph@codesourcery.com>
34843
34844 * math/libm-test.inc (llround_test): Move one test from
34845 lround_test. Use TEST_f_L in moved test.
34846 (lround_test): Move misplaced test to llround_test. Add testcase
34847 from bug 2561.
34848
39adf059
UD
348492012-02-28 Ulrich Drepper <drepper@gmail.com>
34850
34851 * sysdeps/x86_64/fpu/e_expf.S: New file.
34852 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34853
71b5d1c5
SB
348542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34855
34856 [BZ #13637]
34857 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34858 of remain_len that may cause incomplete multi-byte character and
34859 false match.
34860 * posix/bug-regex33.c: New file.
34861 * posix/Makefile (tests): Add bug-regex33.
34862
1f77f049
JM
348632012-02-28 Joseph Myers <joseph@codesourcery.com>
34864
34865 * manual/macros.texi: New file.
34866 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34867 * manual/libc.texinfo: Include macros.texi.
34868 * manual/creatute.texi: Likewise.
34869 * manual/install.texi: Likewise.
34870 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34871 @glibcadj{} in references to the GNU C Library.
34872 * manual/charset.texi: Likewise.
34873 * manual/conf.texi: Likewise.
34874 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34875 when not using those macros.
34876 * manual/creature.texi: Likewise.
34877 * manual/crypt.texi: Likewise.
34878 * manual/errno.texi: Likewise.
34879 * manual/filesys.texi: Likewise.
34880 * manual/header.texi: Likewise.
34881 * manual/install.texi: Likewise.
34882 * manual/intro.texi: Likewise.
34883 * manual/io.texi: Likewise.
34884 * manual/job.texi: Likewise.
34885 * manual/lang.texi: Likewise.
34886 * manual/libc.texiinfo: Likewise.
34887 * manual/llio.texi: Likewise.
34888 * manual/locale.texi: Likewise.
34889 * manual/maint.texi: Likewise.
34890 * manual/math.texi: Likewise.
34891 * manual/memory.texi: Likewise.
34892 * manual/message.texi: Likewise.
34893 * manual/nss.texi: Likewise.
34894 * manual/pattern.texi: Likewise.
34895 * manual/process.texi: Likewise.
34896 * manual/resource.texi: Likewise.
34897 * manual/search.texi: Likewise.
34898 * manual/setjmp.texi: Likewise.
34899 * manual/signal.texi: Likewise.
34900 * manual/socket.texi: Likewise.
34901 * manual/startup.texi: Likewise.
34902 * manual/stdio.texi: Likewise.
34903 * manual/string.texi: Likewise.
34904 * manual/sysinfo.texi: Likewise.
34905 * manual/syslog.texi: Likewise.
34906 * manual/terminal.texi: Likewise.
34907 * manual/time.texi: Likewise.
34908 * manual/users.texi: Likewise.
34909 * INSTALL: Regenerated.
34910 * NOTES: Regenerated.
d40c5d54 34911 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34912
450bf206
AS
349132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34914
34915 * include/dirent.h: Include <dirstream.h> before
34916 <dirent/dirent.h>.
34917
741a235b
DM
349182012-02-28 David S. Miller <davem@davemloft.net>
34919
34920 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34921 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34922 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34923 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34924
d6b5aa58
DM
349252012-02-27 David S. Miller <davem@davemloft.net>
34926
1aff59a3
DM
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34929 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34930 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34931
d6b5aa58
DM
34932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34933 frame pointer instead of stack pointer relative arg slot.
34934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34935 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34936 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34937
433f48bf
CD
349382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34939
34940 [BZ #3992]
34941 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34942
d674b76d
DM
349432012-02-27 David S. Miller <davem@davemloft.net>
34944
34945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34949 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34950 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34951 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34952 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34953
0e7727f7
JM
349542012-02-27 Joseph Myers <joseph@codesourcery.com>
34955
34956 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34957 later. Allow versions 5-9.
43be4ca2 34958 * configure: Regenerated.
0e7727f7
JM
34959 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34960 required minimum version and 4.6 as recommended version. Do not
34961 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34962 * INSTALL: Regenerated.
0e7727f7 34963
a78bc654
DM
349642012-02-27 David S. Miller <davem@davemloft.net>
34965
428d5830
DM
34966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34972 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34973 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34974
a78bc654
DM
34975 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34976 manipulate bits before adding and subtracting TWO112[sx].
34977 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34978
4579f81c
RM
349792012-02-27 Roland McGrath <roland@hack.frob.com>
34980
36c8acb4
RM
34981 [BZ #13775]
34982 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34983 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34984 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34985 being in POSIX, because they are in 1003.1-2008.
34986
84ad622b
RM
34987 * rt/tst-aio.c: Include <fcntl.h>.
34988 * rt/tst-aio7.c: Likewise.
34989 * rt/tst-aio64.c: Likewise.
34990
4579f81c
RM
34991 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34992
abd923db
JM
349932012-02-27 Joseph Myers <joseph@codesourcery.com>
34994
34995 * manual/install.texi (--with-headers): Describe headers as
34996 interface headers, not private headers.
34997 (Specific advice for GNU/Linux systems): Describe use of headers
34998 from "make headers_install", not private headers from older
34999 kernels.
43be4ca2 35000 * INSTALL: Regenerated.
abd923db
JM
35001 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35002 Change to 2.6.19.
35003 * sysdeps/unix/sysv/linux/configure: Regenerated.
35004
6664049b
JM
35005 * manual/llio.texi (fclean): Remove documentation.
35006
bb8b6697
JM
35007 * manual/Makefile (libc-texi-generated): New variable. Include
35008 version.texi.
35009 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35010 $(libc-texi-generated), not duplicated list of files.
35011 (version.texi, stamp-version): New rules.
35012 (realclean): Remove $(libc-texi-generated), not individual files
35013 from that list. Do not remove dir-add.texinfo.
35014 * manual/libc.texinfo: Comment out uses of edition numbers and
35015 references to printed manual. Remove last-updated dates.
35016 (EDITION): Comment out.
35017 (ISBN): Likewise.
35018 (VERSION, UPDATED): Remove.
35019 (version.texi): Include.
35020
12e5c3b9
AS
350212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35022
35023 * sysdeps/posix/spawni.c: Include <signal.h>.
35024 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35025 * sysdeps/pthread/aio_fsync.c: Likewise.
35026
4efeffc1 350272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35028
ba63ba08
UD
35029 * conform/Makefile (tests): Run only when not cross-compiling and
35030 when fast-check is not defined.
35031
d94a4670
UD
35032 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35033 * conform/data/limits.h-data: Fixes for POSIX2008.
35034 * conform/run-conformtest.sh: Run all tests.
35035 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35036 headers.
35037 * include/bits/dlfcn.h: Likewise.
35038 * include/langinfo.h: Likewise.
35039 * include/monetary.h: Likewise.
35040 * include/sys/poll.h: Likewise.
35041
35042 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35043 for __USE_GNU.
35044 * posix/spawn.h: Define __need_sigset_t.
35045 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35046 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35047 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35048 to get sigevent_t only.
35049 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35050 only for __USE_GNU.
35051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35052 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35053 process_vm_writev only for __USE_GNU.
35054 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35055
35056 * conform/Makefile: For now ignore errors from run-conformtest.
35057 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35058 POSIX to avoid namespace pollution. Don't prepend headers.
35059 * conform/data/aio.h-data: Fixes for POSIX testing.
35060 * conform/data/fcntl.h-data: Likewise.
35061 * conform/data/glob.h-data: Likewise.
35062 * conform/data/grp.h-data: Likewise.
35063 * conform/data/pthread.h-data: Likewise.
35064 * conform/data/pwd.h-data: Likewise.
35065 * conform/data/signal.h-data: Likewise.
35066 * conform/data/spawn.h-data: Likewise.
35067 * conform/data/stdio.h-data: Likewise.
35068 * conform/data/stdlib.h-data: Likewise.
35069 * conform/data/stropts.h-data: Likewise.
35070 * conform/data/sys/mman.h-data: Likewise.
35071 * conform/data/sys/stat.h-data: Likewise.
35072 * conform/data/sys/types.h-data: Likewise.
35073 * conform/data/sys/wait.h-data: Likewise.
35074 * conform/data/time.h-data: Likewise.
35075 * conform/data/unistd.h-data: Likewise.
35076 * conform/data/utime.h-data: Likewise.
35077
35078 * io/sys/stat.h: fchmod was always in POSIX.
35079 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35080 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35081 * rt/aio.h: Define __need_timespec before including <time.h>.
35082 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35083 struct. Add forward declaration of pthread_attr_t and use it in
35084 sigevent.
35085 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35086 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35087 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35088 always remove CLK_TCK definition.
35089
c20105c3
AS
350902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35091
35092 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35093
7a270350
UD
350942012-02-25 Ulrich Drepper <drepper@gmail.com>
35095
31341567
UD
35096 * conform/run-conformtest.sh: New file.
35097 * conform/Makefile: Run run-conformtest for tests.
35098 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35099 support.
35100
35101 * conform/data/uchar.h-data: New file.
35102 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35103 * conform/data/arpa/inet.h-data: Likewise.
35104 * conform/data/assert.h-data: Likewise.
35105 * conform/data/complex.h-data: Likewise.
35106 * conform/data/cpio.h-data: Likewise.
35107 * conform/data/ctype.h-data: Likewise.
35108 * conform/data/dirent.h-data: Likewise.
35109 * conform/data/dlfcn.h-data: Likewise.
35110 * conform/data/errno.h-data: Likewise.
35111 * conform/data/fcntl.h-data: Likewise.
35112 * conform/data/float.h-data: Likewise.
35113 * conform/data/fmtmsg.h-data: Likewise.
35114 * conform/data/fnmatch.h-data: Likewise.
35115 * conform/data/ftw.h-data: Likewise.
35116 * conform/data/glob.h-data: Likewise.
35117 * conform/data/grp.h-data: Likewise.
35118 * conform/data/iconv.h-data: Likewise.
35119 * conform/data/inttypes.h-data: Likewise.
35120 * conform/data/langinfo.h-data: Likewise.
35121 * conform/data/libgen.h-data: Likewise.
35122 * conform/data/limits.h-data: Likewise.
35123 * conform/data/locale.h-data: Likewise.
35124 * conform/data/math.h-data: Likewise.
35125 * conform/data/monetary.h-data: Likewise.
35126 * conform/data/mqueue.h-data: Likewise.
35127 * conform/data/ndbm.h-data: Likewise.
35128 * conform/data/net/if.h-data: Likewise.
35129 * conform/data/netdb.h-data: Likewise.
35130 * conform/data/netinet/in.h-data: Likewise.
35131 * conform/data/nl_types.h-data: Likewise.
35132 * conform/data/poll.h-data: Likewise.
35133 * conform/data/pthread.h-data: Likewise.
35134 * conform/data/pwd.h-data: Likewise.
35135 * conform/data/regex.h-data: Likewise.
35136 * conform/data/sched.h-data: Likewise.
35137 * conform/data/search.h-data: Likewise.
35138 * conform/data/semaphore.h-data: Likewise.
35139 * conform/data/setjmp.h-data: Likewise.
35140 * conform/data/signal.h-data: Likewise.
35141 * conform/data/spawn.h-data: Likewise.
35142 * conform/data/stdarg.h-data: Likewise.
35143 * conform/data/stdio.h-data: Likewise.
35144 * conform/data/stdlib.h-data: Likewise.
35145 * conform/data/string.h-data: Likewise.
35146 * conform/data/strings.h-data: Likewise.
35147 * conform/data/stropts.h-data: Likewise.
35148 * conform/data/sys/ipc.h-data: Likewise.
35149 * conform/data/sys/mman.h-data: Likewise.
35150 * conform/data/sys/msg.h-data: Likewise.
35151 * conform/data/sys/resource.h-data: Likewise.
35152 * conform/data/sys/select.h-data: Likewise.
35153 * conform/data/sys/sem.h-data: Likewise.
35154 * conform/data/sys/shm.h-data: Likewise.
35155 * conform/data/sys/socket.h-data: Likewise.
35156 * conform/data/sys/stat.h-data: Likewise.
35157 * conform/data/sys/statvfs.h-data: Likewise.
35158 * conform/data/sys/time.h-data: Likewise.
35159 * conform/data/sys/timeb.h-data: Likewise.
35160 * conform/data/sys/times.h-data: Likewise.
35161 * conform/data/sys/types.h-data: Likewise.
35162 * conform/data/sys/uio.h-data: Likewise.
35163 * conform/data/sys/un.h-data: Likewise.
35164 * conform/data/sys/utsname.h-data: Likewise.
35165 * conform/data/sys/wait.h-data: Likewise.
35166 * conform/data/syslog.h-data: Likewise.
35167 * conform/data/tar.h-data: Likewise.
35168 * conform/data/termios.h-data: Likewise.
35169 * conform/data/utime.h-data: Likewise.
35170 * conform/data/utmpx.h-data: Likewise.
35171 * conform/data/varargs.h-data: Likewise.
35172 * conform/data/wchar.h-data: Likewise.
35173 * conform/data/wctype.h-data: Likewise.
35174 * conform/data/wordexp.h-data: Likewise.
35175
35176 * include/stropts.h: New file.
35177 * include/uchar.h: New file.
35178 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35179 * include/assert.h: Likewise.
35180 * include/ctype.h: Likewise.
35181 * include/dirent.h: Likewise.
35182 * include/dlfcn.h: Likewise.
35183 * include/fcntl.h: Likewise.
35184 * include/fnmatch.h: Likewise.
35185 * include/glob.h: Likewise.
35186 * include/grp.h: Likewise.
35187 * include/libio.h: Likewise.
35188 * include/locale.h: Likewise.
35189 * include/math.h: Likewise.
35190 * include/net/if.h: Likewise.
35191 * include/netdb.h: Likewise.
35192 * include/netinet/in.h: Likewise.
35193 * include/pthread.h: Likewise.
35194 * include/pwd.h: Likewise.
35195 * include/regex.h: Likewise.
35196 * include/sched.h: Likewise.
35197 * include/search.h: Likewise.
35198 * include/setjmp.h: Likewise.
35199 * include/signal.h: Likewise.
35200 * include/stdio.h: Likewise.
35201 * include/stdlib.h: Likewise.
35202 * include/string.h: Likewise.
35203 * include/sys/cdefs.h: Likewise.
35204 * include/sys/mman.h: Likewise.
35205 * include/sys/msg.h: Likewise.
35206 * include/sys/resource.h: Likewise.
35207 * include/sys/select.h: Likewise.
35208 * include/sys/socket.h: Likewise.
35209 * include/sys/stat.h: Likewise.
35210 * include/sys/statvfs.h: Likewise.
35211 * include/sys/time.h: Likewise.
35212 * include/sys/times.h: Likewise.
35213 * include/sys/uio.h: Likewise.
35214 * include/sys/utsname.h: Likewise.
35215 * include/sys/wait.h: Likewise.
35216 * include/termios.h: Likewise.
35217 * include/time.h: Likewise.
35218 * include/ulimit.h: Likewise.
35219 * include/unistd.h: Likewise.
35220 * include/utime.h: Likewise.
35221 * include/wchar.h: Likewise.
35222 * include/wctype.h: Likewise.
35223 * include/wordexp.h: Likewise.
35224
35225 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35226
7a270350
UD
35227 * time/time.h: TIME_UTC must be a macro.
35228 Make timespec_get available for ISO C11 only as well.
35229
7724defc
UD
352302012-02-24 Ulrich Drepper <drepper@gmail.com>
35231
35232 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35233 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35234
6b1d1d46
JM
352352012-02-24 Joseph Myers <joseph@codesourcery.com>
35236
35237 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35238
0f8bbd69
JM
352392012-02-24 Joseph Myers <joseph@codesourcery.com>
35240
35241 * manual/texinfo.tex: Update to version 2012-01-19.16.
35242
66ab80bc
JM
352432012-02-24 Joseph Myers <joseph@codesourcery.com>
35244
35245 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35246
74981cc5
RM
352472012-02-24 Roland McGrath <roland@hack.frob.com>
35248
ee968201
RM
35249 [BZ #13738]
35250 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35251 * manual/fdl-1.3.texi: New file.
35252 * manual/fdl-1.1.texi: File removed.
35253
74981cc5
RM
35254 [BZ #13738]
35255 * manual/libc.texinfo (FDL_VERSION): New @set.
35256 Use it for mention of FDL in cover text.
35257 (Documentation License): Use it in @include file name.
35258
7bb764bc
JM
352592012-02-22 Joseph Myers <joseph@codesourcery.com>
35260 Roland McGrath <roland@hack.frob.com>
35261
35262 [BZ #5461]
57f41c40
AS
35263 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35264 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35265 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35266 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35267 name.
35268 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35269
6cbeae47
JM
352702012-02-22 Joseph Myers <joseph@codesourcery.com>
35271
35272 [BZ #2547]
35273 [BZ #11365]
35274 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35275 manipulate bits before adding and subtracting TWO23[sx].
35276 * math/libm-test.inc (nearbyint_test): Add more tests.
35277
fe45ce09
JM
352782012-02-22 Joseph Myers <joseph@codesourcery.com>
35279
35280 [BZ #2548]
35281 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35282 bits before adding and subtracting TWO23[sx].
35283 * math/libm-test.inc (rint_test): Add more tests.
35284 (rint_test_tonearest): Likewise.
35285 (rint_test_towardzero): Likewise.
35286 (rint_test_downward): Likewise.
35287 (rint_test_upward: Likewise.
35288
ff3b3d82
JM
352892012-02-22 Joseph Myers <joseph@codesourcery.com>
35290
35291 [BZ #10110]
35292 * include/stdc-predef.h: New file. Extracted from features.h.
35293 * include/features.h: Include stdc-predef.h.
35294 * Makefile (headers): Add stdc-predef.h.
35295 * CONFORMANCE (Compiler limitations): Update.
35296
ef0aab35
JM
352972012-02-22 Joseph Myers <joseph@codesourcery.com>
35298
35299 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35300
58639409
DM
353012012-02-21 David S. Miller <davem@davemloft.net>
35302
35303 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35304 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35305
c0e70b25
DM
353062012-02-20 David S. Miller <davem@davemloft.net>
35307
35308 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35309 using a normal save/restore sequence, rather than allocating a
35310 dummy stack frame just to store a frame pointer and restore.
35311 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35312
fb06851d
JM
353132012-02-21 Joseph Myers <joseph@codesourcery.com>
35314
35315 * manual/install.texi: Fix stray word in line-wrapped comment.
35316
7a8b71c3
DM
353172012-02-20 David S. Miller <davem@davemloft.net>
35318
d510c123
DM
35319 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35320 both binutils and gcc support GOTDATA.
35321
0722d7c2
DM
35322 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35323 "rd %pc" in the PIC register setup sequences.
35324
3d2b3019
DM
35325 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35326 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35327 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35328 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35329 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35334 (SYSCALL_ERROR_HANDLER): Likewise.
35335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35336 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35338 (SYSCALL_ERROR_HANDLER): Likewise.
35339
c80098a9
DM
35340 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35341 (HAVE_GCC_GOTDATA): New.
35342 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35343 relocation support in both binutils and gcc.
35344 * sysdeps/sparc/elf/configure: Regenerate.
35345
3a2545a0
DM
35346 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35347 * sysdeps/sparc/sparc32/elf/configure: Delete.
35348 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35349 * sysdeps/sparc/sparc64/elf/configure: Delete.
35350 * sysdeps/sparc/elf/configure.in: New file.
35351 * sysdeps/sparc/elf/configure: Generate.
35352
7a8b71c3
DM
35353 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35354 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35355 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35356 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35357 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35358
f1e86fca
JM
353592012-02-21 Joseph Myers <joseph@codesourcery.com>
35360
35361 * manual/install.texi: Do not mention specific glibc version
35362 numbers.
35363 * manual/libc.texinfo (VERSION, UPDATED): Update.
35364 (@copying): Use @copyright{} and range of years.
35365
0e7dfaef
JM
353662012-02-21 Joseph Myers <joseph@codesourcery.com>
35367
35368 [BZ #13695]
35369 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35370 [crti.S not in sysdirs] (generated): Do not append.
35371 [crti.S not in sysdirs] (omit-deps): Likewise.
35372 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35373 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35374 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35375 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35376 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35377 Likewise.
35378 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35379 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35380 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35381 * csu/defs.awk: Remove file.
35382 * sysdeps/generic/initfini.c: Likewise.
35383 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35384 variable.
35385 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35386 Likewise.
35387
599af3ca
JM
353882012-02-20 Joseph Myers <joseph@codesourcery.com>
35389
35390 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35391 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35392 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35393 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35395 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35396 <bits/epoll.h>.
35397 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35398 (__EPOLL_PACKED): Define to empty if not defined by
35399 <bits/epoll.h>.
35400 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35402 bits/epoll.h.
35403
0e499750
JM
354042012-02-20 Joseph Myers <joseph@codesourcery.com>
35405
35406 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35407 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35408 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35409 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35410 <bits/timerfd.h>.
35411 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35413 bits/timerfd.h.
35414
5ad91f6e
JM
354152012-02-20 Joseph Myers <joseph@codesourcery.com>
35416
35417 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35418 in C locale.
35419 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35420 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35423
06b99b02
AJ
354242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35425
35426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35427 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35428
7638c0fd
AS
354292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35430
35431 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35432 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35433 defined.
35434 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35435 Likewise.
35436 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35437 entry for 2.16.
35438
92221550
AJ
354392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35440
35441 * math/w_acos.c: Use non-signaling floating-point comparisons.
35442 * math/w_acosf.c: Likewise.
35443 * math/w_acosh.c: Likewise.
35444 * math/w_acoshf.c: Likewise.
35445 * math/w_acoshl.c: Likewise.
35446 * math/w_acosl.c: Likewise.
35447 * math/w_asin.c: Likewise.
35448 * math/w_asinf.c: Likewise.
35449 * math/w_asinl.c: Likewise.
35450 * math/w_atanh.c: Likewise.
35451 * math/w_atanhf.c: Likewise.
35452 * math/w_atanhl.c: Likewise.
35453 * math/w_exp2.c: Likewise.
35454 * math/w_exp2f.c: Likewise.
35455 * math/w_exp2l.c: Likewise.
35456 * math/w_j0.c: Likewise.
35457 * math/w_j0f.c: Likewise.
35458 * math/w_j0l.c: Likewise.
35459 * math/w_j1.c: Likewise.
35460 * math/w_j1f.c: Likewise.
35461 * math/w_j1l.c: Likewise.
35462 * math/w_jn.c: Likewise.
35463 * math/w_jnf.c: Likewise.
35464 * math/w_log.c: Likewise.
35465 * math/w_log10.c: Likewise.
35466 * math/w_log10f.c: Likewise.
35467 * math/w_log10l.c: Likewise.
35468 * math/w_log2.c: Likewise.
35469 * math/w_log2f.c: Likewise.
35470 * math/w_log2l.c: Likewise.
35471 * math/w_logf.c: Likewise.
35472 * math/w_logl.c: Likewise.
35473 * math/w_sqrt.c: Likewise.
35474 * math/w_sqrtf.c: Likewise.
35475 * math/w_sqrtl.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35478 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35479 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35480 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35481
ebaf36eb
JM
354822012-02-19 Joseph Myers <joseph@codesourcery.com>
35483
35484 [BZ #9739]
35485 * manual/string.texi (strnlen): Use correct parameter name in
35486 equivalent expression.
35487
71c254a6
JM
354882012-02-19 Joseph Myers <joseph@codesourcery.com>
35489
35490 [BZ #11174]
35491 * manual/users.texi (seteuid): Consistently use neweuid for
35492 argument name.
35493
16d2c631
JM
354942012-02-19 Joseph Myers <joseph@codesourcery.com>
35495
35496 [BZ #13704]
35497 * manual/nss.texi (Services in the NSS configuration): Correct
35498 list of services in example configuration file.
35499
cd837b09
NB
355002012-02-19 Nick Bowler <nbowler@draconx.ca>
35501
35502 [BZ #11322]
35503 * manual/arith.texi: Remove statements about negative zero
35504 behaving identically to zero.
35505
02c4bbad
JM
355062012-02-18 Joseph Myers <joseph@codesourcery.com>
35507
35508 [BZ #5993]
35509 * manual/install.texi: Do not document upgrading from libc5.
35510
366842e7
JM
355112012-02-18 Joseph Myers <joseph@codesourcery.com>
35512
35513 [BZ #4596]
35514 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35515
dd54084d
DM
355162012-02-18 David S. Miller <davem@davemloft.net>
35517
35518 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35519 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35520 %o7 across the call.
35521 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35522 instead.
35523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35524 SETUP_PIC_REG_LEAF.
35525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35526 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35527 * sysdeps/sparc/crtn.S: Likewise.
35528
2bcc53a3
UD
355292012-02-17 Ulrich Drepper <drepper@gmail.com>
35530
35531 * aout/Makefile: Remove.
35532
09c093b5
RK
355332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35534
35535 [BZ #13058]
35536 * manual/examples/argp-ex1.c (main): Format definition in GNU
35537 style.
35538 * manual/examples/argp-ex2.c (main): Likewise.
35539 * manual/examples/argp-ex3.c (main): Likewise.
35540 * manual/examples/argp-ex4.c (main): Likewise.
35541 * manual/examples/longopt.c (main): Use new-style prototype
35542 definition.
35543 * manual/examples/strncat.c (main): Specify return type and use
35544 (void) for arguments.
35545 * manual/examples/subopt.c (main): Use char **argv argument.
35546
2ee633a2
JM
355472012-02-17 Joseph Myers <joseph@codesourcery.com>
35548
35549 [BZ #5077]
35550 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35551 rounding modes.
35552
0520adde
FB
355532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35554
35555 [BZ #6907]
35556 * manual/string.texi (strchr): Change when strchrnul is
35557 recommended.
35558
3f4081cd
DGM
355592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35560
35561 [BZ #174]
35562 * manual/locale.texi (setlocale): Document LOCPATH.
35563
d1b10e78
JM
355642012-02-17 Joseph Myers <joseph@codesourcery.com>
35565
35566 [BZ #10210]
35567 * manual/process.texi (execle): Move @dots{} before last argument.
35568
79c6869c
PB
355692012-02-17 Paul Bolle <pebolle@tiscali.nl>
35570
35571 [BZ #12047]
35572 * manual/charset.texi (Generic Charset Conversion): Fix typo
35573 (LC_TYPE -> LC_CTYPE).
35574
cc6e48bc
NB
355752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35576
35577 [BZ #5805]
35578 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35579 (scalbnf): Likewise.
35580 (scalbnl): Likewise.
35581 (scalbln): Likewise.
35582 (scalblnf): Likewise.
35583 (scalblnl): Likewise.
35584 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35585 (vwarnx): Likewise.
35586 (verr): Likewise.
35587 (verrx): Likewise.
35588 * manual/filesys.texi (telldir): Use braces around return type.
35589 * manual/llio.texi (mmap): Add space after comma.
35590 (mmap64): Likewise.
35591 * manual/math.texi (jn): Use @var{} on parameter names.
35592 (jnf): Likewise.
35593 (jnl): Likewise.
35594 (yn): Likewise.
35595 (ynf): Likewise.
35596 (ynl): Likewise.
35597 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35598 line.
35599 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35600 "...".
35601 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35602 (sched_get_priority_max): Likewise.
35603 * manual/signal.texi (sigvec): Add space after comma.
35604 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35605 names.
35606 (if_indextoname): Likewise.
35607 (if_freenameindex): Likewise.
35608 (sendto): Use ',' instead of '.' in prototype.
35609 * manual/startup.texi (syscall): Use @dots{} instead of literal
35610 "...".
35611 * manual/stdio.texi (__fpending): Separate initial words of
35612 paragraph from @deftypefun line.
35613 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35614 "...".
35615 (vsyslog): Use @var{} on parameter names.
35616 * manual/terminal.texi (stty): Use @var{} on parameter names.
35617 * manual/users.texi (getutmp): Use @var{} on parameter names.
35618 (getutmpx): Likewise.
35619
5b23062f
JM
356202012-02-17 Joseph Myers <joseph@codesourcery.com>
35621
35622 [BZ #6884]
35623 * manual/stdio.texi (fopen): Fix typos in description of
35624 ",ccs=STRING".
35625
8dee4833
AJ
356262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35627
35628 [BZ #4026]
35629 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35630 get clock_id definition.
35631
9078ce93
TS
356322012-02-17 Thomas Schwinge <thomas@schwinge.name>
35633
35634 [BZ #4822]
35635 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35636 (madvise): Cast every argument to void on its own.
35637
3835c55f
JM
356382012-02-17 Joseph Myers <joseph@codesourcery.com>
35639
35640 [BZ #9902]
35641 * manual/startup.texi (Exit Status): Fix typo.
35642
35c47e37
JM
356432012-02-17 Joseph Myers <joseph@codesourcery.com>
35644
35645 [BZ #10140]
35646 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35647 * manual/examples/argp-ex2.c: Likewise.
35648 * manual/examples/argp-ex3.c: Likewise.
35649
e3b69ca7
RH
356502012-02-16 Richard Henderson <rth@redhat.com>
35651
35652 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35653 * sysdeps/s390/s390-32/initfini.c: Remove.
35654 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35655 * sysdeps/s390/s390-64/initfini.c: Remove.
35656
df83af67
KK
356572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35658
35659 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35660 compiler output for sysdeps/generic/initfini.c.
35661 * sysdeps/sh/elf/initfini.c: Remove file.
35662
f63f3380
DM
356632012-02-16 David S. Miller <davem@davemloft.net>
35664
fb59b3a4
DM
35665 [BZ #11494]
35666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35667
f63f3380
DM
35668 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35669 * sysdeps/sparc/crti.S: New file.
35670 * sysdeps/sparc/crtn.S: New file.
35671 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35672 * sysdeps/sparc/sparc64/Makefile: Likewise.
35673
df6a4a4a
MF
356742012-02-15 Mike Frysinger <vapier@gentoo.org>
35675
6dd8f3dc 35676 [BZ #3335]
df6a4a4a
MF
35677 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35678
1cac7236
RM
356792012-02-15 Roland McGrath <roland@hack.frob.com>
35680
d2c736f8
RM
35681 [BZ #4822]
35682 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35683
1cac7236
RM
35684 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35685 (write, read, close): Likewise.
35686 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35687
8e475601
JM
356882012-02-15 Joseph Myers <joseph@codesourcery.com>
35689
35690 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35691 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35692 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35693 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35694 <bits/signalfd.h>.
35695 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35697 bits/signalfd.h.
35698
ed656b40
MP
356992012-02-14 Marek Polacek <polacek@redhat.com>
35700
35701 * sysdeps/x86_64/crti.S: New file.
35702 * sysdeps/x86_64/crtn.S: New file.
35703 * sysdeps/x86_64/elf/initfini.c: Remove file.
35704
2a979d3a
JM
357052012-02-13 Joseph Myers <joseph@codesourcery.com>
35706
35707 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35708 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35709 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35710 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35711 <bits/inotify.h>.
35712 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35714 bits/inotify.h.
35715
2a418ac3
JM
357162012-02-13 Joseph Myers <joseph@codesourcery.com>
35717
35718 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35719 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35720 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35721 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35722 <bits/eventfd.h>.
35723 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35725 bits/eventfd.h.
35726
fb779be7
TS
357272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35728
e19e83c5
RM
35729 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35730 __feraiseexcept instead of feraiseexcept.
7c35ffed 35731
fb779be7
TS
35732 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35733 nanosleep invocations.
35734 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35735 strings, and add error checking for a nanosleep invocations.
35736
59ba27a6
PE
357372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35738
35739 Replace FSF snail mail address with URLs, as per GNU coding standards.
35740 Most of the snail mail addresses were wrong anyway, and omitting
35741 them makes the source code easier to maintain. Almost all of the
35742 changes are to license notices and to locale LC_IDENTIFICATION
35743 addresses, except for this one:
35744 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35745 not its snail mail address.
35746
57b957eb
RH
357472012-02-09 Richard Henderson <rth@twiddle.net>
35748
af850b1c
RH
35749 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35750 of kernel-features.h.
35751
57b957eb
RH
35752 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35753
6b73181a
MP
357542012-02-08 Marek Polacek <polacek@redhat.com>
35755
35756 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35757 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35758 * sysdeps/gnu/_G_config.h: Likewise.
35759 * sysdeps/generic/_G_config.h: Likewise.
35760
26ecc33a
AS
357612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35762
6c6dbc63
AS
35763 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35764 tests.
35765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35766
e216c012
AS
35767 * sysdeps/powerpc/powerpc32/crti.S: New file.
35768 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35769 * sysdeps/powerpc/powerpc64/crti.S: New file.
35770 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35771
26ecc33a
AS
35772 * Makeconfig (have-initfini): Don't set.
35773 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35774 * configure.in (nopic_initfini): Don't substitute.
35775 * config.h.in (HAVE_INITFINI): Don't #undef.
35776 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35777 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35778
3add8e13
JM
357792012-02-08 Joseph Myers <joseph@codesourcery.com>
35780
35781 Support crti.S and crtn.S provided directly by architectures.
35782 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35783 [crti.S in sysdirs] (omit-deps): Likewise.
35784 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35785 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35786 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35787 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35788 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35789 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35790 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35791 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35792 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35793 compiler output for sysdeps/generic/initfini.c.
35794 * sysdeps/i386/elf/Makefile: Remove file.
35795 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35796
a22f12b4
MP
357972012-02-07 Marek Polacek <polacek@redhat.com>
35798
35799 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35800 * sysdeps/gnu/_G_config.h: Likewise.
35801 * sysdeps/mach/hurd/_G_config.h: Likewise.
35802
148cf100
MP
358032012-02-07 Marek Polacek <polacek@redhat.com>
35804
35805 * math/Makefile (tests): Add tst-CMPLX2.
35806 * math/tst-CMPLX2.c: New file.
35807
cfdc0dd7
AS
358082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35809
84ba42c4
AS
35810 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35811
cfdc0dd7
AS
35812 * math/libm-test.inc (jn_test): Add missing L suffix.
35813
622c86f4
MP
358142012-02-06 Marek Polacek <polacek@redhat.com>
35815
35816 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35817 * sysdeps/i386/fpu/e_powf.S: Likewise.
35818 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35819 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35820 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35821 * sysdeps/i386/fpu/e_pow.S: Likewise.
35822 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35823 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35824 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35825 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35826 * sysdeps/i386/fpu/e_log2.S: Likewise.
35827 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35828 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35829 * sysdeps/i386/fpu/e_powl.S: Likewise.
35830 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35831 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35832 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35833 * sysdeps/i386/fpu/e_logl.S: Likewise.
35834 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35835 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35836 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35837 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35838 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35839 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35840 * sysdeps/i386/fpu/e_log.S: Likewise.
35841 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35842 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35843 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35844 * sysdeps/i386/fpu/e_logf.S: Likewise.
35845 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35847 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35848 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35849 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35850 * sysdeps/i386/fpu/e_log10.S: Likewise.
35851 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35852 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35853 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35854 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35855 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35856 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35857 * sysdeps/i386/asm-syntax.h: Likewise.
35858 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35860 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35861 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35862 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35863 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35864 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35865 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35866 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35867 * sysdeps/powerpc/sysdep.h: Likewise.
35868 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35869 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35870
d4a54ac6
JM
358712012-02-06 Joseph Myers <joseph@codesourcery.com>
35872
35873 [BZ #411]
35874 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35875
314054ea
JM
358762012-02-06 Joseph Myers <joseph@codesourcery.com>
35877
35878 * sysdeps/i386/sysdep.h: Include <features.h>.
35879 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35880 version.
35881
d8e0ca50
JM
358822012-02-05 Joseph Myers <joseph@codesourcery.com>
35883
35884 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35885 Define.
35886 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35887 LOAD_PIC_REG_STR.
35888
b1da7dd9
JM
358892012-02-03 Joseph Myers <joseph@codesourcery.com>
35890
35891 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35892 (SETUP_PIC_REG): Use GET_PC_THUNK.
35893 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35894 macro.
35895
9a1d9254
JM
358962012-02-03 Joseph Myers <joseph@codesourcery.com>
35897
35898 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35899 for non-PIC compilation.
35900 (SETUP_PIC_REG): Add .p2align directive.
35901 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35902 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35932 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35933 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35938 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35942
65dc3b75
JM
359432012-02-03 Joseph Myers <joseph@codesourcery.com>
35944
35945 * math/tst-CMPLX.c: Include <stdio.h>.
35946
d55bf177
JM
359472012-01-31 Joseph Myers <joseph@codesourcery.com>
35948
35949 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35950 float.
35951 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35952 * sysdeps/sparc/bits/mathdef.h: Likewise.
35953
69db4f8f
MP
359542012-01-31 Marek Polacek <polacek@redhat.com>
35955
35956 * libio/libio.h: Don't define _PARAMS.
35957 * locale/programs/config.h: Don't define PARAMS.
35958 * stdlib/strtol_l.c: Likewise.
35959 (__strtol_l): Remove PARAMS from the prototype.
35960
41b81892
UD
359612012-01-31 Ulrich Drepper <drepper@gmail.com>
35962
3b49edc0
UD
35963 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35964 names. Just use the correct names. Remove unnecessary wrapper
35965 functions.
35966 * malloc/arena.c: Likewise.
35967 * malloc/hooks.c: Likewise.
35968
41b81892
UD
35969 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35970 ARENA_TEST says not to. Simplify test for creation of a new arena.
35971 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35972
27a25b6e
UD
359732012-01-30 Ulrich Drepper <drepper@gmail.com>
35974
35975 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35976 into tail calls.
35977 (update_get_addr): New function.
35978 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35979 GET_ADDR_MODULE parameter.
35980
c8a89e7d
JM
359812012-01-30 Joseph Myers <joseph@codesourcery.com>
35982
35983 * crypt/cert.c: Remove __STDC__ conditionals.
35984 * crypt/crypt-entry.c: Likewise.
35985 * crypt/crypt_util.c: Likewise.
35986 * libio/filedoalloc.c: Likewise.
35987 * libio/fileops.c: Likewise.
35988 * libio/genops.c: Likewise.
35989 * libio/iofclose.c: Likewise.
35990 * libio/iofdopen.c: Likewise.
35991 * libio/iofopen.c: Likewise.
35992 * libio/iofopen64.c: Likewise.
35993 * libio/iogetdelim.c: Likewise.
35994 * libio/iopopen.c: Likewise.
35995 * libio/obprintf.c: Likewise.
35996 * libio/oldfileops.c: Likewise.
35997 * libio/oldiofclose.c: Likewise.
35998 * libio/oldiofdopen.c: Likewise.
35999 * libio/oldiofopen.c: Likewise.
36000 * libio/oldiopopen.c: Likewise.
36001 * libio/wfiledoalloc.c: Likewise.
36002 * libio/wgenops.c: Likewise.
36003 * locale/programs/xmalloc.c: Likewise.
36004 * misc/syslog.c: Likewise.
36005 * stdio-common/xbug.c: Likewise.
36006 * string/memchr.c: Likewise.
36007 * string/memcmp.c: Likewise.
36008 * string/memrchr.c: Likewise.
36009 * string/rawmemchr.c: Likewise.
36010 * sysdeps/posix/getcwd.c: Likewise.
36011 * time/strftime_l.c: Likewise.
36012
3b100462
JM
360132012-01-30 Joseph Myers <joseph@codesourcery.com>
36014
36015 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36016 * config.make.in (config-cflags-sse2avx): Define.
36017 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36018 Fix typo.
36019
607998af
CM
360202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36021
36022 * scripts/config.guess: Update from upstream config git repository.
36023 * scripts/config.sub: Likewise.
36024
3601428f
CM
360252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36026
3ac8b282
CM
36027 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36028 (EM_NUM): Update.
36029 (R_TILEPRO_*, R_TILEGX_*): New macros.
36030
e034841e
CM
36031 * scripts/firstversions.awk: Fix bug in version range handling.
36032
540d7568
CM
36033 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36034
3601428f
CM
36035 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36036
463de862
CM
36037 * include/sys/epoll.h: New file.
36038 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36039 libc_hidden_def.
36040
73139a76
UD
360412012-01-28 Ulrich Drepper <drepper@gmail.com>
36042
96bc5b45
UD
36043 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36044 Avoid unnecessary __WORDSIZE == 64 test.
36045 (fmaxf): Use VEX format if possible.
36046 (fmax): Likewise.
36047 (fminf): Likewise.
36048 (fmin): Likewise.
36049
56f6f6a2
UD
36050 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36051 * math/math_private.h: Remove libc_fegetround* and
36052 libc_fesetround*.
36053 * sysdeps/i386/configure.in: Check for -msse2avx.
36054 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36055 also if SSE2AVX is defined.
36056 Remove libc_fegetround* and libc_fesetround*.
36057 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36058 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36060 of HAS_YMM_USABLE.
36061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36066
73139a76
UD
36067 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36068
d73f93a4
AZ
360692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36070
36071 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36072 size is not set.
36073 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36074
6ee65ed6
UD
360752012-01-27 Ulrich Drepper <drepper@gmail.com>
36076
36077 [BZ #13618]
36078 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36079 relocation.
36080 * Makeconfig (libm): Define.
36081 * elf/Makefile: Add rules to build and run tst-relsort1.
36082 * elf/tst-relsort1.c: New file.
36083 * elf/tst-relsort1mod1.c: New file.
36084 * elf/tst-relsort1mod2.c: New file.
36085
8db21882
JM
360862012-01-27 Joseph Myers <joseph@codesourcery.com>
36087
36088 * math/s_ldexp.c: Remove __STDC__ conditionals.
36089 * math/s_ldexpf.c: Likewise.
36090 * math/s_ldexpl.c: Likewise.
36091 * math/s_nextafter.c: Likewise.
36092 * math/s_nexttowardf.c: Likewise.
36093 * math/s_significand.c: Likewise.
36094 * math/s_significandf.c: Likewise.
36095 * math/s_significandl.c: Likewise.
36096 * math/w_jnl.c: Likewise.
36097 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36098 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36099 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36100 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36101 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36104 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36106 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36109 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36111 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36112 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36113 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36114 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36116 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36117 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36118 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36119 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36121 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36122 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36123 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36124 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36125 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36127 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36128 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36129 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36130 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36131 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36132 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36133 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36134 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36135 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36136 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36137 * sysdeps/ieee754/k_standard.c: Likewise.
36138 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36139 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36142 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36146 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36147 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36151 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36152 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36157 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36163 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36170 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36172 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36173 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36181 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36182 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36186 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36187 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36188 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36191 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36192 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36193 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36194 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36195 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36196 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36197 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36205 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36207 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36208 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36209 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36210 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36212 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36213 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36214 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36215 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36216 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36217 * sysdeps/ieee754/s_matherr.c: Likewise.
36218 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36219 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36222
965a54a4
JM
362232012-01-26 Joseph Myers <joseph@codesourcery.com>
36224
36225 * crypt/md5.h: Remove __STDC__ conditionals.
36226 * libio/libioP.h: Likewise.
36227 * locale/programs/config.h: Likewise.
36228 * sysdeps/generic/sysdep.h: Likewise.
36229 * sysdeps/i386/asm-syntax.h: Likewise.
36230 * sysdeps/s390/asm-syntax.h: Likewise.
36231 * sysdeps/unix/sysdep.h: Likewise.
36232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36234
7071ad79
JM
362352012-01-26 Joseph Myers <joseph@codesourcery.com>
36236
36237 * libio/libio.h: Remove __STDC__ conditionals.
36238 * malloc/obstack.h: Likewise.
36239 * math/complex.h: Likewise.
36240 * math/math.h: Likewise.
36241 * sysdeps/generic/_G_config.h: Likewise.
36242 * sysdeps/gnu/_G_config.h: Likewise.
36243 * sysdeps/mach/hurd/_G_config.h: Likewise.
36244 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36245 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36246 * sysdeps/sparc/bits/mathdef.h: Likewise.
36247
afc5ed09
UD
362482012-01-26 Ulrich Drepper <drepper@gmail.com>
36249
36250 [BZ #13583]
36251 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36252 Clean up HAS_* macros.
afc5ed09 36253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36254 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36255 possible.
36256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36257 HAS_AVX.
36258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36261 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36263
bdb6de1d
JM
362642012-01-25 Joseph Myers <joseph@codesourcery.com>
36265
36266 * elf/tst-unique3.cc (gets): Remove declaration.
36267 * elf/tst-unique3lib.cc (gets): Likewise.
36268 * elf/tst-unique3lib2.cc (gets): Likewise.
36269 * elf/tst-unique4.cc (gets): Likewise.
36270
b15549e6
UD
362712012-01-24 Ulrich Drepper <drepper@gmail.com>
36272
36273 * include/stdio.h: Add C++ protection. Add gets declarations and
36274 definitions.
36275 * debug/tst-chk1.c: Don't declare gets here.
36276 * stdio-common/tst-gets.c: Likewise.
36277
a037381f
JM
362782012-01-24 Joseph Myers <joseph@codesourcery.com>
36279
36280 * posix/glob: Remove directory.
36281
f1d4aa75
JM
362822012-01-24 Joseph Myers <joseph@codesourcery.com>
36283
36284 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36285
81c0c964
PT
362862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36287
36288 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36289 of the non-standard EPFNOSUPPORT.
36290
0ea698ae
ST
362912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36292
36293 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36294 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36295 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36296
d220b117
UD
362972012-01-21 Ulrich Drepper <drepper@gmail.com>
36298
36299 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36300
3e1aa84e
UD
363012012-01-20 Ulrich Drepper <drepper@gmail.com>
36302
36303 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36304 transient errors.
36305 * nscd/grpcache.c (cache_addgr): Likewise.
36306 * nscd/hstcache.c (cache_addhst): Likewise.
36307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36308 * nscd/pwdcache.c (cache_addpw): Likewise.
36309 * nscd/servicescache.c (cache_addserv): Likewise.
36310
400aa020
UD
363112012-01-16 Ulrich Drepper <drepper@gmail.com>
36312
d77e7869
UD
36313 * malloc/malloc.c: Various cleanups.
36314 * malloc/hooks.c: Likewise.
36315
400aa020
UD
36316 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36317 * stdlib/bug-fmtmsg1.c: New file.
36318
36319 * stdlib/fmtmsg.c (init): Add missing unlock.
36320 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36321
e0a309cf
MP
363222012-01-12 Marek Polacek <polacek@redhat.com>
36323
36324 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36325 and _GNU_SOURCE.
36326
929d11c7
WS
363272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36328
36329 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36330 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36331 macro to ensure uniqueness of label name.
36332 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36333 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36334
41d0e869
UD
363352012-01-11 Ulrich Drepper <drepper@gmail.com>
36336
0cc5ed3b
UD
36337 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36338
41d0e869
UD
36339 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36340 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36343
a47a831a
UD
363442012-01-10 Ulrich Drepper <drepper@gmail.com>
36345
daa891c0
UD
36346 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36347
36348 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36349 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36350 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36351
e58ef0f2
UD
36352 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36353
a47a831a 36354 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36355 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36356 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36357 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36358
36359 * math/bits/math-finite.h: Add ldexp support.
36360
a0bfc9c7
MP
363612012-01-10 Marek Polacek <polacek@redhat.com>
36362
36363 * locale/programs/localedef.h (show_archive_content): Add noreturn
36364 attribute.
36365
d6e97a1d
UD
363662012-01-09 Ulrich Drepper <drepper@gmail.com>
36367
36368 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36369
d5835c26
UD
363702012-01-08 Ulrich Drepper <drepper@gmail.com>
36371
e5f484c6
UD
36372 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36373
d5835c26
UD
36374 * io/Makefile (headers): Add bits/poll2.h.
36375
d1f741e9
WS
363762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36377
36378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36379 typo #include statement.
36380
ec09c1c4
UD
363812012-01-08 Ulrich Drepper <drepper@gmail.com>
36382
36383 * include/sys/cdefs.h: Define __attribute_alloc_size.
36384 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36385 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36386 * elf/pldd.c: Likewise.
36387 * iconv/iconv_charmap.c: Likewise.
36388 * iconv/iconvconfig.c: Likewise.
36389 * iconv/strtab.c: Likewise.
36390 * locale/programs/locale.c: Likewise.
36391 * locale/programs/localedef.h: Likewise.
36392 * locale/programs/simple-hash.c: Likewise.
36393 * nscd/nscd.h: Likewise.
36394 * nss/makedb.c: Likewise.
36395 * sysdeps/generic/ldconfig.h: Likewise.
36396 * locale/programs/localedef.c: Remove xmalloc prototype.
36397 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36398
20b38e03
PP
363992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36400
36401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36402 appropriate.
36403
a0da5fe1
UD
364042012-01-08 Ulrich Drepper <drepper@gmail.com>
36405
1d5a644a 36406 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36407 * math/tst-CMPLX.c: New file.
1d5a644a 36408
8784a6db
UD
36409 * math/complex.h (CMPLXL): Fix typo.
36410
d9a216c0
UD
36411 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36412 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36413 GLIBC_2.16.
36414 * debug/tst-chk1.c: Add poll and ppoll tests.
36415 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36416 * include/sys/poll.h: Add hidden proto for ppoll.
36417 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36418 * sysdeps/mach/hurd/ppoll.c: Likewise.
36419 * io/ppoll.c: Likewise.
36420 * debug/poll_chk.c: New file.
36421 * debug/ppoll_chk.c: New file.
36422 * include/bits/poll2.h: New file.
36423 * io/bits/poll2.h: New file.
36424
ac097f5c
UD
36425 [BZ #1350]
36426 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36427
2119dcfa
UD
36428 * configure.in: static is always set to yes. Remove.
36429 * config.make.in: Don't set build-static.
36430 * Makeconfig: Remove use of build-static.
36431 * dlfcn/Makefile: Likewise.
36432 * elf/Makefile: Likewise.
36433 * math/Makefile: Likewise.
36434 * misc/Makefile: Likewise.
36435 * nptl/Makefile: Likewise.
36436 * sysdeps/mach/hurd/Makefile: Likewise.
36437
121766a9
UD
36438 * configure.in: PWD_P is not used anymore.
36439 * config.make.in: Remove PWD_P entry.
36440
51a1d39c 36441 * configure.in: Remove last remnants of RANLIB.
8720d066 36442 No need to check for signed size_t anymore.
215f4bdc
UD
36443 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36444 and IA-64.
3857022a 36445 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36446 * aclocal.m4: Likewise.
36447
d3ed7225
UD
36448 * wcsmbs/mbrtoc16.c: Implement using towc function.
36449 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36450 * wcsmbs/wcsmbsload.c: Likewise.
36451 * iconv/gconv_simple.c: Likewise.
36452 * iconv/gconv_int.h: Likewise.
36453 * iconv/gconv_builtin.h: Likewise.
36454 * iconv/iconv_prog.c: Remove CHAR16 handling.
36455
36456 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36457
36458 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36459
a0da5fe1
UD
36460 * configure.in: Remove --with-elf and --enable-bounded options.
36461 Dont set base_machine for ia64. More non-ELF conditions removed.
36462 Remove testing and setting of leading underscore information.
36463 * config.make.in (build-bounded): Set to no.
36464 * config.h.in: Remove NO_UNDERSCORES entry.
36465 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36466 them.
36467 * csu/start.c: Remove !NO_UNDERSCORE code.
36468 * locale/localeinfo.h: Likewise.
36469 * sysdeps/generic/machine-gmon.h: Likewise.
36470 * sysdeps/generic/sysdep.h: Likewise.
36471 * sysdeps/i386/sysdep.h: Likewise.
36472 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36473 * sysdeps/mach/sysdep.h: Likewise.
36474 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36475 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36476 * sysdeps/sh/sysdep.h: Likewise.
36477 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36478 * sysdeps/unix/i386/sysdep.S: Likewise.
36479 * sysdeps/unix/sparc/start.c: Likewise.
36480 * sysdeps/unix/sparc/sysdep.S: Likewise.
36481 * sysdeps/unix/sparc/sysdep.h: Likewise.
36482 * sysdeps/unix/start.c: Likewise.
36483 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36484 * sysdeps/x86_64/sysdep.h: Likewise.
36485
df78418a
UD
364862012-01-07 Ulrich Drepper <drepper@gmail.com>
36487
a784e502
UD
36488 [BZ #13553]
36489 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36490 for non-gcc.
36491 * argp/argp-fmtstream.h: Use const instead __const.
36492 * argp/argp.h: Likewise.
36493 * assert/assert.h: Likewise.
36494 * bits/fenv.h: Likewise.
36495 * bits/sched.h: Likewise.
36496 * bits/sigset.h: Likewise.
36497 * bits/sigthread.h: Likewise.
36498 * catgets/nl_types.h: Likewise.
36499 * conform/data/pthread.h-data: Likewise.
36500 * crypt/crypt-private.h: Likewise.
36501 * crypt/crypt.h: Likewise.
36502 * crypt/crypt_util.c: Likewise.
36503 * ctype/ctype.h: Likewise.
36504 * debug/execinfo.h: Likewise.
36505 * debug/mbsnrtowcs_chk.c: Likewise.
36506 * debug/mbsrtowcs_chk.c: Likewise.
36507 * debug/wcsnrtombs_chk.c: Likewise.
36508 * debug/wcsrtombs_chk.c: Likewise.
36509 * debug/wcstombs_chk.c: Likewise.
36510 * dirent/dirent.h: Likewise.
36511 * dlfcn/dlfcn.h: Likewise.
36512 * elf/neededtest4.c: Likewise.
36513 * grp/grp.h: Likewise.
36514 * gshadow/gshadow.h: Likewise.
36515 * iconv/gconv.h: Likewise.
36516 * iconv/gconv_int.h: Likewise.
36517 * iconv/gconv_simple.c: Likewise.
36518 * iconv/iconv.h: Likewise.
36519 * iconv/loop.c: Likewise.
36520 * iconv/skeleton.c: Likewise.
36521 * include/aio.h: Likewise.
36522 * include/aliases.h: Likewise.
36523 * include/argz.h: Likewise.
36524 * include/arpa/inet.h: Likewise.
36525 * include/assert.h: Likewise.
36526 * include/dirent.h: Likewise.
36527 * include/dlfcn.h: Likewise.
36528 * include/execinfo.h: Likewise.
36529 * include/fcntl.h: Likewise.
36530 * include/fenv.h: Likewise.
36531 * include/glob.h: Likewise.
36532 * include/grp.h: Likewise.
36533 * include/libintl.h: Likewise.
36534 * include/mntent.h: Likewise.
36535 * include/netdb.h: Likewise.
36536 * include/pwd.h: Likewise.
36537 * include/rpc/netdb.h: Likewise.
36538 * include/sched.h: Likewise.
36539 * include/search.h: Likewise.
36540 * include/shadow.h: Likewise.
36541 * include/signal.h: Likewise.
36542 * include/stdio.h: Likewise.
36543 * include/stdlib.h: Likewise.
36544 * include/string.h: Likewise.
36545 * include/sys/socket.h: Likewise.
36546 * include/sys/stat.h: Likewise.
36547 * include/sys/statfs.h: Likewise.
36548 * include/sys/statvfs.h: Likewise.
36549 * include/sys/syslog.h: Likewise.
36550 * include/sys/time.h: Likewise.
36551 * include/sys/uio.h: Likewise.
36552 * include/time.h: Likewise.
36553 * include/unistd.h: Likewise.
36554 * include/utmp.h: Likewise.
36555 * include/wchar.h: Likewise.
36556 * include/wctype.h: Likewise.
36557 * inet/aliases.h: Likewise.
36558 * inet/arpa/inet.h: Likewise.
36559 * inet/netinet/ether.h: Likewise.
36560 * inet/netinet/in.h: Likewise.
36561 * intl/libintl.h: Likewise.
36562 * io/bits/fcntl2.h: Likewise.
36563 * io/fcntl.h: Likewise.
36564 * io/ftw.h: Likewise.
36565 * io/sys/poll.h: Likewise.
36566 * io/sys/stat.h: Likewise.
36567 * io/sys/statfs.h: Likewise.
36568 * io/sys/statvfs.h: Likewise.
36569 * io/utime.h: Likewise.
36570 * libio/bits/stdio.h: Likewise.
36571 * libio/bits/stdio2.h: Likewise.
36572 * libio/libio.h: Likewise.
36573 * libio/libioP.h: Likewise.
36574 * libio/stdio.h: Likewise.
36575 * locale/lc-ctype.c: Likewise.
36576 * locale/locale.h: Likewise.
36577 * login/utmp.h: Likewise.
36578 * malloc/arena.c: Likewise.
36579 * malloc/malloc.c: Likewise.
36580 * malloc/malloc.h: Likewise.
36581 * malloc/mcheck.c: Likewise.
36582 * malloc/mtrace.c: Likewise.
36583 * math/bits/mathcalls.h: Likewise.
36584 * math/fenv.h: Likewise.
36585 * math/math_private.h: Likewise.
36586 * misc/bits/error.h: Likewise.
36587 * misc/bits/syslog.h: Likewise.
36588 * misc/err.h: Likewise.
36589 * misc/error.h: Likewise.
36590 * misc/fstab.h: Likewise.
36591 * misc/mntent.h: Likewise.
36592 * misc/regexp.h: Likewise.
36593 * misc/search.h: Likewise.
36594 * misc/sgtty.h: Likewise.
36595 * misc/sys/mman.h: Likewise.
36596 * misc/sys/syslog.h: Likewise.
36597 * misc/sys/uio.h: Likewise.
36598 * misc/sys/xattr.h: Likewise.
36599 * misc/ttyent.h: Likewise.
36600 * nis/rpcsvc/ypclnt.h: Likewise.
36601 * nss/nss.h: Likewise.
36602 * posix/bits/unistd.h: Likewise.
36603 * posix/fnmatch.h: Likewise.
36604 * posix/glob.h: Likewise.
36605 * posix/sched.h: Likewise.
36606 * posix/spawn.h: Likewise.
36607 * posix/sys/wait.h: Likewise.
36608 * posix/unistd.h: Likewise.
36609 * posix/wordexp.h: Likewise.
36610 * pwd/pwd.h: Likewise.
36611 * resolv/netdb.h: Likewise.
36612 * resource/sys/resource.h: Likewise.
36613 * rt/aio.h: Likewise.
36614 * rt/bits/mqueue2.h: Likewise.
36615 * rt/mqueue.h: Likewise.
36616 * shadow/shadow.h: Likewise.
36617 * signal/signal.h: Likewise.
36618 * socket/send.c: Likewise.
36619 * socket/sendto.c: Likewise.
36620 * socket/sys/socket.h: Likewise.
36621 * stdio-common/printf.h: Likewise.
36622 * stdlib/bits/stdlib.h: Likewise.
36623 * stdlib/fmtmsg.h: Likewise.
36624 * stdlib/monetary.h: Likewise.
36625 * stdlib/stdlib.h: Likewise.
36626 * stdlib/ucontext.h: Likewise.
36627 * streams/stropts.h: Likewise.
36628 * string/argz.h: Likewise.
36629 * string/bits/string2.h: Likewise.
36630 * string/string.h: Likewise.
36631 * string/strings.h: Likewise.
36632 * sunrpc/rpc/auth.h: Likewise.
36633 * sunrpc/rpc/auth_des.h: Likewise.
36634 * sunrpc/rpc/clnt.h: Likewise.
36635 * sunrpc/rpc/netdb.h: Likewise.
36636 * sunrpc/rpc/pmap_clnt.h: Likewise.
36637 * sunrpc/rpc/xdr.h: Likewise.
36638 * sysdeps/generic/inttypes.h: Likewise.
36639 * sysdeps/generic/net/if.h: Likewise.
36640 * sysdeps/generic/sys/swap.h: Likewise.
36641 * sysdeps/gnu/net/if.h: Likewise.
36642 * sysdeps/gnu/utmpx.h: Likewise.
36643 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36644 * sysdeps/i386/i486/bits/string.h: Likewise.
36645 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36646 * sysdeps/s390/bits/string.h: Likewise.
36647 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36648 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36649 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36650 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36651 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36652 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36653 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36654 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36655 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36656 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36657 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36658 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36659 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36660 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36661 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36662 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36663 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36665 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36668 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36669 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36670 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36671 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36672 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36673 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36675 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36677 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36678 * sysvipc/sys/ipc.h: Likewise.
36679 * sysvipc/sys/msg.h: Likewise.
36680 * sysvipc/sys/sem.h: Likewise.
36681 * sysvipc/sys/shm.h: Likewise.
36682 * termios/termios.h: Likewise.
36683 * time/sys/time.h: Likewise.
36684 * time/time.h: Likewise.
36685 * wcsmbs/bits/wchar2.h: Likewise.
36686 * wcsmbs/uchar.h: Likewise.
36687 * wcsmbs/wchar.h: Likewise.
36688 * wctype/wctype.h: Likewise.
36689
0269750c
UD
36690 [BZ #13551]
36691 * Makeconfig: Remove all but ELF support including AIX support.
36692 * Makerules: Likewise.
36693 * config.h.in: Likewise.
36694 * config.make.in: Likewise.
36695 * configure: Likewise.
36696 * configure.in: Likewise.
36697 * csu/Makefile: Likewise.
36698 * csu/version.c: Likewise.
36699 * debug/Makefile: Likewise.
36700 * dlfcn/Makefile: Likewise.
36701 * elf/Makefile: Likewise.
36702 * extra-lib.mk: Likewise.
36703 * iconv/Makefile: Likewise.
36704 * include/libc-symbols.h: Likewise.
36705 * include/shlib-compat.h: Likewise.
36706 * resolv/Makefile: Likewise.
36707 * resolv/res_libc.c: Likewise.
36708 * rt/Makefile: Likewise.
36709 * sysdeps/i386/asm-syntax.h: Likewise.
36710 * sysdeps/i386/sysdep.h: Likewise.
36711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36712 * sysdeps/mach/sysdep.h: Likewise.
36713 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36714 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36715 * sysdeps/s390/asm-syntax.h: Likewise.
36716 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36717 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36718 * sysdeps/sh/sysdep.h: Likewise.
36719 * sysdeps/unix/sparc/sysdep.h: Likewise.
36720 * sysdeps/wordsize-32/divdi3.c: Likewise.
36721 * sysdeps/x86_64/sysdep.h: Likewise.
36722
00bbd29b
UD
36723 * argp/Versions: Remove _argp_unlock_xxx.
36724
36725 [BZ #13559]
36726 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36727 * abilist/libBrokenLocale.abilist: Likewise.
36728 * abilist/libanl.abilist: Likewise.
36729 * abilist/libc.abilist: Likewise.
36730 * abilist/libcrypt.abilist: Likewise.
36731 * abilist/libdl.abilist: Likewise.
36732 * abilist/libm.abilist: Likewise.
36733 * abilist/libnsl.abilist: Likewise.
36734 * abilist/libpthread.abilist: Likewise.
36735 * abilist/libresolv.abilist: Likewise.
36736 * abilist/librt.abilist: Likewise.
36737 * abilist/libthread_db.abilist: Likewise.
36738 * abilist/libutil.abilist: Likewise.
36739 * abilist/libnss_db.abilist: New file.
36740
36741 * scripts/abilist.awk: Add support for indirect functions.
36742
a2693a0e
UD
36743 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36744
3f05895f
UD
36745 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36746
ecb6fb48
UD
36747 * shlib-versions: Remove entries for ports architectures.
36748
664f8cb9
UD
36749 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36750 files in ports.
36751 * elf/stackguard-macros.h: Remove support for IA-64.
36752 * elf/tst-auditmod1.c: Likewise.
36753 * sysdeps/generic/ldsodefs.h: Likewise.
36754
7ae81d88
UD
36755 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36756 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36757 configure files.
36758
bdeba135
UD
36759 [BZ #13552]
36760 * configure.in: Remove --enable-omitfp support.
36761 * FAQ.in: Adjust.
36762 * config.make.in: Likewise.
36763 * Makeconfig: Likewise.
36764 * manual/install.texi: Likewise.
36765
d75a0a62
UD
36766 In case anyone cares, the IA-64 architecture could move to ports.
36767 * sysdeps/ia64/*: Removed.
36768 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36769 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36770
dcc9756b
UD
36771 [BZ #13555]
36772 * configure.in: Remove entries for unsupported architectures.
36773
d3761ebc 36774 [BZ #13533]
9954432e
UD
36775 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36776 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36777 routines.
36778 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36779 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36780 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36781 fall back to using wcrtomb.
36782 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36783 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36784 renaming.
36785 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36786 * wcsmbs/tst-c16c32-1.c: New file.
36787
36788 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36789 local variable.
36790
c3a87236
UD
36791 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36792
28926a1b
UD
36793 * elf/tst-unique3.cc: Add explicit declaration of gets.
36794 * elf/tst-unique3lib.cc: Likewise.
36795 * elf/tst-unique3lib2.cc: Likewise.
36796 * elf/tst-unique4.cc: Likewise.
36797
df78418a
UD
36798 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36799
8ecd6b2a
JM
368002012-01-06 Joseph Myers <joseph@codesourcery.com>
36801
36802 [BZ #13566]
36803 * assert/assert.h (static_assert): Don't define for C++.
36804 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36805 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36806
9f115170
UD
368072012-01-03 Ulrich Drepper <drepper@gmail.com>
36808
5e0d0300
UD
36809 * iconv/loop.c (single loop): Fix assertion in storing of
36810 remaining bytes.
36811
9f115170
UD
36812 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36813
81fb02b0
UD
368142012-01-01 Ulrich Drepper <drepper@gmail.com>
36815
36816 * posix/getconf.c: Update copyright year.
36817 * nss/getent.c: Likewise.
a316c1f6 36818 * nss/makedb.c: Likewise.
81fb02b0
UD
36819 * iconv/iconvconfig.c: Likewise.
36820 * iconv/iconv_prog.c: Likewise.
36821 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36822 * elf/pldd.c: Likewise.
36823 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36824 * catgets/gencat.c: Likewise.
36825 * csu/version.c: Likewise.
36826 * elf/ldd.bash.in: Likewise.
36827 * elf/sprof.c (print_version): Likewise.
36828 * locale/programs/locale.c: Likewise.
36829 * locale/programs/localedef.c: Likewise.
a316c1f6 36830 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36831 * nscd/nscd.c (print_version): Likewise.
36832 * debug/xtrace.sh: Likewise.
36833 * malloc/memusage.sh: Likewise.
36834 * malloc/mtrace.pl: Likewise.
36835 * debug/catchsegv.sh: Likewise.
36836
2ba92745
JJ
368372011-12-30 Jakub Jelinek <jakub@redhat.com>
36838
36839 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36840 pure attribute.
36841
dadebdae
UD
368422011-12-24 Ulrich Drepper <drepper@gmail.com>
36843
d3761ebc 36844 [BZ #13533]
db6af3eb
UD
36845 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36846 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36847 transformations.
36848 * iconv/gconv_int.h: Likewise.
36849 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36850 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36851 from libc for GLIBC_2.16.
36852 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36853 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36854 * wcsmbs/uchar.h: Really define mbstate_t.
36855 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36856 * wcsmbs/c16rtomb.c: New file.
36857 * wcsmbs/mbrtoc16.c: New file.
36858 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36859 for C/POSIX locale.
36860 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36861 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36862
dadebdae
UD
36863 * wcsmbs/wchar.h: Add missing __restrict.
36864
67371b56
UD
368652011-12-23 Ulrich Drepper <drepper@gmail.com>
36866
74033a25
UD
36867 [BZ #13532]
36868 * time/Makefile (routines): Add timespec_get.
36869 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36870 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36871 timespec for ISO C11.
36872 * time/timespec_get.c: New file.
36873 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36874 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36875
380d7e87
UD
36876 [BZ #13531]
36877 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36878 * stdlib/stdlib.h: Declare aligned_alloc.
36879 * Versions.def: Add GLIBC_2.16 for libc.
36880 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36881
4e9e7a35
UD
36882 [BZ 13527]
36883 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36884 ISO C11.
36885
380d7e87 36886 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36887 code.
36888
03a71829
UD
36889 [BZ #13528]
36890 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36891
839e283e
UD
36892 [BZ #13529]
36893 * assert/assert.h (static_assert): Define.
36894
ce5294e2 36895 * version.h: Update for 2.16 development version.
90fa7312 36896
8d44e150 36897 [BZ #13526]
d7809905
UD
36898 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36899 _ISOC11_SOURCE.
36900
c0da14cd
UD
36901 * version.h (RELEASE): Bump for 2.15 release.
36902 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36903
530a3249
MP
36904 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36905 Patch by Marek Polacek <mpolacek@redhat.com>.
36906
67371b56
UD
36907 * bits/byteswap.h: Protect long long constants with __extension__.
36908 * sysdeps/i386/bits/byteswap.h: Likewise.
36909 * sysdeps/ia64/bits/byteswap.h: Likewise.
36910 * sysdeps/s390/bits/byteswap.h: Likewise.
36911 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36912
15db4de1
LD
369132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36914
36915 [BZ #13540]
bbe315ea
LD
36916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36917 destination buffer.
15db4de1
LD
36918 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36919
2b2596b1
MP
369202011-12-23 Marek Polacek <polacek@redhat.com>
36921
36922 * elf/dl-addr.c (determine_info): Add inline keyword.
36923 * elf/tst-auditmod4b.c (check_avx): Likewise.
36924 * elf/tst-auditmod6b.c (check_avx): Likewise.
36925 * elf/tst-auditmod6c.c (check_avx): Likewise.
36926 * elf/tst-auditmod7b.c (check_avx): Likewise.
36927
70c6c246
UD
369282011-12-23 Ulrich Drepper <drepper@gmail.com>
36929
36930 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36931 !__SSE_MATH__.
36932
c044cf14
LD
369332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36934
15db4de1 36935 [BZ #13540]
c044cf14
LD
36936 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36937 processing for last bytes.
36938
6b13d9d9
BH
369392011-08-06 Bruno Haible <bruno@clisp.org>
36940
d455f537
BH
36941 [BZ #13061]
36942 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36943 U+0385, not to U+1FEE.
36944
6b13d9d9
BH
36945 [BZ #13062]
36946 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36947 entry for U+00A5 U+0301.
36948
db910efd
UD
369492011-12-22 Ulrich Drepper <drepper@gmail.com>
36950
27deeafc
UD
36951 [BZ #13166]
36952 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36953 buffer for the output is too small.
36954
aed9d171
UD
36955 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36956 optimization.
36957
db910efd
UD
36958 [BZ #13185]
36959 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36960 SSE flags if possible.
36961
2bd779ae
LD
369622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36963
e7f9dac3 36964 [BZ #13540]
2bd779ae
LD
36965 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36966 processing for last bytes.
36967
154bfc16
JM
369682011-12-22 Joseph Myers <joseph@codesourcery.com>
36969
36970 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36971 (syscall-list-default-options, syscall-list-default-condition)
36972 (syscall-list-includes): Define.
36973 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36974 list of ABIs and options and #if conditions for each ABI. Do not
36975 handle common syscalls between ABIs specially.
36976 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36977 Remove.
36978 (syscall-list-variants, syscall-list-32bit-options)
36979 (syscall-list-32bit-condition, syscall-list-64bit-options)
36980 (syscall-list-64bit-condition): Define.
36981 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36982 (syscall-list-variants, syscall-list-32bit-options)
36983 (syscall-list-32bit-condition, syscall-list-64bit-options)
36984 (syscall-list-64bit-condition): Define.
36985 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36986 Remove.
36987 (syscall-list-variants, syscall-list-32bit-options)
36988 (syscall-list-32bit-condition, syscall-list-64bit-options)
36989 (syscall-list-64bit-condition): Define.
36990 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36991 Remove.
36992 (syscall-list-variants, syscall-list-32bit-options)
36993 (syscall-list-32bit-condition, syscall-list-64bit-options)
36994 (syscall-list-64bit-condition): Define.
36995
21eaf3a5
UD
369962011-12-22 Ulrich Drepper <drepper@gmail.com>
36997
16c6f992
UD
36998 * locale/iso-639.def: Add brx entry.
36999
41043168
UD
37000 [BZ #13328]
37001 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37002 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37003
21eaf3a5
UD
37004 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37005 __feraiseexcept_renamed.
37006
e3a851a2
UD
370072011-12-21 Ulrich Drepper <drepper@gmail.com>
37008
4920765e
UD
37009 [BZ #13538]
37010 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37011 EPOLLET with unsigned values.
37012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37013 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37014
e3a851a2
UD
37015 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37016 to large cancellation.
37017 * math/s_cacoshf.c: Likewise.
37018 * math/s_cacoshl.c: Likewise.
37019
b27e24b8
RK
370202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37021
37022 [BZ #13305]
aebefeee 37023 [BZ #12786]
b27e24b8
RK
37024 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37025 * math/s_cacoshf.c: Likewise.
37026 * math/s_cacoshl.c: Likewise.
37027
ee190f67
UD
370282011-12-21 Ulrich Drepper <drepper@gmail.com>
37029
37030 [BZ #13439]
37031 * iconv/gconv.h: Define __GCONV_SWAP.
37032 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37033 * iconvdata/utf-16.c: Likewise.
37034 * iconvdata/utf-32.c: Likewise.
37035
707f25df
AS
370362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37037
37038 [BZ #13524]
37039 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37040 numerator after shifting it by one limb.
37041
d2daaa1e
RÁE
370422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37043
37044 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37045 under [__USE_EXTERN_INLINES].
37046
a4647e72
UD
370472011-12-17 Ulrich Drepper <drepper@gmail.com>
37048
37049 [BZ #13446]
37050 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37051
f0b264f1
AZ
370522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37053
37054 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37055 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37056 optimized code.
37057 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37058 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37059 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37060 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37061 for strncasecmp/strncasecmp_l compilation.
37062 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37063 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37064
8ef4f244
MP
370652011-12-08 Marek Polacek <mpolacek@redhat.com>
37066
37067 [BZ #13484]
37068 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37069 of __asm__.
37070
97ac2654
UD
370712011-12-17 Ulrich Drepper <drepper@gmail.com>
37072
37073 [BZ #13506]
37074 * time/tzfile.c (__tzfile_read): Check values from file header.
37075
91d2a845
WS
370762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37077
37078 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37079 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37080 * powerpc/powerpc32/dl-start.S: Likewise.
37081 * powerpc/powerpc32/elf/start.S: Likewise.
37082 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37083 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37084 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37085 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37086 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37087 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37088 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37089 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37090 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37091 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37092 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37093 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37094 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37095 * powerpc/powerpc32/memset.S: Likewise.
37096 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37097 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37098 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37099 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37100 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37101 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37102 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37103 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37104 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37105 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37106 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37107 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37108 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37109
a1267ba1
AZ
371102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37111
37112 * math/libm-test.inc: Added more nearbyint tests.
37113 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37114 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37115 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37116 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37117
ad8ac1bd
RL
371182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37119
37120 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37121 FD_CLOEXEC.
37122
1d3e4b61
UD
371232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37124
37125 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37126 Add wcscpy-ssse3 wcscpy-c.
37127 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37128 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37129 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37130 * sysdeps/x86_64/wcschr.S: New file.
37131 * sysdeps/x86_64/wcsrchr.S: New file.
37132 * string/test-strcmp.c: Remove checking of wcscmp function for
37133 wrong alignments.
37134 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37135 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37136 wcsrchr-sse2 wcsrchr-c.
37137 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37138 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37139 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37140 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37141 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37142 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37143 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37144 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37145 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37146 * wcsmbc/wcschr.c (WCSCHR): New macro.
37147
5b330a2d
UD
371482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37149
37150 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37151 * wcsmbs/test-wcsrchr.c: New file.
37152 * string/test-strrchr.c: Add wcsrchr support.
37153 (WIDE): New macro.
37154 * wcsmbs/test-wcscpy.c: New file.
37155 * string/test-strcpy.c: Add wcscpy support.
37156 (WIDE): New macro.
26428b7c 37157
f039c043
UD
371582011-12-10 Ulrich Drepper <drepper@gmail.com>
37159
37160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37161 the inner loop.
37162
850fb039
AS
371632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37164
37165 [BZ #13472]
37166 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37167
4efbd5cb
UD
371682011-12-04 Ulrich Drepper <drepper@gmail.com>
37169
52ff5dd0 37170 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37171 Minor optimizations.
52ff5dd0 37172
4efbd5cb
UD
37173 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37174 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37175 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37176
8a426e12
UD
371772011-12-03 Ulrich Drepper <drepper@gmail.com>
37178
aff2453d
UD
37179 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37180 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37181 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37182 for gcc to avoid warnings.
37183 * inet/Makefile (tests): Add tst-checks.
37184 * inet/tst-checks.c: New file.
37185
37186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37187 warning.
37188
37189 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37190 __wmemcmp_sse2.
37191
37192 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37193 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37194
8a426e12
UD
37195 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37196
9bea3473
UD
371972011-12-02 Ulrich Drepper <drepper@gmail.com>
37198
3a965496
UD
37199 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37200 problem.
37201
9bea3473
UD
37202 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37203
f101631b
UD
372042011-11-29 Joseph Myers <joseph@codesourcery.com>
37205
37206 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37207 conditional on GCC version.
37208 (__arch_compare_and_exchange_val_8_acq)
37209 (__arch_compare_and_exchange_val_16_acq)
37210 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37211 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37212 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37213
a98275aa
UD
372142011-12-02 Joseph Myers <joseph@codesourcery.com>
37215
37216 * sysdeps/sh/backtrace.c: New file.
37217
d4cc29a2
AS
372182011-12-02 Andreas Schwab <schwab@redhat.com>
37219
37220 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37221 parenthesis.
37222
6257af2d
AS
372232011-12-01 Andreas Schwab <schwab@redhat.com>
37224
37225 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37226 falling back to utime.
37227
b5f44c1a
AS
372282011-11-30 Andreas Schwab <schwab@redhat.com>
37229
37230 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37231 expectations for float.
37232
f3a6cc0a
AS
372332011-11-29 Andreas Schwab <schwab@redhat.com>
37234
37235 * locale/weight.h (findidx): Add parameter len.
37236 * locale/weightwc.h (findidx): Likewise.
37237 * posix/fnmatch_loop.c (FCT): Adjust caller.
37238 * posix/regcomp.c (build_equiv_class): Likewise.
37239 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37240 * posix/regexec.c (check_node_accept_bytes): Likewise.
37241 * string/strcoll_l.c (STRCOLL): Likewise.
37242 * string/strxfrm_l.c (STRXFRM): Likewise.
37243
9d65ea3a
UD
372442011-11-17 Ulrich Drepper <drepper@gmail.com>
37245
37246 * Makefile.in: Remove CVSOPT handling.
37247 * configure.in: Remove use of AC_REVISION.
37248 * iconvdata/Makefile (distribute): No need to filter out CVS.
37249 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37250 handling.
37251
5583a086
AS
372522011-11-16 Andreas Schwab <schwab@redhat.com>
37253
37254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37255 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37256 [USE_AS_STRNCASECMP_L]: Likewise.
37257 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37258 NO_TLS_DIRECT_SEG_REFS.
37259 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37260 Fix argument offsets for non-PIC.
37261 [USE_AS_STRNCASECMP_L]: Likewise.
37262 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37263 NO_TLS_DIRECT_SEG_REFS.
37264
d62a8200
UD
372652011-11-15 Ulrich Drepper <drepper@gmail.com>
37266
9d65ea3a 37267 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37268 O_CLOEXEC.
37269 * locale/loadlocale.c (_nl_load_locale): Likewise.
37270
09f93bd3
AS
372712011-11-15 Andreas Schwab <schwab@redhat.com>
37272
446514f9
AS
37273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37274 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37275 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37276 (SYSCALL_GETTIME): Set errno on error.
37277
09f93bd3
AS
37278 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37279 count references to noai6ai_cached.
37280
312be3f9
UD
372812011-11-15 Ulrich Drepper <drepper@gmail.com>
37282
37283 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37284
37285 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37286 FD_CLOEXEC for /proc/self/maps.
37287
37288 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37289 FD_CLOEXEC for /proc/meminfo.
37290
37291 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37292 gai.conf.
37293
37294 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37295 FD_CLOEXEC for given file.
37296
37297 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37298
37299 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37300 FD_CLOEXEC for /etc/hosts.
37301 (_gethtent): Likewise.
37302
37303 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37304
37305 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37306 cancellation and set FD_CLOEXEC for /etc/netgroup.
37307
37308 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37309 reading /etc/publickey.
37310
37311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37312 allow cancellation when reading /etc/group.
37313
37314 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37315 cancellation.
37316 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37317
37318 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37319 when using data file.
37320
37321 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37322
37323 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37324 (write_nis_obj): Use "c" and "e" in fopen.
37325
37326 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37327
37328 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37329
37330 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37331
37332 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37333
37334 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37335 locale.alias.
37336
37337 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37338
37339 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37340
37341 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37342
37343 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37344 file parsing and set FD_CLOEXEC.
37345
82af0fa8
UD
373462011-11-14 Ulrich Drepper <drepper@gmail.com>
37347
37348 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37349
a5fb313c
AS
373502011-11-14 Andreas Schwab <schwab@redhat.com>
37351
37352 * malloc/arena.c (arena_get2): Don't call reused_arena when
37353 _int_new_arena failed.
37354
6abf3465
UD
373552011-11-14 Ulrich Drepper <drepper@gmail.com>
37356
37357 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37358 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37360 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37361 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37363 to compile strcasecmp and strncasecmp.
37364 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37365 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37366
37367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37368
76e3966e
UD
373692011-11-13 Ulrich Drepper <drepper@gmail.com>
37370
37371 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37372 locale-defines.sym to gen-as-const-headers.
37373 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37374 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37376 to compile strcasecmp and strncasecmp.
37377 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37378 strcasecmp_l and strncasecmp_l.
37379 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37380 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37381 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37382 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37383 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37384 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37385 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37386 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37387 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37388 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37389 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37390
ab26144e
UD
373912011-11-12 Ulrich Drepper <drepper@gmail.com>
37392
7edb22ef
UD
37393 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37394 result of SYSDEP_GETTIME_CPU to retval.
37395 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37396 parameter list to macro. Remove trailing semicolon. Adjust users.
37397
9694fc44
UD
37398 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37399 variable.
37400
8ad89ef8
UD
37401 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37402 mantissa words.
37403 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37404
0c822ef9
UD
37405 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37406 from unused variable.
37407
874e0564
UD
37408 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37409 DWARF definitions.
37410 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37411 for assembling.
37412
3a2edc79
UD
37413 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37414 over namespaces.
37415
f3c2577f
UD
37416 * sunrpc/rpc_prot.c (rejected): Fix case value.
37417
294ce126
UD
37418 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37419 unsigned long long int to avoid warnings in shift.
37420
5e2b63c6
UD
37421 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37422 of use of trans.
37423 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37424 variable tmp.
37425
e7f4b08e
UD
37426 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37427 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37428 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37429
ab26144e
UD
37430 * nis/nis_table.c (nis_list): Use variable of correct type for
37431 result of __follow_path call.
37432
8a6d5255
AZ
374332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37434
37435 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37436 of math functions ceil, trunc, floor, round, and sqrt, when
37437 avaliable on the platform.
37438 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37439 name clash.
37440 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37441 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37442 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37443
aaddc98c
MP
374442011-10-30 Marek Polacek <mpolacek@redhat.com>
37445
37446 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37447 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37448
95b7042b
RM
374492011-11-11 Roland McGrath <roland@hack.frob.com>
37450
37451 * include/unistd.h: Fix __readlink return type.
37452 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37453
57769839
UD
374542011-11-11 Ulrich Drepper <drepper@gmail.com>
37455
37456 * stdlib/ucontext.h: Undo last change for makecontext.
37457
edc5984d
AS
374582011-11-11 Andreas Schwab <schwab@redhat.com>
37459
98591e58
AS
37460 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37461
edc5984d
AS
37462 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37463 * setjmp/setjmp.h: Mark functions as non-leaf.
37464 * setjmp/bits/setjmp2.h: Likewise.
37465 * stdlib/ucontext.h: Likewise.
37466
77cdc054
AS
374672011-11-10 Andreas Schwab <schwab@redhat.com>
37468
37469 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37470 (reused_arena): Don't check arena limit.
37471 (arena_get2): Atomically check arena limit.
37472
fe72eebd
UD
374732011-11-08 Ulrich Drepper <drepper@gmail.com>
37474
5f078c32
UD
37475 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37476 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37477
fe72eebd
UD
37478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37479 instructions.
37480
ae1bc2fa
AS
374812011-11-07 Andreas Schwab <schwab@redhat.com>
37482
7583a88d
AS
37483 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37484 handler when locking.
37485
ae1bc2fa
AS
37486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37487 Fix size of allocated buffer.
37488
10fb0bfa
AS
374892011-11-04 Andreas Schwab <schwab@redhat.com>
37490
998832a4
AS
37491 [BZ #10103]
37492 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37493 declarations for long double functions.
37494 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37495
10fb0bfa
AS
37496 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37497
3d7ba52b
AS
374982011-11-03 Andreas Schwab <schwab@redhat.com>
37499
a9ae54a1
AS
37500 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37501 installed.
37502
3d7ba52b
AS
37503 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37504 is disabled.
37505
bc8db248
ST
375062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37507
37508 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37509
45b96dd6
AS
375102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37511
647776f6
AS
37512 * include/alloca.h (stackinfo_alloca_round): Define.
37513 (extend_alloca): Use it.
37514 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37515 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37516 here.
37517
d91a8b93
AS
37518 * scripts/check-local-headers.sh: Ignore libaudit.h.
37519
45b96dd6
AS
37520 * nscd/Makefile (extra-objs): Make recursively expanded.
37521
432d41ce
UD
375222011-11-01 Ulrich Drepper <drepper@gmail.com>
37523
34372fc6
UD
37524 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37525 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37526
fadb59f8
UD
37527 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37528 * posix/tst-rfc3484-2.c: Likewise.
37529 * posix/tst-rfc3484-3.c: Likewise.
37530
78239589
UD
37531 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37532 process_vm_writev.
37533 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37534 process_vm_writev.
37535 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37536 process_vm_writev from libc using GLIBC_2.15 version.
37537
432d41ce
UD
37538 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37539
02f9c6cf
PP
375402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37541
37542 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37543 stack usage.
37544
3a2c0242
UD
375452011-10-31 Ulrich Drepper <drepper@gmail.com>
37546
f4ec4833
UD
37547 [BZ #13367]
37548 * nss/getent.c (initgroups_keys): Show error message in case no group
37549 names are given.
37550
3a2c0242
UD
37551 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37552 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37553 __bump_nl_timestamp.
37554 * nscd/connections (nscd_init): When host database is served open
37555 netlink socket and request notification about configuration changes.
37556 (main_loop_poll): Track netlink file descriptor and bump timestamp
37557 in case data becomes available.
37558 (main_loop_epoll): Likewise.
37559 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37560 (database_pers_head): Add extra_data fileds.
37561 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37562 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37563 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37564 Adjust caller.
37565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37566 in6ai data, call __free_in6ai.
37567 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37568 Add -DHAVE_NETLINK.
37569 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37570 interface information. Reuse previous data if netlink timestamp
37571 is not changed.
37572 (__bump_nl_timestamp): New function.
37573 (__free_in6ai): New function.
37574
636064eb
UD
375752011-10-30 Ulrich Drepper <drepper@gmail.com>
37576
37577 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37578 close_not_cancel_no_status here.
37579 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37580
9beb2334
UD
375812011-10-29 Ulrich Drepper <drepper@gmail.com>
37582
6ef76f3b
UD
37583 [BZ #13276]
37584 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37585 return value.
37586
0ffc4f3e 37587 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37588 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37589 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37590
cb95113e
UD
375912011-07-03 Andreas Jaeger <aj@suse.de>
37592
37593 [BZ #10709]
37594 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37595 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37596 * math/libm-test.inc (sin_test): Add test case.
37597
a1b560ff
UD
375982011-10-29 Ulrich Drepper <drepper@gmail.com>
37599
c9aaface
UD
37600 [BZ #13337]
37601 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37602 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37603
d272e7f1
UD
37604 * elf/chroot_canon.c (chroot_canon): Cleanups.
37605
1bc33071
UD
37606 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37607
1760874d
TJ
37608 [BZ #13335]
37609 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37610 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37611
51d91b18
UD
37612 * string/test-strchr.c: Make usable for strchrnul testing.
37613 * string/test-strchrnul.c: New file.
37614 * string/Makefile (strop-tests): Add strchrnul.
37615
a1b560ff 37616 * po/it.po: Update from translation team.
b611fb81 37617 * po/es.po: Likewise.
a1b560ff 37618
a5b81e1f
UD
376192011-10-28 Ulrich Drepper <drepper@gmail.com>
37620
fd52bc6d
UD
37621 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37622 the three constants needed as parameters. Drop the others.
37623 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37624 __m128i_strloadu_tolower.
52e4b9eb
UD
37625 Create and initialize variable zero and use it in all the places
37626 where _mm_setzero_si128 was used.
fd52bc6d 37627
a5b81e1f
UD
37628 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37629 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37630 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37631 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37632 anymore.
37633 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37634 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37635 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37636 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37637 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37638 __mpranred, __mptan.
37639 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37640 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37641 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37642 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37643 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37644 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37645 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37646 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37647 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37648
b4343346
AS
376492011-10-28 Andreas Schwab <schwab@redhat.com>
37650
0c92d8a8
AS
37651 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37652 redefine if SHARED.
37653 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37654
b4343346
AS
37655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37656 wide char related routines to wcsmbs subdir.
37657
3871f58f
AS
376582011-10-27 Andreas Schwab <schwab@redhat.com>
37659
37660 [BZ #13344]
37661 * misc/sys/cdefs.h (__THROWNL): Define.
37662 * posix/unistd.h: Use __THREADNL instead of __THREAD
37663 for memory synchronization functions.
37664
94d44d9f
RM
376652011-10-26 Roland McGrath <roland@hack.frob.com>
37666
21b64b15 37667 [BZ #13349]
94d44d9f
RM
37668 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37669 doesn't exist.
37670 * manual/stdio.texi (Obstack Streams): Node removed.
37671
f6ce9294
AS
376722011-10-26 Andreas Schwab <schwab@redhat.com>
37673
80479147
AS
37674 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37675 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37676 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37677
f6ce9294
AS
37678 * math/math_private.h (math_force_eval): Allow non-addressable
37679 arguments.
37680 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37681
618280a1
UD
376822011-10-25 Ulrich Drepper <drepper@gmail.com>
37683
e0016b11
UD
37684 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37685 file is not needed.
37686
37687 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37688 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37690 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37693 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37694 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37695 Add AVX variants.
37696 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37697 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37698 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37699 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37700 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37701 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37702 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37704 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37710 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37712 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37715
37716 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37717 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37718
618280a1
UD
37719 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37720 place. Use VEX encoding when compiling for AVX.
37721
37822576
AS
377222011-10-25 Andreas Schwab <schwab@redhat.com>
37723
1f1e1947
AS
37724 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37725 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37726
37822576
AS
37727 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37728
31ea014d
UD
377292011-10-25 Ulrich Drepper <drepper@gmail.com>
37730
d7826aa1 37731 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37732 useless if() expression.
d7826aa1
UD
37733 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37743 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37744 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37745 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37746 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37747 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37749 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37751 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37752
31ea014d
UD
37753 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37754
16437fec
AS
377552011-10-25 Andreas Schwab <schwab@redhat.com>
37756
37757 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37758 condition.
37759 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37760
31d3cc00
UD
377612011-10-25 Ulrich Drepper <drepper@gmail.com>
37762
37763 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37764 .text section. Avoid duplicate constants.
37765 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37773 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37775 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37777 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37782 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37788 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37789 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37790 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37792 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37794 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37795 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37796 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37797 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37798 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37799 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37800 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37801 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37802 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37803 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37804 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37805 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37806 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37807 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37808 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37809 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37810
58985aa9
UD
378112011-10-24 Ulrich Drepper <drepper@gmail.com>
37812
202c9deb
UD
37813 * sysdeps/x86_64/dla.h: Move to ...
37814 * sysdeps/x86_64/fpu/dla.h: ...here.
37815 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37816 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37817
af968f62
UD
37818 * config.make.in: Add have-mfma4 entry.
37819 * configure.in: Substitute libc_cv_cc_fma4.
37820 * math/Makefile (dbl-only-routines): Add sincostab.
37821 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37822 Use __sincostab not sincos.
37823 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37824 name is a macro.
37825 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37829 using __copysign.
37830 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37831 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37832 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37833 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37834 and __inv.
37835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37836 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37837 __copysign.
37838 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37839 define aliases when function name is a macro.
37840 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37841 sysdeps/ieee754/dbl-64/sincos.tbl.
37842 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37843 fma4-enabled routines.
37844 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37845 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37846 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37847 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37848 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37849 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37850 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37851 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37853 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37854 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37855 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37856 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37857 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37858 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37859 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37860 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37861 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37862 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37863 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37864 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37865 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37867 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37869 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37871 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37872 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37873 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37874
58985aa9
UD
37875 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37876 rename.
37877 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37885
a201fbcf
AS
378862011-10-24 Andreas Schwab <schwab@redhat.com>
37887
37888 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37889
fc2ee42a
LD
378902011-10-23 Ulrich Drepper <drepper@gmail.com>
37891
bb3129bd
UD
37892 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37893
0275fff8
UD
37894 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37895 prediction.
37896 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37897
2fa2ae85
UD
37898 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37899 Remove unused variable magic_bits.
37900 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37901
fc2ee42a
LD
37902 * string/strnlen.c: Define and use STRNLEN macro.
37903 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37904 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37905 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37906 * wcsmbs/wcslen.c: Define and use WCSLEN.
37907 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37908 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37909 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37910 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37911 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37912 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37913 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37914
ce7dd29f
LD
379152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37916
37917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37918 strnlen-sse2-no-bsf.
37919 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37921 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37922 Add strnlen support.
37923 (USE_AS_STRNLEN): New macro.
37924 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37925 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37926 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37927 * sysdeps/x86_64/wcslen.S: New file.
37928
979c70a3
MZ
379292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37930
37931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37932 XMM-moves are used for copying on small sizes.
37933
2d09f82f
LD
379342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37935
37936 * wcsmbs/Makefile (strop-tests): Add wcschr.
37937 * wcsmbs/test-wcschr.c: New file.
37938 * string/test-strchr.c: Update.
37939 Add wcschr support.
37940 (WIDE): New macro.
37941
619fccca
LD
379422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37943
2d09f82f 37944 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37945 * wcsmbs/test-wcslen.c: New file.
37946 * string/test-strlen.c: Update.
37947 Add wcslen support.
37948 (WIDE): New macro.
37949
09f699ea
UD
379502011-10-23 Ulrich Drepper <drepper@gmail.com>
37951
37952 * po/it.po: Update from translation team.
37953
95584d3b
LD
379542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37955
37956 * sysdeps/x86_64/wcscmp.S: Update.
37957 Fix wrong comparison semantics.
37958 wcscmp shall use signed comparison not unsigned.
37959 Don't use substraction to avoid overflow bug.
37960 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37961 * wcsmbc/wcscmp.c: Likewise.
37962 * string/test-strcmp.c: Likewise.
37963 Add new tests to check cases with negative values.
37964
c8b3296b
UD
379652011-10-23 Ulrich Drepper <drepper@gmail.com>
37966
37967 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37968 * sysdeps/x86_64/dla.h: ...here. New file.
37969 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37970 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37976 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37978
246ad57a
AS
379792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37980
37981 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37982 __ynl_finite aliases.
37983
a1a87169
UD
379842011-10-22 Ulrich Drepper <drepper@gmail.com>
37985
0d355eb7
UD
37986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37987
a1a87169
UD
37988 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37989 define DLA_FMA.
37990 [DLA_FMA] (EMULV): Use DLA_FMA.
37991 [DLA_FMA] (MUL12): Use EMULV.
37992 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37993 that are not needed.
37994 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38001
ee2aafe0
AS
380022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38003
38004 * math/s_nan.c: Undef __nan.
38005 * math/s_nanf.c: Undef __nanf.
38006 * math/s_nanl.c: Undef __nanl.
38007 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38008 "math_private.h".
38009
bc62c2fb
UD
380102011-10-22 Ulrich Drepper <drepper@gmail.com>
38011
77425c63
UD
38012 * math/s_catan.c: Add branch predictions.
38013 * math/s_catanf.c: Likewise.
38014 * math/s_catanh.c: Likewise.
38015 * math/s_catanhf.c: Likewise.
38016 * math/s_catanhl.c: Likewise.
38017 * math/s_catanl.c: Likewise.
38018 * math/s_cexp.c: Likewise.
38019 * math/s_cexpf.c: Likewise.
38020 * math/s_cexpl.c: Likewise.
38021 * math/s_clog.c: Likewise.
38022 * math/s_clog10.c: Likewise.
38023 * math/s_clog10f.c: Likewise.
38024 * math/s_clog10l.c: Likewise.
38025 * math/s_clogf.c: Likewise.
38026 * math/s_clogl.c: Likewise.
38027 * math/s_csqrt.c: Likewise.
38028 * math/s_csqrtf.c: Likewise.
38029 * math/s_csqrtl.c: Likewise.
38030 * math/s_ctanf.c: Likewise.
38031 * math/s_ctanh.c: Likewise.
38032 * math/s_ctanhf.c: Likewise.
38033 * math/s_ctanhl.c: Likewise.
38034 * math/s_ctanl.c: Likewise.
38035
bc62c2fb
UD
38036 * math/math_private.h: Define __nan, __nanf, __nanl.
38037 * math/s_cacosh.c: Include <math_private.h>.
38038 * math/s_cacoshl.c: Likewise.
38039 * math/s_casinh.c: Likewise.
38040 * math/s_casinhf.c: Likewise.
38041 * math/s_casinhl.c: Likewise.
38042 * math/s_ccos.c: Rely entire on ccosh.
38043 * math/s_ccosf.c: Rely entire on ccoshf.
38044 * math/s_ccosl.c: Rely entirely on ccoshl.
38045 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38046 Remove tests for FE_INVALID.
38047 * math/s_ccoshf.c: Likewise.
38048 * math/s_ccoshl.c: Likewise.
38049 * math/s_csin.c: Likewise.
38050 * math/s_csinf.c: Likewise.
38051 * math/s_csinh.c Likewise.
38052 * math/s_csinhf.c: Likewise.
38053 * math/s_csinhl.c: Likewise.
38054 * math/s_csinl.c: Likewise.
38055 * math/s_ctan.c: Likewise.
38056 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38057 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38058 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38059
8ec250a4
UD
380602011-10-21 Ulrich Drepper <drepper@gmail.com>
38061
c196fed8
UD
38062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38063 compilation problems.
38064
8ec250a4
UD
38065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38066 __builtin_expect.
38067
8d4f46c6
UD
380682011-10-20 Ulrich Drepper <drepper@gmail.com>
38069
ed72b654
UD
38070 * sysdeps/i386/configure.in: Test for -mfma4 option.
38071 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38072 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38073 COMMON_CPUID_INDEX_80000001.
38074 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38075 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38076 use it if FMA3 is not supported.
38077 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38078
8d4f46c6
UD
38079 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38080 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38081
d45c60c2
AS
380822011-10-20 Andreas Schwab <schwab@redhat.com>
38083
38084 [BZ #12892]
38085 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38086 it would create a cycle with a link time dependency.
38087
d9a4d2ab
UD
380882011-10-19 Ulrich Drepper <drepper@gmail.com>
38089
855d1560
UD
38090 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38091 instruction.
38092 * string/Makefile (strop-tests): Add rawmemchr.
38093 * string/test-rawmemchr.c: New file.
38094
d9a4d2ab
UD
38095 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38097 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38098 when compiling str{,n}casecmp and when AVX is available. Hook up
38099 new optimized code in initializers.
38100
8f3b1ffe
AS
381012011-10-19 Andreas Schwab <schwab@redhat.com>
38102
38103 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38104 __feraiseexcept instead of feraiseexcept.
38105
d38f1dba
UD
381062011-10-18 Ulrich Drepper <drepper@gmail.com>
38107
d9a8d0ab
UD
38108 * math/math_private.h: Define defaults for libc_fetestexcept and
38109 libc_feupdateenv.
38110 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38111 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38113 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38114 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38115 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38116 libc_fetestexcept and libc_feupdateenv.
38117
4855e3dd
UD
38118 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38119 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38120 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38121 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38122 libc_feholdexcept_setround.
38123
581d30e3
UD
38124 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38125 Add s_nearbyint-c and s_nearbyintf-c.
38126 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38127 nearbyintf inlines.
38128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38129 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38130 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38131 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38132
d38f1dba
UD
38133 * math/math_private.h: Define defaults for libc_fegetround,
38134 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38135 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38136 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38137 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38138 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38139 standard functions.
38140 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38141 Remove comments and hacks for old compiler versions.
38142 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38143 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38144 libc_feholdexceptl.
38145
caa6c9d8
AS
381462011-10-18 Andreas Schwab <schwab@redhat.com>
38147
38148 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38149 (__feraiseexcept_renamed): Add __NTH.
38150 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38151 namespace violations.
38152
97c066e6
UD
381532011-10-17 Ulrich Drepper <drepper@gmail.com>
38154
99ce7b04
UD
38155 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38156
1004d182
UD
38157 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38158
228a984d
UD
38159 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38160 recently added interfaces.
38161 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38162
c8553a6a
UD
38163 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38164 about macro parameter expansion.
38165
ed22dcf6
UD
38166 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38167 __NO_MATH_INLINES is defined. Cleanups.
38168
38169 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38170 and __floorf is target has SSE4.1.
38171 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38172 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38173 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38174 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38175
b171c137
UD
38176 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38177 name.
38178 (floorf): Likewise.
38179
97c066e6
UD
38180 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38181
629f62ef
AS
381822011-10-17 Andreas Schwab <schwab@redhat.com>
38183
49a43d80
AS
38184 * misc/sys/cdefs.h: Fix last change.
38185
629f62ef
AS
38186 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38187 database lookup.
38188
e453f6cd
UD
381892011-10-16 Ulrich Drepper <drepper@gmail.com>
38190
aa78043a
UD
38191 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38192
ad0f5cad
UD
38193 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38195 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38196 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38197 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38199 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38200 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38201 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38202 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38203 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38204 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38205 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38206 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38207 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38208 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38209 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38210 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38211 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38212 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38213 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38214 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38215
38216 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38217 ceil, ceilf, floor, floorf.
38218
38219 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38220 Perform IRELATIVE relocations last.
38221
e453f6cd
UD
38222 * elf/do-rel.h: Add another parameter nrelative, replacing the
38223 local variable with the same name. Change name of the function
38224 to end in Rel or Rela (uppercase).
38225 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38226 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38227 elf_dynamic_do_##reloc function.
38228
fd5bdc09
UD
382292011-10-15 Ulrich Drepper <drepper@gmail.com>
38230
79b195b5
UD
38231 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38232 is sufficient, at least on modern CPUs.
38233
d4a28569
UD
38234 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38235
b61099b5
UD
38236 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38237 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38238
bcf01e6d
UD
38239 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38240 __expl_finite.
38241 * math/bits/math-finite.h: Add entries for exp.
38242 * math/e_expl.c: Add __*_finite alias.
38243 * sysdeps/i386/fpu/e_exp.S: Likewise.
38244 * sysdeps/i386/fpu/e_expf.S: Likewise.
38245 * sysdeps/i386/fpu/e_expl.c: Likewise.
38246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38247 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38248 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38249 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38252 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38253
ba1a0d59
UD
38254 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38255 is sufficient, at least on modern CPUs.
38256
fd5bdc09
UD
38257 * ctype/ctype-info.c (__ctype_init): Define.
38258 * include/ctype.h (__ctype_init): Declare.
38259 (__ctype_b_loc): The variable is always initialized.
38260 (__ctype_toupper_loc): Likewise.
38261 (__ctype_tolower_loc): Likewise.
38262 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38263 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38264
7872cfb0
AS
382652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38266
b468825a
AS
38267 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38268
7872cfb0
AS
38269 * configure.in: Also look in $cxxmachine/include for C++ system
38270 headers.
38271
be13f7bf
LD
382722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38273
38274 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38275 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38276 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38277 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38278 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38279 (USE_AS_WMEMCMP): New macro.
38280 Fixing indents.
38281 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38282 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38283 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38284 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38286 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38287 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38288 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38289 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38290 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38291 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38292 (USE_AS_WMEMCMP): New macro.
38293 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38294 * sysdeps/string/test-memcmp.c: Update.
38295 Fix simple_wmemcmp.
38296 Add new tests.
38297 * wcsmbs/wmemcmp.c: Update.
38298 (WMEMCMP): New macro.
38299 Fix overflow bug.
38300
556a2007
AJ
383012011-10-12 Andreas Jaeger <aj@suse.de>
38302
38303 [BZ #13268]
38304 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38305
538faaa7
UD
383062011-10-15 Ulrich Drepper <drepper@gmail.com>
38307
ab6737ff
UD
38308 * libio/iofwide.c (do_length): Avoid warning.
38309
538faaa7
UD
38310 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38311
396a21b1
UD
383122011-10-14 Ulrich Drepper <drepper@gmail.com>
38313
cdf2901f
UD
38314 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38315
38ad40ce
UD
38316 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38317 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38318 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38319 * sysdeps/i386/i686/fpu/e_log.S: New file.
38320 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38321 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38322
396a21b1
UD
38323 * ctype/ctype.h: Add support for inlined isXXX functions when
38324 compiling C++ code.
38325
6b1f68c9
AS
383262011-10-14 Andreas Schwab <schwab@redhat.com>
38327
349290c0
AS
38328 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38329
6b1f68c9
AS
38330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38331
f2282d42
RM
383322011-10-13 Roland McGrath <roland@hack.frob.com>
38333
38334 [BZ #13291]
38335 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38336
5298ffa8
AS
383372011-10-13 Andreas Schwab <schwab@redhat.com>
38338
714fad23
AS
38339 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38340 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38341 feraiseexcept.
38342
81dcc7fb
AS
38343 * sysdeps/x86_64/memrchr.S: Check for zero size.
38344
5298ffa8
AS
38345 * string/stratcliff.c: Add memrchr tests.
38346
951fbcec
LD
383472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38348
38349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38350 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38351 rawmemchr-sse2 rawmemchr-sse2-bsf.
38352 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38353 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38354 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38355 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38356 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38357 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38358 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38359 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38360 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38361 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38362 * string/memrchr.c (MEMRCHR): New macro.
38363
0ac5ae23
UD
383642011-10-12 Ulrich Drepper <drepper@gmail.com>
38365
38366 Add integration with gcc's -ffinite-math-only and optimize wrapper
38367 functions in libm.
38368 * Versions.def: Define GLIBC_2.15 version for libm.
38369 * math/Makefile (headers): Add bits/math-finite.h.
38370 * math/bits/math-finite.h: New file.
38371 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38372 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38373 * math/e_acoshl.c: Add __*_finite alias.
38374 * math/e_acosl.c: Likewise.
38375 * math/e_asinl.c: Likewise.
38376 * math/e_atan2l.c: Likewise.
38377 * math/e_atanhl.c: Likewise.
38378 * math/e_coshl.c: Likewise.
38379 * math/e_exp10.c: Likewise.
38380 * math/e_exp10f.c: Likewise.
38381 * math/e_exp10l.c: Likewise.
38382 * math/e_exp2l.c: Likewise.
38383 * math/e_fmodl.c: Likewise.
38384 * math/e_gammal_r.c: Likewise.
38385 * math/e_hypotl.c: Likewise.
38386 * math/e_j0l.c: Likewise.
38387 * math/e_j1l.c: Likewise.
38388 * math/e_jnl.c: Likewise.
38389 * math/e_lgammal_r.c: Likewise.
38390 * math/e_log10l.c: Likewise.
38391 * math/e_log2l.c: Likewise.
38392 * math/e_logl.c: Likewise.
38393 * math/e_powl.c: Likewise.
38394 * math/e_sinhl.c: Likewise.
38395 * math/e_sqrtl.c: Likewise.
38396 * math/e_scalb.c: Completely rewritten and optimized.
38397 * math/e_scalbf.c: Likewise.
38398 * math/e_scalbl.c: Likewise.
38399 * math/w_acos.c: Likewise.
38400 * math/w_acosf.c: Likewise.
38401 * math/w_acosl.c: Likewise.
38402 * math/w_acosh.c: Likewise.
38403 * math/w_acoshf.c: Likewise.
38404 * math/w_acoshl.c: Likewise.
38405 * math/w_asin.c: Likewise.
38406 * math/w_asinf.c: Likewise.
38407 * math/w_asinl.c: Likewise.
38408 * math/w_atan2.c: Likewise.
38409 * math/w_atan2f.c: Likewise.
38410 * math/w_atan2l.c: Likewise.
38411 * math/w_atanh.c: Likewise.
38412 * math/w_atanhf.c: Likewise.
38413 * math/w_atanhl.c: Likewise.
38414 * math/w_exp10.c: Likewise.
38415 * math/w_exp10f.c: Likewise.
38416 * math/w_exp10l.c: Likewise.
38417 * math/w_fmod.c: Likewise.
38418 * math/w_fmodf.c: Likewise.
38419 * math/w_fmodl.c: Likewise.
38420 * math/w_j0.c: Likewise.
38421 * math/w_j0f.c: Likewise.
38422 * math/w_j0l.c: Likewise.
38423 * math/w_j1.c: Likewise.
38424 * math/w_j1f.c: Likewise.
38425 * math/w_j1l.c: Likewise.
38426 * math/w_jn.c: Likewise.
38427 * math/w_jnf.c: Likewise.
38428 * math/w_log.c: Likewise.
38429 * math/w_logf.c: Likewise.
38430 * math/w_logl.c: Likewise.
38431 * math/w_log10.c: Likewise.
38432 * math/w_log10f.c: Likewise.
38433 * math/w_log10l.c: Likewise.
38434 * math/w_log2.c: Likewise.
38435 * math/w_log2f.c: Likewise.
38436 * math/w_log2l.c: Likewise.
38437 * math/w_pow.c: Likewise.
38438 * math/w_powf.c: Likewise.
38439 * math/w_powl.c: Likewise.
38440 * math/w_remainder.c: Likewise.
38441 * math/w_remainderf.c: Likewise.
38442 * math/w_remainderl.c: Likewise.
38443 * math/w_scalb.c: Likewise.
38444 * math/w_scalbf.c: Likewise.
38445 * math/w_scalbl.c: Likewise.
38446 * math/w_sqrt.c: Likewise.
38447 * math/w_sqrtf.c: Likewise.
38448 * math/w_sqrtl.c: Likewise.
38449 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38450 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38451 used.
38452 * math/math_private.h: Declare __kernel_standard_f.
38453 * math/w_cosh.c: Remove cruft and optimize a bit.
38454 * math/w_coshf.c: Likewise.
38455 * math/w_coshl.c: Likewise.
38456 * math/w_exp2.c: Likewise.
38457 * math/w_exp2f.c: Likewise.
38458 * math/w_exp2l.c: Likewise.
38459 * math/w_hypot.c: Likewise.
38460 * math/w_hypotf.c: Likewise.
38461 * math/w_hypotl.c: Likewise.
38462 * math/w_lgamma.c: Likewise.
38463 * math/w_lgamma_r.c: Likewise.
38464 * math/w_lgammaf.c: Likewise.
38465 * math/w_lgammaf_r.c: Likewise.
38466 * math/w_lgammal.c: Likewise.
38467 * math/w_lgammal_r.c: Likewise.
38468 * math/w_sinh.c: Likewise.
38469 * math/w_sinhf.c: Likewise.
38470 * math/w_sinhl.c: Likewise.
38471 * math/w_tgamma.c: Likewise.
38472 * math/w_tgammaf.c: Likewise.
38473 * math/w_tgammal.c: Likewise.
38474 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38475 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38476 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38477 Minor optimizations. Pretty printing. Remove cruft.
38478 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38479 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38480 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38481 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38482 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38483 * sysdeps/i386/fpu/e_asin.S: Likewise.
38484 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38485 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38486 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38487 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38488 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38489 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38490 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38491 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38492 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38493 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38494 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38495 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38496 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38497 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38498 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38499 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38500 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38501 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38502 * sysdeps/i386/fpu/e_log.S: Likewise.
38503 * sysdeps/i386/fpu/e_log10.S: Likewise.
38504 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38505 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38506 * sysdeps/i386/fpu/e_log2.S: Likewise.
38507 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38508 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38509 * sysdeps/i386/fpu/e_logf.S: Likewise.
38510 * sysdeps/i386/fpu/e_logl.S: Likewise.
38511 * sysdeps/i386/fpu/e_pow.S: Likewise.
38512 * sysdeps/i386/fpu/e_powf.S: Likewise.
38513 * sysdeps/i386/fpu/e_powl.S: Likewise.
38514 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38515 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38516 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38517 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38518 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38519 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38520 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38521 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38522 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38523 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38524 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38526 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38527 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38528 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38529 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38530 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38531 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38532 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38533 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38534 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38536 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38537 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38539 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38540 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38541 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38543 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38544 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38545 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38546 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38547 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38548 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38549 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38550 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38551 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38552 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38553 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38554 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38556 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38557 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38558 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38559 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38560 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38561 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38562 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38563 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38564 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38606 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38608 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38609 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38610 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38611 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38614 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38615 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38616 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38617 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38618 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38619 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38620 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38621 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38622 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38623 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38624 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38625 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38626 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38627 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38628 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38629 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38631 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38632 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38633 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38634 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38635 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38636 (__isnanf): Likewise.
38637 (__isinf_ns): Likewise.
38638 (__isinf_nsf): Likewise.
38639 (__finite): Likewise.
38640 (__finitef): Likewise.
38641 (__ieee754_sqrt): Define as macro.
38642 (__ieee754_sqrtf): Define as macro.
38643 (__ieee754_sqrtl): Define as macro.
38644 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38645 inlined copy.
38646 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38647 __FINITE_MATH_ONLY__ consistent.
38648 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38649
12cc2fcd
AS
386502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38651
a843a204
AS
38652 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38653 of rawmemchr.
38654
12cc2fcd
AS
38655 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38656
c853acd5
UD
386572011-10-09 Ulrich Drepper <drepper@gmail.com>
38658
38659 * po/ja.po: Update from translation team.
38660
c658d255
RM
386612011-10-08 Roland McGrath <roland@hack.frob.com>
38662
110946e4
RM
38663 * locale/programs/locarchive.c (prepare_address_space): New function.
38664 (create_archive, enlarge_archive, open_archive): Use it.
38665
50604220
RM
38666 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38667 inside [SHARED], where it is used.
38668
c658d255
RM
38669 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38670
38671 * nss/getent.c (netgroup_keys): Remove unused variable.
38672 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38673
6a621eb7
UD
386742011-10-08 Ulrich Drepper <drepper@gmail.com>
38675
7edb55ce
UD
38676 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38677 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38679 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38680 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38681 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38682 * math/Makefile (libm-calls): Add s_isinf_ns.
38683 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38684 * math/multc3.c: Likewise.
38685 * math/s_casin.c: Likewise.
38686 * math/s_casinf.c: Likewise.
38687 * math/s_casinl.c: Likewise.
38688 * math/s_ccos.c: Likewise.
38689 * math/s_ccosf.c: Likewise.
38690 * math/s_ccosl.c: Likewise.
38691 * math/s_ctan.c: Likewise.
38692 * math/s_ctanf.c: Likewise.
38693 * math/s_ctanh.c: Likewise.
38694 * math/s_ctanhf.c: Likewise.
38695 * math/s_ctanhl.c: Likewise.
38696 * math/s_ctanl.c: Likewise.
38697 * math/w_fmod.c: Likewise.
38698 * math/w_fmodf.c: Likewise.
38699 * math/w_fmodl.c: Likewise.
38700 * math/w_remainder.c: Likewise.
38701 * math/w_remainderf.c: Likewise.
38702 * math/w_remainderl.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38704 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38705 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38707 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38708 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38709 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38710 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38711
187da0ae
UD
38712 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38713 of the number.
38714 * stdio-common/printf_fphex.c: Likewise.
38715 * stdio-common/printf_size.c: Likewise.
38716
9277c064
UD
38717 * math/e_exp10.c: Include math_private.h using <...> not "...".
38718 * math/e_exp10f.c: Likewise.
38719 * math/e_exp10l.c: Likewise.
38720 * math/e_exp2l.c: Likewise.
38721 * math/e_j0l.c: Likewise.
38722 * math/e_j1l.c: Likewise.
38723 * math/e_jnl.c: Likewise.
38724 * math/e_lgammal_r.c: Likewise.
38725 * math/e_rem_pio2l.c: Likewise.
38726 * math/e_scalb.c: Likewise.
38727 * math/e_scalbf.c: Likewise.
38728 * math/e_scalbl.c: Likewise.
38729 * math/k_cosl.c: Likewise.
38730 * math/k_sinl.c: Likewise.
38731 * math/k_tanl.c: Likewise.
38732 * math/s_cacoshf.c: Likewise.
38733 * math/s_catan.c: Likewise.
38734 * math/s_catanf.c: Likewise.
38735 * math/s_catanh.c: Likewise.
38736 * math/s_catanhf.c: Likewise.
38737 * math/s_catanhl.c: Likewise.
38738 * math/s_catanl.c: Likewise.
38739 * math/s_ccosh.c: Likewise.
38740 * math/s_ccoshf.c: Likewise.
38741 * math/s_ccoshl.c: Likewise.
38742 * math/s_cexp.c: Likewise.
38743 * math/s_cexpf.c: Likewise.
38744 * math/s_cexpl.c: Likewise.
38745 * math/s_clog.c: Likewise.
38746 * math/s_clog10.c: Likewise.
38747 * math/s_clog10f.c: Likewise.
38748 * math/s_clog10l.c: Likewise.
38749 * math/s_clogf.c: Likewise.
38750 * math/s_clogl.c: Likewise.
38751 * math/s_csin.c: Likewise.
38752 * math/s_csinf.c: Likewise.
38753 * math/s_csinh.c: Likewise.
38754 * math/s_csinhf.c: Likewise.
38755 * math/s_csinhl.c: Likewise.
38756 * math/s_csinl.c: Likewise.
38757 * math/s_csqrt.c: Likewise.
38758 * math/s_csqrtf.c: Likewise.
38759 * math/s_csqrtl.c: Likewise.
38760 * math/s_ctan.c: Likewise.
38761 * math/s_ctanf.c: Likewise.
38762 * math/s_ctanh.c: Likewise.
38763 * math/s_ctanhf.c: Likewise.
38764 * math/s_ctanhl.c: Likewise.
38765 * math/s_ctanl.c: Likewise.
38766 * math/s_ldexp.c: Likewise.
38767 * math/s_ldexpf.c: Likewise.
38768 * math/s_ldexpl.c: Likewise.
38769 * math/s_significand.c: Likewise.
38770 * math/s_significandf.c: Likewise.
38771 * math/s_significandl.c: Likewise.
38772 * math/w_acos.c: Likewise.
38773 * math/w_acosf.c: Likewise.
38774 * math/w_acosh.c: Likewise.
38775 * math/w_acoshf.c: Likewise.
38776 * math/w_acoshl.c: Likewise.
38777 * math/w_acosl.c: Likewise.
38778 * math/w_asin.c: Likewise.
38779 * math/w_asinf.c: Likewise.
38780 * math/w_asinl.c: Likewise.
38781 * math/w_atan2.c: Likewise.
38782 * math/w_atan2f.c: Likewise.
38783 * math/w_atan2l.c: Likewise.
38784 * math/w_atanh.c: Likewise.
38785 * math/w_atanhf.c: Likewise.
38786 * math/w_atanhl.c: Likewise.
38787 * math/w_cosh.c: Likewise.
38788 * math/w_coshf.c: Likewise.
38789 * math/w_coshl.c: Likewise.
38790 * math/w_dremf.c: Likewise.
38791 * math/w_exp10.c: Likewise.
38792 * math/w_exp10f.c: Likewise.
38793 * math/w_exp10l.c: Likewise.
38794 * math/w_exp2.c: Likewise.
38795 * math/w_exp2f.c: Likewise.
38796 * math/w_fmod.c: Likewise.
38797 * math/w_fmodf.c: Likewise.
38798 * math/w_fmodl.c: Likewise.
38799 * math/w_hypot.c: Likewise.
38800 * math/w_hypotf.c: Likewise.
38801 * math/w_hypotl.c: Likewise.
38802 * math/w_j0.c: Likewise.
38803 * math/w_j0f.c: Likewise.
38804 * math/w_j0l.c: Likewise.
38805 * math/w_j1.c: Likewise.
38806 * math/w_j1f.c: Likewise.
38807 * math/w_j1l.c: Likewise.
38808 * math/w_jn.c: Likewise.
38809 * math/w_jnf.c: Likewise.
38810 * math/w_jnl.c: Likewise.
38811 * math/w_lgamma.c: Likewise.
38812 * math/w_lgamma_r.c: Likewise.
38813 * math/w_lgammaf.c: Likewise.
38814 * math/w_lgammaf_r.c: Likewise.
38815 * math/w_lgammal.c: Likewise.
38816 * math/w_lgammal_r.c: Likewise.
38817 * math/w_log.c: Likewise.
38818 * math/w_log10.c: Likewise.
38819 * math/w_log10f.c: Likewise.
38820 * math/w_log10l.c: Likewise.
38821 * math/w_log2.c: Likewise.
38822 * math/w_log2f.c: Likewise.
38823 * math/w_log2l.c: Likewise.
38824 * math/w_logf.c: Likewise.
38825 * math/w_logl.c: Likewise.
38826 * math/w_pow.c: Likewise.
38827 * math/w_powf.c: Likewise.
38828 * math/w_powl.c: Likewise.
38829 * math/w_remainder.c: Likewise.
38830 * math/w_remainderf.c: Likewise.
38831 * math/w_remainderl.c: Likewise.
38832 * math/w_scalb.c: Likewise.
38833 * math/w_scalbf.c: Likewise.
38834 * math/w_scalbl.c: Likewise.
38835 * math/w_sinh.c: Likewise.
38836 * math/w_sinhf.c: Likewise.
38837 * math/w_sinhl.c: Likewise.
38838 * math/w_sqrt.c: Likewise.
38839 * math/w_sqrtf.c: Likewise.
38840 * math/w_sqrtl.c: Likewise.
38841 * math/w_tgamma.c: Likewise.
38842 * math/w_tgammaf.c: Likewise.
38843 * math/w_tgammal.c: Likewise.
38844
6a621eb7
UD
38845 * po/ja.po: Update from translation team.
38846
bf582445
AJ
388472011-09-29 Andreas Jaeger <aj@suse.de>
38848
f9efbf3a
AJ
38849 [BZ #13179]
38850 * sunrpc/netname.c (netname2host): Fix logic.
38851
bf582445
AJ
38852 [BZ #6779]
38853 [BZ #6783]
38854 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38855 correctly.
38856 * math/w_remainder.c (__remainder): Likewise.
38857 * math/w_remainderf.c (__remainderf): Likewise.
38858 * math/libm-test.inc (remainder_test): Add test cases.
38859
48693bea
AK
388602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38861
38862 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38863 sdiv_qrnnd.
38864
42622229
LD
388652011-10-07 Ulrich Drepper <drepper@gmail.com>
38866
38867 * string/test-memcmp.c: Avoid unncessary #defines.
38868 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38869
093ecf92
LD
388702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38871
38872 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38873 Use new sse2 version for core i3 - i7 as it's faster
38874 than sse42 version.
38875 (bit_Prefer_PMINUB_for_stringop): New.
38876 * sysdeps/x86_64/rawmemchr.S: Update.
38877 Replace with faster SSE2 version.
38878 * sysdeps/x86_64/memrchr.S: New file.
38879 * sysdeps/x86_64/memchr.S: Update.
38880 Replace with faster SSE2 version.
38881
fde56e5c
MP
388822011-09-12 Marek Polacek <mpolacek@redhat.com>
38883
38884 * elf/dl-load.c (lose): Add cast to avoid warning.
38885
21fd49a9
UD
388862011-10-07 Ulrich Drepper <drepper@gmail.com>
38887
5a06e643
UD
38888 * po/ca.po: Update from translation team.
38889
684ae515
UD
38890 * inet/getnetgrent_r.c: Hook up nscd.
38891 * nscd/Makefile (routines): Add nscd_netgroup.
38892 (nscd-modules): Add netgroupcache.
38893 (CFLAGS-netgroupcache.c): Define.
38894 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38895 (cache_search): Add const to second parameter.
38896 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38897 INNETGR.
38898 (dbs): Add netgrdb entry.
38899 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38900 (verify_persistent_db): Handle netgrdb.
38901 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38902 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38903 GETFDNETGR.
38904 (netgroup_response_header): Define.
38905 (innetgroup_response_header): Define.
38906 (datahead): Add netgroup_response_header and innetgroup_response_header
38907 elements.
38908 * nscd/nscd.conf: Add entries for netgroup cache.
38909 * nscd/nscd.h (dbtype): Add netgrdb.
38910 (_PATH_NSCD_NETGROUP_DB): Define.
38911 (netgroup_iov_disabled): Declare.
38912 (xmalloc, xcalloc, xrealloc): Move declarations here.
38913 (cache_search): Adjust prototype.
38914 Add netgroup-related prototypes.
38915 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38916 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38917 (__nscd_innetgr): Declare.
38918 * nscd/selinux.c (perms): Use access_vector_t as element type and
38919 add netgroup-related initializers.
38920 * nscd/netgroupcache.c: New file.
38921 * nscd/nscd_netgroup.c: New file.
38922 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38923 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38924 For four parameters use innetgr.
38925 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38926 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38927 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38928 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38929
21fd49a9
UD
38930 * nscd/connections.c (register_traced_file): Don't register file
38931 for disabled databases.
38932
054c0457
UD
389332011-10-06 Ulrich Drepper <drepper@gmail.com>
38934
32b63198
UD
38935 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38936
054c0457
UD
38937 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38938 from tree and freeing node.
38939
64031225
JO
389402011-09-25 Jiri Olsa <jolsa@redhat.com>
38941
38942 * nss/nsswitch.c (__nss_database_lookup): Handle
38943 nss_parse_service_list out of memory case.
38944
0490345c
JO
389452011-09-15 Jiri Olsa <jolsa@redhat.com>
38946
38947 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38948 out of memory case.
38949
3a62d00d
AS
389502011-10-04 Andreas Schwab <schwab@redhat.com>
38951
38952 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38953 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38954 pass it down.
38955 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38956 elf_machine_rela, elf_machine_lazy_rel.
38957 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38958 (ELF_DYNAMIC_DO_REL): Likewise.
38959 (ELF_DYNAMIC_DO_RELA): Likewise.
38960 (ELF_DYNAMIC_RELOCATE): Likewise.
38961 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38962 to ELF_DYNAMIC_DO_REL.
38963 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38964 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38965 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38966 elf_machine_rela.
38967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38968 skip_ifunc, don't call ifunc function if non-zero.
38969 (elf_machine_rela): Likewise.
38970 (elf_machine_lazy_rel): Likewise.
38971 (elf_machine_lazy_rela): Likewise.
38972 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38973 (elf_machine_lazy_rel): Likewise.
38974 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38975 Likewise.
38976 (elf_machine_lazy_rel): Likewise.
38977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38978 Likewise.
38979 (elf_machine_lazy_rel): Likewise.
38980 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38981 (elf_machine_lazy_rel): Likewise.
38982 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38983 (elf_machine_lazy_rel): Likewise.
38984 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38985 (elf_machine_lazy_rel): Likewise.
38986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38987 (elf_machine_lazy_rel): Likewise.
38988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38989 (elf_machine_lazy_rel): Likewise.
38990 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38991 (elf_machine_lazy_rel): Likewise.
38992
68577918
UD
389932011-09-28 Ulrich Drepper <drepper@gmail.com>
38994
38995 * nss/nss_files/files-init.c (_nss_files_init): Use static
38996 initialization for all the *_traced_file variables.
38997
68822d74
AS
389982011-09-28 Andreas Schwab <schwab@redhat.com>
38999
39000 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39001
2056100b
RM
390022011-09-27 Roland McGrath <roland@hack.frob.com>
39003
39004 [BZ #13226]
39005 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39006
32c76b63
AS
390072011-09-27 Andreas Schwab <schwab@redhat.com>
39008
39009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39010 Reread the line before reparsing it.
39011
bf972c9d
AS
390122011-09-26 Andreas Schwab <schwab@redhat.com>
39013
39014 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39015
e057a1b5
JM
390162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39017 Maxim Kuvyrkov <maxim@codesourcery.com>
39018 Joseph Myers <joseph@codesourcery.com>
39019
39020 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39021 if needed for __stack_chk_guard.
39022
bc7e1c36
RM
390232011-09-19 Roland McGrath <roland@hack.frob.com>
39024
ecb1482f
RM
39025 * sysdeps/posix/spawni.c (script_execute): Always define it.
39026 It will be optimized away if unused.
39027 (maybe_script_execute): New function.
39028 (__spawni): Call it.
39029
bc7e1c36
RM
39030 * Makerules: Don't include tls.make.
39031 (config-tls): Always set to thread.
39032 * tls.make.c: File removed.
39033
1c3b002b
MF
390342011-09-19 Mike Frysinger <vapier@gentoo.org>
39035
39036 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39037 * config.make.in (CPPFLAGS-config): New substituted variable.
39038
2840865d
UD
390392011-09-15 Ulrich Drepper <drepper@gmail.com>
39040
88738eb6
UD
39041 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39042
cbf645a6 39043 [BZ #13192]
2840865d
UD
39044 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39045 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39046
b402e91a
RM
390472011-09-15 Roland McGrath <roland@hack.frob.com>
39048
39049 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39050 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39051 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39052 (CALL_FAIL): Likewise.
39053 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39054 (CALL_FAIL): Macro removed.
39055 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39056
4c1a1f71
UD
390572011-09-15 Ulrich Drepper <drepper@gmail.com>
39058
39059 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39060 for __FINITE_MATH_ONLY__ == 1.
39061
edc121be
AS
390622011-09-15 Andreas Schwab <schwab@redhat.com>
39063
39064 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39065 __ieee754_sqrt instead of sqrt.
39066 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39067 __ieee754_sqrtf instead of sqrtf.
39068 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39069 __floorf instead of floorf.
39070 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39071 __floorf, __truncf instead of floorf, truncf.
39072
cd205654
UD
390732011-09-14 Ulrich Drepper <drepper@gmail.com>
39074
ee4d0315
UD
39075 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39076
cd205654
UD
39077 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39078 __extern_always_inline.
39079 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39080 32-bit.
39081
48b67d71
AS
390822011-09-14 Andreas Schwab <schwab@redhat.com>
39083
39084 * elf/rtld.c (dl_main): Also relocate in dependency order when
39085 doing symbol dependency testing.
39086
1ae12c75
AS
390872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39088
39089 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39090 Always define `refsym'.
39091
995a80df
AS
390922011-09-13 Andreas Schwab <schwab@redhat.com>
39093
e529793b
AS
39094 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39095 (__FD_ELT): Renamed from __FDELT.
39096 * misc/bits/select2.h (__FD_ELT): Likewise.
39097 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39098 __FD_MASK instead of __FDELT, __FDMASK.
39099 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39100 Likewise.
39101 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39102 Likewise.
39103
52d4fef8
AS
39104 * elf/Makefile (gen-ldd): Fix pattern.
39105
995a80df
AS
39106 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39107 (init_tls): Likewise.
39108
8682f8b0
UD
391092011-09-12 Ulrich Drepper <drepper@gmail.com>
39110
39111 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39112
de82006d
AS
391132011-09-12 Andreas Schwab <schwab@redhat.com>
39114
a7c8e6a1
AS
39115 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39116 `struct cmsghdr *' instead of `void *'.
39117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39118 Likewise.
39119
0f31fe77
AS
391202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39121
39122 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39123 if non-absolute.
39124 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39125 ldd_rewrite_script.
0f31fe77 39126
32b4c839
UD
391272011-09-11 Ulrich Drepper <drepper@gmail.com>
39128
83cd1420
UD
39129 * configure.in: Remove --with-tls option.
39130 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39131 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39132 out in case it is missing.
39133 * sysdeps/ia64/elf/configure.in: Likewise.
39134 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39135 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39136 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39137 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39138 * sysdeps/sh/elf/configure.in: Likewise.
39139 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39140 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39141 * sysdeps/x86_64/elf/configure.in: Likewise.
39142 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39143 * sysdeps/mach/hurd/tls.h: Likewise.
39144
633f745d
UD
39145 [BZ #13067]
39146 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39147
f318beb8
UD
39148 [BZ #13090]
39149 * configure.in: Fix use of AC_INIT.
39150
32b4c839
UD
39151 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39152
3ce1f295
UD
391532011-09-10 Ulrich Drepper <drepper@gmail.com>
39154
bb016596
UD
39155 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39156 __set_errno.
8e58439c
UD
39157 * malloc/hooks.c: Likewise.
39158
aebae053 39159 [BZ #11929]
02d46fc4
UD
39160 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39161 variables statically.
39162 (narenas): Initialize.
39163 (list_lock): Initialize.
bb016596
UD
39164 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39165 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39166 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39167 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39168 Add initializers to main_arena and mp_.
39169 (malloc_state): Remove pagesize member. Change all users to use
39170 GLRO(dl_pagesize).
39171
39172 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39173 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39174 is always initialized.
39175
22a89187
UD
39176 * malloc/malloc.c: Removed unused configurations and dead code.
39177 * malloc/arena.c: Likewise.
39178 * malloc/hooks.c: Likewise.
02d46fc4 39179 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39180
d063d164
UD
39181 * include/tls.h: Removed. USE___THREAD must always be defined.
39182 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39183 * elf/dl-libc.c: Likewise.
39184 * elf/dl-tsd.c: Likewise.
39185 * include/errno.h: Likewise.
39186 * include/netdb.h: Likewise.
39187 * include/resolv.h: Likewise.
39188 * inet/herrno-loc.c: Likewise.
39189 * inet/herrno.c: Likewise.
39190 * malloc/arena.c: Likewise.
39191 * malloc/hooks.c: Likewise.
39192 * malloc/malloc.c: Likewise.
39193 * resolv/res-state.c: Likewise.
39194 * resolv/res_libc.c: Likewise.
39195 * sysdeps/i386/dl-machine.h: Likewise.
39196 * sysdeps/ia64/dl-machine.h: Likewise.
39197 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39198 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39199 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39200 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39201 * sysdeps/sh/dl-machine.h: Likewise.
39202 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39203 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39204 * sysdeps/unix/i386/sysdep.S: Likewise.
39205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39206 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39211 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39216 * sysdeps/x86_64/dl-machine.h: Likewise.
39217 * tls.make.c: Likewise.
39218
3ce1f295
UD
39219 * configure.in: Remove --with-__thread option. Make tests for
39220 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39221 tls_model attribute fail if no support is available. Remove
39222 USE_IN_LIBIO.
39223 * Makeconfig: Adjust for dropped configure option. All features are
39224 now mandatory.
39225 * Makerules: Likewise.
39226 * Versions.def: Likewise.
39227 * argp/argp-fmtstream.c: Likewise.
39228 * argp/argp-fmtstream.h: Likewise.
39229 * argp/argp-help.c: Likewise.
39230 * assert/assert.c: Likewise.
39231 * config.h.in: Likewise.
39232 * config.make.in: Likewise.
39233 * configure: Likewise.
39234 * configure.in: Likewise.
39235 * csu/Versions: Likewise.
39236 * csu/init.c: Likewise.
39237 * elf/tst-audit2.c: Likewise.
39238 * elf/tst-tls10.c: Likewise.
39239 * elf/tst-tls10.h: Likewise.
39240 * elf/tst-tls11.c: Likewise.
39241 * elf/tst-tls12.c: Likewise.
39242 * elf/tst-tls14.c: Likewise.
39243 * elf/tst-tlsmod11.c: Likewise.
39244 * elf/tst-tlsmod12.c: Likewise.
39245 * elf/tst-tlsmod13.c: Likewise.
39246 * elf/tst-tlsmod13a.c: Likewise.
39247 * elf/tst-tlsmod14a.c: Likewise.
39248 * elf/tst-tlsmod15b.c: Likewise.
39249 * elf/tst-tlsmod16a.c: Likewise.
39250 * elf/tst-tlsmod16b.c: Likewise.
39251 * elf/tst-tlsmod7.c: Likewise.
39252 * elf/tst-tlsmod8.c: Likewise.
39253 * elf/tst-tlsmod9.c: Likewise.
39254 * gmon/gmon.c: Likewise.
39255 * grp/fgetgrent_r.c: Likewise.
39256 * grp/putgrent.c: Likewise.
39257 * hurd/fopenport.c: Likewise.
39258 * include/libc-symbols.h: Likewise.
39259 * include/tls.h: Likewise.
39260 * intl/gettextP.h: Likewise.
39261 * intl/loadinfo.h: Likewise.
39262 * locale/global-locale.c: Likewise.
39263 * locale/localeinfo.h: Likewise.
39264 * mach/devstream.c: Likewise.
39265 * malloc/arena.c: Likewise.
39266 * malloc/set-freeres.c: Likewise.
39267 * misc/err.c: Likewise.
39268 * misc/getttyent.c: Likewise.
39269 * misc/mntent_r.c: Likewise.
39270 * posix/getopt.c: Likewise.
39271 * posix/wordexp.c: Likewise.
39272 * pwd/fgetpwent_r.c: Likewise.
39273 * resolv/Versions: Likewise.
39274 * resolv/res_hconf.c: Likewise.
39275 * shadow/fgetspent_r.c: Likewise.
39276 * shadow/putspent.c: Likewise.
39277 * stdio-common/printf_fphex.c: Likewise.
39278 * stdio-common/tmpfile.c: Likewise.
39279 * stdlib/abort.c: Likewise.
39280 * stdlib/fmtmsg.c: Likewise.
39281 * sunrpc/auth_unix.c: Likewise.
39282 * sunrpc/clnt_perr.c: Likewise.
39283 * sunrpc/clnt_tcp.c: Likewise.
39284 * sunrpc/clnt_udp.c: Likewise.
39285 * sunrpc/clnt_unix.c: Likewise.
39286 * sunrpc/openchild.c: Likewise.
39287 * sunrpc/svc_simple.c: Likewise.
39288 * sunrpc/svc_tcp.c: Likewise.
39289 * sunrpc/svc_udp.c: Likewise.
39290 * sunrpc/svc_unix.c: Likewise.
39291 * sunrpc/xdr.c: Likewise.
39292 * sunrpc/xdr_array.c: Likewise.
39293 * sunrpc/xdr_rec.c: Likewise.
39294 * sunrpc/xdr_ref.c: Likewise.
39295 * sunrpc/xdr_stdio.c: Likewise.
39296
1248c1c4
PB
392972011-09-09 Ulrich Drepper <drepper@gmail.com>
39298
39299 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39300
393012011-07-03 Andreas Jaeger <aj@suse.de>
39302
39303 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39304 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39305 regenerate with gen-libm-tests.pl.
39306
393072010-05-12 Petr Baudis <pasky@suse.cz>
39308
39309 [BZ #11589]
39310 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39311 around j0() zero points by switching to j1().
39312 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39316
f22e1074
UD
393172011-09-09 Ulrich Drepper <drepper@gmail.com>
39318
f19009c1
UD
39319 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39320 instead of 0.
39321 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39322 instead of 0.
f19009c1
UD
39323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39324 Patch in part by Pavel Roskin <proski@gnu.org>.
39325
3f8cc204
UD
39326 [BZ #13138]
39327 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39328 realloc.
39329 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39330 Free memory block if necessary.
39331
f22e1074
UD
39332 [BZ #12847]
39333 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39334 be NULL. Don't lock in this case.
39335
0a2349f9
RM
393362011-09-09 Roland McGrath <roland@hack.frob.com>
39337
39338 * elf/elf.h (ELFOSABI_GNU): New macro.
39339 (ELFOSABI_LINUX): Define to that.
39340
f3cdd467
DZ
393412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39342
39343 * string/strncat.c (strncat): Undef the symbol in case it has been
39344 defined in bits/string.h.
39345
74718d13
UD
393462011-09-09 Ulrich Drepper <drepper@gmail.com>
39347
633e9e0f
UD
39348 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39349
0a2349f9 39350 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39351 link map.
39352
f9924780
AJ
393532011-08-17 Andreas Jaeger <aj@suse.de>
39354
39355 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39356
7f5517aa
PP
393572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39358 Ian Lance Taylor <iant@google.com>
39359
39360 * math/libm-test.inc (lround_test): New testcase.
39361 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39362
762011fe
UD
393632011-09-08 Ulrich Drepper <drepper@gmail.com>
39364
92963737
UD
39365 * Makefile: Remove support for automatic cvs check-ins.
39366 * Makerules: Likewise.
39367 * config.make.in: Likewise.
39368 * configure.in: Likewise.
39369 * intl/Makefile: Likewise.
39370 * locale/Makefile: Likewise.
39371 * po/Makefile: Likewise.
39372 * posix/Makefile: Likewise.
39373 * sysdeps/gnu/Makefile: Likewise.
39374 * sysdeps/mach/hurd/Makefile: Likewise.
39375 * sysdeps/sparc/sparc32/Makefile: Likewise.
39376
b0727fd8
JS
39377 [BZ #13118]
39378 * posix/Makefile (bug-regex32-ENV): Define.
39379 Patch by John Stanley <jpsinthemix@verizon.net>.
39380
a0f33f99
UD
39381 * misc/Makefile (headers): Add bits/select2.h.
39382 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39383 * misc/bits/select2.h: New file.
39384 * include/bits/select2.h: New file.
39385 * debug/Makefile (routines): Add fdelt_chk.
39386 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39387 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39388 FD_ISSET.
39389 * debug/fdelt_chk.c: New file.
39390
762011fe
UD
39391 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39392 * wcsmbs/test-wmemcmp.c: Likewise.
39393 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39394 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39395
393962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39397
39398 * string/Makefile (strop-tests): Add memcmp.
39399 * string/test-wmemcmp.c: New file.
39400 * string/test-memcmp.c: Add wmemcmp support.
39401
7f513ec8
RM
394022011-09-08 Roland McGrath <roland@hack.frob.com>
39403
0442afb4
RM
39404 [BZ #13153]
39405 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39406 2011-07-19 change.
39407
7f513ec8
RM
39408 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39409 garbage value in a __mach_port_mod_refs call in the cases of the
39410 task-self and thread-self ports.
39411
a12b2239
ST
394122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39413
39414 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39415
610f9ab4
AS
394162011-09-08 Andreas Schwab <schwab@redhat.com>
39417
7f513ec8 39418 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39419
48882a1a
LD
394202011-09-07 Ulrich Drepper <drepper@gmail.com>
39421
b49865be
UD
39422 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39423
fdc86bc9
UD
39424 * elf/dl-libc.c (dlerror_run): Pass back error code from
39425 dl_catch_error.
39426
c966526a
UD
39427 [BZ #13123]
39428 * elf/dl-load.c (lose): Free l_origin if it is valid.
39429
48882a1a
LD
39430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39431 names.
39432 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39433 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39435 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39436 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39437 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39438
77a2a8b4
AZ
394392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39440
39441 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39442 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39443 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39444 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39445 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39446 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39447 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39448 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39449 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39450 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39451
24f579d8
AM
394522011-08-15 Alan Modra <amodra@gmail.com>
39453
39454 [BZ #13092]
39455 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39456 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39457 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39458 ppc_mcount to static-only-routines.
39459 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39460 __mcount_internal.
39461 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39462 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39463
3d4837df
UD
394642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39465
39466 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39467 for finite and infinity parameters.
39468
22700377
WS
394692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39470
39471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39472 and add nop instructions for throughput optimization.
39473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39474
5025581e
WS
394752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39476
39477 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39478 aligned copy for power7 with vector-scalar instructions.
39479 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39480
08a300c9
L
394812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39482
39483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39484 AVX check.
39485
59178ef9
AS
394862011-09-07 Andreas Schwab <schwab@redhat.com>
39487
39488 [BZ #13144]
39489 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39490 last change.
39491
e38ba7ab
UD
394922011-09-07 Ulrich Drepper <drepper@gmail.com>
39493
39494 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39495 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39496 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39497 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39498 clock_gettime.
39499
d53a73ac
UD
395002011-09-06 Ulrich Drepper <drepper@gmail.com>
39501
fc8bffcc
UD
39502 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39503 Forgot to demangle the pointer.
39504
ceaa0c5d
UD
39505 * sysdeps/i386/sysdep.h: Define atom_text_section.
39506 * sysdeps/x86_64/sysdep.h: Likewise.
39507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39508 section with atom_text_section.
39509 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39510 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39511 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39512 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39513 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39514
a77d3c17
UD
39515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39516 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39517 already be defined. Change to take two parameters and don't assign
39518 result to variable. Adjust all users.
39519 Define INTERNAL_GETTIME if not already defined.
39520 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39521 call.
39522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39523 HAVE_CLOCK_GETTIME_VSYSCALL.
39524 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39525
d53a73ac
UD
39526 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39527 gettimeofday vsyscall, just use time.
39528
a8f84144
AS
395292011-09-06 Andreas Schwab <schwab@redhat.com>
39530
39531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39532 <errno.h>.
39533
ef606249
UD
395342011-09-06 Ulrich Drepper <drepper@gmail.com>
39535
39536 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39537 syscall on x86-64.
39538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39539 syscall.
39540 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39541 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39542 syscall if possible.
39543
6585cb60
UD
395442011-09-05 Ulrich Drepper <drepper@gmail.com>
39545
39546 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39547 e_ident. Don't pass to find_mapsXX.
39548 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39549
a5f524e4
LD
395502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39551
39552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39553 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39554 * sysdeps/x86_64/multiarch/strchr.S: Update.
39555 Check bit_slow_BSF bit.
39556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39557 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39558 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39559
554881ef
UD
395602011-09-05 Ulrich Drepper <drepper@gmail.com>
39561
d96de963
UD
39562 [BZ #13134]
39563 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39564 before glibc 2.15.
39565 (tryshell): Define.
39566 (__spawni): Change last parameter to be flag. Test
39567 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39568 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39569 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39570 * posix/spawni.c: Likewise.
39571 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39572 * posix/spawnp.c: Likewise. Change normal version to use
39573 SPAWN_XFLAGS_USE_PATH.
39574 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39575 SPAWN_XFLAGS_TRY_SHELL.
39576
d48e5868
UD
39577 [BZ #13150]
39578 * posix/glob.h: Remove gcc 1.x support.
39579
554881ef
UD
39580 [BZ #13068]
39581 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39582
693fb948
LD
395832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39584
39585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39586 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39587 strrchr-sse2-bsf
39588 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39589 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39590 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39592 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39593 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39594
1b48c537
UD
395952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39596
49d42c37
UD
39597 * sysdeps/x86_64/wcscmp.S: New file.
39598
1b48c537
UD
39599 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39600 wcscmp-c wcscmp-sse2
39601 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39602 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39603 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39604 * wcsmbs/wcscmp.c: Allow renaming.
39605
15c95c5d
DM
396062011-09-05 David S. Miller <davem@davemloft.net>
39607
39608 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39609 stack slot, rather than the struct return pointer slot.
39610 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39611 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39613 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39614
2f0ad8f3
UD
396152011-09-05 Ulrich Drepper <drepper@gmail.com>
39616
d88ae418
UD
39617 * po/ja.po: Update from translation team.
39618
2f0ad8f3
UD
39619 [BZ #13144]
39620 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39621 kernel in 64-bit binaries.
39622
5f4318d1
DM
396232011-09-01 David S. Miller <davem@davemloft.net>
39624
39625 * elf/elf.h (HWCAP_SPARC_*): Move to..
39626 * sysdeps/sparc/sysdep.h: this new file and add new values.
39627 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39628 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39629 _DL_HWCAP_COUNT to 24.
39630 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39631 entries.
39632 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39633 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39634 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39636 instead of magic constants.
39637 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39638
3ba57516
DM
396392011-08-31 David S. Miller <davem@davemloft.net>
39640
39641 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39642 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39643 Reimplement to do errno handling inline.
39644 (SYSCALL_ERROR_HANDLER): New macro.
39645 (__SYSCALL_STRING): Do not do errno handling in asm.
39646 (__CLONE_SYSCALL_STRING): Delete.
39647 (__INTERNAL_SYSCALL_STRING): Delete.
39648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39649 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39650 (PSEUDO): Reimplement to do errno handling inline.
39651 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39652 (SYSCALL_ERROR_HANDLER): New macro.
39653 (__SYSCALL_STRING): Do not do errno handling in asm.
39654 (__CLONE_SYSCALL_STRING): Delete.
39655 (__INTERNAL_SYSCALL_STRING): Delete.
39656 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39657 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39658 i386.
39659 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39660 (inline_syscall*): Add 'err' argument.
39661 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39662 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39663 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39664 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39665
39666 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39667 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39668
2bc17433
AS
396692011-08-30 Andreas Schwab <schwab@redhat.com>
39670
39671 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39672
fbeb5f4d
JO
396732011-08-29 Jiri Olsa <jolsa@redhat.com>
39674
39675 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39676 directive.
39677
ad69cc26
DM
396782011-08-24 David S. Miller <davem@davemloft.net>
39679
39680 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39681
39dd69df
AS
396822011-08-24 Andreas Schwab <schwab@redhat.com>
39683
39684 * elf/Makefile: Add rules to build and run unload8 test.
39685 * elf/unload8.c: New file.
39686 * elf/unload8mod1.c: New file.
39687 * elf/unload8mod1x.c: New file.
39688 * elf/unload8mod2.c: New file.
39689 * elf/unload8mod3.c: New file.
39690
39691 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39692 it wasn't used.
39693
2c0b250a
DM
396942011-08-23 David S. Miller <davem@davemloft.net>
39695
39696 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39697 subtract stack bias.
39698 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39699 %sp not %fp in calculations.
39700 (_JMPBUF_UNWINDS_ADJ): Likewise.
39701
22044b48
DM
39702 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39703 (aio_suspend): Call it to force an exception region around the
39704 AIO_MISC_WAIT() invocation.
39705
2cae4995
AS
397062011-08-23 Andreas Schwab <schwab@redhat.com>
39707
39708 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39709 backslash.
39710
873a772e
AJ
397112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39712
39713 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39714 protection macro.
39715 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39716 and <dl-machine.h>.
39717 (Elf64_FuncDesc): Remove.
39718
25ad0df1
DM
397192011-08-22 David S. Miller <davem@davemloft.net>
39720
39721 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39722 sigaltstack check, add missing cfi directives.
39723 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39724 missing cfi directives, and sigaltstack handling.
39725
e888bcbe
AS
397262011-08-16 Andreas Schwab <schwab@redhat.com>
39727
39728 [BZ #11724]
39729 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39730 object is seen twice.
39731 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39732
39733 * elf/Makefile (distribute): Add tst-initorder2.c.
39734 (tests): Add tst-initorder2.
39735 (modules-names): Add tst-initorder2a tst-initorder2b
39736 tst-initorder2c tst-initorder2d. Add rules to build them.
39737 ($(objpfx)tst-initorder2.out): New rule.
39738 * elf/tst-initorder2.c: New file.
39739 * elf/tst-initorder2.exp: New file.
39740
87162f46
AS
397412011-08-22 Andreas Schwab <schwab@redhat.com>
39742
70538b7f
AS
39743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39744
f55ffe58
AS
39745 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39746 dependencies back to end of function.
39747
87162f46
AS
39748 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39749 $(elfobjdir)/ld.so.
39750
91b392a4
UD
397512011-08-21 Ulrich Drepper <drepper@gmail.com>
39752
39753 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39754 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39755 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39756 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39757 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39758 of __vdso_gettimeofday.
39759 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39760 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39761 attribute_hidden.
39762 (_libc_vdso_platform_setup): Remove initialization of
39763 __vdso_gettimeofday and __vdso_time.
39764
5c43483f
UD
397652011-08-20 Ulrich Drepper <drepper@gmail.com>
39766
775a77e7
UD
39767 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39768 and fgetc_unlocked.
39769 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39770 getc_unlocked.
89f447ed 39771
49c74ba9
UD
39772 * elf/dl-open.c (add_to_global): Report additions to the global scope
39773 for LD_DEBUG=scopes.
39774 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39775 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39776
5c43483f
UD
39777 [BZ #13114]
39778 * stdio-common/Makefile (tests): Add bug24.
39779 * stdio-common/bug24.c: New file.
39780
a101b025
AJ
397812011-08-19 Andreas Jaeger <aj@suse.de>
39782
39783 [BZ #13114]
39784 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39785 non-existant file when using close-on-exec mode.
39786
c88f1766
UD
397872011-08-20 Ulrich Drepper <drepper@gmail.com>
39788
0276a718
UD
39789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39790 the very first instruction.
39791
c88f1766
UD
39792 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39793 the CFI state in the end.
39794 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39795 inclusion of dl-trampoline.h.
39796 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39797
51ccffa0
AS
397982011-08-19 Andreas Schwab <schwab@redhat.com>
39799
94d7165f
AS
39800 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39801 expectations for long double.
39802
51ccffa0
AS
39803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39804 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39805
fd708658 398062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39807
39808 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39809 artificual limit depends upon the system page size.
39810
44f0a71e
UD
398112011-08-17 Ulrich Drepper <drepper@gmail.com>
39812
39813 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39814 * resolv/Makefile: Define CFLAGS-libresolv.
39815
8de79a24
AS
398162011-08-17 Andreas Schwab <schwab@redhat.com>
39817
39818 * nss/makedb.c (compute_tables): Make variables used in nested
39819 function static.
39820
27724598
UD
398212011-08-17 Ulrich Drepper <drepper@gmail.com>
39822
c5305d88
UD
39823 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39824 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39825 if buffer was too small.
39826
27724598
UD
39827 * elf/pldd.c (main): Attach to all threads in the process.
39828 Rewrite /proc handling to use *at functions.
39829
076fe015
UD
398302011-08-16 Ulrich Drepper <drepper@gmail.com>
39831
174baab3
UD
39832 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39833 specifies first scope to show.
39834 (dl_open_worker): Update callers. Move printing scope of new
39835 object to before the relocation.
44f0a71e 39836 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39837 * sysdeps/generic/ldsodefs.h: Update declaration.
39838
076fe015
UD
39839 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39840 string for the scope number.
39841
a60df2c3
UD
398422011-08-14 Ulrich Drepper <drepper@gmail.com>
39843
39844 * nscd/servicescache.c (cache_addserv): Make sure written is always
39845 initialized.
39846
5e4287d1
RM
398472011-08-14 Roland McGrath <roland@hack.frob.com>
39848
85ae0589
RM
39849 * sysdeps/i386/i486/bits/atomic.h
39850 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39851 statement expression, so as to suppress "set but not used" warning.
39852 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39853
69f63097
RM
39854 * string/strncat.c (STRNCAT): Use prototype definition.
39855
675456ef
RM
39856 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39857 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39858 -Iprograms here.
39859 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39860 (localedef-modules): Add localedef.
39861 (locale-modules): Add locale.
39862
5e4287d1
RM
39863 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39864 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39865 to avoid a warning.
39866
9c96ff23
DM
398672011-08-14 David S. Miller <davem@davemloft.net>
39868
39869 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39870 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39871
f9ddf089
UD
398722011-08-13 Ulrich Drepper <drepper@gmail.com>
39873
44f0a71e 39874 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39875 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39876 * elf/rtld.c (dl_main): Set l_name of vDSO.
39877 Call _dl_show_scope when DL_DEBUG_SCOPES.
39878 (process_dl_debug): Recognize scopes flag and also set it for all.
39879 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39880 Declare _dl_show_scope.
39881
1dc27704
UD
39882 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39883 (do_dlopen): Pass caller_dlopen to dl_open.
39884 (__libc_dlopen_mode): Initialize caller_dlopen.
39885
f9ddf089
UD
39886 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39887 of libc. Make tolower call locale-independent. Optimize a bit by
39888 using isdigit instead of isalnum.
39889 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39890
9ac533d3
UD
398912011-08-12 Ulrich Drepper <drepper@gmail.com>
39892
39893 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39894 was a dependency or dynamically loaded.
39895
89edf2e9
UD
398962011-08-11 Ulrich Drepper <drepper@gmail.com>
39897
8e999d29
UD
39898 * intl/l10nflist.c: Allow architecture-specific pop function.
39899 * sysdeps/x86_64/l10nflist.c: New file.
39900
89edf2e9
UD
39901 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39902 classification.
39903
14d96785
AS
399042011-08-10 Andreas Schwab <schwab@redhat.com>
39905
39906 * include/dirent.h: Add libc_hidden_proto for scandirat and
39907 scandirat64. Don't declare __scandirat64.
39908 * dirent/scandirat.c: Add libc_hidden_def.
39909 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39910 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39911
6761ac04
DM
399122011-08-10 David S. Miller <davem@davemloft.net>
39913
39914 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39915 enum.
39916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39918 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39919
c55fbd1e
UD
399202011-08-09 Ulrich Drepper <drepper@gmail.com>
39921
39922 * Versions.def [libc]: Add GLIBC_2.15.
39923 * dirent/Makefile (routines): Add scandirat and scandirat64.
39924 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39925 GLIBC_2.15.
39926 * dirent/dirent.h: Declare scandirat and scandirat64.
39927 * dirent/scandirat.c: New file.
39928 * dirent/scandirat64.c: New file.
39929 * sysdeps/wordsize-64/scandirat.c: New file.
39930 * sysdeps/wordsize-64/scandirat64.c: New file.
39931 * dirent/opendir.c: Define opendirat.
39932 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39933 using scandirat.
39934 * dirent/scandir64.c: Adjust for scandir.c change.
39935 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39936 __scandirat64, and __scandir_cancel_handler.
39937 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39938 additional parameter and use openat instead of open (outside of ld.so).
39939 Add new __opendir as wrapper around __opendirat.
39940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39941 here without requiring old scandirat implementation.
39942
879165f2
UD
399432011-08-08 Ulrich Drepper <drepper@gmail.com>
39944
39945 * dirent/scandir.c (cancel_handler): Renamed to
39946 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39947 defined. Adjust users.
39948 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39949 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39950
cb7e923b
UD
399512011-08-04 Ulrich Drepper <drepper@gmail.com>
39952
16292edd
UD
39953 * string/test-string.h (IMPL): Use __STRING to expand name and then
39954 stringify it.
39955
cb7e923b
UD
39956 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39957 of cleanups.
39958
cff82933
LD
399592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39960
39961 * string/Makefile: Update.
39962 (strop-tests): Append strncat.
39963 * string/test-wcscmp.c: New file.
39964 New comprehensive test for wcscmp.
39965 * string/test-strcmp.c: Update.
39966 (WIDE): New define.
39967
9be9bfcc
AS
399682011-07-22 Andreas Schwab <schwab@redhat.com>
39969
39970 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39971 line.
39972
2e96f1c7
AS
399732011-07-26 Andreas Schwab <schwab@redhat.com>
39974
39975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39976 encoding to ACE if AI_IDN.
39977
85188888
JJ
399782011-08-01 Jakub Jelinek <jakub@redhat.com>
39979
39980 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39981 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39982
5fa16e9b
LD
399832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39984
39985 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39986 Fix overflow bug in strncat.
39987 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39988
39989 * string/test-strncat.c: Update.
39990 Add new tests for checking overflow bugs.
39991
399922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39993
39994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39995 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39996 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39997 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39999 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40000 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40001 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40002 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40003
40004 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40005 (USE_AS_STRCAT): Define.
40006 Add strcat and strncat support.
40007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40008
8c1a459f
AS
400092011-07-25 Andreas Schwab <schwab@redhat.com>
40010
40011 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40012 __n bigger than INT_MAX+1.
40013 (__strncmp_g): Likewise.
40014
bba33c28
UD
400152011-07-23 Ulrich Drepper <drepper@gmail.com>
40016
798be72d
UD
40017 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40018 * libio/stido.h: Likewise.
40019
8accd4dc
UD
40020 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40021 (AF_NFC): Define.
40022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40023 (AF_NFC): Define.
40024
cbff0d96
UD
40025 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40026 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40029 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40030
9191c04a
UD
40031 [BZ #13021]
40032 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40033 installed.
40034
bba33c28
UD
40035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40036 typo.
40037 (_dl_x86_64_save_sse): Likewise.
40038
90f139dd
UD
400392011-07-22 Ulrich Drepper <drepper@gmail.com>
40040
1aae088a
UD
40041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40042 OSXSAVE.
40043 (_dl_x86_64_save_sse): Likewise.
40044
8e2045f5
UD
40045 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40046
90f139dd
UD
40047 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40048
1d002f25
AS
400492011-07-21 Andreas Schwab <schwab@redhat.com>
40050
40051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40052 change.
40053 (_dl_x86_64_save_sse): Use correct AVX check.
40054
21137f89
UD
400552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40056
40057 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40058 bug in strncpy/strncat.
40059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40060
a65c0b7a
UD
400612011-07-21 Ulrich Drepper <drepper@gmail.com>
40062
40063 * string/tester.c (test_strcat): Add tests for different alignments
40064 of source and destination.
40065 (test_strncat): Likewise.
40066
6986b98a
UD
400672011-07-20 Ulrich Drepper <drepper@gmail.com>
40068
90bb2039
UD
40069 [BZ #12852]
40070 * posix/glob.c (glob): Check passed in values before using them in
40071 expressions to avoid some overflows.
40072 (glob_in_dir): Likewise.
40073
5644ef54
UD
40074 [BZ #13007]
40075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40076 check for AVX enablement so that we don't crash with old kernels and
40077 new hardware.
40078 * elf/tst-audit4.c: Add same checks here.
40079 * elf/tst-audit6.c: Likewise.
40080
40081 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40082
bfc9dc9b
AS
400832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40084
40085 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40086
702e64bb
UD
400872011-07-20 Ulrich Drepper <drepper@gmail.com>
40088
40089 * po/cs.po: Update from translation team.
40090 * po/bg.po: Likewise.
40091
295e904f
MP
400922011-07-12 Marek Polacek <mpolacek@redhat.com>
40093
40094 * misc/sys/cdefs.h: Add support for const attribute.
40095 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40096 to gnu_dev_{major,minor,makedev} functions.
40097
3ff94596
MP
400982011-07-20 Marek Polacek <mpolacek@redhat.com>
40099
40100 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40101
28b59fca
AS
401022011-07-20 Andreas Schwab <schwab@redhat.com>
40103
40104 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40105 strlen results.
40106
19df733e
AK
401072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40108
40109 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40110 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40111 register in order to avoid conflicts with the soft frame pointer
40112 being held in r11 when necessary.
40113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40114 (INTERNAL_VSYSCALL_NCS): Likewise.
40115
c8835729
MP
401162011-07-14 Marek Polacek <mpolacek@redhat.com>
40117
40118 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40119 * elf/dl-fini.c (_dl_fini): Adjust caller.
40120 * elf/dl-close.c (_dl_close_worker): Likewise.
40121 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40122
b902330c
MP
401232011-07-15 Marek Polacek <mpolacek@redhat.com>
40124
8991e135
MP
40125 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40126 "aux_cache->nlibs < 0".
40127
b902330c
MP
40128 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40129 in the reload-count case.
40130
99710781
LD
401312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40132
40133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40134 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40135 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40136 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40137 * sysdeps/x86_64/multiarch/strcat.S: New file.
40138 * sysdeps/x86_64/multiarch/strncat.S: New file.
40139 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40140 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40141 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40142 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40143 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40144 (USE_AS_STRCAT): Define.
40145 Add strcat and strncat support.
40146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40148 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40149 * string/strncat.c: Update.
40150 (USE_AS_STRNCAT): Define.
40151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40152 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40153 and i7.
40154 * sysdeps/x86_64/multiarch/init-arch.h
40155 (bit_Prefer_PMINUB_for_stringop): New.
40156 (index_Prefer_PMINUB_for_stringop): Likewise.
40157 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40158 bit_Prefer_PMINUB_for_stringop.
40159
7dc6bd90
UD
401602011-07-19 Ulrich Drepper <drepper@gmail.com>
40161
40162 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40163 buffer64.
40164 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40165 of casting of buffer.
40166 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40167 buffer32 and buffer64.
40168 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40169 writes instead of casting of buffer.
40170 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40171 buffer32.
40172 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40173 casting of buffer.
40174
e0e72284
AS
401752011-07-19 Andreas Schwab <schwab@redhat.com>
40176
40177 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40178
feb1eb0b
UD
401792011-07-19 Ulrich Drepper <drepper@gmail.com>
40180
40181 * nscd/nscd.c (termination_handler): Don't do anything for a database
40182 if it has not yet been initialized.
40183
298711ff
UD
401842011-07-18 Ulrich Drepper <drepper@gmail.com>
40185
40186 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40187
401882011-07-15 Marek Polacek <mpolacek@redhat.com>
40189
40190 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40191
f9d68389
UD
401922011-07-18 Ulrich Drepper <drepper@gmail.com>
40193
40194 * po/nl.po: Update from translation team.
40195 * po/sv.po: Likewise.
40196
db290cf5
RM
401972011-07-16 Roland McGrath <roland@hack.frob.com>
40198
40199 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40200 now disallowed by GCC.
5c550700 40201
fd5e21c7
RM
40202 * configure.in (use-default-link): Default to yes if a test -shared
40203 link meets our qualifications.
40204 * configure: Regenerated.
40205
5c550700
RM
40206 * config.make.in (output-format): New variable.
40207 * configure.in: Check for ld --print-output-format support.
40208 * configure: Regenerated.
40209 * Makerules ($(common-objpfx)format.lds)
40210 [$(output-format) != unknown]: Just use $(output-format),
40211 instead of the linker-script munging.
40212
9fa2c032
RM
402132011-07-14 Roland McGrath <roland@hack.frob.com>
40214
a6928d51
RM
40215 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40216 of $(common-objpfx)shlib.lds.
40217 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40218
661607b3
RM
40219 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40220 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40221
9fa2c032
RM
40222 * configure.in (-z relro check): Adjust test code to add a large
40223 writable data section after it.
40224 * configure: Regenerated.
40225
defe9061
RM
402262011-07-11 Roland McGrath <roland@hack.frob.com>
40227
40228 * configure.in (-z relro check): Fix test code to make the variable
40229 truly const.
40230 * configure: Regenerated.
40231
319b9ad4
UD
402322011-07-11 Ulrich Drepper <drepper@gmail.com>
40233
40234 * nscd/nscd.h (struct traced_file): Define.
40235 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40236 elements. Add traced_files.
40237 (inotify_fd): Declare.
40238 (register_traced_file): Declare.
40239 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40240 (inotify_fd): Export.
40241 (resolv_conf_descr): Remove.
40242 (nscd_init): Move inotify descriptor creation to main.
40243 Don't register files for notification here.
40244 (register_traced_file): New function.
40245 (invalidate_cache): Don't use reset_res to determine whether to call
40246 res_init, go through the list of registered files.
40247 (main_loop_poll): The inotify descriptors are now stored in the
40248 structures for the traced files.
40249 (main_loop_epoll): Likewise
40250 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40251 to __nss_disable_nscd.
40252 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40253 for a database anymore. Check the records for all the registered
40254 files instead.
40255 * nss/Makefile (libnss_files-routines): Add files-init.
40256 (libnss_db-routines): Add db-init.
40257 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40258 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40259 * nss/nss_db/db-init.c: New file.
40260 * nss/nss_files/files-init.c: New file.
40261 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40262 __nss_lookup_function.
40263 (__nss_lookup_function): Call nss_load_library.
40264 (nss_load_all_libraries): New function.
40265 (__nss_disable_nscd): Take parameter with callback function for files
40266 to register. Set is_nscd. Load all the DSOs for the NSS modules
40267 used for the cached services.
40268 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40269 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40270 options for features to all the files in nscd.
40271
40272 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40273
23bee3e8
RM
402742011-07-10 Roland McGrath <roland@hack.frob.com>
40275
40276 * csu/elf-init.c (__libc_csu_init): Comment typo.
40277
46a5b7f0
UD
402782011-07-09 Ulrich Drepper <drepper@gmail.com>
40279
40280 * po/pl.po: Update from translation team.
40281 * po/ja.po: Likewise.
40282 * po/ru.po: Likewise.
40283 * po/ko.po: Likewise.
40284 * po/fr.po: Likewise.
40285
d30cf5bb
RM
402862011-07-09 Roland McGrath <roland@hack.frob.com>
40287
113ddea4
RM
40288 * configure.in (.ctors/.dtors header and trailer check):
40289 Use an empirical test on a built program.
40290 * configure: Regenerated.
40291
574920b4
RM
40292 * configure.in (-z relro check): Use an empirical test on a built DSO.
40293 Detect, but do not require, on ia64.
40294 * configure: Regenerated.
40295
d30cf5bb
RM
40296 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40297 Update tests that use readelf to use $READELF instead.
40298 * configure: Regenerated.
40299
8538fdb3
UD
403002011-07-08 Ulrich Drepper <drepper@gmail.com>
40301
40302 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40303 if the result is not used.
40304
04d08991
AJ
403052011-07-05 Andreas Jaeger <aj@suse.de>
40306
40307 [BZ#9696]
40308 * stdlib/tst-strtod.c: Add testcase.
40309
de283087
AD
403102011-07-07 Ulrich Drepper <drepper@gmail.com>
40311
4e5f31c8 40312 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40313 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40314 The latter has a higher limit. Take additional parameter to pass to
40315 the new function.
40316 (__pathconf): Pass file to __statfs_link_max.
40317 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40318 __statfs_link_max.
40319 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40320 __statfs_link_max.
40321
de283087
AD
40322 [BZ #12868]
40323 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40325 Handle Lustre.
40326 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40327 (__statfs_filesize_max): Likewise.
40328 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40329
c75fa153
AJ
403302011-07-05 Andreas Jaeger <aj@suse.de>
40331
40332 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40333
1a544854
UD
403342011-07-06 Marek Polacek <mpolacek@redhat.com>
40335
40336 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40337 `status' variable.
40338 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40339 Likewise.
40340
6f0eec67
UD
403412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40342
40343 * Makefile (strop-tests): Add strncat.
40344 * string/test-strncat.c: New file.
40345
aae30307
UD
403462011-06-30 Marek Polacek <mpolacek@redhat.com>
40347
40348 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40349
c0cfb5eb
UD
403502011-06-21 Andreas Jaeger <aj@suse.de>
40351
40352 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40353 Copy rule from iconvdata/Makefile.
40354
01636b21
UD
403552011-07-06 Ulrich Drepper <drepper@gmail.com>
40356
40357 [BZ #12922]
40358 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40359 but no long options are defined, just return 'W'.
40360
9895c8bc
UD
403612011-06-22 Marek Polacek <mpolacek@redhat.com>
40362
40363 [BZ #9696]
40364 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40365
5d4cf042
UD
403662011-07-06 Ulrich Drepper <drepper@gmail.com>
40367
40368 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40369 netgroups to read.
960e5535 40370 (innetgr): Likewise.
5d4cf042 40371
751eb97e
RM
403722011-07-05 Roland McGrath <roland@hack.frob.com>
40373
40374 * config.make.in (install_root): Default to $(DESTDIR).
40375
f15f1e45
UD
403762011-07-05 Ulrich Drepper <drepper@gmail.com>
40377
40378 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40379
4e34ac6a
RM
403802011-07-02 Roland McGrath <roland@hack.frob.com>
40381
5e9b6af4
RM
40382 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40383
84f9ea0f
RM
40384 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40385 containing directory rather than embedding absolute directory names.
40386
ea5ee9f7
RM
40387 * scripts/check-local-headers.sh: Rewritten using awk.
40388 Match by word, not by line. Print error messages for matches.
40389 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40390
1b74661a
RM
40391 * Makerules [shlib-lds-flags empty]:
40392 ($(common-objpfx)libc_pic.opts): New target.
40393 ($(common-objpfx)libc_pic.os.clean): New target.
40394 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40395
40396 * config.make.in (OBJCOPY): New variable.
40397 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40398 * configure: Regenerated.
40399
f781ef40
RM
40400 * config.make.in (use-default-link): New variable.
40401 * configure.in (use_default_link): Grok --with-default-link to set it.
40402 * configure: Regenerated.
40403 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40404 (shlib-lds, shlib-lds-flags): Define to empty.
40405
2d4fa81e
RM
40406 * Makerules (shlib-lds): New variable.
40407 (shlib-lds-flags): New variable.
40408 (build-shlib, build-moduile, build-module-asneeded): Use it.
40409 ($(common-objpfx)libc.so): Use $(shlib-lds).
40410 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40411 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40412
31fffa6b
RM
40413 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40414 DT_FLAGS/DT_FLAGS_1 with zero flags.
40415
4e34ac6a
RM
40416 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40417 linker script munging.
40418
fcfc776b
UD
404192011-07-02 Ulrich Drepper <drepper@gmail.com>
40420
40421 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40422 as 128-bit value.
40423 * crypt/sha512.c (sha512_process_block): Perform total addition using
40424 128-bit if possible.
40425 (__sha512_finish_ctx): Likewise.
40426 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40427 as 64-bit value.
40428 * crypt/sha256.c (SWAP64): Define.
40429 (sha256_process_block): Perform total addition using 64-bit if
40430 possible.
40431 (__sha256_finish_ctx): Likewise.
40432
99231d9a
UD
404332011-07-01 Ulrich Drepper <drepper@gmail.com>
40434
40435 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40437 * nscd/hstcache.c (cache_addhst): Likewise.
40438 * nscd/grpcache.c (cache_addgr): Likewise.
40439 * nscd/aicache.c (addhstaiX): Likewise
40440 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40441
445b4a53
TK
404422011-07-01 Thorsten Kukuk <kukuk@suse.de>
40443
40444 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40446 * nscd/hstcache.c (cache_addhst): Likewise.
40447 * nscd/grpcache.c (cache_addgr): Likewise.
40448 * nscd/aicache.c (addhstaiX): Likewise
40449
6d4d8e8e
AS
404502011-07-01 Andreas Schwab <schwab@redhat.com>
40451
40452 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40453 domain only when needed.
40454
89f654c5
AS
404552011-06-30 Andreas Schwab <schwab@redhat.com>
40456
40457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40458 is always restored.
40459
cf3b23ff
UD
404602011-06-29 Ulrich Drepper <drepper@gmail.com>
40461
40462 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40463 are re-adding the entry.
40464 * nscd/servicescache.c (cache_addserv): Likewise.
40465
751626f9
AJ
404662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40467
40468 * sysdeps/generic/dl-irel.h: fix protection against multiple
40469 inclusions.
40470 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40471
9113ea1f
UD
404722011-06-28 Ulrich Drepper <drepper@gmail.com>
40473
5c0b8d90
UD
40474 [BZ #12935]
40475 * malloc/memusage.sh: Fix quoting in message.
40476 * debug/xtrace.sh: Likewise.
40477
9113ea1f
UD
40478 * configure.in: Remove support for --experimental-malloc option, make
40479 it the default.
40480 * config.make.in: Likewise.
40481 * malloc/Makefile: Likewise.
40482
a4172181
AS
404832011-06-27 Andreas Schwab <schwab@redhat.com>
40484
40485 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40486 two-byte characters.
40487
78a7eee7
RM
404882011-06-27 Roland McGrath <roland@hack.frob.com>
40489
62bede13
RM
40490 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40491 AC_CACHE_CHECK invocation.
40492 * configure: Regenerated.
40493
78a7eee7
RM
40494 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40495
5ce33a62
UD
404962011-06-27 Ulrich Drepper <drepper@gmail.com>
40497
034807a9
UD
40498 [BZ #12350]
40499 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40500 bit from old_res_options.
40501
4902da17
UD
40502 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40503
5ce33a62
UD
40504 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40505 value type for setfct.
40506
c2344f56
L
405072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40508
40509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40510 __gettimeofday instead of gettimeofday.
40511
68468076
UD
405122011-06-26 Ulrich Drepper <drepper@gmail.com>
40513
40514 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40515
acb0d739
L
405162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40517
40518 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40519
40520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40521 info.
40522
8912479f
L
405232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40524
40525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40526 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40527 strcpy-sse2-unaligned strncpy-sse2-unaligned
40528 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40529 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40530 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40531 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40532 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40534 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40535 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40536 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40537 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40538 (STRCPY): Support SSE2 and SSSE3 versions.
40539
d5495a11
UD
405402011-06-24 Ulrich Drepper <drepper@gmail.com>
40541
40542 [BZ #12874]
40543 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40544 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40545 kernels which artificially limit size of requests.
40546
0b1cbaae
L
405472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40548
40549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40550 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40551 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40552 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40553 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40554 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40555 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40556 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40557 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40559 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40560 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40561 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40562 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40563 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40565 Enable unaligned load optimization for Intel Core i3, i5 and i7
40566 processors.
40567 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40568 Define.
40569 (index_Fast_Unaligned_Load): Define.
40570 (HAS_FAST_UNALIGNED_LOAD): Define.
40571
07f494a0
MP
405722011-06-23 Marek Polacek <mpolacek@redhat.com>
40573
40574 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40575
fa3fc0fe
UD
405762011-06-22 Ulrich Drepper <drepper@gmail.com>
40577
40578 [BZ #12907]
40579 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40580 until it is clear that the information is realy needed.
40581 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40582
e12df166
AS
405832011-06-22 Andreas Schwab <schwab@redhat.com>
40584
40585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40586
852eb34d
UD
405872011-06-22 Ulrich Drepper <drepper@gmail.com>
40588
84e2a551
UD
40589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40590 /sys/devices/system/cpu/online if it is usable.
40591
852eb34d
UD
40592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40593 reading the information from the /proc filesystem to once a second.
40594
6e502e19
UD
405952011-06-21 Andreas Jaeger <aj@suse.de>
40596
40597 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40598 NULL after inclusion of kernel headers.
40599
75d39ff2
UD
406002011-06-21 Ulrich Drepper <drepper@gmail.com>
40601
51f9aa6a
UD
40602 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40603 calls to internal_setent.
40604
c0244a9d
UD
40605 [BZ #12885]
40606 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40607 addresses using gethostbyname4_r ignore IPv4 addresses.
40608
c5e3c2ae
UD
40609 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40610 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40611
75d39ff2
UD
40612 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40613
42675c6f
DM
406142011-06-20 David S. Miller <davem@davemloft.net>
40615
40616 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40617 inclusions.
40618 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40619
40620 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40621 (elf_irel): Use it.
40622 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40623 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40624 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40625 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40626 * sysdeps/x86_64/dl-irel.h: Likewise.
40627
40628 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40629 * elf/dl-sym.c: Likewise.
40630
57912a71
UD
406312011-06-15 Ulrich Drepper <drepper@gmail.com>
40632
40633 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40634 need to dereference resplen2.
40635
ee22793d
AS
406362011-06-14 Andreas Schwab <schwab@redhat.com>
40637
40638 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40639
a9e836b0
UD
406402011-06-15 Ulrich Drepper <drepper@gmail.com>
40641
77fb9117
UD
40642 * Makeconfig: Define vardbdir and inst_vardbdir.
40643 * nss/Makefile: Add rules to install db-Makefile.
40644
40c1b22c
UD
40645 * nss/nss_db/db-XXX.c: Cleanup.
40646
9f2da732
UD
40647 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40648 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40649 GLIBC_PRIVATE.
40650 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40651 * nss/makedb.c: Implement -g option to specify that value strings
40652 are generated and should not be added to table iterated over for
40653 get*ent calls.
40654 * nss/nss_db/db-initgroups.c: New file.
40655
82e9a1f7
UD
40656 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40657 interface.
40658
c41af17e
UD
40659 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40660 (internal_getgrouplist): Adjust to name change.
40661 Update use_initgroups_entry if this is not the first call.
40662 * nss/databases.def: Add initgroups entry.
40663
a9e836b0
UD
40664 * nss/makedb.c (compute_tables): Check result of multiple hash table
40665 sizes to minimize maximum chain length.
40666
2666d441
UD
406672011-06-14 Ulrich Drepper <drepper@gmail.com>
40668
40669 * Versions.def: Add entry for libnss_db.
40670 * shlib-versions: Likewise.
40671 * nss/Makefile: Add rules to build libnss_db.
40672 * nss/Versions: Add libnss_db information. Organize libnss_files
40673 entries better.
40674 * nss/db-Makefile: Add gshadow support. Change rules for the new
40675 makedb progra. Some minor improvements to generate smaller files.
40676 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40677 here from...
40678 * nss/makedb.c: ...here.
40679 Improve database format to be smaller and require less memory at
40680 runtime.
40681 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40682 db anymore.
40683 * nss/nss_db/db-netgrp.c: Likewise.
40684 * nss/nss_db/db-open.c: Likewise.
40685 * nss/nss_files/flies-XXX.x: Adjust comments.
40686 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40687 * nss/nss_files/files-grp.c: Likewise.
40688 * nss/nss_files/files-hosts.c: Likewise.
40689 * nss/nss_files/files-network.c: Likewise.
40690 * nss/nss_files/files-proto.c: Likewise.
40691 * nss/nss_files/files-pwd.c: Likewise.
40692 * nss/nss_files/files-rpc.c: Likewise.
40693 * nss/nss_files/files-service.c: Likewise.
40694 * nss/nss_files/files-sgrp.c: Likewise.
40695 * nss/nss_files/files-spwd.c: Likewise.
40696 * nss/nss_db/db-alias.c: Removed.
40697 * nss/nss_db/dummy-db.h: Removed.
40698
9ee76b5a
UD
406992011-06-02 Ulrich Drepper <drepper@gmail.com>
40700
40701 * nss/makedb.c: Rewritten to not use database library.
40702 * nss/Makefile: Update to build new makedb program.
40703
c71ca1f8
AJ
407042011-06-14 Andreas Jaeger <aj@suse.de>
40705
40706 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40707 memset declaration.
40708
3154bfb8
UD
407092011-06-10 Andreas Schwab <schwab@redhat.com>
40710
40711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40712 tmpbuf.
40713
b350afab
RM
407142011-06-10 Roland McGrath <roland@hack.frob.com>
40715
decd4e50
RM
40716 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40717 * elf/Makefile ($(objpfx)ld.so): Likewise.
40718
5615eaf2
RM
40719 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40720 Don't list ld.so twice in dependencies.
40721
40722 * posix/bug-regex31.c: Include <stdlib.h>.
40723
40724 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40725
40726 * nis/nss_compat/compat-spwd.c
40727 (getspent_next_nss_netgr): Remove unused variable.
40728 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40729
40730 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40731 nonmembers" output to use the right array.
40732
40733 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40734
40735 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40736
40737 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40738 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40739 * catgets/gencat.c (read_input_file): Likewise.
40740 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40741
40742 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40743 variable definition inside #if's controlling its use.
40744
40745 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40746
40747 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40748
40749 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40750
40751 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40752 unreachable code.
40753
40754 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40755
b68e08db
RM
40756 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40757 * configure: Regenerated.
40758
b350afab
RM
40759 * Makerules: Revert last change.
40760 * elf/Makefile: Likewise.
40761
28368601
RM
407622011-06-09 Roland McGrath <roland@hack.frob.com>
40763
40764 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40765 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40766 (reloc-link): Likewise.
40767
11988f8f
UD
407682011-06-09 Ulrich Drepper <drepper@gmail.com>
40769
40770 * elf/Makefile: Add rules to build pldd.
40771 * elf/pldd.c: New file.
40772 * elf/pldd-xx.c: New file.
40773
e80fab37
UD
407742011-06-07 Ulrich Drepper <drepper@gmail.com>
40775
40776 * version.h: Update for 2.15 development version.
40777
9b849836
DM
407782011-06-07 David S. Miller <davem@davemloft.net>
40779
40780 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40781 ifuncs.
40782 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40783 elf_machine_lazy_rel): Likewise.
40784 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40785 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40786 elf_machine_lazy_rel): Likewise.
40787 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40788 dl_hwcap via passed in argument.
40789 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40790 Likewise.
40791
5a31b283
AK
407922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40793
40794 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40795
069e52f8
RM
407962011-06-06 Roland McGrath <roland@hack.frob.com>
40797
40798 [BZ #12849]
40799 * manual/fdl-1.1.texi: New file, verbatim from:
40800 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40801 * manual/lgpl-2.1.texi: New file, verbatim from:
40802 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40803 * manual/Makefile (licenses): New variable, list those new file names.
40804 (texis): Use it.
40805 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40806
40807 * manual/fdl.texi: File removed.
40808 * manual/lesser.texi: File removed.
40809 * manual/libc.texinfo (Copying, Documentation License):
40810 Use new @include file names, put @appendix directive before @include.
40811
f16846a5
JJ
408122011-06-04 Jakub Jelinek <jakub@redhat.com>
40813
40814 [BZ #12841]
40815 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40816 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40817 (mq_open): Add __NTH.
40818
3d29045b
L
408192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40820
40821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40822 Assume Intel Core i3/i5/i7 processor if AVX is available.
40823
8c297311
UD
408242011-05-31 Ulrich Drepper <drepper@gmail.com>
40825
40826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40827 typo.
40828
c8fc0c91
UD
408292011-05-31 Andreas Schwab <schwab@redhat.com>
40830
40831 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40832 memory. Use alloca_account. Fix memory leak when retrying.
40833
5b27a807
UD
408342011-05-31 Ulrich Drepper <drepper@gmail.com>
40835
356f8bc6
UD
40836 * version.h (RELEASE): Bump for 2.14 release.
40837 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40838
5b27a807
UD
40839 * config.make.in (RANLIB): Remove entry.
40840
01f16ab0
UD
408412011-05-30 Ulrich Drepper <drepper@gmail.com>
40842
41fce8bd
UD
40843 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40844 (libc.pot): Work around missing support for .ksh extension in xgettext.
40845
4769ae77
UD
40846 [BZ #12684]
40847 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40848 if both request failed.
40849 (send_dg): In case of server errors clear resplen or *resplen2.
40850
6b1e7d19
UD
40851 [BZ #12454]
40852 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40853 when there are multiple maps.
40854 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40855 (_dl_fini): Remove test here.
40856
01f16ab0
UD
40857 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40858
b1ebd700
UD
408592011-05-29 Ulrich Drepper <drepper@gmail.com>
40860
7ae22829
UD
40861 [BZ #12350]
40862 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40863 bit from old_res_options.
40864 (gaih_inet): Likewise.
40865
553149f6 40866 [BZ #11099]
18a84741 40867 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40868 as signed.
40869
652ffab1
UD
40870 * resolv/res_init.c (res_setoptions): Make the code more compact.
40871
16985fd0
UD
40872 [BZ #11558]
40873 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40874 set RES_USEVC.
40875
0464f746
UD
40876 [BZ #11634]
40877 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40878
7d17596c
UD
40879 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40880
cf6bbbd7
UD
40881 [BZ #11781]
40882 * malloc/malloc.h: Declare malloc hook variables as volatile.
40883
13f1ab36
UD
40884 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40885 in last patch.
40886
b1ebd700
UD
40887 [BZ #11799]
40888 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40889 raise in the comment.
80e2212d
UD
40890 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40892 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40893
ce67228d
UD
408942011-05-28 Ulrich Drepper <drepper@gmail.com>
40895
8887a920
UD
40896 [BZ #12811]
40897 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40898 grow the buffers more if it already has to be sufficient.
40899 (build_wcs_upper_buffer): Likewise.
40900 * posix/regexec.c (check_matching): Likewise.
40901 (clean_state_log_if_needed): Likewise.
40902 (extend_buffers): Don't enlarge buffers beyond size of the input
40903 buffer.
40904 Patches mostly by Emil Wojak <emil@wojak.eu>.
40905 * posix/bug-regex32.c: New file.
40906 * posix/Makefile (tests): Add bug-regex32.
40907
4f031072
UD
40908 * locale/findlocale.c (_nl_find_locale): Return right away if
40909 _nl_explode_name failed.
40910 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40911
d0478f0c
UD
40912 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40913
de81b246
UD
40914 * debug/xtrace.sh: Unify messages.
40915 * malloc/memusage.sh: Likewise.
40916
c738465a
UD
40917 [BZ #12813]
40918 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40919 time symbol from vDSO. Substitute with vsyscall if not available.
40920 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40921 __vdso_time.
40922
f1f929d7
UD
40923 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40924 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40925 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40926 Add sendmmsg and internal_sendmmsg.
40927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40928 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40930
ce67228d
UD
40931 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40932 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40933 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40934
e57420c6
UD
409352011-05-27 Ulrich Drepper <drepper@gmail.com>
40936
a8509ca5
UD
40937 [BZ #12813]
40938 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40939 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40940 available.
40941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40942 __vdso_getcpu.
40943
e57420c6
UD
40944 [BZ #12814]
40945 * iconvdata/Makefile (tests): Add bug-iconv9.
40946 * iconvdata/bug-iconv9.c: New file.
40947
4d07db15
AS
409482011-05-27 Andreas Schwab <schwab@redhat.com>
40949
40950 [BZ #12814]
40951 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40952
ea486f69
JJ
409532011-05-25 Jakub Jelinek <jakub@redhat.com>
40954
40955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40956 (struct user_regs_struct): Change intcs field back to cs.
40957
6f038433
UD
409582011-05-25 Ulrich Drepper <drepper@gmail.com>
40959
40960 * po/ja.po: Update from translation team.
40961
67f86a25
UD
409622011-05-23 Ulrich Drepper <drepper@gmail.com>
40963
40964 [BZ #12795]
40965 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40966 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40967
def7fbd6
AS
409682011-05-20 Andreas Schwab <schwab@redhat.com>
40969
40970 * stdlib/longlong.h: Update from GCC.
40971
f50ef8f1
AS
409722011-05-23 Andreas Schwab <schwab@redhat.com>
40973
40974 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40975 parameter name.
40976 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40977 Add parameter name.
40978 (__sysconf): Pass it down.
40979
de7ce8f1
UD
409802011-05-22 Ulrich Drepper <drepper@gmail.com>
40981
f2962a71
UD
40982 [BZ #12671]
40983 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40984 some situations.
40985 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40986 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40987 add in in __libc_use_alloca calls. Adjust callers.
40988 (glob): Use malloc in some situations.
40989
de7ce8f1
UD
40990 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40991 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40992 pltexit.
40993
aec84f53
UD
409942011-05-21 Ulrich Drepper <drepper@gmail.com>
40995
05bb4a68
UD
40996 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40997 and CLOCK_BOOTTIME_ALARM.
40998
7ea72f99
UD
40999 [BZ #12782]
41000 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41001 is returned.
41002
7e4afad5
UD
41003 * string/_strerror.c (__strerror_r): Print negative errors as signed
41004 numbers.
41005
8e211fec
UD
41006 [BZ #12777]
41007 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41008 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41009 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41010
f7d82dc9
UD
41011 * configure.in: Fix typo in redirection and correct removal of test
41012 files in two cases.
41013
cc9e536d
UD
41014 [BZ #12788]
41015 * locale/setlocale.c (new_composite_name): Fix test to check for
41016 identical name of all categories.
41017
aec84f53
UD
41018 [BZ #12792]
41019 * libio/filedoalloc.c (local_isatty): New function.
41020 (_IO_file_doallocate): Use local_isatty.
41021 * stdio-common/perror.c (perror): In case a new stream is used
41022 forward the stream error.
41023 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41024 error flag.
41025
78e64fdc
RT
410262011-05-20 Ulrich Drepper <drepper@gmail.com>
41027
34a9094f
UD
41028 [BZ #11869]
41029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41030 alloca.
41031 * include/alloca.h (extend_alloca_account): Define.
41032
78e64fdc
RT
41033 [BZ #11857]
41034 * posix/regex.h: Fix comments with documentation of user-accessible
41035 fields after compilation and describe correct free'ing of pattern
41036 after re_compile_pattern.
41037 Patch by Reuben Thomas <rrt@sc3d.org>.
41038
457bddfc
RA
410392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41040
41041 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41042 and -mno-altivec to prevent the compiler from using Altivec and/or
41043 VSX instructions when the corresponding registers are not available.
41044
a4527b51
AS
410452011-05-19 Andreas Schwab <schwab@redhat.com>
41046
41047 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41048
ed690b2f
UD
410492011-05-19 Ulrich Drepper <drepper@gmail.com>
41050
41051 * libio/freopen.c (freopen): Use __dup2, not dup2.
41052 * libio/freopen64.c (freopen64): Likewise.
41053
8db73634
L
410542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41055
41056 [BZ #12775]
41057 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41058 * math/Makefile (tests): Add test-powl.
41059 (CFLAGS-test-powl.c): Define.
41060 * math/test-powl.c: New file.
41061
0a197a9d
L
410622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41063
41064 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41065
ee30c380
UD
410662011-05-17 Ulrich Drepper <drepper@gmail.com>
41067
41068 [BZ #11837]
41069 * iconvdata/gb18030.c: Update to GB18020-2005.
41070
6ce75379
UD
410712011-05-16 Ulrich Drepper <drepper@gmail.com>
41072
a4b89fd8
AR
41073 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41074 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41075 Patch by Aharon Robbins <arnold@skeeve.com>.
41076
ea389b12
UD
41077 [BZ #11892]
41078 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41079 on the stack.
41080
68a3f91f
UD
41081 [BZ #11895]
41082 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41083 through underflows.
41084
15cc7dd1
UD
41085 [BZ #12766]
41086 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41087 point to strings before performing equality test for error_one_per_line
41088 mode.
41089
f3799213
UD
41090 [BZ #11697]
41091 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41092
d79a9c94
UD
41093 [BZ #11820]
41094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41095 (struct user_fpregs_struct): Avoid __uint*_t types.
41096
56e5eb46
UD
41097 [BZ #6420]
41098 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41099 symbol info. Use it instead of calling _dl_addr locally.
41100 (lock_and_info): New function.
41101 (tr_freehook): Call lock_and_info and pass symbol info as additional
41102 parameter to tr_where.
41103 (tr_mallochook): Likewise.
41104 (tr_reallochook): Likewise.
41105 (tr_memalignhook): Likewise.
41106
6ce75379
UD
41107 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41108 used and couldn't be at all thread-safe.
41109
f8a3b5bf
UD
411102011-05-15 Ulrich Drepper <drepper@gmail.com>
41111
94b7cc37
UD
41112 * libio/freopen.c (freopen): Don't close old file descriptor
41113 before the new one is opened. Instead dup the new file descriptor
41114 to the old one after the new stream is created.
41115 * libio/freopen64.c (freopen64): Likewise.
41116 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41117 * libio/fileops.c (_IO_new_file_close_it): Handle new
41118 _IO_FLAGS2_NOCLOSE flag.
41119 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41120 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41121 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41122 _IO_FLAGS2_NOCLOSE flag.
41123 * include/unistd.h: Add hidden_proto for dup3.
41124 Define __have_dup3.
41125 * io/dup3.c: Define hidden symbol.
41126 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41127
bd25564e
UD
41128 [BZ #7101]
41129 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41130 when an incomplete long option is used.
41131 * posix/tst-getopt_long1.c: New file.
41132 * posix/Makefile (tests): Add tst-getopt_long1.
41133
c84cfef4
UD
41134 [BZ #10138]
41135 * scripts/config.guess: Update from autoconf-2.68.
41136 * scripts/config.sub: Likewise.
41137
3b85df27
UD
41138 [BZ #10157]
41139 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41140 tests into ...
41141 (has_cpuclock): ...this. New function.
41142 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41143 macro here based on has_cpuclock code.
41144
15a856b1
UD
41145 [BZ #10149]
41146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41147 First byte (not low byte) is now always NUL.
41148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41149
05f399e6
UD
41150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41151 Use non-cancelable interfaces.
41152
10a52685 41153 [BZ #9809]
94ecc67d
UD
41154 * locale/iso-639.def: Add entry for Sorani.
41155
f8a3b5bf
UD
41156 [BZ #11901]
41157 * include/stdlib.h: Move include protection to the right place.
41158 Define abort_msg_s. Declare __abort_msg with it.
41159 * stdlib/abort.c (__abort_msg): Adjust type.
41160 * assert/assert.c (__assert_fail_base): New function. Majority
41161 of code from __assert_fail. Allocate memory for __abort_msg with
41162 mmap.
41163 (__assert_fail): Now call __assert_fail_base.
41164 * assert/assert-perr.c: Remove bulk of implementation. Use
41165 __assert_fail_base.
41166 * include/assert.hL Declare __assert_fail_base.
41167 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41168 mmap.
41169 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41170
1af4e298
UD
411712011-05-14 Ulrich Drepper <drepper@gmail.com>
41172
f8a3b5bf 41173 [BZ #11952]
d26dfc60
MG
41174 [BZ #12453]
41175 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41176 until all modules are registered in the DTV.
41177 * elf/Makefile: Add rules to build and run tst-tls19.
41178 * elf/tst-tls19.c: New file.
41179 * elf/tst-tls19mod1.c: New file.
41180 * elf/tst-tls19mod2.c: New file.
41181 * elf/tst-tls19mod3.c: New file.
41182 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41183
2fc54d6f
UD
41184 [BZ #12083]
41185 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41186 correctly.
41187
98d76b46
UD
41188 [BZ #12601]
41189 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41190 two-byte sequence errors.
41191 * iconvdata/Makefile (tests): Add bug-iconv8.
41192 * iconvdata/bug-iconv8.c: New file.
41193
da3c19ef
UD
41194 [BZ #12626]
41195 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41196 buf2 definition.
41197
ca408c15
UD
41198 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41199
d6f67f7d
UD
41200 [BZ #12432]
41201 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41202 (dummy_getcfa): New function.
41203 (init): Get _Unwind_GetCFA address, use dummy if not found.
41204 (backtrace_helper): In recursion check, also check whether CFA changes.
41205 (__backtrace): Completely initialize arg.
41206
1af4e298 41207 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41208 storing incomplete byte sequence in state object. Avoid testing for
41209 guaranteed too small input if we know there is enough data available.
1af4e298 41210
da62f81b
AS
412112011-05-11 Andreas Schwab <schwab@redhat.com>
41212
41213 * Makeconfig (+link-pie): Indent.
41214 * Rules (binaries-pie): Define if $(have-fpie) and
41215 $(build-shared).
41216 (binaries-shared): Also filter out $(binaries-pie).
41217 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41218 * nscd/Makefile (others-pie): Add nscd.
41219 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41220 ($(objpfx)nscd): Remove command override.
41221 * login/Makefile (others-pie): Add pt_chown.
41222 ($(objpfx)pt_chown): Remove command override.
41223 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41224 remove command overrides.
41225
fcabc0f8
UD
412262011-05-13 Ulrich Drepper <drepper@gmail.com>
41227
20030ae6
UD
41228 * libio/tst_putwc.c: Fix error messages.
41229
fcabc0f8
UD
41230 [BZ #12724]
41231 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41232 currently writing and seek to current position when not.
41233 * libio/Makefile (tests): Add bug-fclose1.
41234 * libio/bug-fclose1.c: New file.
41235
320a5dc0
PB
412362011-05-12 Ulrich Drepper <drepper@gmail.com>
41237
41238 [BZ #12511]
41239 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41240 don't set DF_1_NODELETE here.
41241 (do_lookup_x): When entering new entry test for copy relocation
41242 and if necessary set DF_1_NODELETE flag.
41243 * elf/tst-unique4.cc: New file.
41244 * elf/tst-unique4.h: New file.
41245 * elf/tst-unique4lib.cc: New file.
41246 * elf/Makefile: Add rules to build and run tst-unique4.
41247 Patch by Piotr Bury <pbury@goahead.com>.
41248
22836f52
UD
412492011-05-11 Ulrich Drepper <drepper@gmail.com>
41250
f574184a
UD
41251 [BZ #12052]
41252 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41253
e1fb097f
UD
41254 [BZ #12625]
41255 * misc/mntent_r.c (addmntent): Flush the stream after the output
41256
22836f52
UD
41257 [BZ #12393]
41258 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41259 (is_trusted_path_normalize): Skip initial colon. Append slash
41260 to empty buffer. Duplicate is_trusted_path code but allow
41261 constructed patch to be prefix.
41262 (is_dst): Allow $ORIGIN followed by /.
41263 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41264 Correct testing of result of is_trusted_path_normalize
41265 (decompose_rpath): Fix warning.
41266
7b3b0b2a
UD
412672011-05-10 Ulrich Drepper <drepper@gmail.com>
41268
41269 [BZ #11257]
41270 * grp/initgroups.c (internal_getgrouplist): When we found the service
41271 list through the initgroups entry in nsswitch.conf do not always
41272 continue on a successful lookup. Don't always use the
eac80ce2 41273 __nss_group_database value if it is set.
7b3b0b2a
UD
41274 * nss/nsswitch.conf (initgroups): Change action for successful db
41275 lookup to continue for compatibility.
41276
2a81eaa5
UD
412772011-05-09 Ulrich Drepper <drepper@gmail.com>
41278
be97a69e
UD
41279 [BZ #11532]
41280 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41281 and CP774 modules.
41282 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41283 and CP774 modules.
41284 * iconvdata/tst-tables.sh: Likewise.
41285 * iconvdata/cp770.c: New file.
41286 * iconvdata/cp771.c: New file.
41287 * iconvdata/cp772.c: New file.
41288 * iconvdata/cp773.c: New file.
41289 * iconvdata/cp774.c: New file.
41290 * iconvdata/testdata/CP770: New file.
41291 * iconvdata/testdata/CP770..UTF8: New file.
41292 * iconvdata/testdata/CP771: New file.
41293 * iconvdata/testdata/CP771..UTF8: New file.
41294 * iconvdata/testdata/CP772: New file.
41295 * iconvdata/testdata/CP772..UTF8: New file.
41296 * iconvdata/testdata/CP773: New file.
41297 * iconvdata/testdata/CP773..UTF8: New file.
41298 * iconvdata/testdata/CP774: New file.
41299 * iconvdata/testdata/CP774..UTF8: New file.
41300
41301 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41302 END CHARMAP line.
41303 * iconvdata/gen-8bit-gap.sh: Likewise.
41304 * iconvdata/gen-8bit.sh: Likewise.
41305
c1e9e399
UD
41306 * locale/iso-639.def: Add ary entry.
41307
24c55fb3 41308 [BZ #11258]
96b4b1b0
UD
41309 * locale/C-translit.h.in: Add U20A1 transliteration.
41310
bdc2f971
KB
41311 [BZ #12178]
41312 * locale/iso-639.def: Add wae entry.
41313 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41314
2952b117
UD
41315 [BZ #12545]
41316 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41317 for n.
41318
2a81eaa5
UD
41319 [BZ #12711]
41320 * locale/C-translit.h.in: Add entry for U20B9.
41321 Patch by pravin.d.s@gmail.com.
41322
28377d1b
UD
413232011-05-08 Ulrich Drepper <drepper@gmail.com>
41324
7fb90fb8
UD
41325 [BZ #12713]
41326 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41327 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41328 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41329 in rtld. Use *stat64.
7fb90fb8 41330 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41331 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41332 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41333 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41334 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41335 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41336 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41337 __fstatat64 macros.
7fb90fb8
UD
41338 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41339 * dirent/rewinddir.c: Add libc_hidden_def.
41340 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41341 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41342
28377d1b
UD
41343 * include/dirent.h (__alloc_dir): Add flags parameter.
41344 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41345 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41346 __alloc_dir.
41347 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41348 from fdopendir if O_CLOEXEC is already set.
41349
66bdbaa4
AM
413502011-03-15 Alan Modra <amodra@gmail.com>
41351
41352 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41353 l_tls_firstbyte_offset non-zero. Save padding offset in
41354 l_tls_firstbyte_offset for later use.
41355 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41356 freeing static tls block.
41357
95721191
JN
413582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41359
41360 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41361 where #ifdef was intended. The intent is to prevent ARG_MAX from
41362 being defined by the kernel headers.
41363
f87dfb1f
UD
413642011-05-07 Ulrich Drepper <drepper@gmail.com>
41365
41366 [BZ #12734]
41367 * resolv/resolv.h: Define RES_NOTLDQUERY.
41368 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41369 no-tld-query and set RES_NOTLDQUERY.
41370 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41371 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41372 modern BIND to search name as TLD unless forbidden.
41373
47c3cd7a
UD
413742011-05-07 Petr Baudis <pasky@suse.cz>
41375 Ulrich Drepper <drepper@gmail.com>
41376
41377 [BZ #12393]
41378 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41379 (is_trusted_path): ...to here.
c1e9ea35 41380 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41381 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41382 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41383
8a35c912
PP
413842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41385
41386 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41387 __BEGIN/__END_DECLS.
41388
acd41f47
UD
413892011-05-06 Ulrich Drepper <drepper@gmail.com>
41390
41391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41392 NSS_STATUS_NOTFOUND if no record was found.
41393
597df647
AS
413942011-05-05 Andreas Schwab <schwab@redhat.com>
41395
41396 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41397 (headers-not-in-tirpc): Remove rpc/netdb.h
41398 * resolv/netdb.h: Revert last change.
41399
b9af1301
PP
414002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41401
41402 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41403 circular dependency between libgcc.a and libc.a.
41404
4e34d5f5
AS
414052011-05-05 Andreas Schwab <schwab@redhat.com>
41406
41407 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41408 * nis/Makefile: Don't install rpcsvc/*.
41409 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41410 instead of <rpc/types.h>.
41411 (MAXHOSTNAMELEN): Define.
41412
00ee369c
AS
414132011-05-03 Andreas Schwab <schwab@redhat.com>
41414
41415 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41416
0b592a30
MB
414172011-04-28 Maciej Babinski <mbabinski@google.com>
41418
41419 [BZ #12714]
41420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41421 gethostbyname4_r when IPv6 results are possible.
41422
6e04cbbe
UD
414232011-05-02 Ulrich Drepper <drepper@gmail.com>
41424
41425 [BZ #12723]
41426 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41427 _PC_PIPE_BUF handling.
41428
e4ecafe0
BH
414292011-04-30 Bruno Haible <bruno@clisp.org>
41430
41431 [BZ #12717]
41432 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41433 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41434 to 'int'.
41435 * inet/getnameinfo.c (getnameinfo): Likewise.
41436
125ee683
UD
414372011-04-29 Ulrich Drepper <drepper@gmail.com>
41438
41439 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41440 to groups setting in database lookup.
41441 * nss/nsswitch.conf: Add initgroups entry.
41442
b722481a
EB
414432011-04-22 Ulrich Drepper <drepper@gmail.com>
41444
41445 [BZ #12685]
41446 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41447 mode string.
41448 Patch by Eric Blake <eblake@redhat.com>.
41449
4df46dbd
L
414502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41451
41452 * sunrpc/Makefile (need-export-routines): Add svc_run.
41453 (routines): Remove svc_run.
41454 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41455 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41456 * sunrpc/svc_run.c (svc_run): Likewise.
41457 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41458
e84142d2
UD
414592011-04-21 Ulrich Drepper <drepper@gmail.com>
41460
41461 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41462 problem in reallocation in last patch.
41463
877175d8
UD
414642011-04-20 Ulrich Drepper <drepper@gmail.com>
41465
41466 * sunrpc/Makefile: Move inclusion of Rules.
41467
ab8eed78
UD
414682011-04-19 Ulrich Drepper <drepper@gmail.com>
41469
41470 * nss/nss_files/files-initgroups.c: New file.
41471 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41472 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41473 _nss_files_initgroups_dyn.
41474
e3d8f584
RS
414752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41476
41477 * elf/elf.h (R_ARM_IRELATIVE): Define.
41478
af190f45
UD
414792011-04-19 Ulrich Drepper <drepper@gmail.com>
41480
41481 * po/ru.po: Update from translation team.
41482
53cf59ef
UD
414832011-04-17 Ulrich Drepper <drepper@gmail.com>
41484
41485 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41486 dependencies.
41487
4c559bcd
MF
414882011-02-06 Mike Frysinger <vapier@gentoo.org>
41489
41490 [BZ #12653]
41491 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41492 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41494 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41495 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41496
4420675c
AS
414972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41498
41499 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41500 differing bytes.
41501 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41503 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41504
75ea32ab
UD
415052011-04-17 Ulrich Drepper <drepper@gmail.com>
41506
41507 [BZ #12420]
41508 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41509 storing it.
41510 * stdlib/bug-getcontext.c: New file.
41511 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41512
27390476
AK
415132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41514
41515 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41516 instructions into .machine "z9-109".
41517 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41518 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41519
10442705
AK
415202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41521
41522 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41523 between environment variables and auxiliary vector.
41524
7b57bfe5
UD
415252011-04-16 Ulrich Drepper <drepper@gmail.com>
41526
41527 * Makefile: Add rules to build linkobj/libc.so.
41528 * include/libc-symbols.h: Define libc_hidden_nolink.
41529 * include/rpc/auth.h: Mark functions which are to be hidden.
41530 * include/rpc/auth_des.h: Likewise.
41531 * include/rpc/auth_unix.h: Likewise.
41532 * include/rpc/clnt.h: Likewise.
41533 * include/rpc/des_crypt.h: Likewise.
41534 * include/rpc/key_prot.h: Likewise.
41535 * include/rpc/pmap_clnt.h: Likewise.
41536 * include/rpc/pmap_prot.h: Likewise.
41537 * include/rpc/pmap_rmt.h: Likewise.
41538 * include/rpc/rpc_msg.h: Likewise.
41539 * include/rpc/svc.h: Likewise.
41540 * include/rpc/svc_auth.h: Likewise.
41541 * include/rpc/xdr.h: Likewise.
41542 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41543 * nss/Makefile: Likewise.
41544 * sunrpc/Makefile: Don't install headers. Build library with normal
41545 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41546 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41547 for the compat linking library. Remove use of INTDEF/INTUSE.
41548 * sunrpc/auth_none.c: Likewise.
41549 * sunrpc/auth_unix.c: Likewise.
41550 * sunrpc/authdes_prot.c: Likewise.
41551 * sunrpc/authuxprot.c: Likewise.
41552 * sunrpc/clnt_gen.c: Likewise.
41553 * sunrpc/clnt_perr.c: Likewise.
41554 * sunrpc/clnt_raw.c: Likewise.
41555 * sunrpc/clnt_simp.c: Likewise.
41556 * sunrpc/clnt_tcp.c: Likewise.
41557 * sunrpc/clnt_udp.c: Likewise.
41558 * sunrpc/clnt_unix.c: Likewise.
41559 * sunrpc/des_crypt.c: Likewise.
41560 * sunrpc/des_soft.c: Likewise.
41561 * sunrpc/get_myaddr.c: Likewise.
41562 * sunrpc/key_call.c: Likewise.
41563 * sunrpc/key_prot.c: Likewise.
41564 * sunrpc/netname.c: Likewise.
41565 * sunrpc/pm_getmaps.c: Likewise.
41566 * sunrpc/pm_getport.c: Likewise.
41567 * sunrpc/pmap_clnt.c: Likewise.
41568 * sunrpc/pmap_prot.c: Likewise.
41569 * sunrpc/pmap_prot2.c: Likewise.
41570 * sunrpc/pmap_rmt.c: Likewise.
41571 * sunrpc/publickey.c: Likewise.
41572 * sunrpc/rpc_cmsg.c: Likewise.
41573 * sunrpc/rpc_common.c: Likewise.
41574 * sunrpc/rpc_dtable.c: Likewise.
41575 * sunrpc/rpc_prot.c: Likewise.
41576 * sunrpc/rpc_thread.c: Likewise.
41577 * sunrpc/rtime.c: Likewise.
41578 * sunrpc/svc.c: Likewise.
41579 * sunrpc/svc_auth.c: Likewise.
41580 * sunrpc/svc_authux.c: Likewise.
41581 * sunrpc/svc_raw.c: Likewise.
41582 * sunrpc/svc_run.c: Likewise.
41583 * sunrpc/svc_simple.c: Likewise.
41584 * sunrpc/svc_tcp.c: Likewise.
41585 * sunrpc/svc_udp.c: Likewise.
41586 * sunrpc/svc_unix.c: Likewise.
41587 * sunrpc/svcauth_des.c: Likewise.
41588 * sunrpc/xcrypt.c: Likewise.
41589 * sunrpc/xdr.c: Likewise.
41590 * sunrpc/xdr_array.c: Likewise.
41591 * sunrpc/xdr_float.c: Likewise.
41592 * sunrpc/xdr_intXX_t.c: Likewise.
41593 * sunrpc/xdr_mem.c: Likewise.
41594 * sunrpc/xdr_rec.c: Likewise.
41595 * sunrpc/xdr_ref.c: Likewise.
41596 * sunrpc/xdr_sizeof.c: Likewise.
41597 * sunrpc/xdr_stdio.c: Likewise.
41598
e6c61494
UD
415992011-04-10 Ulrich Drepper <drepper@gmail.com>
41600
41601 [BZ #12650]
41602 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41603 * sysdeps/ia64/dl-tls.h: Likewise.
41604 * sysdeps/powerpc/dl-tls.h: Likewise.
41605 * sysdeps/s390/dl-tls.h: Likewise.
41606 * sysdeps/sh/dl-tls.h: Likewise.
41607 * sysdeps/sparc/dl-tls.h: Likewise.
41608 * sysdeps/x86_64/dl-tls.h: Likewise.
41609 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41610
34fe483e
AS
416112011-03-14 Andreas Schwab <schwab@redhat.com>
41612
41613 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41614 rpath element also skip the following colon.
41615 (expand_dynamic_string_token): Add is_path parameter and pass
41616 down to DL_DST_REQUIRED and _dl_dst_substitute.
41617 (decompose_rpath): Call expand_dynamic_string_token with
41618 non-zero is_path. Ignore empty rpaths.
41619 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41620 with zero is_path.
41621
f12a32e6
AS
416222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41623
41624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41625 Make cancelable.
41626
38a7d692
UD
416272011-04-09 Ulrich Drepper <drepper@gmail.com>
41628
41629 [BZ #12655]
41630 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41631 Patch by Filipe David Manana <fdmanana@apache.org>.
41632
e451d22b
AS
416332011-04-07 Andreas Schwab <schwab@redhat.com>
41634
41635 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41636 Maintain aligned stack.
41637 (CHECK_RSP): Remove unused macro.
41638
dedc7c7b
UD
416392011-04-03 Ulrich Drepper <drepper@gmail.com>
41640
41641 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41642 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41643
94521213
UD
416442011-04-02 Ulrich Drepper <drepper@gmail.com>
41645
41646 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41647
8cb700c0 41648 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41649
0354e355
L
416502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41651
41652 [BZ #12518]
41653 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41654 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41655 * sysdeps/x86_64/memmove.c: New file.
41656 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41657 (memcpy): Renamed to ...
41658 (__new_memcpy): This.
41659 (memcpy): Provide GLIBC_2_14 memcpy.
41660 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41661 (memcpy): Provide GLIBC_2_2_5 memcpy.
41662
8593482f
UD
416632011-04-01 Ulrich Drepper <drepper@gmail.com>
41664
41665 [BZ #12631]
41666 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41667
81a5726b
AS
416682011-03-30 Andreas Schwab <schwab@redhat.com>
41669
41670 * misc/syncfs.c: New file.
41671 * misc/Makefile (routines): Add syncfs.
41672 * posix/unistd.h: Declare syncfs.
41673 * sysdeps/unix/syscalls.list: Add syncfs.
41674
00e5419f
AS
416752011-04-01 Andreas Schwab <schwab@redhat.com>
41676
41677 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41678 open_by_handle_at.
41679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41682 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41684 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41686
748876bf
UD
416872011-04-01 Ulrich Drepper <drepper@gmail.com>
41688
658e451d
UD
41689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41690 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41691 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41693 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41695 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41696
748876bf
UD
41697 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41698 sync_file_range.c with -fexceptions.
41699 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41700 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41701 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41702 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41703 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41704 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41706 sync_file_range as cancellation point
41707 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41708 now a wrapper around __call_sync_file_range with cancellation handling.
41709 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41710 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41711 function name to __call_sync_file_range.
41712 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41713 Add call_sync_file_range.
748876bf 41714
6e63d5e1
AS
417152011-04-01 Andreas Schwab <schwab@redhat.com>
41716
41717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41718 bits/timex.h.
6e63d5e1 41719
46998f74
UD
417202011-04-01 Ulrich Drepper <drepper@gmail.com>
41721
4c1423ed
UD
41722 * iconv/iconv.h: Fix typo in comment.
41723 * io/fcntl.h: Likewise.
41724 * libio/stdio.h: Likewise.
41725 * posix/spawn.h: Likewise.
41726 * posix/unistd.h: Likewise.
41727 * stdlib/stdlib.h: Likewise.
41728 * time/time.h: Likewise.
41729 * wcsmbs/wchar.h: Likewise.
41730
158648c0
UD
41731 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41732 open_by_handle): Add.
41733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41734 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41735 Augment a few comments.
41736 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41741 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41742 open_by_handle.
41743
46998f74
UD
41744 * io/fcntl.h (AT_EMPTY_PATH): Define.
41745
83fe108b
UD
417462011-03-30 Ulrich Drepper <drepper@gmail.com>
41747
41748 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41749 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41750 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41751 to...
41752 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41753 * Versions.def: Add GLIBC_2.14.
41754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41755 Export.
83fe108b 41756
bb242059
UD
417572011-03-22 Ulrich Drepper <drepper@gmail.com>
41758
41759 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41760 round counter.
41761 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41762
c97a1282
L
417632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41764
41765 [BZ #12597]
41766 * string/test-strncmp.c (do_page_test): New function.
41767 (check2): Likewise.
41768 (test_main): Call check2.
41769 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41770
2a115601
UD
417712011-03-20 Ulrich Drepper <drepper@gmail.com>
41772
41773 [BZ #12587]
41774 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41775 Handle cache information in CPU leaf 4.
41776 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41777
8126d904
UD
417782011-03-18 Ulrich Drepper <drepper@gmail.com>
41779
042c49c6 41780 [BZ #12583]
8126d904
UD
41781 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41782 character representation.
41783 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41784
ccfe366e
RA
417852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41786
41787 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41788 END(__isnan) to END(__isnanf) to match function entry point/label
41789 EALIGN(__isnanf,...).
41790
c6e13027
JJ
417912011-03-10 Jakub Jelinek <jakub@redhat.com>
41792
41793 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41794
33f85a3f
UD
417952011-03-10 Ulrich Drepper <drepper@gmail.com>
41796
028478fa
UD
41797 [BZ #12510]
41798 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41799 copy from the symbol referenced in the relocation to initialize the
41800 used variable.
41801 Patch by Piotr Bury <pbury@goahead.com>.
41802 * elf/Makefile: Add rules to build and tst-unique3.
41803 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41804 * elf/tst-unique3.cc: New file.
41805 * elf/tst-unique3.h: New file.
41806 * elf/tst-unique3lib.cc: New file.
41807 * elf/tst-unique3lib2.cc: New file.
41808
33f85a3f
UD
41809 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41810
03592fc7
MF
418112011-03-10 Mike Frysinger <vapier@gentoo.org>
41812
41813 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41814 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41815 to _start.
03592fc7 41816
6a5ee102
UD
418172011-03-06 Ulrich Drepper <drepper@gmail.com>
41818
41819 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41820 to-be-loaded object along a path to loader is ld.so.
41821
7e4ba49c
HJ
418222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41823 Ulrich Drepper <drepper@gmail.com>
41824
41825 * sysdeps/x86_64/memset.S: After aligning destination, code
41826 branches to different locations depending on the value of
41827 misalignment, when multiarch is enabled. Fix this.
41828
418292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41830
41831 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41832 Set _x86_64_preferred_memory_instruction for AMD processsors.
41833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41834 Set bit_Prefer_SSE_for_memop for AMD processors.
41835
13a804de
UD
418362011-03-04 Ulrich Drepper <drepper@gmail.com>
41837
41838 * libio/fmemopen.c (fmemopen): Optimize a bit.
41839
9d25c392
AS
418402011-03-03 Andreas Schwab <schwab@redhat.com>
41841
41842 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41843
a5543c6a
RM
418442011-03-03 Roland McGrath <roland@redhat.com>
41845
41846 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41847
012d35f7
DM
418482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41849
7e4ba49c 41850 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41851 __bzero_ultra1 instead of __memset_ultra1.
41852
4bff6e01
AS
418532011-02-23 Andreas Schwab <schwab@redhat.com>
41854 Ulrich Drepper <drepper@gmail.com>
41855
41856 [BZ #12509]
41857 * include/link.h (struct link_map): Add l_orig_initfini.
41858 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41859 returning unsuccessfully.
41860 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41861 close of a file loaded at startup, restore the original l_initfini
41862 list.
41863 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41864 list, store the pointer.
41865 * elf/Makefile ($(objpfx)noload-mem): New rule.
41866 (noload-ENV): Define.
41867 (tests): Add $(objpfx)noload-mem.
41868 * elf/noload.c: Include <memcheck.h>.
41869 (main): Call mtrace. Close all opened handles.
41870
f2092faf
AS
418712011-02-17 Andreas Schwab <schwab@redhat.com>
41872
41873 [BZ #12454]
41874 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41875 dependencies are missing.
41876
6c8a2e88
ST
418772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41878
f2092faf 41879 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41880 Hurd needs munmap.
41881 * sysdeps/mach/hurd/ifreq.h: New file.
41882
84a42118
PB
418832011-01-27 Petr Baudis <pasky@suse.cz>
41884 Ulrich Drepper <drepper@gmail.com>
41885
071f805e 41886 [BZ 12445]#
84a42118
PB
41887 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41888 to extend_alloca().
41889 * stdio-common/bug23.c: New file.
41890 * stdio-common/Makefile (tests): Add bug23.
41891
e23fe25b
AS
418922010-09-28 Andreas Schwab <schwab@redhat.com>
41893 Ulrich Drepper <drepper@gmail.com>
41894
41895 [BZ #12489]
41896 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41897 before performing relro protection. At old place add assertion
41898 to make sure nothing changed.
41899
d3f02e10
NS
419002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41901 Glauber de Oliveira Costa <glommer@gmail.com>
41902
41903 * elf/elf.h: Add new ARM TLS relocs.
41904
d55fd7a5
RA
419052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41906
41907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41908 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41909 cast from r3.
41910 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41911 'tests' variable.
41912 * sysdeps/wordsize-64/tst-writev.c: New file.
41913
2206397e
RA
419142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41915
41916 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41917 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41918 insns in _dl_start to prevent a TOC reference before relocs are
41919 resolved.
41920
e9433893
UD
419212011-02-15 Ulrich Drepper <drepper@gmail.com>
41922
41923 [BZ #12469]
41924 * Makeconfig: Remove RANLIB definition.
41925 * Makerules: Don't use RANLIB.
41926 * aclocal.m4: Remove ranlib test.
41927 * configure.in: No need to check for ranlib.
41928 * elf/rtld-Rules: Don't use RANLIB.
41929
f75286c6
ST
419302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41931
8e31c82d
ST
41932 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41933 protection macro.
41934 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41935 inclusion protection macro.
41936
f75286c6
ST
41937 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41938 SIGRTMIN and SIGRTMAX and print information in that case only when
41939 SIGRTMIN is defined.
41940
c1d0e639
JJ
419412011-02-11 Jakub Jelinek <jakub@redhat.com>
41942
41943 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41944 arginfo fn returning -1.
41945
41946 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41947 and thousands string is zero terminated.
41948
edf9294e
AS
419492011-02-03 Andreas Schwab <schwab@redhat.com>
41950
41951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41952 sysdeps/unix/sysv/linux/bits/socket.h.
41953
2b7e92df
ST
419542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41955
edf9294e
AS
41956 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41957 (__CPU_COUNT): Remove old macros.
41958 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41959 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41960 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41961 (__sched_cpualloc, __sched_cpufree): Add declarations.
41962
a4c7ea7b
UD
419632011-02-05 Ulrich Drepper <drepper@gmail.com>
41964
41965 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41966 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41967 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41968 (readdhstai): Return value of addhstaiX call.
41969 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41970 (addgrbyX): Return value returned by cache_addgr.
41971 (readdgrbyname): Return value returned by addgrbyX.
41972 (readdgrbygid): Likewise.
41973 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41974 (addpwbyX): Return value returned by cache_addpw.
41975 (readdpwbyname): Return value returned by addhstbyX.
41976 (readdpwbyuid): Likewise.
41977 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41978 (addservbyX): Return value returned by cache_addserv.
41979 (readdservbyname): Return value returned by addservbyX:
41980 (readdservbyport): Likewise.
41981 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41982 (addhstbyX): Return value returned by cache_addhst.
41983 (readdhstbyname): Return value returned by addhstbyX.
41984 (readdhstbyaddr): Likewise.
41985 (readdhstbynamev6): Likewise.
41986 (readdhstbyaddrv6): Likewise.
41987 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41988 (readdinitgroups): Return value returned by addinitgroupsX.
41989 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41990 (prune_cache): Keep track of timeout value of re-added entries.
41991 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41992 * nscd/nscd.h: Adjust prototypes of readd* functions.
41993
a0bf67cc
RM
419942011-02-04 Roland McGrath <roland@redhat.com>
41995
41996 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41997 (nis_stats): Likewise.
41998 * nis/nis_modify.c (nis_modify): Likewise.
41999 * nis/nis_remove.c (nis_remove): Likewise.
42000 * nis/nis_add.c (nis_add): Likewise.
42001
42002 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42003
42004 * posix/fnmatch_loop.c: Add some consts.
42005
42006 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42007
435b95eb
L
420082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42009
42010 [BZ #12460]
42011 * config.make.in (config-cflags-novzeroupper): Define.
42012 * configure.in: Substitute libc_cv_cc_novzeroupper.
42013 * elf/Makefile (AVX-CFLAGS): Define.
42014 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42015 (CFLAGS-tst-auditmod4a.c): Likewise.
42016 (CFLAGS-tst-auditmod4b.c): Likewise.
42017 (CFLAGS-tst-auditmod6b.c): Likewise.
42018 (CFLAGS-tst-auditmod6c.c): Likewise.
42019 (CFLAGS-tst-auditmod7b.c): Likewise.
42020 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42021
8517b15e
UD
420222011-02-02 Ulrich Drepper <drepper@gmail.com>
42023
42024 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42025 function to the callback.
42026 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42027
10a656fe
AS
420282011-02-02 Andreas Schwab <schwab@redhat.com>
42029
42030 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42031 of errno.
42032
968dad0a
UD
420332011-01-19 Ulrich Drepper <drepper@gmail.com>
42034
9f94d2ea 42035 [BZ #11724]
968dad0a
UD
42036 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42037 of constructors.
42038 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42039 of destructors.
42040 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42041
42042 [BZ #11724]
42043 * elf/Makefile: Add rules to build and run new test.
42044 * elf/tst-initorder.c: New file.
42045 * elf/tst-initorder.exp: New file.
42046 * elf/tst-initordera1.c: New file.
42047 * elf/tst-initordera2.c: New file.
42048 * elf/tst-initordera3.c: New file.
42049 * elf/tst-initordera4.c: New file.
42050 * elf/tst-initorderb1.c: New file.
42051 * elf/tst-initorderb2.c: New file.
42052 * elf/tst-order-a1.c: New file.
42053 * elf/tst-order-a2.c: New file.
42054 * elf/tst-order-a3.c: New file.
42055 * elf/tst-order-a4.c: New file.
42056 * elf/tst-order-b1.c: New file.
42057 * elf/tst-order-b2.c: New file.
42058 * elf/tst-order-main.c: New file.
42059 New test case by George Gensure <werkt0@gmail.com>.
42060
86e92359
UD
420612010-10-01 Andreas Schwab <schwab@redhat.com>
42062
42063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42064 decoding ACE if AI_CANONIDN.
42065
5d5732b0
UD
420662011-01-18 Ulrich Drepper <drepper@gmail.com>
42067
42068 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42069
a77e8cbc
UD
420702011-01-17 Ulrich Drepper <drepper@gmail.com>
42071
6392473f
UD
42072 * version.h (RELEASE): Bump for 2.13 release.
42073 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42074
620a0529
UD
42075 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42076
18ba70a5
UD
42077 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42078 MADV_NOHUGEPAGE.
32465c3e
UD
42079 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42080 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42081 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42082 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42083 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42084 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42085
c0dafcf1
UD
42086 * posix/getconf.c: Update copyright year.
42087 * catgets/gencat.c: Likewise.
42088 * csu/version.c: Likewise.
42089 * debug/catchsegv.sh: Likewise.
42090 * debug/xtrace.sh: Likewise.
42091 * elf/ldconfig.c: Likewise.
42092 * elf/ldd.bash.in: Likewise.
42093 * elf/sprof.c (print_version): Likewise.
42094 * iconv/iconv_prog.c: Likewise.
42095 * iconv/iconvconfig.c: Likewise.
42096 * locale/programs/locale.c: Likewise.
42097 * locale/programs/localedef.c: Likewise.
42098 * malloc/memusage.sh: Likewise.
42099 * malloc/mtrace.pl: Likewise.
42100 * nscd/nscd.c (print_version): Likewise.
42101 * nss/getent.c: Likewise.
42102
a77e8cbc
UD
42103 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42104 PF_CAIF, and PF_ALG.
42105 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42106
77e8bddf
AS
421072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42108
1f20b93a
AS
42109 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42110 (modules-names): Use them.
42111 (ifunc-test-modules, ifunc-pie-tests): Define.
42112 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42113 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42114 (test-extras): Likewise.
42115 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42116 $(compile-command.c).
42117 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42118 (all-built-dso): Define.
42119 (check-textrel.out, check-execstack.out): Depend on it.
42120
77e8bddf
AS
42121 * configure.in: Don't override --enable-multi-arch.
42122
bc425b33
UD
421232011-01-15 Ulrich Drepper <drepper@gmail.com>
42124
42125 [BZ #6812]
42126 * nscd/hstcache.c (tryagain): Define.
42127 (cache_addhst): Return tryagain not notfound for temporary errors.
42128 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42129 failed.
42130
794c3ad3
UD
421312011-01-14 Ulrich Drepper <drepper@gmail.com>
42132
70181fdd
UD
42133 [BZ #10563]
42134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42135 to make the syscall.
42136 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42137
794c3ad3
UD
42138 [BZ #12378]
42139 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42140 and fall back to matching as normal character if the string ends before
42141 the matching ']' is found. This is what POSIX requires.
42142 * posix/testfnm.c: Adjust test result.
42143 * posix/globtest.sh: Adjust test result. Add new test.
42144 * posix/tst-fnmatch.input: Likewise.
42145 * posix/tst-fnmatch2.c: Add new test.
42146
68dc9497
AS
421472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42148
42149 * elf/Makefile (check-execstack): Revert last change. Depend on
42150 check-execstack.h.
42151 (check-execstack.h): New target.
42152 (generated): Add check-execstack.h.
42153 * elf/check-execstack.c: Include "check-execstack.h".
42154 (main): Revert last change.
42155 (handle_file): Return zero if GNU_STACK is absent and
42156 DEFAULT_STACK_PERMS doesn't include PF_X.
42157
451f001b
UD
421582011-01-13 Ulrich Drepper <drepper@gmail.com>
42159
cfa28e56
UD
42160 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42161 in child fails because the descriptor is already closed.
8cf8ce17
UD
42162 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42163 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42164 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42165
1086d70d
UD
42166 [BZ #12397]
42167 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42168 syscall.
42169
451f001b
UD
42170 [BZ #10484]
42171 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42172 temporary buffer used to handle multi lookups locally.
a85b5cb4 42173 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42174
08769175
UD
421752011-01-12 Ulrich Drepper <drepper@gmail.com>
42176
42177 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42178 loader is ld.so.
42179
5e49c52e
UD
421802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42181
42182 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42183 alignment for SSE2.
42184
60522a5f
UD
421852011-01-12 Ulrich Drepper <drepper@gmail.com>
42186
42187 [BZ #12394]
42188 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42189 characters. When rounding increased number of integer digits recompute
42190 number of groups.
42191 * stdio-common/tst-grouping.c: New file.
42192 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42193
f257bbd7
UD
421942011-01-09 Ulrich Drepper <drepper@gmail.com>
42195
42196 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42197 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42198
42199 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42200 void.
42201 * bits/select.h: Likewise.
42202
fa9c15cb
UD
422032011-01-08 Ulrich Drepper <drepper@gmail.com>
42204
42205 * po/ja.po: Update from translation team.
42206
16c2895f
DM
422072011-01-04 David S. Miller <davem@sunset.davemloft.net>
42208
42209 [BZ #11155]
42210 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42211 implementation just like for lxstat, fxstatat, et al.
42212
2543fef2
JM
422132010-12-27 Jim Meyering <meyering@redhat.com>
42214
42215 [BZ #12348]
42216 * posix/regexec.c (build_trtable): Return failure indication upon
42217 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42218
98727dbe
UD
422192010-12-25 Ulrich Drepper <drepper@gmail.com>
42220
5bd6dc5c
UD
42221 [BZ #12201]
42222 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42223 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42224 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42225 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42226
97983464
UD
42227 [BZ #12207]
42228 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42229
98727dbe
UD
42230 [BZ #12204]
42231 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42232 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42233
4a531bb0
L
422342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42235
42236 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42237 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42238 script has SORT_BY_INIT_PRIORITY.
42239 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42240 NO_CTORS_DTORS_SECTIONS is defined.
42241 * elf/soinit.c: Likewise.
42242 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42243 NO_CTORS_DTORS_SECTIONS is defined.
42244 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42245 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42246 * sysdeps/sh/init-first.c: Likewise.
42247 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42248
07eb4b71
UD
422492010-12-24 Ulrich Drepper <drepper@gmail.com>
42250
42251 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42252 always use the slow path.
42253
30950a5f
RA
422542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42255
42256 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42257 similar rule which adds the sysdep directories to the header search in
42258 order to pick up the correct platform stackinfo.h.
42259 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42260 perform test if it is, otherwise return successfully without testing.
42261 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42262 DEFAULT_STACK_PERMS define in stackinfo.h.
42263 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42264 defined in stackinfo.h.
42265 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42266 DEFAULT_STACK_PERMS defined in stackinfo.h.
42267 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42268 * sysdeps/ia64/stackinfo.h: Likewise.
42269 * sysdeps/s390/stackinfo.h: Likewise.
42270 * sysdeps/sh/stackinfo.h: Likewise.
42271 * sysdeps/sparc/stackinfo.h: Likewise.
42272 * sysdeps/x86_64/stackinfo.h: Likewise.
42273 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42274 PF_X for powerpc64. Retain PF_X for powerpc32.
42275
db753e2c
UD
422762010-12-19 Ulrich Drepper <drepper@gmail.com>
42277
14b697f7
UD
42278 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42279 accurately.
db753e2c
UD
42280 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42281 GETDENTS_64BIT_ALIGNED.
42282
28300719
UD
422832010-12-14 Ulrich Drepper <dreper@gmail.com>
42284
14b697f7 42285 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42286
4f197237
AS
422872010-12-10 Andreas Schwab <schwab@redhat.com>
42288
dbb0472f
AS
42289 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42290 _GNU_SOURCE.
42291
4f197237
AS
42292 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42293 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42294 Remove __restrict.
42295 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42296 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42297
fb88ac72
UD
422982010-12-09 Ulrich Drepper <drepper@gmail.com>
42299
42300 [BZ #11655]
42301 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42302 are initialized.
42303
42acbb92
JJ
423042010-12-09 Jakub Jelinek <jakub@redhat.com>
42305
42306 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42307
c038d98d
UD
423082010-12-03 Ulrich Drepper <drepper@gmail.com>
42309
42310 * po/it.po: Update from translation team.
42311
3a4a2499
L
423122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42313
42314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42315 unused codes.
42316
1e24cf6e
UD
423172010-11-30 Ulrich Drepper <drepper@gmail.com>
42318
42319 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42320
a7690819
AS
423212010-11-24 Andreas Schwab <schwab@redhat.com>
42322
42323 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42324 specially.
42325 (gaih_getanswer_slice): Likewise.
42326
3bf8d1b1
JJ
423272010-10-20 Jakub Jelinek <jakub@redhat.com>
42328
42329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42330
6db52fbb
PB
423312010-05-31 Petr Baudis <pasky@suse.cz>
42332
42333 [BZ #11149]
42334 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42335 silently even in the chroot mode.
42336
eaca7569
UD
423372010-11-22 Ulrich Drepper <drepper@gmail.com>
42338
42339 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42340 last patch a bit. Pretty printing
42341
3056dcdb
UD
423422010-05-31 Petr Baudis <pasky@suse.cz>
42343
42344 [BZ #10085]
42345 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42346 initialization of skip_initgroups_dyn.
42347
cf7c9078
UD
423482010-11-19 Ulrich Drepper <drepper@gmail.com>
42349
42350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42352
a1fb5e3e
UD
423532010-11-16 Ulrich Drepper <drepper@gmail.com>
42354
42355 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42356
3540d66b
AS
423572010-11-11 Andreas Schwab <schwab@redhat.com>
42358
42359 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42360 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42361 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42362 ($(objpfx)tst-fnmatch-mem): New rule.
42363 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42364 * posix/tst-fnmatch.c (main): Call mtrace.
42365
13b69574
L
423662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42367
42368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42369 Support Intel processor model 6 and model 0x2c.
42370
da93d214
LM
423712010-11-10 Luis Machado <luisgpm@br.ibm.com>
42372
42373 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42374 signed comparison.
42375
8ca52c6e
L
423762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42377
42378 [BZ #12205]
42379 * string/test-strncasecmp.c (check_result): New function.
42380 (do_one_test): Use it.
42381 (check1): New function.
42382 (test_main): Use it.
42383 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42384 Support strcasecmp and strncasecmp.
42385
69da074d
UD
423862010-11-08 Ulrich Drepper <drepper@gmail.com>
42387
42388 [BZ #12194]
42389 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42390 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42391
ff02d528
L
423922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42393
42394 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42395 IFUNC support.
42396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42397 memset-x86-64.
42398 * sysdeps/x86_64/multiarch/bzero.S: New file.
42399 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42400 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42401 * sysdeps/x86_64/multiarch/memset.S: New file.
42402 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42404 Set bit_Prefer_SSE_for_memop for Intel processors.
42405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42406 Define.
42407 (index_Prefer_SSE_for_memop): Define.
42408 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42409
344d0b54
LM
424102010-11-04 Luis Machado <luisgpm@br.ibm.com>
42411
42412 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42413 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42414
c0dde15b
UD
424152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42416
42417 [BZ #12191]
42418 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42419 (__x86_64_raw_data_cache_size_half): Likewise.
42420 (__x86_64_raw_shared_cache_size): Likewise.
42421 (__x86_64_raw_shared_cache_size_half): Likewise.
42422
42423 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42424 (__x86_64_raw_data_cache_size_half): Likewise.
42425 (__x86_64_raw_shared_cache_size): Likewise.
42426 (__x86_64_raw_shared_cache_size_half): Likewise.
42427 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42428 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42429 and __x86_64_raw_shared_cache_size_half. Round
42430 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42431 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42432 to multiple of 256 bytes.
42433
0e516e0e
MS
424342010-11-03 Ulrich Drepper <drepper@gmail.com>
42435
42436 [BZ #12167]
42437 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42438 of inacessible symlinks. Verify result of symlink before returning it.
42439 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42440 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42441
0e012e87
ER
424422010-10-28 Erich Ritz <erichritz@gmail.com>
42443
42444 * math/math.h (isinf): Fix typo in comment.
42445
de0ff7bc
UD
424462010-11-01 Ulrich Drepper <drepper@gmail.com>
42447
42448 * po/da.po: Update from translation team.
42449
fa41c84d
UD
424502010-10-26 Ulrich Drepper <drepper@gmail.com>
42451
42452 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42453 is added to the list.
42454
f0967738
AK
424552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42456 Ulrich Drepper <drepper@gmail.com>
42457
42458 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42459 the global list here. Move code to...
42460 (_dl_add_to_namespace_list): ...here. New function.
42461 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42462 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42463 * elf/dl-load.c (lose): Don't remove the element from the list.
42464 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42465 (_dl_map_object): Likewise.
42466
424672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42468
42469 [BZ #12159]
42470 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42471 into all bytes of SSE register.
42472 Patch by Richard Li <richardpku@gmail.com>.
42473
f0967738 424742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42475
42476 [BZ #12140]
42477 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42478 perturbing.
42479
d0b9e94f
MB
424802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42481
42482 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42483 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42484 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42485 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42487 submachine.
42488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42489
8e9f92e9
AS
424902010-10-22 Andreas Schwab <schwab@redhat.com>
42491
42492 * include/dlfcn.h (__RTLD_SECURE): Define.
42493 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42494 mode & __RTLD_SECURE instead.
42495 (open_path): Rename preloaded parameter to secure.
42496 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42497 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42498 * elf/dl-deps.c (openaux): Likewise.
42499 * elf/rtld.c (struct map_args): Remove is_preloaded.
42500 (map_doit): Don't use it.
42501 (dl_main): Likewise.
42502 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42503 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42504
bc96fbda
AS
425052010-09-09 Andreas Schwab <schwab@redhat.com>
42506
42507 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42508 (sysd-rules-targets): Remove duplicates.
42509 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42510 rtld-%.$o dependency.
42511
22cd1c9b
AS
425122010-10-18 Andreas Schwab <schwab@redhat.com>
42513
42514 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42515 _dl_map_object do it.
42516
18edac48
UD
425172010-10-19 Ulrich Drepper <drepper@gmail.com>
42518
42519 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42520 fast fma builtins, define the macros in the C99 standard.
42521 (FP_FAST_FMAF): Likewise.
42522 (FP_FAST_FMAL): Likewise.
42523 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42524
42525 * bits/mathdef.h: Update copyright year.
42526 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42527
d2050124
MM
425282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42529
42530 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42531 builtins, define the macros in the C99 standard.
42532 (FP_FAST_FMAF): Likewise.
42533 (FP_FAST_FMAL): Likewise.
42534 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42535 multiply/add.
42536 (FP_FAST_FMAF): Likewise.
42537
475facd1
JJ
425382010-10-15 Jakub Jelinek <jakub@redhat.com>
42539
42540 [BZ #3268]
42541 * math/libm-test.inc (fma_test): Some new testcases.
42542 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42543 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42544 y and infinite z. Do multiplication by C already in long double.
42545 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42547 y and infinite z. Do bitwise or of inexact bit into u.d.
42548 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42549 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42550 * sysdeps/i386/fpu/s_fma.S: Removed.
42551 * sysdeps/i386/fpu/s_fmal.S: Removed.
42552
7c08a05c
JJ
425532010-10-16 Jakub Jelinek <jakub@redhat.com>
42554
42555 [BZ #3268]
42556 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42557 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42558 computation is not scheduled after fetestexcept. Fix value
42559 of minimum denormal long double.
42560
f3f7372d
JJ
425612010-10-14 Jakub Jelinek <jakub@redhat.com>
42562
42563 [BZ #3268]
42564 * math/libm-test.inc (fma_test): Add some more tests.
42565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42566 correctly.
42567
14d43591
AS
425682010-10-15 Andreas Schwab <schwab@redhat.com>
42569
42570 * scripts/data/localplt-s390-linux-gnu.data: New file.
42571 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42572
5e908464
JJ
425732010-10-13 Jakub Jelinek <jakub@redhat.com>
42574
42575 [BZ #3268]
42576 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42577 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42578 instead of dbl-64.
42579 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42580 inlines.
42581 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42583 if one of x and y is very large and the other is subnormal.
42584 * sysdeps/s390/fpu/s_fmaf.c: New file.
42585 * sysdeps/s390/fpu/s_fma.c: New file.
42586 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42587 * sysdeps/powerpc/fpu/s_fma.S: New file.
42588 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42589 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42590 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42591
425922010-10-12 Jakub Jelinek <jakub@redhat.com>
42593
42594 [BZ #3268]
42595 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42596 fma tests.
42597 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42598 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42599 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42600 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42601 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42602 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42603 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42604
b833d51f
UD
426052010-10-12 Ulrich Drepper <drepper@redhat.com>
42606
42607 [BZ #12078]
42608 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42609 * posix/bug-regex31.input: Add test case.
42610
1751705d
UD
426112010-10-11 Ulrich Drepper <drepper@gmail.com>
42612
e9b9cbf5
UD
42613 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42614 * posix/bug-regex31.input: New file.
42615
42616 [BZ #12078]
42617 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42618 (parse_sub_exp): Fix last change, use postorder.
42619
ef06edbe
UD
42620 * posix/bug-regex31.c: New file.
42621 * posix/Makefile: Add rules to build and run bug-regex31.
42622
a129c80d
UD
42623 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42624
42625 [BZ #12078]
42626 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42627
b76b818e
UD
42628 [BZ #12108]
42629 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42630 to have entries in sys_siglist.
42631
1751705d
UD
42632 [BZ #12093]
42633 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42634 be NULL.
42635
9ff8d36f
JJ
426362010-10-07 Jakub Jelinek <jakub@redhat.com>
42637
42638 [BZ #3268]
42639 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42640 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42641 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42642 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42644 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42645 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42646 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42647 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42648 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42649 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42650 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42651 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42652 * math/ftestexcept.c (fetestexcept): Likewise.
42653 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42654 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42655 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42656 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42657 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42658 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42659 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42660
af325969
UD
426612010-10-11 Ulrich Drepper <drepper@gmail.com>
42662
c579b202 42663 [BZ #12107]
af325969
UD
42664 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42665 newline.
42666
67a67b95
UD
426672010-10-06 Ulrich Drepper <drepper@gmail.com>
42668
42669 * string/bug-strstr1.c: New file.
42670 * string/Makefile: Add rules to build and run bug-strstr1.
42671
5fb308bc
EB
426722010-10-05 Eric Blake <eblake@redhat.com>
42673
42674 [BZ #12092]
42675 * string/str-two-way.h (two_way_long_needle): Always clear memory
42676 when skipping input due to the shift table.
42677
45db99c7
UD
426782010-10-03 Ulrich Drepper <drepper@gmail.com>
42679
3b111893
UD
42680 [BZ #12005]
42681 * malloc/mcheck.c: Handle large requests.
42682
45db99c7
UD
42683 [BZ #12077]
42684 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42685 for strncmp and strncasecmp.
42686 * string/stratcliff.c: Add tests for strcmp and strncmp.
42687 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42688
cf7a1eb8
NI
426892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42690
42691 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42692 __set_fpscr.
42693
6484ba5e
AJ
426942010-09-30 Andreas Jaeger <aj@suse.de>
42695
42696 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42697 (CGROUP_SUPER_MAGIC): Define.
42698 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42699 Handle btrfs and cgroup file systems.
42700 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42701 Likewise.
42702
91c42559
LM
427032010-09-27 Luis Machado <luisgpm@br.ibm.com>
42704
42705 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42706 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42707
87a97932
AK
427082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42709
42710 [BZ #12067]
42711 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42712 trying to locate the ELF header.
42713
c21cc9bc
AS
427142010-09-27 Andreas Schwab <schwab@redhat.com>
42715
42716 [BZ #11611]
42717 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42718 Mask out sign-bit copies when constructing f_fsid.
42719
315970f6
PB
427202010-09-24 Petr Baudis <pasky@suse.cz>
42721
42722 * debug/stack_chk_fail_local.c: Add missing licence exception.
42723 * debug/warning-nop.c: Likewise.
42724
1ac7a2c7
JM
427252010-09-15 Joseph Myers <joseph@codesourcery.com>
42726
42727 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42728 implementing getdents64 using getdents syscall, set d_type if
42729 __ASSUME_GETDENTS32_D_TYPE.
42730
56801c50
AS
427312010-09-16 Andreas Schwab <schwab@redhat.com>
42732
42733 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42734 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42735
dda51327
UD
427362010-09-21 Ulrich Drepper <drepper@redhat.com>
42737
42738 [BZ #12037]
42739 * posix/unistd.h: Undo change of feature selection for ftruncate from
42740 2010-01-11.
42741
8ffcee4a
UD
427422010-09-20 Ulrich Drepper <drepper@redhat.com>
42743
a545ecd9 42744 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42745 detection.
42746
e24f0a8b
AS
427472010-09-20 Andreas Schwab <schwab@redhat.com>
42748
42749 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42750 fanotify_mark.
42751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42752
7291c56f
AS
427532010-09-14 Andreas Schwab <schwab@redhat.com>
42754
42755 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42756 variables after CHECK_SP call.
42757 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42758
bc5fb037
AS
427592010-09-13 Andreas Schwab <schwab@redhat.com>
42760 Ulrich Drepper <drepper@redhat.com>
42761
42762 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42763 re-relocationg ld.so.
42764 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42765 _dl_init_paths call.
42766 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42767 here anymore.
42768
e66e7419
UD
427692010-09-14 Ulrich Drepper <drepper@redhat.com>
42770
42771 * resolv/res_init.c (__res_vinit): Count the default server we added.
42772
c044aa75
CLT
427732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42774 Ulrich Drepper <drepper@redhat.com>
42775
42776 [BZ #11968]
42777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42778 (____longjmp_chk): Use %ebx for saving value across system call.
42779 Add unwind info.
42780
32cf4069
AS
427812010-09-06 Andreas Schwab <schwab@redhat.com>
42782
42783 * manual/Makefile: Don't mix pattern rules with normal rules.
42784
817328ee
AS
427852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42786
42787 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42788 operation.
42789 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42790 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42791 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42792 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42794 Likewise.
42795
29fddf61
UD
427962010-09-04 Ulrich Drepper <drepper@redhat.com>
42797
42798 [BZ #11979]
42799 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42800 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42801
0959ffc9
UD
428022010-09-02 Ulrich Drepper <drepper@redhat.com>
42803
42804 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42805 * sysdeps/x86_64/addmul_1.S: Likewise.
42806 * sysdeps/x86_64/lshift.S: Likewise.
42807 * sysdeps/x86_64/mul_1.S: Likewise.
42808 * sysdeps/x86_64/rshift.S: Likewise.
42809 * sysdeps/x86_64/sub_n.S: Likewise.
42810 * sysdeps/x86_64/submul_1.S: Likewise.
42811
ece29840
ST
428122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42813
0959ffc9
UD
42814 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42815 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42816 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42817 * bits/sched.h [__need_schedparam]
ece29840 42818 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42819 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42820 (__defined_schedparam): Define to 1.
ece29840
ST
42821 (__sched_param): New structure, identical to sched_param.
42822 (__need_schedparam): Undefine.
42823
e53a31fe
MF
428242010-08-31 Mike Frysinger <vapier@gentoo.org>
42825
fdc0c10d
MF
42826 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42827 (epoll_create1): Declare.
42828
e53a31fe
MF
42829 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42830
a726d796
AS
428312010-08-31 Andreas Schwab <schwab@redhat.com>
42832
42833 [BZ #7066]
42834 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42835 shifting retval into place.
42836
2f3e3dc7
UD
428372010-09-01 Ulrich Drepper <drepper@redhat.com>
42838
f2933da9
UD
42839 * nis/rpcsvc/nis.h: Update copyright notice.
42840 * nis/rpcsvc/nis.x: Likewise.
42841 * nis/rpcsvc/nis_callback.h: Likewise.
42842 * nis/rpcsvc/nis_callback.x: Likewise.
42843 * nis/rpcsvc/nis_object.x: Likewise.
42844 * nis/rpcsvc/nis_tags.h: Likewise.
42845 * nis/rpcsvc/yp.h: Likewise.
42846 * nis/rpcsvc/yp.x: Likewise.
42847 * nis/rpcsvc/ypupd.h: Likewise.
42848 * nis/yp_xdr.c: Likewise.
42849 * nis/ypupdate_xdr.c: Likewise.
42850
2f3e3dc7
UD
42851 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42852 mainly the body of pmap_getport. Add parameters to specify timeouts.
42853 (pmap_getport): Use __libc_rpc_getport.
42854 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42855 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42856 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42857
f3dcc2f9
AS
428582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42859
42860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42861 fanotify_mark.
42862
6d34eb5b
RM
428632010-08-27 Roland McGrath <roland@redhat.com>
42864
42865 * sysdeps/i386/i686/multiarch/Makefile
42866 (CFLAGS-varshift.c): New variable.
42867
9ea3de11
UD
428682010-08-27 Ulrich Drepper <drepper@redhat.com>
42869
c96d23fc
UD
42870 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42871 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42872
9ea3de11
UD
42873 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42874
42875 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42876
623aac7f
L
428772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42878
42879 * sysdeps/x86_64/strlen.S: Unroll the loop.
42880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42881 strlen-sse2 strlen-sse2-bsf.
42882 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42883 __strlen_no_bsf if bit_Slow_BSF is set.
42884 (__strlen_sse42): Removed.
42885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42886 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42887
8b2b7715
RM
428882010-08-25 Roland McGrath <roland@redhat.com>
42889
42890 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42891 * sysdeps/x86_64/multiarch/varshift.c: New file.
42892 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42893 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42894 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42895 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42896
e73015f2
L
428972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42898
42899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42900 strlen-sse2 strlen-sse2-bsf.
42901 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42902 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42903 (__strlen_sse2): Removed.
42904 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42905 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42907 bit_Slow_BSF for Atom.
42908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42909 (index_Slow_BSF): Define.
42910 (HAS_SLOW_BSF): Define.
42911
df24a73e
UD
429122010-08-25 Ulrich Drepper <drepper@redhat.com>
42913
42914 [BZ #10851]
42915 * resolv/res_init.c (__res_vinit): When no server address at all
42916 is given default to loopback.
42917
f2ac4868
RM
429182010-08-24 Roland McGrath <roland@redhat.com>
42919
09055553
RM
42920 * configure.in: Remove config-name.h generation.
42921 * configure: Regenerated.
42922 * config-name.in: File removed.
42923 * scripts/config-uname.sh: New file.
42924 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42925 ($(objdir)config-name.h): New target.
42926
f2ac4868
RM
42927 * sunrpc/rpc_parse.h: Avoid nested comment.
42928
73f27d5e
RH
429292010-08-24 Richard Henderson <rth@redhat.com>
42930 Ulrich Drepper <drepper@redhat.com>
42931 H.J. Lu <hongjiu.lu@intel.com>
42932
42933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42935 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42936 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42937 _mm_alignr_epi8 with _mm_loadu_si128.
42938 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42939 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42940 (__m128i_shift_right): Removed.
42941 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42942 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42943 * sysdeps/x86_64/multiarch/varshift.h: New file.
42944 * sysdeps/x86_64/multiarch/varshift.S: New file.
42945
84b9230c
MF
429462010-08-21 Mike Frysinger <vapier@gentoo.org>
42947
42948 * configure.in: Move assembler checks to before sysdep dir checking.
42949
9bbd0ddc
PB
429502010-08-20 Petr Baudis <pasky@suse.cz>
42951
42952 * LICENSES: Sync the sunrpc license.
42953
9da4bb31
UD
429542010-08-19 Ulrich Drepper <drepper@redhat.com>
42955
a7ab6ec8
UD
42956 * sunrpc/auth_des.c: Update copyright notice once again.
42957 * sunrpc/auth_none.c: Likewise.
42958 * sunrpc/auth_unix.c: Likewise.
42959 * sunrpc/authdes_prot.c: Likewise.
42960 * sunrpc/authuxprot.c: Likewise.
42961 * sunrpc/bindrsvprt.c: Likewise.
42962 * sunrpc/clnt_gen.c: Likewise.
42963 * sunrpc/clnt_perr.c: Likewise.
42964 * sunrpc/clnt_raw.c: Likewise.
42965 * sunrpc/clnt_simp.c: Likewise.
42966 * sunrpc/clnt_tcp.c: Likewise.
42967 * sunrpc/clnt_udp.c: Likewise.
42968 * sunrpc/clnt_unix.c: Likewise.
42969 * sunrpc/des_crypt.c: Likewise.
42970 * sunrpc/des_soft.c: Likewise.
42971 * sunrpc/get_myaddr.c: Likewise.
42972 * sunrpc/getrpcport.c: Likewise.
42973 * sunrpc/key_call.c: Likewise.
42974 * sunrpc/key_prot.c: Likewise.
42975 * sunrpc/openchild.c: Likewise.
42976 * sunrpc/pm_getmaps.c: Likewise.
42977 * sunrpc/pm_getport.c: Likewise.
42978 * sunrpc/pmap_clnt.c: Likewise.
42979 * sunrpc/pmap_prot.c: Likewise.
42980 * sunrpc/pmap_prot2.c: Likewise.
42981 * sunrpc/pmap_rmt.c: Likewise.
42982 * sunrpc/rpc/auth.h: Likewise.
42983 * sunrpc/rpc/auth_unix.h: Likewise.
42984 * sunrpc/rpc/clnt.h: Likewise.
42985 * sunrpc/rpc/des_crypt.h: Likewise.
42986 * sunrpc/rpc/key_prot.h: Likewise.
42987 * sunrpc/rpc/netdb.h: Likewise.
42988 * sunrpc/rpc/pmap_clnt.h: Likewise.
42989 * sunrpc/rpc/pmap_prot.h: Likewise.
42990 * sunrpc/rpc/pmap_rmt.h: Likewise.
42991 * sunrpc/rpc/rpc.h: Likewise.
42992 * sunrpc/rpc/rpc_des.h: Likewise.
42993 * sunrpc/rpc/rpc_msg.h: Likewise.
42994 * sunrpc/rpc/svc.h: Likewise.
42995 * sunrpc/rpc/svc_auth.h: Likewise.
42996 * sunrpc/rpc/types.h: Likewise.
42997 * sunrpc/rpc/xdr.h: Likewise.
42998 * sunrpc/rpc_clntout.c: Likewise.
42999 * sunrpc/rpc_cmsg.c: Likewise.
43000 * sunrpc/rpc_common.c: Likewise.
43001 * sunrpc/rpc_cout.c: Likewise.
43002 * sunrpc/rpc_dtable.c: Likewise.
43003 * sunrpc/rpc_hout.c: Likewise.
43004 * sunrpc/rpc_main.c: Likewise.
43005 * sunrpc/rpc_parse.c: Likewise.
43006 * sunrpc/rpc_parse.h: Likewise.
43007 * sunrpc/rpc_prot.c: Likewise.
43008 * sunrpc/rpc_sample.c: Likewise.
43009 * sunrpc/rpc_scan.c: Likewise.
43010 * sunrpc/rpc_scan.h: Likewise.
43011 * sunrpc/rpc_svcout.c: Likewise.
43012 * sunrpc/rpc_tblout.c: Likewise.
43013 * sunrpc/rpc_util.c: Likewise.
43014 * sunrpc/rpc_util.h: Likewise.
43015 * sunrpc/rpcinfo.c: Likewise.
43016 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43017 * sunrpc/rpcsvc/key_prot.x: Likewise.
43018 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43019 * sunrpc/rpcsvc/mount.x: Likewise.
43020 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43021 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43022 * sunrpc/rpcsvc/rex.x: Likewise.
43023 * sunrpc/rpcsvc/rstat.x: Likewise.
43024 * sunrpc/rpcsvc/rusers.x: Likewise.
43025 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43026 * sunrpc/rpcsvc/spray.x: Likewise.
43027 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43028 * sunrpc/rtime.c: Likewise.
43029 * sunrpc/svc.c: Likewise.
43030 * sunrpc/svc_auth.c: Likewise.
43031 * sunrpc/svc_authux.c: Likewise.
43032 * sunrpc/svc_raw.c: Likewise.
43033 * sunrpc/svc_run.c: Likewise.
43034 * sunrpc/svc_simple.c: Likewise.
43035 * sunrpc/svc_tcp.c: Likewise.
43036 * sunrpc/svc_udp.c: Likewise.
43037 * sunrpc/svc_unix.c: Likewise.
43038 * sunrpc/svcauth_des.c: Likewise.
43039 * sunrpc/xcrypt.c: Likewise.
43040 * sunrpc/xdr.c: Likewise.
43041 * sunrpc/xdr_array.c: Likewise.
43042 * sunrpc/xdr_float.c: Likewise.
43043 * sunrpc/xdr_mem.c: Likewise.
43044 * sunrpc/xdr_rec.c: Likewise.
43045 * sunrpc/xdr_ref.c: Likewise.
43046 * sunrpc/xdr_sizeof.c: Likewise.
43047 * sunrpc/xdr_stdio.c: Likewise.
43048
9da4bb31
UD
43049 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43050 handling.
43051
bdaa77bc
AS
430522010-08-19 Andreas Schwab <schwab@redhat.com>
43053
43054 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43055
fe2f79db
LM
430562010-08-19 Luis Machado <luisgpm@br.ibm.com>
43057
43058 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43059 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43060 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43061 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43062 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43063 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43064 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43065 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43066 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43067 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43068 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43069 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43070 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43071 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43072
b9b42ee0
AB
430732010-07-26 Anton Blanchard <anton@samba.org>
43074
43075 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43076 * malloc/arena.c (heap_trim): Likewise.
43077
1c06ba31
UD
430782010-08-16 Ulrich Drepper <drepper@redhat.com>
43079
43080 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43081 here. Not...
43082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43083 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43084
f8392f40
L
430852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43086
43087 * sysdeps/i386/elf/Makefile: New file.
43088
3162f12e
AS
430892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43090
43091 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43092 from fanotify_init.
43093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43095
28c90b2c
UD
430962010-08-15 Ulrich Drepper <drepper@redhat.com>
43097
43098 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43099 of strncasecmp_l.
1feccb6c 43100 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43101
ca6bb004
UD
431022010-08-14 Ulrich Drepper <drepper@redhat.com>
43103
e9f82e0d
UD
43104 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43105 strncase_l-nonascii.
43106 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43107 Add strncase_l-ssse3.
43108 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43109 * sysdeps/x86_64/strcmp.S: Likewise.
43110 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43111 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43112 * sysdeps/x86_64/strncase.S: New file.
43113 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43114 * sysdeps/x86_64/strncase_l.S: New file.
43115 * string/Makefile (strop-tests): Add strncasecmp.
43116 * string/test-strncasecmp.c: New file.
43117
43118 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43119 warning.
43120
ca6bb004
UD
43121 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43122 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43123
052fa7b3
AS
431242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43125
43126 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43127
962dba78
UD
431282010-08-12 Ulrich Drepper <drepper@redhat.com>
43129
43130 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43131 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43132 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43133
bebff237
AM
431342010-05-01 Alan Modra <amodra@gmail.com>
43135
43136 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43137 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43138 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43139 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43140 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43141 tidying. Don't tail-call __sigjmp_save for static lib.
43142 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43143 save location.
43144 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43145 (CALL_MCOUNT): Add eh info, and nop after bl.
43146 (TAIL_CALL_SYSCALL_ERROR): New macro.
43147 (PSEUDO_RET): Use it.
43148 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43149 Correct save location of integer regs and cr.
43150 (_dl_profile_resolve): Correct cr save location. Delete nops
43151 after bl when SHARED. Reduce cfi size a little by better
43152 placement of cfi directives.
43153 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43154 make a stack frame. Instead use parm save area as a temp.
43155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43156 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43158 Don't make a stack frame for parent, use parm save area.
43159 Increase child stack frame to 112 bytes. Don't save unused reg,
43160 and adjust reg usage. Set up cfi on error recovery and
43161 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43163 (__makecontext): Add dummy nop after jump to exit.
43164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43165 Use correct parm save area and cr save, reduce stack frame.
43166 Correct cfi for possible PSEUDO_RET frame setup.
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43168 Branch to local label emitted by PSEUDO_RET rather than
43169 __syscall_error.
43170
02637374
AS
431712010-08-12 Andreas Schwab <schwab@redhat.com>
43172
43173 [BZ #11904]
43174 * locale/programs/locale.c (print_assignment): New function.
43175 (show_locale_vars): Use it.
43176
c3e2f19b
UD
431772010-08-11 Ulrich Drepper <drepper@redhat.com>
43178
3cdaa6ad
UD
43179 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43180 field.
43181 (struct statfs64): Likewise.
43182 (_STATFS_F_FLAGS): Define.
43183 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43185 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43186 (ST_VALID): Define locally.
43187 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43188 __statvfs_getflags, use the provided value.
43189 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43190 __ASSUME_STATFS_F_FLAGS.
43191
754f7da3
UD
43192 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43193
10b3bedc
UD
43194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43195 Add sys/fanotify.h.
43196 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43197 fanotify_mask for GLIBC_2.13.
43198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43199 fanotify_init and fanotify_mark.
43200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43201 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43202
c08fb0d7
UD
43203 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43204 Add prlimit.
43205 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43206 prlimit64 for GLIBC_2.13.
43207 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43208 prlimit64.
43209 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43210 syscall.
43211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43212 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43213 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43214 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43215 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43216 add prlimit alias.
43217 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43218
15bac72b
UD
43219 [BZ #11903]
43220 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43221 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43222
c3e2f19b
UD
43223 * nss/Makefile: Add rules to build and run tst-nss-test1.
43224 * shlib-versions: Add entry for libnss_test1.
43225 * nss/nss_test1.c: New file.
43226 * nss/tst-nss-test1.c: New file.
43227
43228 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43229 (__nss_configure_lookup): Set appropriate entry in
43230 __nss_configure_lookup to true.
43231 * nss/nsswitch.h: Define enum with indeces of databases in
43232 databases and __nss_database_custom arrays. Declare
43233 __nss_database_custom.
43234 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43235 to avoid using nscd when custom rules are installed.
43236 * nss/getXXbyYY_r.c: Likewise.
43237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43238
43239 * nss/nss_files/files-parse.c: Whitespace fixes.
43240
f15ce4d8
UD
432412010-08-09 Ulrich Drepper <drepper@redhat.com>
43242
43243 [BZ #11883]
43244 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43245 * posix/fnmatch_loop.c: Likewise.
43246
d22e4cc9
AK
432472010-07-17 Andi Kleen <ak@linux.intel.com>
43248
43249 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43250 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43251 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43252 * Versions.def [GLIBC_2.13]: Add.
43253
805bc17d
UD
432542010-08-06 Ulrich Drepper <drepper@redhat.com>
43255
43256 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43257 Also fail if tpwd after pwuid call is NULL.
43258
5a42321d
ST
432592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43260
43261 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43262 when converting to ms.
43263
fd3ebeda
ST
432642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43265
43266 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43267 EOPNOTSUPP errors with ENOTTY.
43268 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43269 EOPNOTSUPP errors with ENOTTY.
43270
73507d3a
UD
432712010-07-31 Ulrich Drepper <drepper@redhat.com>
43272
43273 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43274 Add strcasecmp_l-ssse3.
43275 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43276 strcasecmp.
43277 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43278 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43279 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43280
fe36dd02
UD
432812010-07-30 Ulrich Drepper <drepper@redhat.com>
43282
66f6765a
UD
43283 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43284
42e08a54
UD
43285 * string/Makefile (strop-tests): Add strcasecmp.
43286 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43287 strcasecmp_l-nonascii.
43288 (gen-as-const-headers): Add locale-defines.sym.
43289 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43290 * sysdeps/x86_64/strcasecmp.S: New file.
43291 * sysdeps/x86_64/strcasecmp_l.S: New file.
43292 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43293 * sysdeps/x86_64/locale-defines.sym: New file.
43294 * string/test-strcasecmp.c: New file.
43295
fe36dd02
UD
43296 * string/test-strcasestr.c: Test both ends of the range of characters.
43297 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43298
48cbc0d6
RM
432992010-07-29 Roland McGrath <roland@redhat.com>
43300
76e6d6bc 43301 [BZ #11856]
48cbc0d6
RM
43302 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43303
880113d9
UD
433042010-07-27 Ulrich Drepper <drepper@redhat.com>
43305
43306 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43307 for ld.so.
43308
deb9cabb
AS
433092010-07-27 Andreas Schwab <schwab@redhat.com>
43310
43311 * manual/memory.texi (Malloc Tunable Parameters): Document
43312 M_PERTURB.
43313
1c7570ff
RM
433142010-07-26 Roland McGrath <roland@redhat.com>
43315
43316 [BZ #11840]
43317 * configure.in (-fgnu89-inline check): Set and substitute
43318 gnu89_inline, not libc_cv_gnu89_inline.
43319 * configure: Regenerated.
43320 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43321
24fb0f88
UD
433222010-07-26 Ulrich Drepper <drepper@redhat.com>
43323
43324 * string/test-strnlen.c: New file.
43325 * string/Makefile (strop-tests): Add strnlen.
43326 * string/tester.c (test_strnlen): Add a few more test cases.
43327 * string/tst-strlen.c: Better error reporting.
43328
43329 * sysdeps/x86_64/strnlen.S: New file.
43330
8e96b93a
UD
433312010-07-24 Ulrich Drepper <drepper@redhat.com>
43332
43333 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43334 lower-latency instructions.
43335
dbc676d4
UD
433362010-07-23 Ulrich Drepper <drepper@redhat.com>
43337
43338 * string/test-strcasestr.c: New file.
43339 * string/test-strstr.c: New file.
43340 * string/Makefile (strop-tests): Add strstr and strcasestr.
43341 * string/str-two-way.h: Don't undefine MAX.
43342 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43343
f6a31e0e
AS
433442010-07-21 Andreas Schwab <schwab@redhat.com>
43345
43346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43347 strcasestr-nonascii.
43348 (CFLAGS-strcasestr-nonascii.c): Define.
43349 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43350 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43351 Remove unused attribute.
43352
5dbc3b6c
RM
433532010-07-20 Roland McGrath <roland@redhat.com>
43354
43355 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43356 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43357 ld.so.cache was broken. With it, there is no way to disable dsocaps
43358 like LD_HWCAP_MASK can disable hwcaps.
43359
23d101d8
EPM
433602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43361
43362 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43363
cc9f2e47
UD
433642010-07-16 Ulrich Drepper <drepper@redhat.com>
43365
43366 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43367 call in strcasestr.
43368 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43369 __strcasestr_sse42_nonascii.
43370 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43371 strcasestr-nonascii.c.
43372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43373
77c1b069
LM
433742010-06-15 Luis Machado <luisgpm@br.ibm.com>
43375
43376 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43377 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43378 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43379 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43380
440566c3
UD
433812010-07-09 Ulrich Drepper <drepper@redhat.com>
43382
43383 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43384 fcntl.
43385
5be9d05d
AS
433862010-07-06 Andreas Schwab <schwab@redhat.com>
43387
c30b7ee2 43388 [BZ #11577]
5be9d05d
AS
43389 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43390 dl_signal_cerror.
43391
8a492a67
UD
433922010-07-06 Ulrich Drepper <drepper@redhat.com>
43393
43394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43395 _PC_PIPE_BUF using F_GETPIPE_SZ.
43396
713df3d5
RM
433972010-07-05 Roland McGrath <roland@redhat.com>
43398
43399 * manual/arith.texi (Rounding Functions): Fix rint description
43400 implicit in round description.
43401
702e8f14
UD
434022010-07-02 Ulrich Drepper <drepper@redhat.com>
43403
43404 * elf/Makefile: Fix linking for a few tests to make recent linker
43405 happy.
43406
52ed8be9
AS
434072010-06-30 Andreas Schwab <schwab@redhat.com>
43408
43409 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43410 $(common-objpfx)libc_nonshared.a.
43411
f47c9a11
LM
434122010-06-21 Luis Machado <luisgpm@br.ibm.com>
43413
43414 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43415 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43416 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43417 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43418 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43419 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43420 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43421 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43436 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43437 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43438 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43439 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43440 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43441 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43442 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43443 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43444 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43445 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43446 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43447 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43462
6fb8cbcb
L
434632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43464
43465 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43466 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43467 * string/memmove.c (memmove): Renamed to ...
43468 (MEMMOVE): ...this. Default to memmove.
43469 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43470 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43471 (END_CHK): Define.
43472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43473 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43474 mempcpy-ssse3-back memmove-ssse3-back.
43475 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43478 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43479 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43480 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43481 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43482 * sysdeps/x86_64/multiarch/memmove.c: New file.
43483 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43484 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43485 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43486 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43487 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43488 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43489 Define.
43490 (index_Fast_Copy_Backward): Define.
43491 (HAS_ARCH_FEATURE): Define.
43492 (HAS_FAST_REP_STRING): Define.
43493 (HAS_FAST_COPY_BACKWARD): Define.
43494
4e733bac 434952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43496
43497 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43498 Restore proper fallback handling.
43499
63c4ed22
UD
435002010-06-19 Ulrich Drepper <drepper@redhat.com>
43501
ac2b484c
UD
43502 [BZ #11701]
43503 * posix/group_member.c (__group_member): Correct checking loop.
43504
63c4ed22
UD
43505 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43506 OOM in getpwuid_r correctly. Return error number when the caller
43507 should return, otherwise -1.
43508 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43509 call returning > 0 value.
43510 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43511
765ade4b
AS
435122010-06-07 Andreas Schwab <schwab@redhat.com>
43513
43514 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43515 libc_nonshared.a from targets in modules-names.
43516
80da2e09
KS
435172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43518
43519 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43520 requires it.
43521
158db122
LM
435222010-06-10 Luis Machado <luisgpm@br.ibm.com>
43523
43524 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43525 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43526 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43527 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43528
caa78cf8
AS
435292010-06-02 Andreas Schwab <schwab@redhat.com>
43530
43531 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43532
b2ef2c01
UD
435332010-06-14 Ulrich Drepper <drepper@redhat.com>
43534
43535 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43536 and F_GETPIPE_SZ.
43537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43543
fbd643b6
RM
435442010-06-14 Roland McGrath <roland@redhat.com>
43545
43546 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43547
f32f2869
JJ
435482010-06-07 Jakub Jelinek <jakub@redhat.com>
43549
43550 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43551 __REDIRECT followed by __THROW.
43552 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43553 * posix/getopt.h (getopt): Likewise.
43554
2a50c078
EPM
435552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43556
43557 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43558 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43559 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43560 in AT_FLAGS.
43561 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43562 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43563
eb5ad2eb
LM
435642010-05-28 Luis Machado <luisgpm@br.ibm.com>
43565
43566 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43567
3c88fe1e
L
435682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43569
43570 [BZ #11640]
43571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43572 Properly check family and model.
43573
d2f73151
TY
435742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43575
43576 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43577
ebd2e13d
LM
435782010-05-24 Luis Machado <luisgpm@br.ibm.com>
43579
43580 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43581
b32b8b45
UD
435822010-05-21 Ulrich Drepper <drepper@redhat.com>
43583
43584 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43585 symbol reference.
43586
9acbe24d
AS
435872010-05-19 Andreas Schwab <schwab@redhat.com>
43588
43589 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43590 symbol reference.
43591
f0ccf6ea
AS
435922010-05-21 Andreas Schwab <schwab@redhat.com>
43593
3d04ff3a
AS
43594 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43595 and internal_recvmmsg.
43596 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43597 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43599 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43600
f0ccf6ea
AS
43601 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43602 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43603 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43604
5b08ac57
AS
436052010-05-20 Andreas Schwab <schwab@redhat.com>
43606
43607 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43608
4828935d
LM
436092010-05-17 Luis Machado <luisgpm@br.ibm.com>
43610
43611 POWER7 optimizations.
43612 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43613 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43614
373d545e
UD
436152010-05-19 Ulrich Drepper <drepper@redhat.com>
43616
43617 * version.h: Update for 2.13 development version.
43618
21a2b1ae
AS
436192010-05-12 Andrew Stubbs <ams@codesourcery.com>
43620
43621 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43622 exceptions. Return 0.
43623
3f7dcb2b
RM
436242010-05-07 Roland McGrath <roland@redhat.com>
43625
43626 * elf/ldconfig.c (main): Add a const.
43627
5f24d53a 436282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43629
a160f8d8
UD
43630 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43631 (args_options): Add no-idn option.
43632 (ahosts_keys_int): Add idn_flags to ai_flags.
43633 (parse_option): Handle 'i' option to clear idn_flags.
43634
5f24d53a
UD
43635 * malloc/malloc.c (_int_free): Possible race in the most recently
43636 added check. Only act on the data if no current modification
43637 happened.
265bb1ce
UD
43638
43639See ChangeLog.17 for earlier changes.